> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidgo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bria RMBG 3.0 Remove Background

> The Bria RMBG 3.0 Remove Background API turns one photo into a transparent PNG at the original size, with an optional prompt that names what to keep.

> [!TIP]
>
> 1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
> 2. Regardless of whether `callback_url` is provided, you can retrieve the result through the unified [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) endpoint.

Bria RMBG 3.0 Remove Background turns one photo into a transparent PNG cut-out at the original image size. Add an optional prompt that names in plain words what to keep, such as "the woman and her bicycle", when a photo has several possible subjects. Typical uses are product listings, profile photos, marketing composites and design assets.

Bria AI describes the model this way: "RMBG 3.0 is the third generation of Bria's background removal models, and the first one built on a generative foundation." According to Bria, it is trained exclusively on licensed data and turns "any photo into a clean, soft alpha matte".

## Models

* **bria/rmbg-v3.0/remove-background** — Background removal with Bria RMBG 3.0, one transparent PNG per request.

## Features

* Background removal with a soft alpha matte for hair, fur and fine edges; Bria reports its best average rank in the hair and fur category of its benchmark.
* Optional plain-language prompt that names the subject to keep.
* One transparent PNG at the input image's width and height.
* One flat rate per request.

## Required parameters

* `image_urls` (string\[]): Exactly one image, as a publicly accessible HTTP(S) URL.

## Optional parameters

* `prompt` (string): What to keep, in plain words, up to 2,000 characters. Surrounding whitespace is trimmed and a blank prompt is ignored.

## Output

The finished task returns one transparent PNG, at the same width and height as the input image, in the `files` array of [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) and the callback payload.

## Examples

* **Product cut-out**: one product photo, default settings.
* **Guided cut-out with callback**: a park portrait with `prompt: "the woman and her bicycle"` and a `callback_url`.

## Notes

* `input` accepts `image_urls` and `prompt`; other fields return 400. Put `model` and `callback_url` at the request root, next to `input`.
* `image_urls` takes exactly one public HTTP(S) URL; an empty array, several URLs or a data URI return 400.
* Each request is billed at a flat rate, and the prompt keeps the price the same. Credits are reserved at submission, and a failed task is refunded in full. See the [pricing page](https://vidgo.ai/apis/api-pricing) for current rates.


## OpenAPI

````yaml api-manual/image-series/bria-rmbg-v3-0-remove-background.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Bria RMBG 3.0 Remove Background
  description: >-
    The Bria RMBG 3.0 Remove Background API turns one photo into a transparent
    PNG at the original size, with an optional prompt that names what to keep.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Bria RMBG 3.0 Remove Background
      summary: Submit Bria RMBG 3.0 Remove Background Task
      operationId: submitBriaRmbg30RemoveBackgroundTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              cutout:
                summary: Product cut-out
                value:
                  model: bria/rmbg-v3.0/remove-background
                  input:
                    image_urls:
                      - https://example.com/ceramic-mug.jpg
              guided:
                summary: Guided cut-out with callback
                value:
                  model: bria/rmbg-v3.0/remove-background
                  callback_url: https://your-domain.com/callback
                  input:
                    image_urls:
                      - https://example.com/park-portrait.jpg
                    prompt: the woman and her bicycle
      responses:
        '200':
          description: >-
            Task submission result. A task ID identifies asynchronous work;
            generation may still be running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          example: bria/rmbg-v3.0/remove-background
        callback_url:
          type: string
          format: uri
          description: Optional webhook URL for completion or failure notifications.
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - image_urls
          additionalProperties: false
          properties:
            image_urls:
              type: array
              minItems: 1
              maxItems: 1
              items:
                type: string
                format: uri
                description: Use a publicly accessible HTTP(S) image URL.
              description: Required. Exactly one image whose background should be removed.
            prompt:
              type: string
              maxLength: 2000
              description: >-
                Optional. Say in plain words what to keep, for example `the
                woman and her bicycle`. Up to 2,000 characters; surrounding
                whitespace is trimmed and a blank prompt is ignored.
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-example-001
            status:
              type: string
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2026-11-25T10:30:00'
    ErrorResponse:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
          description: Error message. See [Error Codes](/api-manual/error-codes).
          example: prompt is required
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Use `Authorization: Bearer VIDGO_API_KEY`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.