First Test Cost
Save 77%- $10 top-up yields ~92 clips (6s · 480p) ($1 = 100 Credits, no subscription)
- $0 charged on failed or timed-out tasks—100% of held credits return automatically
xAI Grok Imagine Video 1.5 API supporting 1–15 second Text-to-Video, first/last-frame Image-to-Video, and 1–14 image Reference-to-Video across 480p, 720p, and 1080p with native synchronized audio included.
Preview live credit estimates and export cURL without signing in, or sign in to upload local reference images and generate real samples.
Per-second pricing on requested duration (1–15s, default 6s): 1.8 Credits/s (480p), 3.5 Credits/s (720p), or 6.2 Credits/s (1080p). Reference images and native synced audio add 0 extra Credits.
| Specification | Ref credits | USD equiv | Official reference | Per $10 |
|---|---|---|---|---|
| 480p · T2V / I2V / Multi-Ref (6s = 10.80 Credits) | 1.800000 Credits / s | $0.0180 / s | ~92 clips (6s) | |
| 720p (default) · T2V / I2V / Multi-Ref (6s = 21.00 Credits) | 3.500000 Credits / s | $0.0350 / s | ~47 clips (6s) | |
| 1080p · T2V & single-frame I2V (6s = 37.20 Credits) | 6.200000 Credits / s | $0.0620 / s | ~26 clips (6s) |
Choose output settings and expected call volume to estimate your spend in Credits and USD.
grok-imagine-video-1.5-text-to-video1–15s T2V, frames & multi-ref · Synced audio
Grok Imagine Video 1.5 API brings xAI’s 1–15 second audio-visual video generation suite to POST /v1/videos/generations across three dedicated public model IDs: grok-imagine-video-1.5-text-to-video, grok-imagine-video-1.5-image-to-video (1 start frame or 2 first+last frames), and grok-imagine-video-1.5-reference-to-video (1–14 subject and scene reference images).
Rates start at just 1.8 Credits/s ($0.0180/s) at 480p, 3.5 Credits/s ($0.0350/s) at 720p, and 6.2 Credits/s ($0.0620/s) at 1080p—saving up to 77% vs. official direct rates, with native synchronized audio and up to 14 reference images included at $0 extra.
Connect Callmodels Remote MCP to Claude, ChatGPT, or Google Gemini via zero-key browser sign-in. Run Grok Imagine Video 1.5 in plain English inside chat with upfront price quotes before any spend.
Connect Chat AssistantSend standard JSON requests to POST /v1/videos/generations on https://api.callmodels.dev with account-scoped Idempotency-Key deduplication and 30-day signed result URLs—zero vendor SDK lock-in.
Jump to API ReferenceCopy a self-contained engineering prompt with exact endpoint, schema constraints, polling loop, and error handling—paste straight into Cursor, Claude Code, or Codex.
Render a 6-second 720p video with synchronized ambient foley and speech for $0.21, or full 1080p HD for $0.372.
Supply up to 14 character, wardrobe, prop, and environment images in image_urls at 0 extra reference fee.
Unlike 4-second-floor models, Grok Video 1.5 supports crisp 1s, 2s, and 3s micro-clips as well as 2-frame start-to-end transitions.
| Model | Billing Mode | Max Spec | Starting Price | Output per $10 | Best For |
|---|---|---|---|---|---|
| Grok Imagine Video 1.5 | Per requested second | 1080p · 1–15s · 14 image refs + Audio | $0.0180 / s | ~92 clips (6s 480p) | Lowest-cost 480p–1080p audio clips, 1–3s loops & 14-ref video |
| Seedance 1.0 Pro Fast | Per requested second | 1080p · 12s · Silent MP4 | $0.0079 / s | 251 clips (5s · 480p) | Storyboards and single-image animation |
| Seedance 2.0 Mini | 0.1s duration | 720p · 4–15s · T2V/I2V/R2V | $0.0226 / s | ~88 clips (5s 480p) | High-volume automation with native audio |
| Seedance 2.0 (Fast & 4K) | 0.1s duration | Fast 720p & Std 4K · 6 modes | $0.0498 / s | ~40 clips (5s Fast) | Daily 720p e-commerce clips (-40% Fast) & native 4K masters |
| Seedance 2.5 Flash | 0.1s duration | 720p · 4–30s/Auto · 5 modes | $0.0830 / s | ~24 clips (5s 480p) | Fast 15–30s long-take HD storyboards, R2V & video edit/extend |
| Seedance 2.5 | 0.1s duration | 4K · 4–30s/Auto · 6 modes + Draft | $0.1264 / s | ~15 clips (5s 480p) | Flagship 4K cinema commercials, video edit/extend & draft-to-video |
1080p is supported on grok-imagine-video-1.5-text-to-video and single-frame grok-imagine-video-1.5-image-to-video (1 image in image_urls). Passing 2 frames (first+last frame) on image-to-video or using grok-imagine-video-1.5-reference-to-video supports 480p and 720p; requesting 1080p in those two cases returns HTTP 400 with 0 Credits held.
Native synchronized audio (ambient sound effects and speech) is generated automatically in the returned MP4 at no extra charge. Do not pass a generate_audio field—strict schema validation rejects unknown fields with HTTP 400.
Grok Imagine Video 1.5 reference-to-video accepts 1 to 14 HTTPS image URLs in image_urls. If your workflow requires video or audio reference files (video_urls / audio_urls), use Seedance 2.5, 2.5 Flash, 2.0, or 2.0 Mini.
You can request any integer duration from 1 to 15 seconds (default 6 seconds). After verified MP4 delivery, the task settles at requested_seconds × the resolution rate (starting at 1.8 Credits for a 1-second 480p clip).
Failed or timed-out tasks settle at 0 Credits and release 100% of the initial credit hold back to your wallet and API key quota.
Submit to POST /v1/videos/generations with your Bearer key and a stable Idempotency-Key. Query the returned task ID for its result links and settled credits.
Includes exact endpoint, parameter constraints, async polling loop, and error handling—paste straight into your coding agent.
https://api.callmodels.dev/v1/videos/generationsGET /v1/tasks/{task_id}grok-imagine-video-1.5-text-to-videoText-to-Video (1–15s · 480p / 720p / 1080p)grok-imagine-video-1.5-image-to-videoFirst / First+Last Frame Image-to-Video (1–15s)grok-imagine-video-1.5-reference-to-videoMulti-Image Reference-to-Video (1–14 Refs · 480p / 720p)| Parameter | Type | Allowed values & notes |
|---|---|---|
Authorizationheader · Required | string | Bearer sk-... server-side API key from your account. |
Idempotency-Keyheader · Optional (recommended) | string | 1 to 255 ASCII chars. Prevents duplicate submissions and charges for 24h. |
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
-H "Authorization: Bearer $CALLMODELS_API_KEY" \
-H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
-H "Content-Type: application/json" \
--data-binary '{
"model": "grok-imagine-video-1.5-text-to-video",
"prompt": "Sunlit ceramic studio, artisan shaping wet terracotta on a spinning wheel, warm ambient sound",
"quality": "720p",
"duration": 6,
"aspect_ratio": "16:9",
"output_format": "mp4"
}'
# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $CALLMODELS_API_KEY"
fiHTTP/1.1 200 OK
X-Request-Id: req_example
Cache-Control: no-store
{
"id": "task_01e561ba-859e-47fe-be79-60bc6f1d6499",
"model": "grok-imagine-video-1.5-text-to-video",
"object": "video.generation.task",
"created_at": "2026-11-21T00:00:00.000Z",
"status": "completed",
"results": [
{
"type": "video",
"url": "https://files.callmodels.dev/task_01e561ba-859e-47fe-be79-60bc6f1d6499/0.mp4?expires=1797811200&sig=example",
"expires_at": "2026-12-21T00:00:00.000Z"
}
],
"usage": {
"cost_credits": "21"
}
}Video parameters depend on the model ID. Open a mode for its request, defaults and allowed fields. Reference generation needs a supported reference asset. Draft conversion requires a completed draft task ID.
grok-imagine-video-1.5-text-to-video# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
-H "Authorization: Bearer $CALLMODELS_API_KEY" \
-H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
-H "Content-Type: application/json" \
--data-binary '{
"model": "grok-imagine-video-1.5-text-to-video",
"prompt": "Soft morning light spreads across a hillside as the camera moves forward."
}'
# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $CALLMODELS_API_KEY"
fi{
"type": "object",
"properties": {
"model": {
"type": "string",
"enum": [
"grok-imagine-video-1.5-text-to-video"
]
},
"prompt": {
"type": "string",
"minLength": 1
},
"quality": {
"type": "string",
"enum": [
"480p",
"720p",
"1080p"
]
},
"duration": {
"default": 6,
"type": "integer",
"minimum": 1,
"maximum": 15
},
"aspect_ratio": {
"default": "16:9",
"type": "string",
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"3:2",
"2:3"
]
},
"output_format": {
"default": "mp4",
"type": "string",
"enum": [
"mp4"
]
}
},
"required": [
"model",
"prompt"
],
"additionalProperties": false
}grok-imagine-video-1.5-image-to-video# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
-H "Authorization: Bearer $CALLMODELS_API_KEY" \
-H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
-H "Content-Type: application/json" \
--data-binary '{
"model": "grok-imagine-video-1.5-image-to-video",
"prompt": "Soft morning light spreads across a hillside as the camera moves forward.",
"image_urls": [
"https://example.com/your-start-frame.png"
]
}'
# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $CALLMODELS_API_KEY"
fi{
"type": "object",
"properties": {
"model": {
"type": "string",
"enum": [
"grok-imagine-video-1.5-image-to-video"
]
},
"prompt": {
"type": "string",
"minLength": 1
},
"quality": {
"type": "string",
"enum": [
"480p",
"720p",
"1080p"
]
},
"duration": {
"default": 6,
"type": "integer",
"minimum": 1,
"maximum": 15
},
"aspect_ratio": {
"default": "16:9",
"type": "string",
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"3:2",
"2:3"
]
},
"output_format": {
"default": "mp4",
"type": "string",
"enum": [
"mp4"
]
},
"image_urls": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
}
},
"required": [
"model",
"prompt",
"image_urls"
],
"additionalProperties": false
}grok-imagine-video-1.5-reference-to-video# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
-H "Authorization: Bearer $CALLMODELS_API_KEY" \
-H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
-H "Content-Type: application/json" \
--data-binary '{
"model": "grok-imagine-video-1.5-reference-to-video",
"prompt": "Soft morning light spreads across a hillside as the camera moves forward.",
"image_urls": [
"https://example.com/your-start-frame.png"
]
}'
# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $CALLMODELS_API_KEY"
fi{
"type": "object",
"properties": {
"model": {
"type": "string",
"enum": [
"grok-imagine-video-1.5-reference-to-video"
]
},
"prompt": {
"type": "string",
"minLength": 1
},
"quality": {
"type": "string",
"enum": [
"480p",
"720p"
]
},
"duration": {
"default": 6,
"type": "integer",
"minimum": 1,
"maximum": 15
},
"aspect_ratio": {
"default": "16:9",
"type": "string",
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"3:2",
"2:3"
]
},
"output_format": {
"default": "mp4",
"type": "string",
"enum": [
"mp4"
]
},
"image_urls": {
"minItems": 1,
"maxItems": 14,
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
}
},
"required": [
"model",
"prompt",
"image_urls"
],
"additionalProperties": false
}| HTTP / Task Error Code | Cause & Recommended Handling | Billing Impact |
|---|---|---|
400 invalid_parameter 400 model_not_found | Use the model ID and parameters documented for the endpoint. Correct the JSON before sending again. | 0 Credits for this rejection |
401 invalid_api_key | Check the server-side Bearer key, expiration and revocation status. | 0 Credits for this rejection |
402 insufficient_balance 402 key_quota_exceeded | Check available account credits and the key’s total and daily limits with GET /v1/credits. | 0 Credits for this rejection |
403 model_access_denied 403 account_disabled | Check the model allowlist and account status. | 0 Credits for this rejection |
404 not_found | Check the task ID or original Idempotency-Key and the account that submitted it. | 0 Credits for this rejection |
409 idempotency_key_conflict | Use the original JSON for this job. Assign a fresh key only to a new job. | 0 Credits for this rejection |
413 body_too_large 415 unsupported_media_type | Send application/json with a request body no larger than 128 KiB. | 0 Credits for this rejection |
500 internal_error 503 service_unavailable 503 model_unavailable | On a timeout or transient error, look up the original job and retry only with its original key and body. | Check the task record |
Task: delivery_failed Task: submission_unknown Task: submission_rejected Task: upstream_failed Task: timeout | The task ended. Its hold was released. Review error.code before creating a separate generation job. | 0 Credits charged |
Sign in with Google to create scoped sk- API keys, top up from $10 with no monthly commitment, and pay $0 on failed calls.