Images

Process an image

Uploads a base64 image and resizes/reformats it to the requested sizes and formats (or those of a named template), returning a batch of CDN URLs. Emits the batch.created webhook event. Requires the images:write scope.

post/api/images

Request

  • Base URL: https://api.imagelato.com
  • URL: https://api.imagelato.com/api/images
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Request body

filestring required

Data URI, e.g. data:image/png;base64,<...>

projectIdstring
slugstring
templatestring
formatsstring[]
sizesinteger[]

Response

The created batch (main URL + variants)

Changes

No recorded changes to this operation across all 1 revision of this API.