Create a video from a photo

Animate a photo in a few seconds. Just upload your photo and see it animated

Use case example

  • - -to-video applications for storytelling
  • - Converting scripts or narratives into visual content

Added by: APIForAI

Price per call≈ 0.12

License Paper Github

Try it nowAPI information

Try it

Examples

Input

Image
{
"input":{
"input_image":"https://rbqktisnztholqojxlaf.s..."
"video_length":"14_frames_with_svd"
"sizing_strategy":"maintain_aspect_ratio"
"frames_per_second":6
"motion_bucket_id":127
"cond_aug":0.02
"decoding_t":14
"seed":6552
}
"id":98
}

Output

{
"status":"succeeded"
"output":"https://rbqktisnztholqojxlaf.s..."
"prediction_time":29.426304
}

API Information

Input description

input_image* uri

Input image

video_length string

An enumeration.

Default value: 14_frames_with_svd

Enum values: 14_frames_with_svd, 25_frames_with_svd_xt

sizing_strategy string

An enumeration.

Default value: maintain_aspect_ratio

Enum values: maintain_aspect_ratio, crop_to_16_9, use_image_dimensions

frames_per_second integer

Frames per second

Default value: 6

motion_bucket_id integer

Increase overall motion in the generated video

Default value: 127

cond_aug number

Amount of noise to add to input image

Default value: 0.02

decoding_t integer

Number of frames to decode at a time

Default value: 14

seed integer

Random seed. Leave blank to randomize the seed

Output JSON Schema

This represents the JSON schema that details the structure of the model's output.

{
"type":"string"
"title":"Output"
"format":"uri"
}

APIForAI

Build fast by accessing AI models easily