Skip to main content

AI Video Generation

Image to Video

Image to video converts an image into a 5-second video. Provide a URL to an image to generate an mp4 video file. The video file can be used inside of your Edit or as a standalone asset. We accept PNG, JPG and PNG images.

{
"asset": {
"type": "image-to-video",
"src": "https://shotstack-assets.s3.amazonaws.com/images/handbag-flower-peaches.jpg",
"prompt": "Slowly zoom out and orbit left around the object."
},
"start": 0,
"length": "auto"
}

This will generate a video clip of the supplied image.

The generated video will automatically be cropped to fit the output dimensions of your video. You can change the fit property of the clip to change this behaviour.

Info

Videos will always be 720p, 25fps and 6 seconds in length.

Usage limits

Due to heavy usage we currently limit the number of image to video generations to 1,000 per month. Please get in touch if you require higher limits.

Warning

Generated AI assets in the sandbox environment will incur credits.