Skip to main content
POST
Generate image URL

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

image_id
string
required
Pattern: ^img-
Example:

"img-12345"

Body

application/json
format
enum<string>
Available options:
jpg,
png,
webp
Example:

"jpg"

quality
integer
Required range: 1 <= x <= 100
Example:

90

width
integer
Example:

1024

height
integer
Example:

768

Response

200 - application/json

Image URL generated

success
boolean
Example:

true

data
object