LogoLogo
  • Overview
  • Quick Start
  • Authentication
  • Rate limits
  • Errors
  • Image Editing API
    • Image I/O
    • Image Operations
      • Restorations
      • Resizing
      • Outpainting
      • Generative Editing
      • Color Adjustments
      • Background
      • Padding
      • Privacy
    • API Reference
    • Async API Reference
    • Batch API Reference
    • Upload API Reference
  • image generation api
    • Image Generation I/O
    • Image Generation Options
    • API Reference
  • AI Background API
    • AI Background I/O
    • AI Background Options
      • Object
      • Scene
      • Product Shadow
    • API Reference
  • Image to Video API
    • Image to Video I/O
    • Image to Video Options
    • Async API Reference
  • Storage Connectors
    • Overview
    • AWS S3
    • Google Cloud Storage
    • Web Folder
    • API Reference
  • Guides
    • E-commerce
    • Real Estate
    • Printing
  • Redoc
  • Blog
Powered by GitBook
On this page
  • Intro
  • Input
  • Output
Edit on GitHub
  1. Image to Video API

Image to Video I/O

Learn how to configure input and output to use the Image to Video API.

Intro

The Image to Video API allows you to turn a simple product photo into an animated visual asset.

Cost

  • 35 credits per 5 second video.

  • 70 credits per 10 second video.

Rate limits

  • 1 generation per 1 second.

  • 15 generations per 1 minute.

Limitations

  • Only one input image can be processed per request.

  • Only one video can be generated per request.

  • Each side of the input image should be greater than or equal to 300px.

  • Input image format should be JPG, PNG, WEBP, HEIC or HEIF.

Input

URL of the input image should be from 1 to 512 characters. The image must be accessible by our system.

{
    "input": "https://letsenhance.io/docs/assets/samples/burger.jpg"
}

Connected storage

After connecting your Cloud Storage, you can refer the storage name as an input.

{
    "input": "storage://storage-name/input-path/input.png"
}

Output

Configuring output is optional. By default, you may omit the output option from the request payload. In this case, our system stores the result in a temporary bucket with a lifespan of 24 hours and provides a public URL to the video.

{
    "output": "storage://storage-name/output-path/output.mp4"
}

You can also specify a folder output, in this case a unique filename will be generated for the output.

{
    "output": "storage://storage-name/output-path/"
}
PreviousAPI ReferenceNextImage to Video Options

Last updated 1 day ago

You can connect and use it as a source for images. Currently, our API supports AWS S3 and Google Cloud Storage.

Alternatively, you can use a connected : just configure the path to the folder where you want to store results.

Cloud Storage
Cloud Storage