text_to_video
Create a Runway task on RunAPI to generate video from a text prompt, returning a task ID, status, and output URLs.
Instructions
Create a Runway task on RunAPI (text to video). Returns a task id, status, and output URLs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"duration_seconds": "<duration_seconds>",
"output_resolution": "<output_resolution>"
},
"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. | |
| prompt | Yes | Declared type: string. | |
| watermark | No | Declared type: string. | |
| timeout_ms | No | ||
| aspect_ratio | No | Declared type: string. Known values: "16:9", "9:16", "1:1", "4:3", "3:4". | |
| callback_url | No | Declared type: string. | |
| duration_seconds | Yes | Declared type: integer. Known values: 5, 10. | |
| poll_interval_ms | No | ||
| output_resolution | Yes | Declared type: string. Known values: "720p", "1080p". | |
| first_frame_image_url | No | Declared type: string. |