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

Windsurf · Image

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.

Prompts to try with Bria Embed Product in Windsurf

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

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.

Bria Embed ProductWindsurf
Try asking
  • 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:

    {
      "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.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    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.

    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.

    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.

Bria Embed Product providers and prices

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

falImage
Embed Product
bria/embed-product

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number5555

Random seed for reproducibility.

Every API field of Embed Product is on its tool page: open its card above.

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.

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.

Get started

Start using Bria Embed Product in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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