agnes_video_create
Submit a video generation task using text prompts or an initial image. Supports configurable resolution, frame count, and frame rate. Results are retrieved asynchronously.
Instructions
Create a video generation task using Agnes Video v2.0. Video generation is ASYNCHRONOUS — submit a task, then use agnes_video_poll to check results. Supports text-to-video (prompt only) and image-to-video (with imageUrl). num_frames must follow 8n+1 pattern (e.g. 121, 241, 361, 441)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate | |
| width | No | Video width in pixels | |
| height | No | Video height in pixels | |
| num_frames | No | Number of frames (8n+1 pattern: 121, 241, 361, 441) | |
| frame_rate | No | Frame rate (fps) | |
| duration | No | Video duration in seconds (alternative to num_frames) | |
| seed | No | Seed for reproducible results | |
| image_url | No | Starting image URL for image-to-video generation (optional) | |
| mode | No | Image-to-video mode (required if image_url is set). ti2vid for single image, keyframes for multi-image |