Grok Imagine image to video
Video
Grok Imagine image to video
POST
Grok Imagine image to video
This is an async API that only returns the
task_id of the async task.
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Input image URL for video generation. Supports publicly accessible image URLs or base64-encoded data URIs (e.g., data:image/jpeg;base64,…).
Text prompt describing the motion or transformation to apply to the input image. Supports detailed prompts describing scene dynamics, character actions, and camera movements.Length limit: 1 - 4096
Video duration in seconds (6-10). Longer videos cost more and are billed per second.Range: [6, 10]
Output video resolution. 720p provides higher quality; 480p generates faster.Possible values:
720p, 480pResponse
Use the task_id to call the Get Async Task Result API to retrieve the generated output.