Skip to main content
The background removal API allows you to remove the background from an image and optionally add AI-generated shadows, crop to the subject, and apply margins. Background removal example

What to build with it

  • Product listing cutouts with transparency
  • Catalog normalization (consistent background removal)
  • Preprocessing step for generation workflows

For Best Results

  • Use sharp images with strong subject/background contrast
  • Avoid tiny thumbnails and heavy JPEG artifacts

Limitations

  • Input width and height must each be between 64 and 10,000 pixels, inclusive.
  • Supported input formats are JPEG, PNG, WebP, HEIC, HEIF, and AVIF. Images supplied via image_url, upload, or base64 may be up to 50 MiB, and the total request body, including encoding and form data, must also fit within 50 MiB.
  • Does not support translucent materials such as glass.