text_to_video
Convert text prompts into videos with configurable duration, aspect ratio, motion style, and resolution. Returns task ID, status, and output URLs for asynchronous processing.
Instructions
Create a Grok Imagine task on RunAPI (text to video). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | Video generation prompt. | |
| timeout_ms | No | ||
| aspect_ratio | No | Output aspect ratio. | |
| callback_url | No | Webhook URL for terminal Task delivery. | |
| motion_style | No | Video motion style. | |
| duration_seconds | No | Output duration in seconds. | |
| poll_interval_ms | No | ||
| output_resolution | No | Output resolution. | |
| reference_image_urls | No | Not accepted by this model. | |
| enable_safety_checker | No | Enable content safety checks. |