[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Bria Virtual Try-On](https://spiral.ai/integrations/muse-code/bria-virtual-try-on)

# How to Use Bria Virtual Try-On in Muse Code

Bria Virtual Try-On previews clothing and accessories on an existing person photo. Built on FIBO Edit 1.5, it handles layered outfit changes while aiming to preserve the person's identity, pose, and background.

|  |  |
| --- | --- |
| Model | Bria Virtual Try-On |
| 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 Virtual Try-On in Muse Code

- Use Bria Virtual Try-On with the person photo and navy blazer in the project's assets. Put the blazer over the existing T-shirt, keep the trousers and shoes, and save the result for review.
- Use Bria Virtual Try-On to preview the shirt, jacket, and trousers in our collection assets on the selected person photo. Place the jacket over the shirt and keep the person's pose and background.
- Use Bria Virtual Try-On to make separate previews of the three sweater color photos in our assets on the same person. Build a comparison view showing each result beside its garment reference.
- Use Bria Virtual Try-On with the project's person and patterned shirt images. Save a draft and prepare a review checklist for print placement, collar, closures, and proportions.
- Use Bria Virtual Try-On to refine our blazer preview. Keep the seed fixed, revise the instruction to retain the original T-shirt and sneakers, and show the previous and revised results together.

## How to set up Bria Virtual Try-On in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Virtual Try-On**: 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/fibo-edit-1.5/virtual-try-on",
    "input": {
      "person_image_url": "https://labs-assets.bria.ai/fal-examples/fibo-edit-1.5/virtual-try-on/person.jpg",
      "garment_image_urls": [
        "<garment_image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Bria Virtual Try-On on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Bria Virtual Try-On tools and prices

- [Bria Virtual Try-On (FIBO-Edit-1.5)](https://spiral.ai/tools/fal/bria/fibo-edit-1.5/virtual-try-on) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| instruction |  | — | Optional. A complete try-on instruction already runs; this is appended to it. Use it to say what layers over what, or which items stay untouched. |
| aspect_ratio | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 | — | Output aspect ratio. Left unset, the output keeps the ratio of the person image. |
| seed |  | 5555 | Random seed. The same seed with the same inputs returns the same image. |

## What can you do with Bria Virtual Try-On in Muse Code?

Create outfit previews from the project's person and garment assets with Bria Virtual Try-On. A coding agent can organize separate looks and build a review view beside the reference images.

### Product page image drafts

Preview a garment on a selected person photo, then review its pattern, closures, and proportions against the product reference.

### Layered outfit previews

Combine a shirt, jacket, and trousers from three references. Specify the layering order and any existing clothing to retain.

### Personal styling comparisons

Compare several garment choices on the same person photo, requesting a separate image for each look.

### Accessory styling

Preview a referenced accessory with an existing outfit and ask to keep the clothing unchanged.

### Color assortment reviews

Use separate product photos for each garment color to compare the looks on one person before selecting campaign images.

### Merchandising outfit boards

Create coordinated looks from garment references for a collection review, keeping the same person and background as comparison targets.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Bria Virtual Try-On in other agents

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

## More Muse Code guides

- [Bria Text-to-Image Base](https://spiral.ai/integrations/muse-code/bria-text-to-image-base)
- [Broccoli Haircut](https://spiral.ai/integrations/muse-code/broccoli-haircut)
- [Bria Replace Background V2](https://spiral.ai/integrations/muse-code/bria-replace-background-v2)
- [Cartoonify](https://spiral.ai/integrations/muse-code/cartoonify)
- [Bria Reimagine](https://spiral.ai/integrations/muse-code/bria-reimagine)
- [Chromatic Aberration](https://spiral.ai/integrations/muse-code/chromatic-aberration)

## Questions about Bria Virtual Try-On in Muse Code

**Can Muse Code use Bria Virtual Try-On?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Bria Virtual Try-On like any built-in tool.

**How much does Bria Virtual Try-On cost in Muse Code?**

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

**Do I need a fal account to use Bria Virtual Try-On in Muse Code?**

No. Spiral runs Bria Virtual Try-On 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 Virtual Try-On in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Bria Virtual Try-On runs?**

Bria Virtual Try-On runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.

**What is Bria Virtual Try-On useful for?**

It previews clothing and accessories on an existing person photo. Use it for outfit comparisons, product page drafts, and styling previews with several garments layered together.

**Does Bria Virtual Try-On preserve the person and background?**

Bria describes identity, pose, and background as preservation targets. Compare the result with the original before approving it.

**How should I describe an outfit change?**

Give a short styling instruction: which garment goes over another and which existing items should stay. For example, ask for a blazer over the current T-shirt while keeping the shoes.

**Which garment details does Bria Virtual Try-On try to preserve?**

Its documented targets include fabric, color, texture, pattern and print placement, closures, and proportions. Check those details against the garment references before using the image.

**Does one run produce several outfit alternatives?**

Each run produces one edited image. Request a separate image for each outfit you want to compare.

