POST
/api/v1/remove-bg$0.07/callRemove Background
Remove the background from any image using AI. Returns a transparent PNG at a signed URL (expires after ~1 hour — download promptly). Works great for product photos, portraits, and logos.
Request
curl -X POST https://vectosolve.com/api/v1/remove-bg \-H "Authorization: Bearer YOUR_API_KEY" \-F "file=@photo.jpg"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| file | File | optional | Image file via multipart/form-data. Max 4.5 MB per request (platform body limit). Supported: PNG, JPG, JPEG, WebP, GIF. |
| image_url | string | optional | Public URL of the image. Alternative to file upload. |
Either file or image_url must be provided.
Response
200 OK
{"success": true,"data": {"image_url": "https://...","format": "png","processing_time_ms": 1250},"credits": {"used": 0.07,"remaining": 9.93}}
Authentication Required
Include Authorization: Bearer vs_xxx in all requests. Rate limit: 60 requests/minute.