[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Bria Extract Object](https://spiral.ai/integrations/grok/bria-extract-object)

# How to Use Bria Extract Object in Grok

Bria Extract Object pulls a named object from an image into a transparent PNG for product listings, ads, and composites. It targets the object you describe, with optional tight cropping and edge refinement.

|  |  |
| --- | --- |
| Model | Bria Extract Object |
| Available through | fal |
| Category | Image |
| Price | $0.026 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Bria Extract Object in Grok

- Use Bria Extract Object on this photo to isolate the red ceramic mug on the right. Return a transparent PNG cropped tightly around it.
- Use Bria Extract Object to isolate the person in the yellow jacket at the left of this photo. Keep the original canvas dimensions.
- Use Bria Extract Object to pull the blue sale sign from this image. Leave edge refinement off so I can inspect the lettering before using it.
- Use Bria Extract Object to isolate the brown teddy bear in this photo. Try softer edge refinement and crop tightly around the cutout.
- Use Bria Extract Object to extract the green chair beside the window. Keep a transparent background and check that the result isolates the chair rather than returning the whole photo.

## How to set up Bria Extract Object in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Bria Extract Object**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "bria/extract-object",
    "input": {
      "image_url": "https://bria-datasets.s3.amazonaws.com/object-extraction/tools_construction_flatlay.jpg"
    }
  }'
```

Then paste one of the prompts above: Grok finds Bria Extract Object on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Bria Extract Object tools and prices

- [Extract Object](https://spiral.ai/tools/fal/bria/extract-object) (fal): $0.026 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_url |  | https://bria-datasets.s3.amazonaws.com/object-extraction/tools_construction_flatlay.jpg | Source image as a public URL, a base64 data URI (data:image/png;base64,...) or raw base64-encoded image bytes. |
| prompt |  | yellow hammer | Natural-language description of the object to act on, e.g. 'the red car'. |
| autocrop |  | false | Tighten the output canvas to the extracted object. |
| remove_background |  | false | 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). |

## What can you do with Bria Extract Object in Grok?

Pull a specific object out of a supplied image for a listing, presentation, or design with Bria Extract Object. Describe the target in plain language, then choose a tight crop or the original canvas.

### Product listing cutouts

Extract a named product from a lifestyle photo, then crop tightly for a standalone listing asset.

### Individual items from flat lays

Turn a multi-product flat lay into separate assets by requesting one clearly described item at a time.

### Ad composition assets

Isolate a product as a transparent PNG for placement in a separately designed banner or ad.

### A person from a group photo

Describe one person by a visible feature and position to prepare a cutout for a profile graphic or presentation.

### Layers with original placement

Keep automatic cropping off when extracting an object that needs to retain its position on the original canvas.

### Graphic assets from existing artwork

Extract a named graphic with edge refinement off, then inspect small lettering and logo details before reuse.

### Reusable scene props

Pull a named chair, lamp, or other visible object from a scene to build a library of transparent design assets.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Bria Extract Object in other agents

- [Amp](https://spiral.ai/integrations/amp/bria-extract-object)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bria-extract-object)
- [Claude](https://spiral.ai/integrations/claude-desktop/bria-extract-object)
- [Claude Code](https://spiral.ai/integrations/claude-code/bria-extract-object)
- [Cline](https://spiral.ai/integrations/cline/bria-extract-object)
- [Codex](https://spiral.ai/integrations/codex/bria-extract-object)
- [Cursor](https://spiral.ai/integrations/cursor/bria-extract-object)
- [Devin](https://spiral.ai/integrations/devin/bria-extract-object)
- [dots](https://spiral.ai/integrations/dots/bria-extract-object)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bria-extract-object)
- [Gemini](https://spiral.ai/integrations/gemini/bria-extract-object)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bria-extract-object)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bria-extract-object)
- [goose](https://spiral.ai/integrations/goose/bria-extract-object)
- [Grok Build](https://spiral.ai/integrations/grok-build/bria-extract-object)
- [Hermes](https://spiral.ai/integrations/hermes/bria-extract-object)
- [Instinct](https://spiral.ai/integrations/instinct/bria-extract-object)
- [Manus](https://spiral.ai/integrations/manus/bria-extract-object)
- [Muse](https://spiral.ai/integrations/muse/bria-extract-object)
- [Muse Code](https://spiral.ai/integrations/muse-code/bria-extract-object)
- [n8n](https://spiral.ai/integrations/n8n/bria-extract-object)
- [Notion](https://spiral.ai/integrations/notion/bria-extract-object)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bria-extract-object)
- [opencode](https://spiral.ai/integrations/opencode/bria-extract-object)
- [Perplexity](https://spiral.ai/integrations/perplexity/bria-extract-object)
- [Raycast](https://spiral.ai/integrations/raycast/bria-extract-object)
- [VS Code](https://spiral.ai/integrations/vscode/bria-extract-object)
- [Windsurf](https://spiral.ai/integrations/windsurf/bria-extract-object)
- [Zapier](https://spiral.ai/integrations/zapier/bria-extract-object)

## More Grok guides

- [Bria Expand](https://spiral.ai/integrations/grok/bria-expand)
- [Bria FIBO Edit 1.5 Expand](https://spiral.ai/integrations/grok/bria-fibo-edit-1-5-expand)
- [Bria Eraser](https://spiral.ai/integrations/grok/bria-eraser)
- [Bria Fast](https://spiral.ai/integrations/grok/bria-fast)
- [Bria Embed Product](https://spiral.ai/integrations/grok/bria-embed-product)
- [Bria Fibo](https://spiral.ai/integrations/grok/bria-fibo)

## Questions about Bria Extract Object in Grok

**Can Grok use Bria Extract Object?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Bria Extract Object like any built-in tool.

**How much does Bria Extract Object cost in Grok?**

$0.026 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need a fal account to use Bria Extract Object in Grok?**

No. Spiral runs Bria Extract Object on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Bria Extract Object in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Bria Extract Object runs?**

Bria Extract Object runs in the background. Grok starts the run, checks on it and gives you the image when it's ready.

**How is Bria Extract Object different from background removal?**

Bria Extract Object selects the object you name, including something outside the obvious foreground. Use it when you want one particular item from a scene.

**What does Bria Extract Object return?**

It returns an RGBA PNG cutout with a transparent background. You can use the cutout as an asset in a separate design or compositing step.

**How do I select one of several similar objects?**

Name the object and add a visible distinction, such as its color or position. Try “the yellow hammer” or “the sneaker on the left” instead of a broad description.

**Does the output keep the original image dimensions?**

With automatic cropping off, the cutout stays on a canvas matching the input dimensions. Enable automatic cropping when you want the canvas tightened around the object.

**When should I use background removal refinement?**

Try it when a photographic subject needs softer matte edges. Leave it off for text, logos, or graphics if refinement trims away detail you need.

