image_to_video
Convert a source image into a video using Hailuo. Submit the first-frame image URL to create a RunAPI task, optionally wait, and get task status and output video URLs.
Instructions
Create a Hailuo task on RunAPI (image 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": {
"first_frame_image_url": "<first_frame_image_url>"
},
"name": "image_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. | |
| output_resolution | No | Declared type: string. | |
| last_frame_image_url | No | Declared type: string. | |
| enable_safety_checker | No | Enable the safety checker. Declared type: boolean. | |
| first_frame_image_url | Yes | Declared type: string. |