agnes_video_create
Generate a video from text, a single image, multiple images, or keyframes. Returns a task ID for polling results. Supports up to 4K resolution and custom frame rates.
Instructions
Capability 3 — Video & audio-video generation (async). Create a video task from text, a single image, multiple images, or keyframes. Model: agnes-video-v2.0. Returns task_id and video_id. Poll the result with agnes_video_query or agnes_video_wait. Highlights: width/height accept up to 4K (3840). Video dimensions must be multiples of 64. num_frames ≤ 441 and must equal 8n+1 (e.g. 81, 121, 161, 241, 441). frame_rate 1–60. seconds = num_frames / frame_rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Video model name. | agnes-video-v2.0 |
| prompt | Yes | Textual description of the desired video. | |
| image | No | Single image URL (image-to-video) or array (multi-image / keyframes). | |
| mode | No | Generation mode, e.g. 'ti2vid' or 'keyframes' (placed in extra_body.mode). | |
| height | No | Video height (multiples of 64). Up to 4K (3840). Default 768. | |
| width | No | Video width (multiples of 64). Up to 4K (3840). Default 1152. | |
| num_frames | No | Total frames. Must be ≤ 441 and equal 8n+1 (81,121,161,241,441). | |
| frame_rate | No | FPS, 1–60. Default ~24. | |
| num_inference_steps | No | Number of inference steps. | |
| seed | No | Random seed for reproducibility. | |
| negative_prompt | No | Describe content to avoid. | |
| extra_body | No | Advanced passthrough merged into extra_body (e.g. image[], mode). |