BackgroundErase supports different upload formats depending on whether you’re using Studio (web) or the API. This article lists what you can upload and what you can expect for output formats.
Quick summary: Studio uploads are optimized for common web image formats, while the API supports a broader set of input formats and multiple output formats.
Studio (web) uploads
In /studio , you can upload:
- JPG
- PNG
- WebP
- HEIC
- HEIF
Studio output format: Studio downloads are always returned as PNG.
API uploads
When using the BackgroundErase API, you can upload a wider range of formats:
- JPG/JPEG/JPE/JFIF
- PNG
- WebP
- BMP
- TIFF/TIF
- GIF
API output formats: The API can return results as PNG, JPG, or WebP, depending on the value you provide in the 'format' flag.
Step-by-step: verifying your file type
- Check the file extension (for example: .png, .jpg, .webp).
- If you’re uploading in Studio, ensure it’s one of: JPG, PNG, WebP, HEIC, or HEIF.
- If you’re uploading via the API, ensure it’s one of: JPG/JPEG/JPE/JFIF, PNG, WebP, BMP, TIFF/TIF, or GIF.
- If your image isn’t supported, convert it to PNG or JPG and try again.
