curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "bria-rmbg-3.0",
"input": {
"image_urls": [
"https://storage.poyo.ai/models/bria-rmbg-3-0/examples/rmbg3-input-dandelion-3dfee980c4a6.png"
]
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1794470400-abcd1234",
"status": "not_started",
"created_time": "2026-11-12T10:30:00"
}
}{
"code": 400,
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"code": 400,
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}Bria
Bria RMBG 3.0
The Bria RMBG 3.0 API removes the background from one image and returns a transparent PNG at the input size, with an optional plain-language prompt to choose what to keep.
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "bria-rmbg-3.0",
"input": {
"image_urls": [
"https://storage.poyo.ai/models/bria-rmbg-3-0/examples/rmbg3-input-dandelion-3dfee980c4a6.png"
]
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1794470400-abcd1234",
"status": "not_started",
"created_time": "2026-11-12T10:30:00"
}
}{
"code": 400,
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"code": 400,
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the response result through the unified Query Task Status endpoint.
bria-rmbg-3.0 to cut the subject out of a photo for product listings, profile pictures, design mockups, and compositing. Send one image and get back a transparent PNG at the same size. Add a short prompt when you want a different cutout than the obvious subject, such as keeping a second object or only one item in the scene.
Models
- bria-rmbg-3.0 — One image in; one transparent PNG cutout out
Features
- Automatic cutout of the most prominent subject from a single image.
- Prompt-guided cutout: add an object to the subject, leave an object out, or keep only one item.
- Kept areas are the original pixels with a new alpha channel.
- Output is a PNG with transparency at the same width and height as the input.
- Accepts JPEG, PNG, WebP, GIF, AVIF, HEIC, and HEIF images.
Required parameters
image_urls(array of strings): Exactly 1 publicly accessible HTTP(S) image URL (JPEG, PNG, WebP, GIF, AVIF, HEIC, or HEIF).
Optional parameters
prompt(string): What to keep, in plain words, up to 2,000 characters. Examples: “the person with the mat and the plant”, “the woman at her desk without the lamp”, “only the chair”. Leavepromptempty to keep the most prominent subject of the photo.
Output
When the task finishes,files in Query Task Status and in the callback holds one PNG image with an alpha channel. The background is transparent and the image has the same width and height as the input.
{
"files": [
{
"file_url": "https://storage.poyo.ai/images/task-unified-1795564800-abcd1234/task-unified-1795564800-abcd1234.png",
"file_type": "image"
}
]
}
Examples
Fine Detail Cutout
Cut out a dandelion head together with the seeds drifting away from it:{
"model": "bria-rmbg-3.0",
"input": {
"image_urls": ["https://storage.poyo.ai/models/bria-rmbg-3-0/examples/rmbg3-input-dandelion-3dfee980c4a6.png"]
}
}
Keep Only the Product
Take a street-style photo and keep only the crochet cardigan, ready for a product listing:{
"model": "bria-rmbg-3.0",
"input": {
"image_urls": ["https://storage.poyo.ai/models/bria-rmbg-3-0/examples/rmbg3-input-crochet-da4fe2ab38df.png"],
"prompt": "only the crochet cardigan"
}
}
With Callback
Cut out a portrait with wind-blown hair and a sheer scarf, and receive the result by callback:{
"model": "bria-rmbg-3.0",
"callback_url": "https://your-domain.com/callback",
"input": {
"image_urls": ["https://storage.poyo.ai/models/bria-rmbg-3-0/examples/rmbg3-input-scarf-5b87af427ae2.png"]
}
}
Notes
- Each request processes one image. Send separate requests for multiple images.
- A request usually finishes within a minute; prompt-guided cutouts take longer than automatic ones.
Authorizations
All API endpoints require Bearer Token authentication.
Create an API key: sign in to PoYo, open Dashboard → API Key at poyo.ai/dashboard/api-key, and click to create a key.
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
Response
Task submitted successfully
Business status code. 200 means success; any other value means the request failed. Always check this field: some validation errors return HTTP 200 with code: 400 in the body.
200: Success400: Invalid request parameters401: Missing or invalid API key402: Insufficient credits403: Permission denied404: Resource not found408: Request timeout429: Rate limit exceeded500: Internal server error502: Upstream service error503: Service unavailable
See Error Codes for details.
Available options:
200, 400, 401, 402, 403, 404, 408, 429, 500, 502, 503 Example:
200