Skip to main content
ArtEmotion
Image

Bria Replace Object

Credit-based pricing. Supports reference images, batch up to 4.

Bria Replace Object preview
Output
image
Max batch
4

Inputs

  • Reference image (required)
  • Batch up to 4 per request

Example prompt

a modern black leather office chair
Try this prompt →
LLM-ready

API & LLM schema

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

POST/api/v1/generate14 fields · 4 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.
promptstringRequiredOptional model input.
mask_urlstringRequiredThe URL of the binary mask image marking the object to replace. Use Draw mask to paint it over your image.
negative_promptstringOptionalDescribe attributes to exclude from the replacement object. · Default:
refine_promptbooleanOptionalLet Bria auto-refine your prompt for better fills. · Default: true
preserve_alphabooleanOptionalWhen enabled, preserves the alpha channel of the input image. Bria's API default. · Default: true
seedintegerOptionalSame seed + same prompt = same image every time. Leave empty for a random seed.
num_imagesintegerOptionalRange: 1–4
reference_image_urlstringRequiredFormat: uri
Minimal request example
{
  "model_id": "bria/gen-fill/replace-object",
  "prompt": "a modern black leather office chair",
  "mask_url": "your_mask_url",
  "reference_image_url": "https://example.com/reference_image"
}
Raw JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.artemotion.ai/api/v1/models?id=bria%2Fgen-fill%2Freplace-object",
  "title": "Bria Replace Object generation request",
  "description": "Request body accepted by POST /api/v1/generate for bria/gen-fill/replace-object.",
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "const": "bria/gen-fill/replace-object",
      "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"
    },
    "mask_url": {
      "title": "Mask Url",
      "description": "The URL of the binary mask image marking the object to replace. Use Draw mask to paint it over your image.",
      "type": "string"
    },
    "negative_prompt": {
      "title": "Negative Prompt",
      "description": "Describe attributes to exclude from the replacement object.",
      "default": "",
      "type": "string"
    },
    "refine_prompt": {
      "title": "Refine Prompt",
      "description": "Let Bria auto-refine your prompt for better fills.",
      "default": true,
      "type": "boolean"
    },
    "preserve_alpha": {
      "title": "Preserve Alpha",
      "description": "When enabled, preserves the alpha channel of the input image. Bria's API default.",
      "default": true,
      "type": "boolean"
    },
    "seed": {
      "title": "Seed",
      "description": "Same seed + same prompt = same image every time. Leave empty for a random seed.",
      "type": "integer",
      "multipleOf": 1
    },
    "num_images": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4
    },
    "reference_image_url": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "model_id",
    "prompt",
    "mask_url",
    "reference_image_url"
  ],
  "additionalProperties": false
}

FAQ

How much does Bria Replace Object 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 Object fails?

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

Can I call Bria Replace Object from the API?

Yes. Use POST /api/v1/generate with model_id: "bria/gen-fill/replace-object". 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 Object?

Start now →

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