POST
/
image-to-video
curl --request POST \
  --url https://dream-gateway.livepeer.cloud/image-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'image=<string>' \
  --form 'model_id=<string>' \
  --form height=123 \
  --form width=123 \
  --form fps=123 \
  --form motion_bucket_id=123 \
  --form noise_aug_strength=123 \
  --form seed=123 \
  --form safety_check=true
{
  "frames": [
    [
      {
        "url": "<string>",
        "seed": 123,
        "nsfw": true
      }
    ]
  ]
}

The public Livepeer.cloud Gateway used in this guide is intended for experimentation and is not guaranteed for production use. It is a free, non-token-gated, but rate-limited service designed for testing purposes. For production-ready applications, consider setting up your own Gateway node or partnering with one via the ai-video channel on Discord.

Please note that the optimal parameters for a given model may vary depending on the specific model and use case. The parameters provided in this guide are not model-specific and should be used as a starting point. Additionally, some models may have parameters such as guiding_scale and num_inference_steps disabled by default. For more information on model-specific parameters, please refer to the respective model documentation.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
image
string
required
model_id
string
default: required
height
integer
default: 576
width
integer
default: 1024
fps
integer
default: 6
motion_bucket_id
integer
default: 127
noise_aug_strength
number
default: 0.02
seed
integer
safety_check
boolean
default: true

Response

200 - application/json
frames
array
required