keyframe_animation
Generate a video animation that transitions between keyframe images based on a text prompt. Provide two or more image URLs to define the keyframes.
Instructions
Generate a smooth video transitioning between multiple keyframe images.
Provide 2+ image URLs as keyframes. The model generates a video that smoothly transitions between them, guided by the text prompt.
This is an async operation that polls until completion (may take several minutes).
Args: prompt: Text description guiding the animation and transitions. images: List of keyframe image URLs (at least 2 recommended). model: Model name. Default: agnes-video-v2.0 width: Video width. Default: 1152 height: Video height. Default: 768 num_frames: Total frames (8n+1 rule, max 441). Common values: 81(~3s), 121(~5s), 241(~10s), 441(~18s) frame_rate: FPS, 1-60. Default: 24 negative_prompt: Optional negative prompt to exclude from generation. seed: Optional random seed (-1 for random). num_inference_steps: Number of inference steps. Optional. output_dir: Directory to save the downloaded video. Defaults to ~/agnes_output.
Returns: dict with video_id, status, video_url, local_path, seconds, size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| model | No | agnes-video-v2.0 | |
| width | No | ||
| height | No | ||
| images | Yes | ||
| prompt | Yes | ||
| frame_rate | No | ||
| num_frames | No | ||
| output_dir | No | ||
| negative_prompt | No | ||
| num_inference_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||