mcpField
F
fal-tryon

fal-tryon

github.com/fal-ai-communityCreative & media25895 installsUpdated 24w ago
Repository

About fal-tryon

fal-tryon is a skill for placing garments onto photos of people using fal.ai models. It is intended for virtual fashion try-on workflows, with garment type and output quality options.

Key features

  1. 01Apply a garment to a person photo
  2. 02Specify garment type or auto-detect
  3. 03Select model endpoint
  4. 04Choose speed, balanced, or quality mode

Use cases

  1. 01Preview clothing on a person photo
  2. 02Compare garment placement across clothing types

MCP support

The skill references the search_models MCP tool for finding virtual try-on models.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fal-ai-community/skills --skill fal-tryon

After installing, type/fal-tryonin Claude Code to confirm it loaded.

Bundled filesscripts/tryon.sh

Details

From the project README

fal-tryon

Virtual try-on — transfer garments onto person photos using fal.ai models.

Scripts

ScriptPurpose
tryon.shApply a garment onto a person photo

Usage

Basic Try-On
./scripts/tryon.sh --person-url "https://example.com/person.jpg" --garment-url "https://example.com/dress.jpg"
With Garment Type
./scripts/tryon.sh --person-url "https://example.com/person.jpg" --garment-url "https://example.com/jacket.jpg" --type top

Arguments

ArgumentDescriptionRequired
--person-urlURL of person/model photoYes
--garment-urlURL of garment/clothing imageYes
--typeGarment type: top, bottom, full-body, dressNo (auto-detect)
--model / -mModel endpointNo (default: fal-ai/fashn/tryon/v1.5)
--qualityspeed, balanced, qualityNo (default: balanced)

Finding Models

To discover the best and latest virtual try-on models, use the search API:

# Search for try-on models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "try-on"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "virtual tryon"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "garment"

Or use the search_models MCP tool with keywords like "try-on", "tryon", "garment", "fashion".

Tips

  • Person photo should show clear full or upper body
  • Garment image works best on plain/white background (flat-lay or mannequin)
  • Remove garment background first for best results
  • Specify garment type (top/bottom/dress) for more accurate placement

Comments

Markdown supported