wanyra_generate_video
Generate AI videos by submitting an asynchronous job with a model and prompt, then optionally poll until the clip is ready.
Instructions
Submit an async video generation job via POST /v1/videos (MiniMax H3, Seedance 2.0/2.5, Kling 3.0, Wan 3.0, Vidu Q3, Hailuo H3) and optionally poll until completion. Requires WANYRA_API_KEY.
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": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "wanyra_generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | If true, poll GET /v1/videos/{id} up to 180 seconds. | |
| model | Yes | Video model ID such as star1age-minimax-h3 or star1age-tokendance-seedance-2.0. | |
| prompt | Yes | Video prompt. | |
| seconds | No | Optional clip duration in seconds. | |
| resolution | No | Optional resolution (e.g. 720P, 1080P). |