Skip to main content
Pixelcut endpoints generally support two request styles:

JSON with image_url

Use this when your image is already hosted (recommended for server-side pipelines).

Multipart with file upload

Use this when you want to upload the image bytes directly.

Accept header: JSON vs image bytes

Some endpoints support:
  • Accept: application/json → returns { "result_url": "..." }
  • Accept: image/* → returns the binary image directly
For production pipelines, application/json + downloading result_url is usually easier to retry and to store.

Result URLs and asset handling