Skip to main content
Bria AIFastHigh

Remove Background

AI-powered background removal tool for images. Clean, accurate cutouts for any subject with professional-quality edge detection.

32 credits
per image
Precise edge detection
Clean background removal
Works with any subject type
Fast processing speed

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

llms.txt

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bria/remove-background",
  "input": {
    "image_url": "https://example.com/product-photo.jpg"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
image_urlstringYes-URL of the image to remove background from

How to Provide File Input

There are 3 ways to provide files for the image_url parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=bria/remove-background" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_url=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "bria/remove-background",
  "input": {
    "prompt": "your prompt here",
    "image_url": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Product Cutout

Remove background from a product photo

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bria/remove-background",
  "input": {
    "image_url": "https://example.com/product-photo.jpg"
  }
}'

Tips & Best Practices

1Works best with clear subjects and well-lit images
2Upload high-resolution images for cleaner edge detection
3Great as a preprocessing step before compositing
4Ideal for batch processing e-commerce product catalogs

Use Cases

E-commerce product photo editing
Profile photo background removal
Design asset preparation
Photo compositing workflows