Generate anime video
generate_anime_videoGenerate one anime-style video clip (MP4, 24 fps, with sound) from a text prompt, optionally starting and/or ending on given images. Priced per second of video, charged up front and refunded on failure: 480p $0.016/s, 768p $0.04/s (a 5s 768p clip is $0.20, 15s is $0.60). Ask the user before long or repeated videos. Waits for the render for a few minutes; if it isn't done by then, returns the video id to pass to get_anime_video.
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>"
},
"name": "generate_anime_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What happens in the clip, in plain English: subject, action, camera, mood. An anime style is added automatically. | |
| duration | No | Length in seconds. The price is per second. | |
| resolution | No | 768p | |
| orientation | No | 9:16, 1:1 or 16:9. Ignored when first_frame_url is set: the image sets the shape. | landscape |
| last_frame_url | No | Public image URL the clip ends on. | |
| first_frame_url | No | Public image URL the clip starts on (image-to-video). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| error | Yes | ||
| prompt | Yes | ||
| status | Yes | ||
| cost_usd | Yes | ||
| duration | Yes | ||
| refunded | Yes | ||
| video_url | Yes | ||
| created_at | Yes | ||
| last_frame | Yes | ||
| resolution | Yes | ||
| balance_usd | No | ||
| first_frame | Yes | ||
| orientation | Yes | ||
| enhanced_prompt | Yes | ||
| generation_time_ms | Yes |