Visit ComfyUI Online for ready-to-use ComfyUI environment
Sophisticated virtual try-on node using AI to overlay clothing images on models for realistic previews, benefiting fashion industry.
FASHN is a sophisticated virtual try-on node designed to simulate the experience of trying on garments digitally. It leverages advanced AI technology to overlay clothing images onto model images, providing a realistic preview of how garments will look when worn. This node is particularly beneficial for fashion designers, retailers, and consumers who wish to visualize clothing on different body types without the need for physical samples. By utilizing the FASHN node, you can enhance your design process, improve customer engagement, and streamline the fashion retail experience. The node connects to the FASHN API, ensuring high-quality image processing and rendering, and offers various customization options to suit different needs and preferences.
The model_image
parameter is required and represents the image of the model onto which the garment will be virtually tried on. This can be a URL or a local image file. The quality and resolution of this image can significantly impact the realism of the virtual try-on result.
The garment_image
parameter is also required and refers to the image of the garment that you want to try on the model. Like the model image, this can be a URL or a local image file. The clarity and detail of this image are crucial for achieving a realistic overlay.
The category
parameter is optional and specifies the type of garment being used. Options include "tops," "bottoms," "one-pieces," and "auto," with "auto" being the default. This helps the node to apply appropriate processing techniques based on the garment type.
The mode
parameter is optional and determines the balance between performance and quality. Options are "performance," "balanced," and "quality," with "balanced" as the default. Choosing "performance" speeds up processing, while "quality" enhances the visual output.
The garment_photo_type
parameter is optional and indicates the style of the garment image. Options include "auto," "model," and "flat-lay," with "auto" as the default. This setting helps the node to adjust its processing based on the garment's presentation style.
The moderation_level
parameter is optional and controls the content moderation applied to the images. Options are "none," "permissive," and "conservative," with "permissive" as the default. This ensures that the content adheres to desired standards and guidelines.
The segmentation_free
parameter is optional and is a boolean that determines whether the node should operate without segmentation. The default value is True
, allowing for a more flexible processing approach.
The seed
parameter is optional and is an integer used to ensure reproducibility of results. The default value is 42, and it helps in generating consistent outputs across different runs.
The num_samples
parameter is optional and specifies the number of output samples to generate. It is an integer with a default value of 1, a minimum of 1, and a maximum of 4. This allows you to explore multiple variations of the virtual try-on.
The fashn_api_key
parameter is optional and is a string used for authentication with the FASHN API. If not provided, it must be set in the environment variables. This key is essential for accessing the API's services.
The output parameter is an IMAGE
, which represents the final result of the virtual try-on process. This image shows the model wearing the garment, providing a realistic preview of how the clothing item would look in real life. The quality of this output is influenced by the input parameters and the selected mode.
mode
settings to find the right balance between processing speed and output quality for your specific needs.category
parameter to optimize the try-on process for specific garment types, enhancing the realism of the overlay.fashn_api_key
is either passed as a parameter or set in the environment variables.<error_message>
- Req Body: <inputs>
mode
to decrease processing time.<pred_id>
: <error_message>
. Inputs: <inputs>
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.