{"version":"1","model":{"id":"bria/gen-fill/replace-object","name":"Bria Replace Object","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Replace whatever is inside the masked region with the object you describe — trained exclusively on licensed data for safe commercial use.","pricing_note":"~10 cr / image (Bria bills $0.04/MP — flat-priced at the 1MP typical)","categories":["inpaint"],"prompt_required":true,"prompt_supported":true,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":[],"resolutions":[],"durations":[],"max_images":4,"max_reference_images":1,"base_credits":5,"api_gross_margin_percent":20,"added_at":"2026-07-03","popularity_rank":66,"example_prompt":"a modern black leather office chair","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/bria-replace-object-v1-sm.webp"},"schema_url":"/api/v1/models?id=bria%2Fgen-fill%2Freplace-object","input_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},"parameters":[{"key":"mask_url","label":"Mask Url","type":"text","required":true,"description":"The URL of the binary mask image marking the object to replace. Use Draw mask to paint it over your image."},{"key":"negative_prompt","label":"Negative Prompt","type":"text","default":"","description":"Describe attributes to exclude from the replacement object."},{"key":"refine_prompt","label":"Refine Prompt","type":"toggle","default":true,"description":"Let Bria auto-refine your prompt for better fills."},{"key":"preserve_alpha","label":"Preserve Alpha","type":"toggle","default":true,"description":"When enabled, preserves the alpha channel of the input image. Bria's API default."},{"key":"seed","label":"Seed","type":"seed","step":1,"description":"Same seed + same prompt = same image every time. Leave empty for a random seed."}]}}