generate_video
Create a video from a prompt with synchronous polling until completion or failure, providing a video ID for status checks if the request times out.
Instructions
Create a video task and block-poll until completed/failed (compat; may hit client timeouts).
⚠️ 同步阻塞(易超时):开源推荐用 create_video + query_video;此工具仅为短视频兼容保留。 中文触发:仅当用户明确说「一步到位 / 直接等视频结果」时才用,否则用 create_video。 Trigger (compat): agnes generate video sync; prefer async create_video + query_video.
Same params as create_video plus poll_interval (default 2s) and timeout_seconds (default 600s). On timeout, reuse video_id with query_video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | text | |
| seed | No | ||
| audios | No | ||
| images | No | ||
| prompt | Yes | ||
| api_key | No | ||
| seconds | No | 5 | |
| base_url | No | ||
| last_frame | No | ||
| first_frame | No | ||
| aspect_ratio | No | 16:9 | |
| poll_interval | No | ||
| timeout_seconds | No |