This is a ComfyUI workflow to nudify any image and change the background to something that looks like the input background.
DISCLAIMER: I AM NOT RESPONSIBLE OF WHAT THE END USER DOES WITH IT. ALL THE EXAMPLES IN THE POST ARE BASED ON AI GENERATED REALISTIC MODELS.
Input :
Image to nudify
Image of the background to imitate
Seeds for generation (random or fixed)
Resolution size (512 by default)
Number of iterations for the background and foreground generation (It is using Euler for sampling but you can easily go and change it in the flow)
CFG for background and nudify
Positive and negative prompts to generate the background and the body
Models used :
epiCRealism : https://civarchive.com/models/25694/epicrealism
LORA epicRealismHelper : https://civarchive.com/models/110334?modelVersionId=118945
stable-diffusion-v1-5 : https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned-emaonly.ckpt
4x Ultrasharp upscaler : https://civarchive.com/models/116225/4x-ultrasharp
What it does :
Load the inputs
Resize to processing resolution
Preprocess the image to nudify by generation masks, pose, depth, prepare color correction...
Inpaint nudify
Color correction of the skin
Generate a new background based on the example in inputs
Combine the foreground and the background
Upscaling and saving
A few notes :
Feel free to finetine the weigths of ControlNet and the FaceSwap node for more precise results
You can also do more postprocessing of the image if you desire
It uses a few custom nodes like Efficient Loaders and more to accomplish the tasks. Don't forget to install the missing nodes in ComfyUI manager.
Description
Simpler and better masking for cloths and body
Faster pixelization and color palette change
Removes hair from pixels for palette
FAQ
Looks like we don't have an active mirror for this file right now.
CivArchive is a community-maintained index — we catalog mirrors that volunteers upload to HuggingFace, torrents, and other public hosts. Looks like no one has uploaded a copy of this file yet.
Some files do get recovered over time through contributions. If you're looking for this one, feel free to ask in Discord, or help preserve it if you have a copy.