generate_video
Queue an AI video generation job using Google Veo or xAI Grok, specifying prompt, duration, resolution, and audio, then poll jobs for status and final video URL.
Instructions
Queue an AI video generation job with Google Veo 3.1 or xAI Grok Imagine Video 1.5. COSTS CREDITS: confirm provider, prompt, duration, resolution, aspect ratio, audio choice, and credit cost with the user before calling. Grok supports 1 to 15 seconds and 480p to 1080p; reference-to-video is capped at 720p. Poll list_jobs with type=video for status and final video_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | fast | |
| prompt | Yes | ||
| confirm | Yes | Must be true after explicit user confirmation of prompt, model, duration, resolution, and credit cost. | |
| provider | No | ||
| image_url | No | ||
| resolution | No | 720p | |
| aspect_ratio | No | 16:9 | |
| workspace_id | No | Optional. The workspace this acts in and whose plan pays (from whoami). Needed only when your connection can act in several workspaces. | |
| end_image_url | No | ||
| generate_audio | No | Google can disable generated audio. xAI Grok includes audio and requires this to remain true. | |
| negative_prompt | No | ||
| duration_seconds | No | ||
| reference_images | No | ||
| source_video_url | No |