{"version":"1","model":{"id":"bria/v2/crop-foreground","name":"Bria Crop Foreground","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Detect and crop tightly around the main foreground subject.","pricing_note":"Bria image edit","categories":["background","edit-image"],"prompt_required":false,"prompt_supported":false,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":[],"resolutions":[],"durations":[],"max_images":1,"max_reference_images":1,"base_credits":5,"api_gross_margin_percent":20,"added_at":"2026-07-17","popularity_rank":91,"example_prompt":"Crop around the main subject","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/bria-bg-remove-sm.webp"},"schema_url":"/api/v1/models?id=bria%2Fv2%2Fcrop-foreground","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=bria%2Fv2%2Fcrop-foreground","title":"Bria Crop Foreground generation request","description":"Request body accepted by POST /api/v1/generate for bria/v2/crop-foreground.","type":"object","properties":{"model_id":{"type":"string","const":"bria/v2/crop-foreground","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"},"padding":{"title":"Padding","description":"Padding in pixels around the detected foreground.","default":0,"type":"number","minimum":0,"maximum":2048,"multipleOf":1},"force_background_detection":{"title":"Force background detection","default":false,"type":"boolean"},"preserve_alpha":{"title":"Preserve alpha","default":true,"type":"boolean"},"reference_image_url":{"type":"string","format":"uri"}},"required":["model_id","reference_image_url"],"additionalProperties":false},"parameters":[{"key":"padding","label":"Padding","type":"number","default":0,"min":0,"max":2048,"step":1,"description":"Padding in pixels around the detected foreground."},{"key":"force_background_detection","label":"Force background detection","type":"toggle","default":false},{"key":"preserve_alpha","label":"Preserve alpha","type":"toggle","default":true}]}}