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

Muse Code · ImageReleased 2025-06-25

How to Use FASHN Virtual Try-On v1.6 in Muse Code

FASHN Virtual Try-On v1.6 transfers clothing from a garment photo onto a person, including printed details. It produces images up to 864 × 1296 pixels, with Quality mode focused on preserving identity and skin tones.

Prompts to try with FASHN Virtual Try-On v1.6 in Muse Code

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

Use FASHN Virtual Try-On v1.6 with the person and flat-lay garment photos in this project. Set garment_photo_type to flat-lay and build a side-by-side review page showing both references and the result.

FASHN Virtual Try-On v1.6Muse Code
Try asking
  • Use FASHN Virtual Try-On v1.6 to preview the project's dress photographs on its selected person photo. Set category to one-pieces and save a review gallery.

  • Use FASHN Virtual Try-On v1.6 on the project's printed garment references. Show each output beside its source so I can inspect lettering and repeated patterns.

  • Use FASHN Virtual Try-On v1.6 to compare the same project image pair with segmentation_free enabled and disabled. Keep the seed fixed and label the results for checking original clothing remnants.

  • Use FASHN Virtual Try-On v1.6 in quality mode for the selected project image pairs. Build a review sheet with close crops of skin tones, garment edges, and the waist.

How to set up FASHN Virtual Try-On v1.6 in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    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.

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

    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": "fal-ai/fashn/tryon/v1.6",
        "input": {
          "model_image": "https://storage.googleapis.com/falserverless/example_inputs/model.png",
          "garment_image": "https://storage.googleapis.com/falserverless/example_inputs/garment.webp"
        }
      }'

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

FASHN Virtual Try-On v1.6 providers and prices

Spiral runs FASHN Virtual Try-On v1.6 through fal. Open a card for today's price, with every fee included.

falImage

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Categorytops, bottoms, one-pieces, or autoauto

Category of the garment to try-on. 'auto' will attempt to automatically detect the category of the garment.

Modeperformance, balanced, or qualitybalanced

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 typeauto, model, or flat-layauto

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 levelnone, permissive, or conservativepermissive

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

Seeda whole number

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.

Number of samples1 to 41

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.

Segmentation freeon or offon

Disables human parsing on the model image.

Output formatpng or jpegpng

Output format of the generated images. 'png' is highest quality, while 'jpeg' is faster

Every API field of FASHN Virtual Try-On V1.6 · Image to Image is on its tool page: open its card above.

What can you do with FASHN Virtual Try-On v1.6 in Muse Code?

Create clothing previews from the project's person and garment photos, then place them in a review gallery. Use FASHN v1.6 results to inspect garment details, skin tones, and unwanted clothing remnants.

Product listing previews

Transfer a flat-lay garment onto a chosen person photo to prepare an on-model preview for review.

Print and logo checks

Preview a printed garment on a person, then compare lettering and pattern placement against the product reference.

Dress and jumpsuit previews

Apply a dress or jumpsuit reference to a person photo using the one-piece clothing category.

Clothing transferred between people

Use an existing on-model garment photograph as the clothing reference for another person photo.

Personal outfit comparisons

Try several photographed garments against the same person photo and compare the resulting looks side by side.

Try-on quality reviews

Compare generated clothing previews against their references, checking prints, skin tones, remaining original clothing, and body-shape changes.

Questions about FASHN Virtual Try-On v1.6 in Muse Code

Can Muse Code use FASHN Virtual Try-On v1.6?

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

How much does FASHN Virtual Try-On v1.6 cost in Muse 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 Muse Code plan is separate.

Do I need a fal account to use FASHN Virtual Try-On v1.6 in Muse Code?

No. Spiral runs FASHN Virtual Try-On v1.6 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.6 in Muse Code?

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

Does Muse Code wait while FASHN Virtual Try-On v1.6 runs?

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

What resolution does FASHN v1.6 produce?

Outputs reach up to 864 × 1296 pixels. Smaller person photos stay smaller because FASHN v1.6 does not upscale beyond the original image resolution.

Can FASHN v1.6 preserve garment text and patterns?

Text and pattern transfer are documented strengths. Compare the result against the garment reference before using it in a product listing.

When is Quality mode useful?

Use Quality mode when identity, skin tones, and the transition between upper and lower clothing need close attention. The maker specifically improved these areas in FASHN v1.6.

How do I keep neck labels out of a flat-lay try-on?

Select the flat-lay photo type explicitly. The maker recommends it for excluding details such as back neck labels and size tags.

Why did FASHN v1.6 replace the entire outfit?

Automatic selection interprets a full-body garment reference photographed on a person as an outfit swap. Select the intended clothing category explicitly when you want only one part transferred.

Get started

Start using FASHN Virtual Try-On v1.6 in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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