cedoysch/flux-fill-redux-try-on 🔢❓🖼️ → 🖼️

▶️ 3.5K runs 📅 Mar 2025 ⚙️ Cog 0.14.3
image-editing virtual-try-on

About

Virtual fitting of clothes

Example Output

Output

Example output

Performance Metrics

27.27s Prediction Time
658.99s Total Time
All Input Parameters
{
  "cloth_type": "upper",
  "cloth_image": "https://replicate.delivery/pbxt/MjVInxdHWaHcHcbQcmiEyf7vm9gMwo59uItGH3vYAaK1G1ir/example_jacket.png",
  "person_image": "https://replicate.delivery/pbxt/MjVIo8ENgFG5SBbMep5WKSJFakH3AxBX9YDzROldiNVK53VK/model%201.jpg",
  "output_format": "png",
  "output_quality": 100
}
Input Parameters
seed Type: integer
Set a seed for reproducibility. Random by default.
cloth_type Default: upper
Тип одежды (upper для верхней одежды, lower для нижней)
cloth_image Type: string
Изображение одежды для наложения
person_image Type: string
Фотография человека для примерки одежды
output_format Default: webp
Format of the output images
output_quality Type: integerDefault: 95Range: 0 - 100
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Random seed set to: 2376496366
Checking inputs
✅ /tmp/inputs/person_image.jpg
✅ /tmp/inputs/cloth_image.png
====================================
Checking weights
✅ t5xxl_fp16.safetensors exists in ComfyUI/models/text_encoders
✅ flux1-redux-dev.safetensors exists in ComfyUI/models/style_models
✅ ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors exists in ComfyUI/models/text_encoders
✅ ae.safetensors exists in ComfyUI/models/vae
✅ flux1-fill-dev.safetensors exists in ComfyUI/models/diffusion_models
⚠️  RMBG-1.4/model.pth is for non-commercial use only. Unless you have obtained a commercial license.
Details: https://github.com/replicate/cog-comfyui/blob/main/weights_licenses.md
✅ RMBG-1.4/model.pth exists in ComfyUI/custom_nodes/ComfyUI-BRIA_AI-RMBG/
✅ sigclip_vision_patch14_384.safetensors exists in ComfyUI/models/clip_vision
====================================
Running workflow
[ComfyUI] got prompt
Executing node 17, title: Person, class type: LoadImage
Executing node 399, title: Resize Image, class type: ImageResizeKJ
Executing node 369, title: Auto Mask Generation, class type: AutoMasker
Executing node 371, title: Masked Target, class type: PreviewImage
Executing node 370, title: Binary Mask, class type: PreviewImage
Executing node 231, title: Scale Image to Total Pixels, class type: ImageScaleToTotalPixels
Executing node 235, title: ImageSize, class type: easy imageSize
Executing node 264, title: Image Concatenate, class type: ImageConcanate
Executing node 267, title: Preview Image, class type: PreviewImage
Executing node 184, title: ImageSize, class type: easy imageSize
Executing node 354, title: Image Concatenate, class type: ImageConcanate
Executing node 358, title: Convert Image to Mask, class type: ImageToMask
Executing node 397, title: 🔧 Mask Blur, class type: MaskBlur+
Executing node 259, title: InpaintModelConditioning, class type: InpaintModelConditioning
Executing node 263, title: KSampler, class type: KSampler
[ComfyUI]
[ComfyUI] 0%|          | 0/12 [00:00<?, ?it/s]
[ComfyUI] 8%|▊         | 1/12 [00:01<00:12,  1.16s/it]
[ComfyUI] 17%|█▋        | 2/12 [00:03<00:16,  1.61s/it]
[ComfyUI] 25%|██▌       | 3/12 [00:05<00:15,  1.76s/it]
[ComfyUI] 33%|███▎      | 4/12 [00:06<00:14,  1.83s/it]
[ComfyUI] 42%|████▏     | 5/12 [00:08<00:13,  1.86s/it]
[ComfyUI] 50%|█████     | 6/12 [00:10<00:11,  1.89s/it]
[ComfyUI] 58%|█████▊    | 7/12 [00:12<00:09,  1.90s/it]
[ComfyUI] 67%|██████▋   | 8/12 [00:14<00:07,  1.91s/it]
[ComfyUI] 75%|███████▌  | 9/12 [00:16<00:05,  1.92s/it]
[ComfyUI] 83%|████████▎ | 10/12 [00:18<00:03,  1.93s/it]
[ComfyUI] 92%|█████████▏| 11/12 [00:20<00:01,  1.93s/it]
[ComfyUI] 100%|██████████| 12/12 [00:22<00:00,  1.93s/it]
Executing node 262, title: VAE Decode, class type: VAEDecode
Executing node 272, title: Preview Image, class type: PreviewImage
Executing node 191, title: Image Overlay, class type: Image Overlay
Executing node 273, title: Preview Image, class type: PreviewImage
Executing node 237, title: ImageSize, class type: easy imageSize
Executing node 238, title: 🔧 Simple Math, class type: SimpleMath+
Executing node 234, title: 🔧 Image Crop, class type: ImageCrop+
Executing node 333, title: Image Comparer (rgthree), class type: Image Comparer (rgthree)
Executing node 307, title: Save Image, class type: SaveImage
[ComfyUI] 100%|██████████| 12/12 [00:22<00:00,  1.87s/it]
[ComfyUI] Prompt executed in 26.56 seconds
outputs:  {'267': {'images': [{'filename': 'ComfyUI_temp_cbdba_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '307': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}, '140': {'text': ['W', 'i', 'd', 't', 'h', ':', ' ', '1', '0', '2', '4', ' ', ',', ' ', 'H', 'e', 'i', 'g', 'h', 't', ':', ' ', '1', '0', '2', '4']}, '144': {'images': [{'filename': 'ComfyUI_temp_mpsux_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '272': {'images': [{'filename': 'ComfyUI_temp_psdlx_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '266': {'images': [{'filename': 'ComfyUI_temp_hjmip_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '236': {'text': ['W', 'i', 'd', 't', 'h', ':', ' ', '1', '3', '3', '5', ' ', ',', ' ', 'H', 'e', 'i', 'g', 'h', 't', ':', ' ', '1', '3', '3', '5']}, '371': {'images': [{'filename': 'ComfyUI_temp_eaecq_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '237': {'text': ['W', 'i', 'd', 't', 'h', ':', ' ', '2', '3', '2', '8', ' ', ',', ' ', 'H', 'e', 'i', 'g', 'h', 't', ':', ' ', '1', '3', '2', '8']}, '273': {'images': [{'filename': 'ComfyUI_temp_zgyrd_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '271': {'images': [{'filename': 'ComfyUI_temp_dkmud_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '391': {'text': ['A brown jacket with a fur collar on a white background.']}, '333': {'a_images': [{'filename': 'rgthree.compare._temp_updpu_00001_.png', 'subfolder': '', 'type': 'temp'}], 'b_images': [{'filename': 'rgthree.compare._temp_updpu_00002_.png', 'subfolder': '', 'type': 'temp'}]}, '370': {'images': [{'filename': 'ComfyUI_temp_iqrbr_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '235': {'text': ['W', 'i', 'd', 't', 'h', ':', ' ', '1', '1', '5', '6', ' ', ',', ' ', 'H', 'e', 'i', 'g', 'h', 't', ':', ' ', '1', '5', '4', '2']}, '184': {'text': ['W', 'i', 'd', 't', 'h', ':', ' ', '2', '3', '3', '5', ' ', ',', ' ', 'H', 'e', 'i', 'g', 'h', 't', ':', ' ', '1', '3', '3', '5']}}
====================================
ComfyUI_00001_.png
Version Details
Version ID
cf5cb07a25e726fe2fac166a8c5ab52ddccd48657741670fb09d9954d4d8446f
Version Created
March 27, 2025
Run on Replicate →