Sign in

Change image format

documented

Convert the image to a different format (e.g., jpg, png, webp, avif).

GET /images/{space_id}/{asset_id}/{file_path}?format={format}Changing formatsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://images.ctfassets.net/{{$space_id}}/{{$asset_id}}/{{$file_path}}?fm={{$format}}&w={{$width}}&h={{$height}}&q={{$quality}}" \
  -H "Accept: image/*" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"
Change image format · Contentful · OpenIntegrations