返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

fal-tryon

虚拟试穿 — 查看衣服穿在人身上的效果。当用户请求“试穿衣服”、“虚拟试穿”、“这件我穿上怎么样”、“时尚试穿”、“衣物转移”时使用。

person作者: jakexiaohubgithub

fal-tryon

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

Scripts

| Script | Purpose | |--------|---------| | tryon.sh | Apply 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

| Argument | Description | Required | |----------|-------------|----------| | --person-url | URL of person/model photo | Yes | | --garment-url | URL of garment/clothing image | Yes | | --type | Garment type: top, bottom, full-body, dress | No (auto-detect) | | --model / -m | Model endpoint | No (default: fal-ai/fashn/tryon/v1.5) | | --quality | speed, balanced, quality | No (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