Straightforward image generator, mostly for NSFW images.
After detailer uses BBOX and SAM models available here (BBOX) and via ComfyUI Manager (SAM) -- those need to be downloaded and installed in the appropriate ComfyUI folders.
Description
Small changes to layout, added some explanatory notes.
SAM loader is bypassed by default.
Also added a 'complex' version that uses prompt parser. The after detailers might work better with this one.
FAQ
Comments (14)
error when using after detailer any of them, scheduler in red
Might be to do with the BBOX + SAM models used by the after detailers? Some of the BBOX models are available from here, the SAM model I think is downloaded with the relevant nodes via ComfyUI Manager. The Face_YOLOv8 and Hands_YOLOv8 might be on HF? If you look at the Ultralytics nodes you'll see which BBOX is being loaded, you can change those to whatever you want to use or have installed.
@endothermachina276 I have all the models downloaded and this is thhe error:
Prompt outputs failed validation FaceDetailerPipe: - Return type mismatch between linked nodes: scheduler, ['normal', 'karras', 'exponential', 'sgm_uniform', 'simple', 'ddim_uniform'] != ['normal', 'karras', 'exponential', 'sgm_uniform', 'simple', 'ddim_uniform', 'AYS SDXL', 'AYS SD1', 'AYS SVD']
@endothermachina276 I have fixed it by using impact scheduler adapter
@iPiKo I just tested it again and it doesn't have this error for me. I used rgthree's nodes to set the sampler/scheduler settings and then pass them to all the various samplers via rgthree's context nodes. Might be the source of the error, but I can't reproduce it on my end, I'm afraid.
@endothermachina276 convert the sheduler input as widget
@OtakuFra The schedulers are set by a KSampler config node. I did that so that you could change the sampler settings for all the different samplers from one spot. Sorry, I'm not quite sure what you're asking for?
@iPiKo how?
@Duford6 I just took another look at this. Looks like one of Impact Pack's updates broke compatibility when they added support for AYS schedulers. I hadn't updated for a while so hadn't had this problem. There's an updated version now that has the adapter node included in Impact to address this problem.
doesnt work
An update to Impact Pack broke this workflow. I've updated the workflow to fix it.
Low Res Prompt , High Res Prompt for positiv and Negative Prompt, High Res Negative, for negatif .
What exactly is it and how to use it correctly? Thank you for your hard work, big support!!
Low res positive and negative for the first pass. The high res pos/neg fields get added to the (IIRC) beginning of the prompt for a high res pass, which lets you tweak the image slightly when it gets upscaled (via NN latent upscaling then img2img pass).
Thank you very much for your workflow is just incredible bravo and thank you!

