This repository implements a ComfyUI node for the FASHN AI Virtual Try-On API.
Model image - Generated in the FASHN AI platform
Garment image - https://www.urbanoutfitters.com/shop/kimchi-blue-katie-mesh-floral-graphic-long-sleeve-tee
This node requires an API key from a FASHN account. Don't have an account yet? Create an account.
If you already have an account, go to Settings → API → + Create new API key
You can install this node in 2 ways:
- ComfyUI Manager — Search for
FASHN Virtual Try-Onand clickinstall
—— or —— - Clone the repository into your
custom_nodesfolder in ComfyUI
cd custom_nodes
git clone https://github.com/fashn-AI/ComfyUI-FASHN.gitYou can provide the API key to the node in 2 ways:
- [Recommended] Set the environment variable
FASHN_API_KEYto the API key you created on the FASHN platform.
—— or —— - Directly paste the API key into the node's
fashn_api_keyfield.
This is less recommended because you might accidentally expose your API key when sharing your workflow.
An example workflow, as shown in the screenshot above, is provided in a workflow.json file in this repository.
To get the most out of the FASHN API, we recommend to read the following guide to better understand all node features and parameters: FASHN API Parameters Guide
You can also review the official API Docs for a concise summary of each of the parameters function and usage.
