/api/v1/remove-background
Remove background from an image with pixel-perfect precision. Returns transparent PNG or applies custom background color.
curl -X POST https://api.ishotaphoto.com/v1/remove-background \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg",
"output_format": "png",
"background_color": null
}'
{
"success": true,
"credits_used": 1,
"credits_remaining": 249,
"result": {
"image_url": "https://cdn.ishotaphoto.com/results/abc123.png",
"expires_at": "2025-01-08T12:00:00Z"
}
}