Skip to main content

Single image

Most video models can generate a video from an image. As with image-to-image generation, include the image URL in your request:
Image-to-video models include Veo (Veo 3 requires the high-availability channel or higher), Jimeng 3, Kling, Stable Video, and CogVideoX.
Image-to-video takes longer than text-to-video. Set async to true to run asynchronously. Insert the returned task_id into the URL below and poll until the status is succeed and the response includes the video URL:

First and last frames

Some models let you specify how the video starts and ends. Pass URLs for both frame images:
Models supporting first and last frames include veo-2.0-generate-001, MiniMax-Hailuo-02, and Kling video models.

Multiple images

To generate a video from several images, pass a list of image URLs in image:
Check the model’s official parameter reference for multi-image support.