[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Bria Embed Product](https://spiral.ai/integrations/windsurf/bria-embed-product)

# How to Use Bria Embed Product in Windsurf

Bria Embed Product places product photos into an existing scene while matching its lighting and perspective. Use it for product compositions where placement and scale matter, such as furniture in a room or bottles on a counter.

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

## Prompts to try with Bria Embed Product in Windsurf

- Use Bria Embed Product with the chair photo and living-room background in assets. Place the chair beside the window, preserve its proportions, and add the result to the collection page draft.
- Use Bria Embed Product to arrange the three skincare product photos in assets on the vanity background. Give each a separate placement and save the composition for the bundle page.
- Use Bria Embed Product with our campaign background and kettle photo. Position the kettle on the right side of the counter, leaving the left side available for the page headline.
- Use Bria Embed Product to revise the lamp composition in this project. Keep seed 5555 fixed while testing three placement sizes that preserve the cropped lamp's proportions.
- Use Bria Embed Product with the approved product placement from our asset manifest. Generate three results with different seeds and build a local comparison page for review.

## How to set up Bria Embed Product in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

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

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 Embed Product**: 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/embed-product",
    "input": {
      "image_source": "https://bria-datasets.s3.us-east-1.amazonaws.com/embed-product/an_empty_living_room_0.png"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Bria Embed Product on Spiral, shows the price and runs it.

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

## Bria Embed Product tools and prices

- [Embed Product](https://spiral.ai/tools/fal/bria/embed-product) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| products |  | — | List of products to embed in the image. |
| seed |  | 5555 | Random seed for reproducibility. |

## What can you do with Bria Embed Product in Windsurf?

Create product compositions from images in your project for storefronts, collection pages, and campaign drafts. Your coding agent can prepare placements, generate the images, and put selected results into the page layout.

### Furniture in a room

Place a chair, side table, or lamp into an existing interior photo to draft a room merchandising image.

### Beauty product displays

Compose bottles and jars on a photographed vanity, with separate placement for each product.

### Kitchenware in context

Place a kettle or coffee maker into a kitchen scene for a product detail page.

### Product bundle compositions

Arrange several product photos together in one scene for a gift set or collection image.

### Campaign layout drafts

Position a product within a supplied campaign background, reserving space for a headline added during design.

### Seasonal merchandising

Place existing product photos into supplied seasonal scenes to prepare holiday or summer merchandising drafts.

## Overview

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

## Bria Embed Product in other agents

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

## More Windsurf guides

- [Bria Creative Upscale](https://spiral.ai/integrations/windsurf/bria-creative-upscale)
- [Bria Eraser](https://spiral.ai/integrations/windsurf/bria-eraser)
- [Bria Background Replace](https://spiral.ai/integrations/windsurf/bria-background-replace)
- [Bria Expand](https://spiral.ai/integrations/windsurf/bria-expand)
- [Boogu Image](https://spiral.ai/integrations/windsurf/boogu-image)
- [Bria Extract Object](https://spiral.ai/integrations/windsurf/bria-extract-object)

## Questions about Bria Embed Product in Windsurf

**Can Windsurf use Bria Embed Product?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Bria Embed Product like any built-in tool.

**How much does Bria Embed Product cost in Windsurf?**

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

**Do I need a fal account to use Bria Embed Product in Windsurf?**

No. Spiral runs Bria Embed Product 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 Embed Product in Windsurf?**

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

**Does Windsurf wait while Bria Embed Product runs?**

Bria Embed Product runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.

**What is Bria Embed Product good for?**

It places product photos into a scene you already have, with control over position and size. It suits compositions such as furniture in a room, cosmetics on a vanity, or kitchenware on a counter.

**Can Bria Embed Product place several products in one scene?**

Yes. You can compose several products in the same scene and give each its own placement, such as a lamp and framed print in a living room.

**Why does an embedded product look stretched?**

The placement size applies to the tightly cropped product, including when its source photo has empty space around it. Match the placement proportions to the product itself.

**Should I add a shadow before embedding a product?**

Bria advises against adding a separate shadow before product integration. The integration process handles shadows and blending.

**How should I refine a Bria Embed Product result?**

Keep the seed fixed while adjusting placement. Once the layout works, try different seeds to compare how the product blends into the scene.

