fashn-vton

Generates virtual try-on images by rendering garments on model photos via the Pixazo API.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Pixazo-AI/skills --skill fashn-vton-pixazo-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fashn-vton
Source: https://github.com/Pixazo-AI/skills/tree/main/skills/fashn-vton
Command: npx skills add https://github.com/Pixazo-AI/skills --skill fashn-vton-pixazo-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? E-commerce teams and fashion retailers need customers to visualize how clothing looks on a person before purchase, but producing try-on imagery traditionally requires photoshoots. This Skill lets an AI agent call the Fashn Virtual Try-On API through Pixazo to render garments onto model photos programmatically. ## Core Features & Use Cases - Virtual Try-On Generation: Submits a model image and garment image to the Fashn v1.6 or Glass v1 endpoints and returns a rendered try-on image URL synchronously. - Guided API Key Setup: Walks the agent through acquiring, saving, and reusing a Pixazo API key from ~/.pixazo/api-key so the user only authenticates once. - Operation Routing & Error Handling: Maps user intent to the correct endpoint (Fashn vs Glass) and translates 401/402/429/4xx/5xx responses into actionable user messages. - Use Case: An online clothing store wants shoppers to preview a shirt on a model photo; the agent posts both image URLs to the try-on endpoint and returns the rendered result inline. ## Quick Start Ask the agent to virtually try this garment image on this model photo using Fashn Virtual Try-On and show the result.

Frequently Asked Questions about fashn-vton

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a virtual try-on image with the Fashn API?▼

Send a POST request to the fashn-virtual-try-on-request endpoint with a model_image URL and garment_image URL, plus options like category, mode, and output_format. The response is synchronous and returns a JSON object containing the rendered image URL.

What inputs does Fashn Virtual Try-On require?▼

It requires two publicly accessible image URLs: one of the human model and one of the garment. Optional parameters include category, mode, garment_photo_type, moderation_level, num_samples, segmentation_free, and output_format.

Where do I get a Pixazo API key for virtual try-on?▼

Sign in at https://api-console.pixazo.ai/api_keys, click Create new key, and copy it. The Skill saves it to ~/.pixazo/api-key with chmod 600 so you only provide it once.

Is Fashn virtual try-on synchronous or does it require polling?▼

The Fashn v1.6 try-on operation is synchronous and returns the output image URL directly in the response. The Glass v1 variant has a separate polling endpoint for retrieving results.

Why does the virtual try-on API return a 401 or 402 error?▼

A 401 means the API key is missing or invalid, so generate a fresh key at the Pixazo console. A 402 means the account is out of credits and needs a top-up at the Pixazo dashboard.