Infery.ai
← 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

FieldTypeDescription
promptstringNatural-language description of the object to act on, e.g. 'the red car'.
autocropbooleanTighten the output canvas to the extracted object.
image_urlstringSource image as a public URL or raw base64-encoded image bytes (no data-URI prefix).
sync_modeboolean 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_backgroundbooleanWhen 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

FieldTypeDescription
maskSegmentation mask used for the extraction.
imageExtracted object on a transparent background (RGBA).