Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Animate a single image into a short video.

prompt
string
required

Text prompt describing how the image should move.

Minimum string length: 1
Example:

"The cat slowly blinks and looks around"

image
string
required

HTTPS URL of the starting frame.

Example:

"https://example.com/frame.jpg"

aspectRatio
enum<string>
default:16:9

Output aspect ratio.

Available options:
16:9,
9:16
Example:

"16:9"

duration
enum<string>
default:8

Output duration in seconds.

Available options:
3,
4,
5,
6,
7,
8,
9,
10
Example:

"8"

resolution
enum<string>
default:720p

Output resolution.

Available options:
360p,
720p,
1080p,
4k
Example:

"720p"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.