API
¿Lo necesitas dentro de tu producto?
Send an image. Get a transparent PNG back. Calls use the same monthly limit as the account that owns the API key.
Create an API keyAuthentication
Create a key on the account page, then send it as a bearer token. The full secret is shown only once.
Authorization: Bearer rtb_YOUR_KEYRemove a background
POST https://removetobe.com/api/v1/remove-background
Upload a JPG, PNG, or WebP up to 25MB in the image field, or send an https image_url. The default response is JSON with a result URL. Send Accept: image/png or output=png to download the PNG itself.
curl -X POST https://removetobe.com/api/v1/remove-background \ -H "Authorization: Bearer rtb_YOUR_KEY" \ -F "image=@photo.jpg"
curl -X POST https://removetobe.com/api/v1/remove-background \
-H "Authorization: Bearer rtb_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url":"https://example.com/photo.jpg"}'{
"id": 1204,
"result_url": "https://removetobe.com/files/processed-….png",
"expires_at": "2026-10-26T00:00:00.000Z",
"plan": "lite",
"monthly_remaining": 287
}Account
GET https://removetobe.com/api/v1/account returns the plan and how many images are left this month.
Limits
- Free Plan: 25 images per month
- Lite Plan: 300 images per month
- Pro Plan: 800 images per month
A call past the monthly limit returns 403 with code quota_exceeded. Files stay available for the same number of days as the plan, then they are deleted. Image URLs must be public https links.
Errors
{
"error": {
"code": "unauthorized",
"message": "API key is invalid or revoked."
}
}Codes: unauthorized, invalid_request, unsupported_media, file_too_large, quota_exceeded, storage_exceeded, upstream_error.
