text_to_video
Generate videos from text prompts via Veo 3.1 on RunAPI. Submit a prompt to create a task and receive a task ID, status, and output URLs.
Instructions
Create a Veo 3.1 task on RunAPI (text to video). Returns a task id, status, and output URLs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "text_to_video"
}
}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. | |
| seeds | No | Declared type: integer. | |
| prompt | No | Declared type: string. | |
| watermark | No | Declared type: string. | |
| input_mode | No | Declared type: string. Known values: "text", "first_and_last_frames", "reference". | |
| timeout_ms | No | ||
| aspect_ratio | No | Declared type: string. Known values: "16:9", "9:16", "auto". | |
| callback_url | No | Declared type: string. | |
| duration_seconds | No | Declared type: integer. Known values: 4, 6, 8. | |
| poll_interval_ms | No | ||
| enable_translation | No | Declared type: boolean. | |
| last_frame_image_url | No | Declared type: string. | |
| reference_image_urls | No | Declared type: array. | |
| first_frame_image_url | No | Declared type: string. |