Skip to main content
POST
Create async Grok Imagine Video 1.5 jobs via the shared POST /v1/videos endpoint. Set model to one of the values below. On success you get a task_id; poll with Query video task and read result.video_url when completed.

Models

Billing is per_task (flat per job; duration only controls clip length, not the multiplier). See the model catalog and the create response cost for live prices.

Modes

Frames and reference images are mutually exclusive. Lite has no multi-ref or last frame; Fast has no last frame.

Request fields

Media URLs must be public https:// direct links.

Examples

Text-to-video

Standard first-last frames

Fast multi-reference

Success response example:

Polling

See Query video task for status fields. When completed, read data.result.video_url and download promptly.

Authorizations

Authorization
string
header
required

控制台创建的 API Key,格式:Bearer sk_xxx

Body

application/json
model
string
required

omni-10s, veo3.1-fast, veo3.1-lite, veo3.1-lite-hd, grok-imagine-video-1.5 (and fast/lite), minimax-h3, minimax-h3-max, kling-4.0 / kling-4.0-720p / kling-4.0-1080p, seedance2.0-md, sd2-480p-ac, sd2-720p-ac, seedance2.5-30s, or sd2.5-720p-ac

Example:

"omni-10s"

prompt
string
required
duration

omni-10s: fixed 10; seedance2.0-md: 5/10/15; sd2-*-ac: 4–15; seedance2.5-30s: fixed 30; sd2.5-720p-ac: 4–30

seconds

Alias of duration

aspect_ratio
string
ratio
string

Alias of aspect_ratio

orientation
string

portrait/landscape may imply aspect ratio

size
string
resolution
string

omni-10s is fixed at 720p

first_image
string<uri>

First-frame URL for omni-10s frame mode

last_image
string<uri>

Last-frame URL for omni-10s; use with first_image

images
string<uri>[]
reference_images
string<uri>[]
videos
string<uri>[]
reference_videos
string<uri>[]
reference_video_durations
integer[]

Required with reference videos for kling-4.0; same length as videos; seconds 1–30. Billable seconds = output duration + sum of these values.

Required range: 1 <= x <= 30
reference_audio_durations
integer[]

Required with reference audios for kling-4.0; same length as audios; seconds 5–30 (validation only, not billed).

Required range: 5 <= x <= 30
audios
string<uri>[]
reference_audios
string<uri>[]

Response

200 - application/json

Submitted

code
integer
Example:

20000

msg
string
data
object
Last modified on October 19, 2026