# Bria Remove Background > Bria RMBG 2.0 enables seamless removal of backgrounds from images with 256 levels of transparency for natural-looking results. Trained exclusively on licensed data for safe commercial use. - **Provider**: replicate - **Model ID**: bria/remove-background - **Category**: background_removal - **Credits**: 32 per request - **Pricing Type**: fixed ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `image` (string, optional): Image file - `preserve_partial_alpha` (boolean, optional): [DEPRECATED] Preserve partial alpha. No longer used in V2 API - use preserve_alpha instead. - `content_moderation` (boolean, optional): Enable content moderation - `image_url` (string, optional): Image URL - `preserve_alpha` (boolean, optional): Preserve alpha channel in output. When true, maintains original transparency. When false, output is fully opaque. ## Example Request ```json { "model": "bria/remove-background", "input": { "image": "https://replicate.delivery/pbxt/NMdr4Fcfcv0sKe7xREkzFKyuKv5NMVbZPSjSN6nbV1icn8IQ/_Create_a_high_resolution_product_image_of_a_luxury_gold_ring_with_a_vibrant_blu%20%281%29.png", "preserve_partial_alpha": true, "content_moderation": false } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags background-removal, image-editing, transparency, commercial-use, licensed-data ## Documentation https://huggingface.co/briaai/RMBG-2.0