Spiral gives your agent every tool with one account. Browse the tools →

Cursor · Image

How to Use Bria Extract Object in Cursor

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.

Prompts to try with Bria Extract Object in Cursor

Copy an example into Cursor, or ask in your own words.

Use Bria Extract Object on assets/catalog/desk.jpg to extract “the yellow hammer.” Crop tightly and save the transparent PNG beside the source.

Bria Extract ObjectCursor
Try asking
  • 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 Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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.

    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.

    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: Cursor finds Bria Extract Object on Spiral, shows the price and runs it.

Bria Extract Object providers and prices

Spiral runs Bria Extract Object through fal. Open a card for today's price, with every fee included.

falImage
Extract Object
bria/extract-object

Settings you can ask for

Bria Extract Object works from your image URL and prompt. Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Autocropon or offoff

Tighten the output canvas to the extracted object.

Remove backgroundon or offoff

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).

Every API field of Extract Object is on its tool page: open its card above.

What can you do with Bria Extract Object in Cursor?

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.

Questions about Bria Extract Object in Cursor

Can Cursor use Bria Extract Object?

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

How much does Bria Extract Object cost in Cursor?

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

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

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 Cursor?

About two minutes: add the hosted server, then sign in.

Does Cursor wait while Bria Extract Object runs?

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

Get started

Start using Bria Extract Object in Cursor

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Cursor:

Set up Cursor

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options