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

# How to Use Bria Extract Object in Google Antigravity

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 Google Antigravity

- Use Bria Extract Object on assets/catalog/desk.jpg to extract “the yellow hammer.” Crop tightly and save the transparent PNG beside the source.
- Use Bria Extract Object on public/images/room.jpg to extract “the green chair on the left.” Keep the original canvas dimensions and preview the cutout over the source.
- Use Bria Extract Object on assets/promo/sign.jpg to extract “the red sale sign.” Leave background removal refinement off and show an enlarged preview of the lettering.
- Use Bria Extract Object on assets/products/mug.jpg to extract “the blue ceramic mug.” Compare edge refinement on and off, with tight cropping, and make a review sheet.
- Use Bria Extract Object on each photo in assets/new-products/, using the object descriptions in products.csv. Save tightly cropped PNGs and flag results that still show the full scene.

## How to set up Bria Extract Object in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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: Google Antigravity finds Bria Extract Object on Spiral, shows the price and runs it.

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

## 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 Google Antigravity?

Turn project images into transparent product assets and separate visual layers with Bria Extract Object. Your coding agent can save the cutouts, preserve canvas placement when needed, and prepare previews for review.

### 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 Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## 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)
- [goose](https://spiral.ai/integrations/goose/bria-extract-object)
- [Grok](https://spiral.ai/integrations/grok/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 Google Antigravity guides

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

## Questions about Bria Extract Object in Google Antigravity

**Can Google Antigravity use Bria Extract Object?**

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

**How much does Bria Extract Object cost in Google Antigravity?**

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

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

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 Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Bria Extract Object runs?**

Bria Extract Object runs in the background. Google Antigravity 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.

