Collapsing Resize nodes into a Subgraph
Laufzeitprofil
Quellenbeschreibung
Introduction
Hi everyone! I wanted a simple IMG2IMG workflow that saves Metadata and uses LoRA Manager. I also wanted one that could handle resizing images because I hate fiddling with resolutions. I found an old workflow by Postpos and incorporated some genius Comfy spaghetti from Legendaer to get all the strings to arrange themselves into both the metadata and the conditioning ... and this simple workflow is the result. Presented as-is, if it doesn't work let me know but I might not be able to help you. This workflow should take any SDXL base checkpoint, including Pony and Illustrious. Seems to have no problem going from Anime to Realism and back. Remember to set your Denoise setting (~.5 for stronger image adherence, ~.7 for more creativity)
Base Workflow Features
Shortcuts by rgthree
KI-generierter Kommentar
KI-generierte Erklärung auf Grundlage von Quellen- und Konfigurationsdetails. Vorschläge sind klar gekennzeichnet.
This image-to-image workflow transforms a source image with an SDXL 1.0 base checkpoint; it accepts natural-language or tag prompts, a denoise setting, and LoRA selections, can resize images, and outputs a transformed image while saving metadata and LoRAs.
It can resize images, apply prompts, use face and hand detailers, upscale, show previews and before/after comparisons, and save images.
Key controls are in the Input section, utilities sit below the left-to-right workflow area, and resize nodes are grouped into a subgraph; SEGS previews and color matching after upscaling are included.
The workflow includes SEGS previews and before/after comparisons, and saves metadata and LoRA data in a CivitAI-compatible way.
The listed version is v4.0, published by MGHerder, and based on SDXL 1.0.
No license information is listed for this workflow.
Listed node packs include ComfyUI_Mira, sd-dynamic-thresholding, comfyui_essentials, ComfyUI_Comfyroll_CustomNodes, ComfyMath, skimmed_cfg, comfyui-lora-manager, comfyui-impact-pack, and rgthree-comfy.
Other listed node packs include comfyui-mxtoolkit, comfyui-kjnodes, cg-use-everywhere, comfyui-easy-use, derfuu_comfyui_moddednodes, efficiency-nodes-comfyui, comfyui-image-saver, and comfyui-impact-subpack.
Listed model files include 4x_foolhardy_Remacri.pth, 4x-UltraSharpV2.safetensors, bbox/face_yolov8m.pt, bbox/hand_yolov8s.pt, sdxl_vae.safetensors, Beautiful face_alpha1.0_rank4_noxattn_last.safetensors, detailed hand focus style illustriousXL v1.1.safetensors, OhSoDetailedV2.sაფ
For stronger image adherence, the notes suggest a denoise setting near 0.5; for more creativity, try one near 0.7.
Vorschlag · nicht geprüft
You can toggle auto-resizing and workflow embedding, choose natural-language or tag prompts, use LoRA Manager, and adjust detailer prompts.
The Input section includes sliders for key controls, including CFG Skimming and Dynamic Thresholding.
Before use, verify that the listed node packs and model files are available, and check each detailer LoRA slot because the notes say those slots are inserted without a connection to the existing LoRA stack.
Vorschlag · nicht geprüft
With an Illustrious checkpoint, image-to-image processing may remove its vanishing-point effect, and the face detailer may not work on all furries.
Muss das bearbeitet werden?
Melden Sie sich an, um eine Änderungsanfrage zu senden.
Quellen
1 QuelleQuellenauszüge
2 AuszügeSource context: 1519 downloads · Type Workflows · Base model SDXL 1.0
Save metadata and LoRAs in a way that is CivitAI compatible
Toggle auto-resizing on or off
Natural Language and Tags prompting
LoRA Manager for ease-of-use
Workflow Embedding (toggle)
Before/After Image Comparer
Custom Node Requirements:
rgthree
Impact Pack
KJNodes
Easy-Use
ComfyMath
ComfyUI Image Saver
ComfyUI-LoRA-Manager
CG Use Everywhere - for Anything Everywhere
Efficiency-Nodes
Dynamic Thresholding
Skimmed_CFG
Comfyroll Studio
ComfyUI_essentials
Derfuu_ComfyUI_Modded Nodes
ComfyUI Impact Subpack
ComfyUI-mxToolkit - for the sliders
ComfyUI_Mira
I realize the number of nodes is increasing as the version number increases. This is still a fairly basic workflow and should not be overwhelming, and still remains very much like previous versions.
New with Version 3.0
I wanted to keep the workflow simple and at the same time, provide a little more detailer power. This workflow gives us previews of the SEGS, rather than the complexity of the SEGS filtering you simply get a preview image and can change the prompts based on the image. The colors of the preview/prompts alternate so you don't get mixed up. I added a hands detailer because we know we're gonna need it with AI. One new custom node, Everywhere, for the Anything Everywhere node.
I added a LoRA slot specifically for each detailer that will hopefully really bring things into focus. However this simple node is inserted without a connection to your existing Lora stack. If this is interfering with your generation, get rid of it or connect the Model output of the LoRA loader to the input of this node, depending on what you hope to accomplish.
New with Version 3.1
SEGS Detailer arrays upgraded to Module 1.1 (same as my Text2Img workflow): Replaced Image Previews with Image Comparer nodes.
New with Version 3.4
Color Matching after Upscaler, to counteract the tendency of upscalers to cause greening or yellowing slightly. Works great, no need to mess with it.
CFG Controls - CFG Skimming and Dynamic Thresholding, great nodes for allowing more flexibility in your CFG setting. Generally improves the overall output.
New With Version 4.0
Changed the layout somewhat, creating an upper left-to-right workflow area and putting the utilities below.
Implemented sliders and put most of the most important controls up front in the Input section. You may still want to tweak the detailer prompts etc in those areas.
New With Version 5.0
Bringing my workflows up to speed and into alignment so that they work and handle similarly, many small changes were made to ensure the two workflows handle as a pair. Banners were added for the detailers and upscaler to improve user orientation, and the LoRA blockers now work with toggles instead of spaghetti strings. The Spaghetti zone was moved out of the left-right flow, and the subgraph for resizing images was repackaged. The checkpoint loader now loads directly, allowing you to download a checkpoint and slap it into the native ComfyUI node without rebooting your server.
General:
Using Img2Img is fun and now with THIS workflow, you have complete control over what faces look like what. You may not be able to get the face detailer to work on all furries but you can still get a lot done with this workflow. Due to the way that the face detailer works, it really only makes sense to use it for I2I workflows. I2I approaches can obliterate the vanishing point effect that Illustrious can create. It can give you a predictable structure and framework and the results .. well, you might just be surprised!
Whereas before, you were at the mercy of randomness and checkpoint biases, with this detailer you can get ethnicity and expression right on the first shot. Details in the workflow!
Geschätzter VRAM Bedarf
Schätzung nicht verfügbar
587 MB über 5 von 10 Modell-Dateien. Gesamtmodell-Dateien + 25% Ladeaufwand + 2 GB Ausführungs-Puffer, aufgerundet.
Anforderungen
27 AnforderungenUpscaler · 63.9 MB · Hugging Face · FacehugmanIII/4x_foolhardy_Remacri
Upscaler · 133 MB · SAFETENSORS · Unknown
Object Detector · 49.6 MB · Hugging Face · Bingsu/adetailer
Object Detector · 21.5 MB · Hugging Face · Bingsu/adetailer
Beautiful face_alpha1.0_rank4_noxattn_last.safetensors
Nicht aufgelöstLoRA · Unknown
detailed hand focus style illustriousXL v1.1.safetensors
Nicht aufgelöstLoRA · Civitai · 200255
OhSoDetailedV2.safetensors
Nicht aufgelöstLoRA · Unknown
VAE · 319 MB · Hugging Face · stabilityai/sdxl-vae
strangeThingMixToon_v3.safetensors
Nicht aufgelöstCheckpoint · Unknown
waiIllustriousCollection_wainovaV10.safetensors
Nicht aufgelöstCheckpoint · Unknown
Knotenpaket · Registry
ComfyMath
MöglichKnotenpaket · Registry
Source context: 1435 downloads · Type Workflows · Base model SDXL 1.0
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry
Knotenpaket · Registry