agnes_generate_video
Create videos from text prompts, image URLs, or multiple keyframe images. Handles long generation asynchronously with status polling.
Instructions
Start an Agnes Video V2.0 generation (async). Text-to-video by default; pass image_url for image-to-video, or keyframe_urls (2+) for keyframe transitions. Video generation takes minutes, longer than an MCP request can block. This tool creates the task and waits up to wait_seconds for it to finish: if it completes in time, the mp4 is downloaded locally and its path returned; otherwise it returns the video_id immediately — poll agnes_get_video_status with that id (download:true) to fetch the result when ready. Duration = num_frames / frame_rate. num_frames must be <=441 and of the form 8n+1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for reproducible results. | |
| width | No | Video width (default 1152). | |
| height | No | Video height (default 768). | |
| prompt | Yes | Text description of the video content / motion. | |
| image_url | No | Image URL for image-to-video. | |
| frame_rate | No | Frames per second (1-60). | |
| num_frames | No | Frame count (<=441, 8n+1). 81≈3s, 121≈5s, 241≈10s, 441≈18s at 24fps. | |
| wait_seconds | No | How long to wait inline for completion before handing off (0-50s). Kept under the MCP client request timeout; if the video isn't ready, the video_id is returned to poll. | |
| keyframe_urls | No | 2+ keyframe image URLs for keyframe-transition mode. | |
| negative_prompt | No | What to avoid in the video. |