Upload one input image as an Asset
Send raw JPEG, PNG or WebP bytes as the request body with the matching
Content-Type. No Idempotency-Key: an upload is not deduplicated, and uploading
the same bytes twice creates two assets. The asset is owned by the caller’s
environment and expires at expires_at. Metadata (EXIF, XMP, IPTC) is removed and
pixels are rotated to their displayed orientation before the asset is stored, so
width and height are the displayed dimensions.
Authentication
API key for one environment of your account. Keep server-side; never expose in browser clients.
Request
Response headers
The state of each policy in RateLimit-Policy: "submit";r=59;t=1, r remaining and t seconds until whole again.
Quota of the most restrictive policy (draft-07 form).
The limits this request consumed, as an RFC 8941 list (draft-ietf-httpapi-ratelimit-headers): "submit";q=60;w=60. Policies are submit, upload and daily. Sent only while rate-limit headers are on.
Remaining quota of the most restrictive policy (draft-07 form).