Remove Background
Remove backgrounds with a REST API
The Remove Background API makes a cutout from one public image URL. It fits product photos and portraits. It does not generate lifestyle scenes or replace the background from a text prompt.
Remove Background
POST /remove-background
- Authorization header with your API key
- Formats: JPG, PNG and WEBP.
- Limit: Up to 25 MB and 25 megapixels per image. The API example removes the background from one image URL.
curl -X POST https://picnie.com/api/v1/remove-background \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"project_id": 1,
"image_url": "https://picnie.com/data/raw_images/demo_bg1.jpg"
}'Other operations
Questions
REST, no SDK
Call the endpoint from any HTTP client.
Create an API key, then use the reference and Postman collection.