Introduction
This workflow is perfect for creating realistic product-on-model images, ideal for e-commerce, marketing, and design. It uses advanced segmentation to extract products and seamlessly blend them with model images, saving time and eliminating the need for physical photoshoots.
segment anything
The comfyui_segment_anything extension adds advanced image segmentation to ComfyUI. It uses cutting-edge models for precise and fast segmentation, perfect for AI artists. With this tool, you can create masks, automate image matting, and improve inpainting, making it a great addition to your creative workflow.
Learn more:https://github.com/storyicon/comfyui_segment_anything
Workflow Overview
How to use this workflow
Step 1: Upload Product and Model Images
Use the Load Image nodes to upload the product image (e.g., earrings) and the model image (e.g., side profile of the model).
Ensure the images are high-quality, with the product image suitable for segmentation.
Step 2: Segment the Product Image
Use SAMModelLoader and GroundingDinoModelLoader to load segmentation models.
Pass the product image through the models to generate a product mask.
Preview the results and adjust parameters if needed for better accuracy.
Step 3: Generate the Final Image
Blend the segmented product image with the model image seamlessly.
Use the Save Image node to export the final composite.