Overview
The removebgeasy API allows developers to programmatically remove backgrounds from images with high precision. Our API is RESTful and designed to be easy to use.
Base URL
https://api.xoanen.vn
Authentication
All API requests must include your secure API key in the headers.
| Header | Value |
|---|---|
X-Xoanen-Secret | YOUR_SECRET_KEY |
Note: The current public demo key is
Xoanen_Secure_Key_2026.
Endpoints
1. Remove Background
POST /
Upload an image to remove its background.
Request Headers
Content-Type:multipart/form-dataX-Xoanen-Secret:<your_api_key>
Body Parameters
image: The image file (binary). Supported formats: JPG, PNG, WEBP.
Example Request (cURL)
curl -X POST https://api.xoanen.vn \
-H "X-Xoanen-Secret: Xoanen_Secure_Key_2026" \
-F "image=@/path/to/your/image.jpg" \
-o result.png
Response
The API returns the binary data of the processed PNG image with a transparent background.
- 200 OK: Success. The body contains the image.
- 429 Too Many Requests: You have exceeded the daily limit (5 requests/day/IP).
- 401 Unauthorized: Invalid API Key.
Limits & Pricing
- Free Tier: 5 images per day per domain/IP.
- Pro Tier: Contact us for unlimited access and higher rate limits.