Bria Eraser

AI object removal with seamless context-aware inpainting.

Playground
APIPricing
~12.68s
Example output
Default output example

Bria Eraser — AI Object Removal API

What is Bria Eraser?

Bria Eraser is a production-grade image editing API that removes unwanted objects from photos and fills erased regions with contextually accurate, AI-generated pixels. Powered by Bria's inpainting foundation model, it analyzes surrounding lighting, texture, and composition to reconstruct the scene seamlessly — without disturbing original pixels outside the mask.

The API accepts a source image and a mask URL, then returns a clean, inpainted PNG in a single synchronous call at a flat cost of $0.04 per request.

Key Features

  • •Precision Object Removal: Supply a manual mask for pixel-perfect control or use automatic masking for fast, AI-detected region removal.
  • •Context-Aware Fill: The model replicates surrounding lighting, texture, and tone when regenerating the erased area — no visible seams.
  • •Original Pixel Preservation: Only the masked region is modified; all other pixels remain untouched.
  • •Content Moderation: Optional input and output moderation flags for compliance-sensitive pipelines in healthcare, finance, and regulated industries.
  • •Flat Per-Inference Pricing: $0.04 per call, regardless of image size or complexity.

Best Use Cases

  • •E-Commerce Catalogs: Strip watermarks, cables, dust spots, or stray props from product photography at scale.
  • •Marketing Asset Production: Remove outdated logos, seasonal elements, or background distractions from hero images without a reshooting budget.
  • •Photo Restoration: Erase scratches, date stamps, or blemishes from archive images.
  • •Creative App Integration: Embed object removal into consumer or enterprise photo editors with a single API call.
  • •Content Localization: Remove region-specific text or branding from master assets before repurposing for other markets.

Prompt Tips and Output Quality

  1. •Use high-resolution source images — the model preserves fine texture detail in the filled region.
  2. •For manual masks, paint slightly larger than the object to help the model blend fill edges cleanly.
  3. •Use mask_type=automatic for quick edits on well-defined objects like logos or isolated props.
  4. •Enable both content moderation flags for public-facing or client-delivery pipelines.
  5. •If the fill contains visible artifacts at the mask boundary, re-run with a slightly expanded mask.