Generate video from image

Transform a static image into a dynamic video. Provide an image and text prompt to guide the AI generation process.

Authentication

AuthorizationBearer
API key authentication

Request

This endpoint expects an object.
image_uristringRequired

Image to be used as the first frame of the video in either an HTTPS URL format or base64 data URI format. See Input Formats for details.

promptstringRequired<=10000 characters
Text description of how the image should be animated, can relate to the details in the image
modelenumRequired

Model to use for generation. See Supported Models for details.

Allowed values:
durationintegerRequired

Video duration in seconds. See Supported Models for available durations per model.

resolutionstringRequired

Output video resolution. See Supported Models for available resolutions per model.

fpsintegerOptionalDefaults to 25

Frame rate in frames per second. See Supported Models for available FPS per model and resolution.

generate_audiobooleanOptionalDefaults to trueBeta

Generate audio for the video. When true, the generated video will include AI-generated audio matching the scene. When false, only silent video is generated.

Response

Video generated successfully

Errors