generate video
generate_videoCreate a short video with Grok Imagine (6 or 10 seconds). API key only: billed at its real cost when the video arrives, up to the quoted maximum, nothing if it fails. Returns a video id — poll it with video_status (free).
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) |