Skip to main content

Transform assets

POST 

/api/v1/:slug/assets/transform

Transform image assets using arbitrary parameters. This endpoint allows you to resize and convert images by specifying:

  • width: Set the desired width in pixels for the transformed image
  • height: Set the desired height in pixels for the transformed image
  • format: Convert the image to a different format (e.g., jpg, png, webp)

The API will process the provided asset tokens and return asset tokens of the transformed versions of each image.

Request

Responses

successful