ComfyUI  >  Nodes  >  ComfyUI_MagicClothing

ComfyUI Extension: ComfyUI_MagicClothing

Repo Name


FrankChieng (Account age: 438 days)
View all nodes (3)
Latest Updated
Github Stars

How to Install ComfyUI_MagicClothing

Install this extension via the ComfyUI Manager by searching for  ComfyUI_MagicClothing
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_MagicClothing in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI_MagicClothing Description

ComfyUI_MagicClothing integrates garment and prompt functionalities into ComfyUI, enhancing the user interface with advanced clothing design and customization features.

ComfyUI_MagicClothing Introduction

ComfyUI_MagicClothing is an innovative extension designed to enhance your AI art creation process by generating realistic and high-quality clothing images. This extension leverages advanced AI models to synthesize clothing images based on prompts, human face detection, and pose estimation. Whether you're an AI artist looking to create stunning fashion designs or experimenting with character illustrations, ComfyUI_MagicClothing can significantly streamline your workflow and improve the quality of your outputs.

How ComfyUI_MagicClothing Works

ComfyUI_MagicClothing operates by integrating several AI models and techniques to generate clothing images. Here's a simplified breakdown of how it works:

  1. Prompt-Based Generation: You provide a textual description (prompt) of the clothing you want to generate. The extension uses this prompt to create a corresponding clothing image.
  2. Face Detection and Synthesis: The extension can detect human faces in images and synthesize clothing images that match the detected faces, ensuring a cohesive and realistic appearance.
  3. Pose Estimation: By using pose estimation models, the extension can generate clothing images that fit specific body poses, enhancing the realism and applicability of the generated images.

ComfyUI_MagicClothing Features

1. Prompt-Based Clothing Generation

  • Description: Generate clothing images based solely on textual prompts.
  • Customization: Adjust the prompt to refine the style, color, and type of clothing.
  • Example: A prompt like "red evening gown with sequins" will generate an image of a red evening gown adorned with sequins.

2. IPAdapter FaceID Integration

  • Description: Detects human faces and synthesizes clothing images that match the detected faces.
  • Customization: Combine with ControlNet OpenPose for enhanced pose-based clothing generation.
  • Example: Upload a portrait, and the extension will generate clothing that fits the person in the portrait.

3. Lower-Body and Full-Body Models

  • Description: Specialized models for generating lower-body and full-body clothing images.
  • Customization: Experiment with different hyperparameters to achieve the desired look.
  • Example: Generate a full-body outfit for a character based on a specific pose.

4. Cloth Inpainting

  • Description: Inpaint or modify existing clothing images to add new elements or fix imperfections.
  • Customization: Use the Segment Anything node to segment the cloth from the background.
  • Example: Modify a dress by adding new patterns or changing its color.

5. AnimateDiff Support

  • Description: Create animated clothing images by supporting AnimateDiff.
  • Customization: Use garment_extractor.safetensors and ip_layer.pth for animation.
  • Example: Generate a short animation of a dress flowing in the wind.

ComfyUI_MagicClothing Models

Upper-Body Model

  • File: magic_clothing_768_vitonhd_joint.safetensors
  • Use Case: Ideal for generating upper-body clothing like shirts, blouses, and jackets.

Lower-Body and Full-Body Model

  • File: OMS_1024_VTHD+DressCode_200000.safetensors
  • Use Case: Suitable for generating lower-body clothing like pants and skirts, as well as full-body outfits.

Cloth Segmentation Model

  • File: cloth_segm.pth
  • Use Case: Used for segmenting cloth from the background for inpainting and modifications.

What's New with ComfyUI_MagicClothing

Recent Updates

  • 2024/04/17: Added support for generating only cloth images with prompts.
  • 2024/04/18: Integrated IPAdapter FaceID for human face detection and synthesis with cloth image generation.
  • 2024/04/18: Combined IPAdapter FaceID with ControlNet OpenPose for enhanced synthesis.
  • 2024/04/19: Introduced lower-body and full-body models for preliminary experiments.
  • 2024/04/26: Added support for AnimateDiff and cloth inpainting. These updates enhance the extension's capabilities, making it more versatile and powerful for AI artists.

Troubleshooting ComfyUI_MagicClothing

Common Issues and Solutions

  1. Issue: Models not loading correctly.
  • Solution: Ensure that all model files are placed in the correct directories as specified in the installation instructions.
  1. Issue: Generated images do not match the prompt.
  • Solution: Refine the prompt and experiment with different descriptions to achieve the desired result.
  1. Issue: Errors during face detection or pose estimation.
  • Solution: Verify that the required models for IPAdapter FaceID and ControlNet OpenPose are correctly installed and placed in the appropriate directories.

Frequently Asked Questions

  • Q: Can I use my own images for face detection and clothing synthesis?
  • A: Yes, you can upload your own images, and the extension will detect faces and generate matching clothing images.
  • Q: How do I customize the generated clothing images?
  • A: You can customize the images by adjusting the prompts and experimenting with different hyperparameters.

Learn More about ComfyUI_MagicClothing

For additional resources, tutorials, and community support, check out the following links:

  • These resources will help you get started and make the most out of ComfyUI_MagicClothing. Happy creating!

ComfyUI_MagicClothing Related Nodes


© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.