image_to_video
Animate a static image into a video by providing an image URL and a text prompt describing the desired motion.
Instructions
Animate a static image into a video using Agnes AI.
Provide a single image URL (or Data URI base64) and a text prompt describing the desired motion/animation.
This is an async operation that polls until completion (may take several minutes).
Args: prompt: Text description of the desired motion/animation. image: Input image URL or Data URI base64 (required). 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 | ||
| image | Yes | ||
| model | No | agnes-video-v2.0 | |
| width | No | ||
| height | No | ||
| 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 | |||