# ๐ฅ Multi-Person Changer โ AI Workflow for ComfyUI
> Transform, swap, and restyle characters across images and video with a 4-stage AI pipeline.
---
## ๐ฏ What It Does
This workflow is a complete character transformation pipeline that lets you:
- ๐งน Strip a character โ remove clothes, accessories, and background (keep the nude body)
- ๐ Transfer poses & actions โ make Person A move like Person B
- ๐ Generate product-ready outfit images โ isolate and showcase clothing
- ๐งต Attach outfits to new body โ dress Person A in Person B's clothes
- ๐ฌ Process video frames โ detect scenes and apply changes frame-by-frame
- ๐ Toggle single/multi-image mode โ switch between one-off edits and batch video processing
All with a fixed seed cache โ reprocess only when you change the settings, not when you re-queue!
---
## ๐ Requirements (Custom Nodes)
| Node Pack | Purpose |
|-----------|---------|
| InsaneGen (included) | Scene detection from video |
| KJNodes | Set/Get key-value store for images, prompts & config |
| ComfyUI-Easy-Use | Background removal (RMBG) |
| VideoHelperSuite | Video loading & info |
| rgthree-comfy | Seed control, node groups, image comparison |
| ComfyLiterals | Text prompt input nodes |
| ComfyUI-Crystools | Boolean switch (multi/single mode) |
| RvTools v2 | Image batch to list conversion |
---
## ๐ง How It Works โ The 4-Step Pipeline
The workflow uses KJNodes SetGet nodes to pass data between processing stages without visual spaghetti. Here's the logic:
### Step 1 โ ๐งน Strip
> "Remove any outfit, clothes, objects, accessories and background. Draw this character naked with arms at sides."
Takes your input person image, removes the background via RMBG, and strips the character down to a clean base body.
### Step 2 โ ๐ Pose Transfer
> "Change the actions and poses in Image 1 to match those in Image 2"
Takes the stripped character and applies the pose/action from your reference image.
### Step 3 โ ๐ Product Outfit
> "Make a product image for her entire outfit."
Processes the reference outfit image into a clean product-style showcase.
### Step 4 โ ๐งต Outfit Attachment
> "Attach the outfit in Image 2 to the person in Image 1. High resolution"
Final compositing โ dresses the transformed character with the processed outfit at high resolution.
---
## ๐๏ธ Key Controls
| Parameter | Description |
|-----------|-------------|
| Seed | Fixed seed for reproducible results with caching |
| Megapixels | Output resolution control (default: 1.0 MP) |
| Scene Threshold | Detection sensitivity for video scene splitting |
| Multi Images toggle | Switch between single-image edit and video batch mode |
| Step 1โ4 Prompts | Customize each stage of the pipeline |
| Pose reference | Upload any image as the pose target |
---
## ๐ผ๏ธ Previews
The workflow includes 5 preview nodes so you can monitor every stage:
- PreviewImage (x5) โ view Step 1, Step 2, Step 3, and final output in real-time
- Image Comparer (rgthree) โ side-by-side before/after comparison
- PreviewAny โ inspect intermediate frame data
---
## ๐พ Output
- Final result saved via SaveImage to your ComfyUI output folder
- Video mode: scenes auto-detected and processed individually
- All intermediate images stored in KJNodes workspace for inspection
---
## โก Performance Notes
- Caching: The seed field enables ComfyUI's IS_CHANGED caching โ run with the same seed and video, and processing is skipped instantly
- Background removal uses RMBG-1.4 (lightweight, runs on most GPUs)
- Video mode uses PySceneDetect for fast scene boundary detection
---
## ๐ง Troubleshooting
- Scene threshold too low? Increase to merge more frames per scene
- Wrong outfit attachment? Tweak the Step 4 prompt for better compositing
- Multi-images not working? Make sure the toggle is ON and a video is loaded
- Need different result? Change the seed โ each seed gives a unique variation
---
Made with โค๏ธ for the ComfyUI community.
Klein9b Extract product
https://civarchive.com/models/2366596/extract-product-image-qwen-and-klein?modelVersionId=2666606
Klein9b High resolution
https://civarchive.com/models/2436859/high-resolution?modelVersionId=2760799
Klein9b Copy pose
https://civarchive.com/models/2380153/copy-pose-qwen-and-klein?modelVersionId=2701726
Description
FAQ
Comments (2)
Looks very interesting, but where could I get these loras from? There are no URLs in the script or in the description...
Add links in description



