Animate image
animate_imageAnimate an existing image or upload into a clip. Describe the motion in prompt; the image is frame zero, so it must show everyone who acts, at the height and distance the action needs: a clip cannot move what its first frame does not show. First search list_recipes for a matching motion recipe and read it with get_recipe. Prefer generate_with_recipe when its inputs and output fit; otherwise read the chosen model's guide and animate directly here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| model | No | ||
| prompt | No | ||
| presets | No | ||
| subjects | No | Names or ids of the account's Subjects (list_subjects). The server supplies each one's face and description — seated against the model's capacity — so do not also attach pictures of them. | |
| last_frame | No | ||
| resolution | No | ||
| first_frame | No | ||
| recreate_of | No | ||
| aspect_ratio | No | Defaults to 9:16 (vertical). Confirm the shape with the user when the destination is unclear — a feed, a banner and a phone screen want different ones. With a first frame, leave it out: the clip takes the frame's own shape, and a ratio that disagrees with the frame is refused. | |
| generate_audio | No | ||
| duration_seconds | No | ||
| reference_audios | No | ||
| reference_images | No | ||
| reference_videos | No | The video this clip is driven by — a source performance to copy, or the take a mouth is re-synced in. Uploads and clips you generated alike, in the shape list_media returns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| generation | Yes |