[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [FASHN Virtual Try-On v1.5](https://spiral.ai/integrations/claude-code/fashn-virtual-try-on-v1-5)

# How to Use FASHN Virtual Try-On v1.5 in Claude Code

FASHN Virtual Try-On v1.5 creates clothing previews from person and garment photos at 576 × 864 pixels. It handles oversized shirts, baggy jeans, and voluminous dresses while improving preservation of skin texture and tattoos.

|  |  |
| --- | --- |
| Model | FASHN Virtual Try-On v1.5 |
| Available through | fal |
| Category | Image |
| Price | $0.0975 per generation. Billed on `num_samples`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FASHN Virtual Try-On v1.5 in Claude Code

- Use FASHN Virtual Try-On v1.5 with the person photo and flat-lay shirts in this project's assets. Create a review gallery with each garment reference beside its generated preview.
- Use FASHN Virtual Try-On v1.5 to preview the project's baggy jeans on the selected person photo. Set the garment category to bottoms and save the result beside the reference for silhouette review.
- Use FASHN Virtual Try-On v1.5 on the oversized T-shirt photos in the product manifest. Choose a person photo wearing less bulky clothing, and build a contact sheet of the results.
- Use FASHN Virtual Try-On v1.5 to compare the project's dress color photos on one person. Treat each dress as a one-piece garment and label each preview with its product color.
- Use FASHN Virtual Try-On v1.5 to rerun the example with leftover clothing at the hem using segmentation_free set to false. Show the original result and retry side by side for review.

## How to set up FASHN Virtual Try-On v1.5 in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude 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 FASHN Virtual Try-On v1.5**: 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": "fal-ai/fashn/tryon/v1.5",
    "input": {
      "model_image": "https://utfs.io/f/wXFHUNfTHmLj4prvqbRMQ6JXFyUr3IT0avK2HSOmZWiAsxg9",
      "garment_image": "https://utfs.io/f/wXFHUNfTHmLjtkhepmqOUnkr8XxZbNIFmRWldShDLu320TeC"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds FASHN Virtual Try-On v1.5 on Spiral, shows the price and runs it.

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

## FASHN Virtual Try-On v1.5 tools and prices

- [FASHN Virtual Try-On V1.5 · Image to Image](https://spiral.ai/tools/fal/fal-ai/fashn/tryon/v1.5) (fal): $0.0975 per generation. Billed on `num_samples`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| category | tops, bottoms, one-pieces, auto | auto | Category of the garment to try-on. 'auto' will attempt to automatically detect the category of the garment. |
| mode | performance, balanced, quality | balanced | Specifies the mode of operation. 'performance' mode is faster but may sacrifice quality, 'balanced' mode is a balance between speed and quality, and 'quality' mode is slower but produces higher quality results. |
| garment_photo_type | auto, model, flat-lay | auto | Specifies the type of garment photo to optimize internal parameters for better performance. 'model' is for photos of garments on a model, 'flat-lay' is for flat-lay or ghost mannequin images, and 'auto' attempts to automatically detect the photo type. |
| moderation_level | none, permissive, conservative | permissive | Content moderation level for garment images. 'permissive' blocks only explicit content; 'conservative' also blocks underwear and swimwear. 'none' disables moderation only for accounts authorized to disable safety filters; for all other accounts it is treated as 'permissive'. |
| seed |  | — | Sets random operations to a fixed state. Use the same seed to reproduce results with the same inputs, or different seed to force different results. |
| num_samples | 1 to 4 | 1 | Number of images to generate in a single run. Image generation has a random element in it, so trying multiple images at once increases the chances of getting a good result. |

## What can you do with FASHN Virtual Try-On v1.5 in Claude Code?

Create clothing previews from the product and person photos in your project. Your coding agent can organize the results into a review gallery with references beside each generated image.

### Product page clothing previews

Turn flat-lay garment photos into previews on a chosen person. Review garment lettering, patterns, and edges before selecting images.

### Personal shopping comparisons

Apply several photographed garments to the same person photo to compare their appearance side by side.

### Oversized denim previews

Show baggy jeans on a chosen person and review the generated folds and silhouette against the garment reference.

### Loose clothing catalog images

Create previews of oversized T-shirts and loose dresses. Start with a person wearing less voluminous clothing to reduce leftover fabric.

### Garment color comparisons

Use separate product photos of each available color to create a comparison on the same person. Check each result against its own reference.

### Fashion content drafts

Try photographed clothing on selected person photos to prepare images for a lookbook or social post. Review body shape, tattoos, and leftover clothing before publication.

## Overview

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

## FASHN Virtual Try-On v1.5 in other agents

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

## More Claude Code guides

- [Expression Change](https://spiral.ai/integrations/claude-code/expression-change)
- [FASHN Virtual Try-On v1.6](https://spiral.ai/integrations/claude-code/fashn-virtual-try-on-v1-6)
- [EVF-SAM2](https://spiral.ai/integrations/claude-code/evf-sam2)
- [FIBO Edit 1.5](https://spiral.ai/integrations/claude-code/fibo-edit-1-5)
- [Dodge Burn](https://spiral.ai/integrations/claude-code/dodge-burn)
- [FIBO Edit Restyle](https://spiral.ai/integrations/claude-code/fibo-edit-restyle)

## Questions about FASHN Virtual Try-On v1.5 in Claude Code

**Can Claude Code use FASHN Virtual Try-On v1.5?**

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

**How much does FASHN Virtual Try-On v1.5 cost in Claude Code?**

$0.0975 per generation. Billed on `num_samples`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need a fal account to use FASHN Virtual Try-On v1.5 in Claude Code?**

No. Spiral runs FASHN Virtual Try-On v1.5 on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FASHN Virtual Try-On v1.5 in Claude Code?**

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

**Does Claude Code wait while FASHN Virtual Try-On v1.5 runs?**

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

**What is FASHN v1.5 useful for?**

Use it to create clothing previews for product pages, shopping comparisons, and fashion content. It transfers a photographed garment onto a photographed person.

**What resolution does FASHN v1.5 produce?**

The documented output is 576 × 864 pixels. Check garment lettering and small patterns at that size before choosing an image for publication.

**Can FASHN v1.5 handle oversized clothing?**

Yes. Baggy jeans and oversized T-shirts are documented strengths, with improved handling of garment folds and volume.

**Will FASHN v1.5 preserve body shape and tattoos?**

It improves preservation of body shape, skin texture, and tattoos. Body shape can still shift, so compare the result with the original photo.

**Why is some original clothing still visible?**

Segmentation-free processing can leave fabric behind when replacing longer or bulkier clothing with a shorter or slimmer garment. Try a person photo with less bulky clothing, or retry with segmentation-free processing turned off.

