Nodes Browser
ComfyDeploy: How ComfyUI-JakeUpgrade works in ComfyUI?
What is ComfyUI-JakeUpgrade?
A ComfyUI workflow customization by Jake.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-JakeUpgrade
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI Jake Upgrade
A ComfyUI workflow customization by Jake.
If you like what I share, please support me with PayPal.
Changelog
<details> <summary><b>Previous Version</b></summary>- 2024-06-23 - v1.0.0 released.
- 2024-07-11 - v1.0.6 Noise Injection for Upscale Workflow.
- 2024-07-16 - v1.0.7 Single Image to Mesh Workflow updated.
- 2024-07-21 - v1.0.8 Orbit Poses Constant nodes added. 3 Image to Mesh Workflows updated.
- 2024-07-22 - v1.0.9 3DGS workflow added.
- 2024-07-24 - v1.1.0 img2mesh workflow updated. Craftsman Mesh added.
Three OrbitPoses nodes been added to 3D-Pack.
- 2024-07-31 - v1.1.1 Prompt Combine node added.
- 2024-08-03 - v1.1.2 Resize to Focus added to image2mesh workflow.
- 2024-08-21 - v1.1.3 Random Beats node added (not for AIGC).
- 2024-09-01 - v1.2.0 SD3 workflow added. Noise Injection (Inspire) added.
Refine, Upscale, and Detailer process major updated.
SD15 Hand Fix supports SDXL and SD3 workflow.
SDXL IPAdapter supports SD3 workflow.
NoiseInjection Component and workflow added.
- 2024-09-04 - v1.2.1 In/Out Paint ControlNet Component added.
Inpaint Module Workflow updated.
SD15|SDXL|SD3 Workflow updated.
Image Remove Alpha JK node added.
- 2024-09-05 - v1.2.2 Black Pixel switch added for Inpaint ControlNet Component following ControlNet Preprocessor AUX Custom Node's update.
- 2024-09-06 - v1.2.3 Refinement Noise Injection added.
txt2prompt and img2prompt workflow added.
img2prompt component added.
- 2024-09-07 - v1.2.4 img2mesh workflow doesn't need _JK.pack, so that doesn't need to install segment anything, VLM nodes, and IF AI tools.
- 2024-09-09 - v1.2.5 Clip l, clip g, t5xxl texture encode logic upgrade.
Clip l & g switch added.
Negative g switch added.
SDXL Clip Text Encode Target Resolution Scale added.
- 2024-09-10 - v1.2.6 detailer: add detail lora.
- 2024-09-11 - v1.2.7 Magic Photo Prompter added.
- 2024-09-13 - v1.2.8 Use Comfy UI default set union controlnet type to load xinsir sdxl controlnet union.
Remove Inspire Pack and WAS Nodes Suite in img2mesh workflows.
Group Node Image RemBG added, using InSPYReNet TransparentBG from Essentials to remove background and Image Composite Masked to add grayscale background.
- 2024-09-15 - v1.2.9 Inpaint Simple updated. Outpaint Simple added.
txt2img | img2img | inpaint workflow updated.
In/Out Paint to Refinement process added.
Upscale to Refinment process added.
- 2024-09-21 - v1.3.0 Inpaint/Outpaint Latent | Checkpoint | ControlNet group nodes updated.
Inpaint and txt2img/img2img workflows updated.
SD3/Flux Inpaint ControlNet added.
- 2024-09-24 - v1.3.1 Hand Fix Detailer upgrades, supports SD15 | SDXL | Flux.
SD3 Hand Fix need to choose SDXL models for the InstantX Depth ControlNet does not work properly.
Replace SD3 ControlNet Apply with new ControlNet Apply Node.
- 2024-09-25 - v1.3.2 AIO Preprocessor added for txt2img | img2img workflow.
Detailer, Upscale workflows updated. Refine workflow added.
- 2024-09-26 - v1.3.3 Latent Noise Mask switch added for Inpaint/Outpaint ControlNet.
Specified Dual Clip switch added for sdxl workflow.
- 2024-09-28 - v1.3.4 Hand Fix supports SD3 and Flux. Hand Fix module workflow added.
- 2024-09-29 - v1.3.5 Inpaint Group Nodes upgrade, add more Image | Mask | Latent control.
- 2024-10-01 - v1.3.6 Inpaint Group Nodes upgrade, change color grading method.
- 2024-10-03 - v1.3.7 Remove Outpaint Pad Feathering.
- 2024-10-06 - v1.4.0 Replace Base Ipadapter simple with IPAdapter Style and Composition Transfer in SD15 and SDXL workflow.
SD3 Aspect Ratio node and SD3 Base Model Parameter node added.
SD3 Api workflow added to make up the shorcomings of SD3 local deployment using Stability SD3 control and inpaint nodes.
- 2024-10-10 - v1.5.0 Flux KSampler and Flux Ksampler Adv group nodes added.
Flux txt2img and img2img workflow added. Flux KSampler workflow added.
Inpaint/Outpaint ControlNet and Checkpoint method order changed.
Enchance and Resize Input Image added for img2img workflow.
Noise | Guider | Sampler | Sigmas switch added.
- 2024-10-10 - v1.5.1 Fal LLM and VLM API added for prompt generation workflow and SAI API workfkow.
- 2024-10-11 - v1.5.2 Flux KSampler Adv updated, use SplitSigmas instead of SplitSigmasDenoise.
</details>
- 2024-10-19 - v1.6.0 Image Generation group node and module workflow added. Switch Model and CLIP JK๐ node removed. Rename Apply ControlNet Stack SD3 to Applly ControlNet VAE. Tiling Mode and Empty Latent Color nodes added.
- 2024-11-08 - v1.7.0 Normal | Input version of Image Gen and Image Gen Adv group nodes added. Krita workflow added using Input version of Image Gen group nodes. Remove Comfyroll Custom Nodes from the must-have-node list. ControlNet Apply and ControlNet Stack nodes upgraded, supports Union, Alimama Inpaint. ControlNet Stack Input Switch node added. Add Blend with Original Mask option to Inpaint, Image Gen Adv and Image Gen Input group nodes. IsMaskEmpty Node and Image Crop by Mask Group Node added.
Installation
git clone https://github.com/jakechai/ComfyUI-JakeUpgrade
into thecustom_nodes
folder- e.g.
custom_nodes\ComfyUI-JakeUpgrade
- e.g.
- Open a Command Prompt/Terminal/etc.
- Change to the
custom_nodes\ComfyUI-JakeUpgrade
folder you just created- e.g.
cd C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JakeUpgrade
- e.g.
- Install python packages
-
Windows Standalone installation (embedded python):
../../../python_embeded/python.exe -s -m pip install -r requirements.txt
OR: run install.bat.
-
Manual/non-Windows installation
pip install -r requirements.txt
-
Video Introduction
- txt2img&img2img workflow: Youtube Bilibili
- txt2img&img2img SD3 workflow: Youtube Bilibili
- txt2img&img2img API workflow: Youtube Bilibili
- Group Nodes - Image Generation and Krita workflow: WIP
- prompt generation workflow: Youtube Bilibili
- inpaint workflow: Youtube Bilibili
- img2mesh workflow: Youtube Bilibili
- 3D-Pack Installation Tips๏ผ Youtube Bilibili
- 3D-Pack Algorithm Comparison๏ผ Youtube Bilibili
JakeUpgrade Workflow
Main
- JK_workflow_txt2img_img2img_SD15
- JK_workflow_txt2img_img2img_SDXL
- JK_workflow_txt2img_img2img_SD3
- JK_workflow_txt2img_img2img_Flux
- JK_workflow_txt2img_img2img_API
- JK_workflow_txt2prompt_img2prompt
- JK_workflow_img2mesh_CRM&Zero123plus&MVDream&CharacterGen
- JK_workflow_img2mesh_Unique3D&Wonder3D&Era3D
- JK_workflow_img2mesh_Zero123&SV3D
- JK_workflow_img2mesh_3DGS
[!NOTE]
- ComfyUI-3D-Pack needs pytorch 2.4.0+cu121 and xformers, but the latest ComfyUI_windows_portable version uses pytorch 2.4.1+cu124 (or higher), you should separate those two ComfyUI.
- ComfyUI-3D-Pack 3DMesh | 3DGS Preview works with the new frontend of ComfyUI with a restriction.
- CXH joy caption conflicts with VLM Nodes and is not included in the prompt generation workflow.
Module
- JK_workflow_Image Generation
- JK_workflow_Image Generation Adv
- JK_workflow_Refine
- JK_workflow_Upscale 1st
- JK_workflow_Upscale 2nd
- JK_workflow_Detailer
- JK_workflow_HandFix
- JK_workflow_Inpaint
- JK_workflow_NoiseInjectionVariation
- JK_workflow_Concept
- JK_workflow_Seamless Texture
- JK_workflow_txt2img_Simple
- JK_workflow_Flux_KSampler
- JK_Workflow_Mesh-ReMesh_Projection
Krita (sync)
- JK_workflow-Krita Common
- JK_workflow-Krita Common Adv
- JK_workflow-Krita SD15
- JK_workflow-Krita SD15 Adv
- JK_workflow-Krita SDXL
- JK_workflow-Krita SDXL Adv
- JK_workflow-Krita SD3
- JK_workflow-Krita SD3 Adv
- JK_workflow-Krita Flux
- JK_workflow-Krita Flux Adv
Krita (dev)
- JK Krita Common
- JK Krita Common Adv
- JK Krita SD15
- JK Krita SD15 Adv
- JK Krita SDXL
- JK Krita SDXL Adv
- JK Krita SD3
- JK Krita SD3 Adv
- JK Krita Flux
- JK Krita Flux Adv
[!NOTE]
- Installing a separate version of ComfyUI to work with Krita is recommended.
- Krita AI Plugin - ComyUI Custom Workflows
- Krita workflows are used for Krita + Krita AI Diffusion + Krita AI Tools
- A synchronous version of Krita workflows can be opened by ComyUI and synchronous with Krita AI Diffusion.
- A dev version of Krita workflows can only loaded by Krita AI Diffusion and should be moved to
...\AppData\Roaming\krita\ai_diffusion\workflows
.
Required Custom Nodes
Common
txt2img_img2img workflow
- Inspire Pack
- WAS Node Suite
- Layer Style
- Segment Anything
- NNLatentUpscale
- Ultimate SD Upscale
- Seamless tiling
- ComfyUI Noise
- Face Analysis
- StyleAligned
- ComfyUI ELLA
- Dynamic Prompts
- One Button Prompt
- Portrait Master
- Flux Prompt Generator
- Merlin Magic Photo Prompter
- WD14 Tagger
- VLM Nodes
- IF AI Tools
- ComfyUI SAI API
- ComfyUI Fal API
img2mesh workflow
Krita workflow
Install and copy | replace files (optional)
- ComfyUI Manager : Copy
_JK.pack
in the replacement folder tocustom_nodes\ComfyUI-Manager\component
. - Prompt Stylers : Copy new styles.
- ComfyUI SAI API : (Workaround before ComfyUI SAI API approves my pull request)Copy and replace files in
custom_nodes\ComfyUI-SAI_API
[!NOTE]
- Group Nodes can be copied and pasted between workflows in the latest ComfyUI.
JK_workflow : txt2img_img2img
<details> <summary><b>Introduction</b></summary>Hotkey:
0: usage guide
\`: overall workflow
1: base, image selection, & noise injection
2: embedding, fine tune string, auto prompts, & adv conditioning parameters
3: lora, controlnet parameters, & adv model parameters
4: refine parameters
5: detailer parameters
6: upscale parameters
7: In/Out Paint parameters
Workflow Control:
All switches in any Workflow panel take effect in realtime.
All switches in any Select panel also affect sub workflow, but don't take effect in realtime, which needs preprocessing.
All switches in Parameters panel that affect sub workflow don't take effect in realtime, which needs preprocessing.
Suggested method:
Preprocessing needs to be executed before actural generation for switches in Select or Parameters panels to control the sub workflow.
Pre-Queue Prompt: It's recommended to disable all processes in the Overall Workflow panel and adjust all sub-workflow-related switches before running Queue Prompt. The state of corresponding switches in Pre-process panels will be changed automatically after the preprocessing.
Pre-process Pannel: Alternatively, you can preprocess manually by setting the corresponding switches in the Pre-process Pannel to the same state as in the Parameters Pannel, which does not need a Pre-Queue Prompt.
Metadata:
All parameters including sub-workflow-related switches will affect the generation result and also the content of Metadata saved with the image.
In Refine image saving, remove noise_jinection_metadata link if not refining any noise injection process.
In Upscale image saving, remove noise_jinection_metadata or refine_metadata link if not using Noise Injection or refine process.
In Detailer image saving, remove noise_jinection_metadata, refine_metadata or upscale_metadata link if not using Noise Injection or refine process.
SDXL switches:
Image Resolution | AIO resolution
Load SDXL Ckpt | Vae for Base | Refine | Upscale | Detailer | In/Out Paint
FreeU SDXL settings
Auto Variation SDXL settings
Disable SD15 ELLA Text Encode (in Base Model Sub Workflow JK๐)
Enable SDXL Text Ecode (in Base Model Sub Workflow JK๐) (Optional)
Enable SDXL Dual Clip (in Base Model Sub Workflow JK๐) (Optional)
Enable SDXL Refine Text Encode (in Refine Sub Workflow JK๐) (optional)
Switch plus, plus-face, and faceid ipadapter to sdxl_vit-h version
Switch faceid lora to sdxl version
Switch Image Upscale ControlNet Depth|Tile to sdxl version (in Upscale Sub Workflow JK๐)
Switch NNLatentUpscale version to SDXL
Set Ultimate SD Upscale Tile size to 1024
Switch Detailer's Add Detail Lora to SDXL version
Switch Hand Fix Depth ControlNet version to SDXL
Hand Fix MeshGraphhormer Hand Refiner resolution
Use Load ControNet Model and set Union ControlNet type to load xinsir controlnet union in I/O Paint process
Enable Black Pixel switch for Inpaint/Outpaint ControlNet in I/O Paint process
(If it is SD15, choose the opposite)
Other:
1. Nodes State JK๐ uses target nodes' id to control their active | mute | bypass mode. Need to update node_id_list if you make a copy.
2. The order of Detailer Progress and Upscale Progress can be swapped. Please avoid to form loops.
</details>
<details>
<summary><b>Explanation</b></summary>
- Overall Workflow
- Image Comparer
- Project Setting
- Base Model Parameters
- TI Parameters
- Fine Tune String Parameters
- Auto Variation Prompt Parameters
- Advanced Conditioning Parameters
- Lora Parameters
- Control Net Parameters
- Advanced Model Parameters
- Refine Process Parameters
- Upscale Process Parameters
- Detailer Process Parameters
- In/Out Paint Process Parameters
JK_workflow : img2mesh
<details> <summary><b>Introduction</b></summary>Hotkey:
\`: Main Workflow Control Pannels
Workflow Control:
Each img2mesh workflow contains several sub-workflows as the filename indicates.
Each sub-workflow consists of one or more sub-steps.
Each sub-step saves the result as images or meshes when it finishes generation.
Each sub-step can switch from generation mode to loading mode.
It's recommended to enable sub-step step by step and switch to loading mode after the generation.
Other:
TripoSR workflow is not included because it is straightforward.
Triplane workflow is not included because it is straightforward.
</details>
<details>
<summary><b>Explanation</b></summary>
- Workflow breakdown: img2mesh types
- Workflow breakdown: CRM&Zero123plus&MVDream&CharacterGen
- Workflow breakdown: JUnique3D&Wonder3D&Era3D
- Workflow breakdown: Zero123&SV3D
- Workflow breakdown: 3DGS
- Workflow Control Panels: CRM&Zero123plus&MVDream&CharacterGen
- Workflow Control Panels: Unique3D&Wonder3D&Era3D
- Workflow Control Panels: Zero123&SV3D
- Workflow Control Panels: 3DGS
JakeUpgrade Nodes
<details> <summary><b>Custom Nodes</b></summary>Misc Nodes
SD1.5 Aspect Ratio JK๐
SDXL Aspect Ratio JK๐
SD3 Aspect Ratio JK๐
Aspect Ratio JK๐
Tiling Mode JK๐
Empty Latent Color JK๐
Reroute Nodes
Reroute List JK๐
Reroute Ckpt JK๐
Reroute Vae JK๐
Reroute Sampler JK๐
Reroute Upscale JK๐
Reroute Resize JK๐
Reroute String JK๐
String To Combo JK๐
ControlNet Nodes
Apply ControlNet JK๐
Multi-ControlNet Stack JK๐
Apply Multi-ControlNet JK๐
Apply Multi-ControlNet VAE JK๐
LoRA Nodes
Load LoRA JK๐
LoRA Stack JK๐
Apply LoRA Stack JK๐
Embedding Nodes
Embedding Picker JK๐
Embedding Picker Multi JK๐
Loader Nodes
Ckpt Loader JK๐
Vae Loader JK๐
Sampler Loader JK๐
Upscale Model Loader JK๐
Pipe Nodes
Nodes State JK๐
Ksampler Parameters JK๐
Project Setting JK๐
Base Model Parameters JK๐
Base Model Parameters Extract JK๐
Base Image Parameters Extract JK๐
Base Model Pipe JK๐
Base Model Pipe Extract JK๐
Base Model Parameters SD3 JK๐
Refine Pipe JK๐
Refine Pipe Extract JK๐
Noise Injection Parameters JK๐
Noise Injection Pipe Extract JK๐
Refine Model Parameters JK๐
Refine 1 Parameters Extract JK๐
Refine 2 Parameters Extract JK๐
Upscale Model Parameters JK๐
Image Upscale Parameters Extract JK๐
Latent Upscale Parameters Extract JK๐
Upscale Model Parameters Extract JK๐
Detailer Parameters JK๐
Pipe End JK๐
Metadata Pipe JK๐
Metadata Pipe Extract JK๐
Image Nodes
Save Image With Metadata JK๐
Save Image With Metadata Flow JK๐
Load Image With Metadata JK๐
Enchance And Resize Hint Images JK๐
Remove Image Alpha JK๐
Mask Nodes
Is Mask Empty JK๐
Animation Nodes
Animation Prompt JK๐
Animation Value JK๐
Logic switches Nodes
Boolean JK๐
Image Input Switch JK๐
Mask Input Switch JK๐
Int Input Switch JK๐
Float Input Switch JK๐
Latent Input Switch JK๐
Conditioning Input Switch JK๐
Clip Input Switch JK๐
Model Input Switch JK๐
ControlNet Input Switch JK๐
ControlNet Stack Input Switch JK๐
Text Input Switch JK๐
VAE Input Switch JK๐
Pipe Input Switch JK๐
Impact Pipe Input Switch JK๐
Noise Input Switch JK๐
Guider Input Switch JK๐
Sampler Input Switch JK๐
Sigmas Input Switch JK๐
Mesh Input Switch JK๐
Ply Input Switch JK๐
Orbit Pose Input Switch JK๐
ComfyMath Fix Nodes
BoolToInt JK๐
IntToBool JK๐
BoolUnaryOp JK๐
BoolBinaryOp JK๐
StringBinaryCon JK๐
Prompt Combine JK๐
FloatUnaryCon JK๐
FloatBinaryCon JK๐
IntUnaryCon JK๐
IntBinaryCon JK๐
NumberUnaryCon JK๐
NumberBinaryCon JK๐
Vec2UnaryCon JK๐
Vec2BinaryCon JK๐
Vec2ToFloatUnaryOp JK๐
Vec2ToFloatBinaryOp JK๐
Vec2FloatOp JK๐
Vec3UnaryCon JK๐
Vec3BinaryCon JK๐
Vec3ToFloatUnaryOp JK๐
Vec3ToFloatBinaryOp JK๐
Vec3FloatOp JK๐
Vec4UnaryCon JK๐
Vec4BinaryCon JK๐
Vec4ToFloatUnaryOp JK๐
Vec4ToFloatBinaryOp JK๐
Vec4FloatOp JK๐
ComfyMath Nodes
FloatToInt JK๐
IntToFloat JK๐
IntToNumber JK๐
NumberToInt JK๐
FloatToNumber JK๐
NumberToFloat JK๐
ComposeVec2 JK๐
ComposeVec3 JK๐
ComposeVec4 JK๐
BreakoutVec2 JK๐
BreakoutVec3 JK๐
BreakoutVec4 JK๐
FloatUnaryOp JK๐
FloatBinaryOp JK๐
IntUnaryOp JK๐
IntBinaryOp JK๐
NumberUnaryOp JK๐
NumberBinaryOp JK๐
Vec2UnaryOp JK๐
Vec2BinaryOp JK๐
Vec3UnaryOp JK๐
Vec3BinaryOp JK๐
Vec4UnaryOp JK๐
Vec4BinaryOp JK๐
Simple Evaluate Nodes
Evaluate Ints JK๐
Evaluate Floats JK๐
Evaluate String JK๐
Evaluate Examples JK๐
3D Nodes
Orbit Poses JK๐
OrbitLists to OrbitPoses JK๐
OrbitPoses to OrbitLists JK๐
</details>
<details>
<summary><b>Group Nodes</b></summary>
Tools
JK๐::CLIPSegMask
JK๐::Image Crop by Mask
JK๐::Image RemBG
JK๐::Image to Prompt (LLava Local)
JK๐::Image to Prompt Advanced (LLava Local)
JK๐::Pad Image for Outpainting
JK๐::SegAnythingMask
Workflow
JK๐::Concept
JK๐::Flux KSampler
JK๐::Flux KSampler Adv
JK๐::Image Gen Common
JK๐::Image Gen Common (Input)
JK๐::Image Gen Common Adv
JK๐::Image Gen Common Adv (Input)
JK๐::Image Gen Flux
JK๐::Image Gen Flux (Input)
JK๐::Image Gen Flux Adv
JK๐::Image Gen Flux Adv (Input)
JK๐::Image Gen SD15
JK๐::Image Gen SD15 (Input)
JK๐::Image Gen SD15 Adv
JK๐::Image Gen SD15 Adv (Input)
JK๐::Image Gen SD3
JK๐::Image Gen SD3 (Input)
JK๐::Image Gen SD3 Adv
JK๐::Image Gen SD3 Adv (Input)
JK๐::Image Gen SDXL
JK๐::Image Gen SDXL (Input)
JK๐::Image Gen SDXL Adv
JK๐::Image Gen SDXL Adv (Input)
JK๐::Inpaint Latent
JK๐::Inpaint Checkpoint
JK๐::Inpaint ControlNet
JK๐::Outpaint Latent
JK๐::Outpaint Checkpoint
JK๐::Outpaint ControlNet
JK๐::txt2img
</details>