Skip to main content
POST
Image resizing and cropping

Authorizations

Authorization
string
header
required

A Mouter API key or OAuth access token.

Headers

Idempotency-Key
string

Reuse the key with the same credential and input when retrying the same submission.

Required string length: 1 - 128

Body

application/json
image_urls
string[]
required
Required array length: 1 - 5 elements
width
integer | null
Required range: 1 <= x <= 10000
height
integer | null
Required range: 1 <= x <= 10000
mode
enum<string>
default:fit
Available options:
fit,
crop,
stretch

Response

Existing task returned for an idempotent retry. An available result matches the output schema shown here.

code
integer
required
message
string
required
Allowed value: ""
data
object
required
request_id
string | null
required