generate video
generate_videoUse this when you need a short video clip, 6 or 10 seconds, made with Grok Imagine. Returns a video id at once; poll it with video_status (free) until it is done and gives its URL. API key only: billed at its real cost when the video arrives, up to the quoted maximum, nothing if it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | true: return the price of this call without running or paying for it | |
| prompt | Yes | what happens in the video, in any language | |
| quality | No | speed (default) or quality (Grok Imagine Video 1.5) | |
| duration | No | seconds (default 6) | |
| resolution | No | default 480p | |
| aspect_ratio | No | video shape (default auto) |