Grok Imagine Video Text-to-Video
Video
Grok Imagine Video Text-to-Video
POST
Grok Imagine Video Text-to-Video
This is an asynchronous API and only returns the asynchronous task’s
task_id.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The text description of the video to generate. Rich, detailed prompts are supported for generating high-quality videos, covering various styles such as cinematic scenes, natural landscapes, and character animations.Length limit: 1 - 4096
Video duration, in seconds (6-10). Longer videos cost more and are billed by the second.Value range: [6, 10]
Output video resolution. 720p provides higher quality, while 480p generates faster.Available values:
720p, 480pThe aspect ratio of the generated video. 16:9 is suitable for widescreen, 9:16 is suitable for mobile portrait screens, and 1:1 is suitable for social media.Available values:
16:9, 1:1, 9:16Response Information
Use the task_id to request the Get Task Result API to retrieve the generated output.