Skip to main content
ArtEmotion
Image

Bria Replace Background

Credit-based pricing. Supports reference images.

Bria Replace Background preview
Output
image

Inputs

  • Reference image (required)

Example prompt

A sunlit café terrace in Paris, warm afternoon light, blurred bokeh background, outdoor café chairs and tables
Try this prompt →
LLM-ready

API & LLM schema

Exact request contract for this model. Agents can fetch it from /api/v1/models?id=bria/replace-background.

POST/api/v1/generate15 fields · 2 required
FieldTypeRequirementContract
model_idconstantRequiredArtEmotion model identifier.
extraobjectOptionalModel-specific settings may also be nested here.
max_creditsnumberOptionalReject before submission if the estimated list price exceeds this cap. · Range: 1–…
webhook_urlstringOptionalFormat: uri
webhook_secretstringOptionalOptional model input.
folder_idstringOptionalOptional model input.
promptstringOptionalOptional model input.
modestringOptionalHigh Control follows the prompt/reference most closely; Fast trades quality for speed. · Allowed: high_control, base, fast · Default: high_control
negative_promptstringOptionalDescribe what to avoid in the generated background. · Default:
refine_promptbooleanOptionalLet Bria auto-refine your prompt for better backgrounds. · Default: true
enhance_ref_imagesbooleanOptionalEnhance the optional background reference image (second upload) before using it. Note: use a reference OR a prompt, not both. · Default: true
original_qualitybooleanOptionalPreserve the input image's original resolution/quality. · Default: false
force_background_detectionbooleanOptionalForce re-detection of the background even when an alpha channel is present. · Default: false
seedintegerOptionalRandom seed for reproducibility.
reference_image_urlsarray<string>RequiredItems: 0–2
Minimal request example
{
  "model_id": "bria/replace-background",
  "reference_image_urls": []
}
Raw JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.artemotion.ai/api/v1/models?id=bria%2Freplace-background",
  "title": "Bria Replace Background generation request",
  "description": "Request body accepted by POST /api/v1/generate for bria/replace-background.",
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "const": "bria/replace-background",
      "description": "ArtEmotion model identifier."
    },
    "extra": {
      "type": "object",
      "additionalProperties": true,
      "description": "Model-specific settings may also be nested here."
    },
    "max_credits": {
      "type": "number",
      "minimum": 1,
      "description": "Reject before submission if the estimated list price exceeds this cap."
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "webhook_secret": {
      "type": "string",
      "maxLength": 512
    },
    "folder_id": {
      "type": "string"
    },
    "prompt": {
      "type": "string"
    },
    "mode": {
      "title": "Mode",
      "description": "High Control follows the prompt/reference most closely; Fast trades quality for speed.",
      "default": "high_control",
      "type": "string",
      "enum": [
        "high_control",
        "base",
        "fast"
      ]
    },
    "negative_prompt": {
      "title": "Negative Prompt",
      "description": "Describe what to avoid in the generated background.",
      "default": "",
      "type": "string"
    },
    "refine_prompt": {
      "title": "Refine Prompt",
      "description": "Let Bria auto-refine your prompt for better backgrounds.",
      "default": true,
      "type": "boolean"
    },
    "enhance_ref_images": {
      "title": "Enhance Reference",
      "description": "Enhance the optional background reference image (second upload) before using it. Note: use a reference OR a prompt, not both.",
      "default": true,
      "type": "boolean"
    },
    "original_quality": {
      "title": "Original Quality",
      "description": "Preserve the input image's original resolution/quality.",
      "default": false,
      "type": "boolean"
    },
    "force_background_detection": {
      "title": "Force Background Detection",
      "description": "Force re-detection of the background even when an alpha channel is present.",
      "default": false,
      "type": "boolean"
    },
    "seed": {
      "title": "Seed",
      "description": "Random seed for reproducibility.",
      "type": "integer"
    },
    "reference_image_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "maxItems": 2
    }
  },
  "required": [
    "model_id",
    "reference_image_urls"
  ],
  "additionalProperties": false
}

FAQ

How much does Bria Replace Background cost on ArtEmotion?

Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.

Do I get my credits back if Bria Replace Background fails?

Yes — failed generations are never charged. The credits are released back to your balance automatically.

Can I call Bria Replace Background from the API?

Yes. Use POST /api/v1/generate with model_id: "bria/replace-background". See the API reference for the full schema.

Where are my generations stored?

Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.

Ready to generate with Bria Replace Background?

Start now →

No commitment. New accounts get 50 free credits on signup. See pricing.