text_to_video
Create Hailuo video generation tasks from text prompts via RunAPI, returning task IDs, status, and output URLs.
Instructions
Create a Hailuo 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. | |
| prompt | No | Declared type: string. | |
| timeout_ms | No | ||
| callback_url | No | Declared type: string. | |
| duration_seconds | No | Declared type: integer. | |
| poll_interval_ms | No | ||
| prompt_optimizer | No | Declared type: boolean. | |
| enable_safety_checker | No | Declared type: boolean. |