Skip to main content
POST
Upload a reference image

Authorizations

X-API-KEY
string
header
required

Body

multipart/form-data
image
file
required

PNG, JPEG or WebP image, up to 20 MB

Response

Successful Response

image_id
string<uuid>
required

Pass this ID in reference_image_ids when generating

width
integer
required

Image width in pixels

height
integer
required

Image height in pixels