← All models
Extract Object
extract-object
Image generationby infery
Bria Extract Object uses text prompts to isolate a selected object from an image and return it as an RGBA PNG with a transparent background. Ideal for product, ecommerce, advertising, and creative editing workflows. Bria's Extract Object API leads in product shot extraction, outperforming SAM 3.1 where it counts most for commercial use.
images
Pricing
- Price
- 2.5 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| prompt | string | Natural-language description of the object to act on, e.g. 'the red car'. |
| autocrop | boolean | Tighten the output canvas to the extracted object. |
| image_url | string | Source image as a public URL or raw base64-encoded image bytes (no data-URI prefix). |
| sync_mode | boolean | If true, the function waits for the image to be generated and uploaded before returning, so the image is returned directly (base64) instead of via the CDN. Increases latency. |
| remove_background | boolean | When True, refine the cutout alpha with background removal (RMBG). When False (default), use the SAM segmentation mask as the cutout's alpha -- faster, with no salient-object matting (helpful when RMBG over-trims text, logos, or graphics). |
Output
| Field | Type | Description |
|---|---|---|
| mask | — | Segmentation mask used for the extraction. |
| image | — | Extracted object on a transparent background (RGBA). |
