2024-07-22 14:49:51 +08:00
2024-07-22 14:49:51 +08:00
2024-06-23 10:05:04 +08:00
2024-07-22 14:49:51 +08:00
2024-07-02 21:34:41 +08:00
2024-07-22 14:49:51 +08:00
2024-07-22 14:49:51 +08:00
2024-06-22 20:47:47 +08:00
2024-06-22 20:47:47 +08:00
2024-07-03 10:31:00 +08:00
2024-06-21 09:52:20 +08:00
2024-07-22 14:49:51 +08:00
2024-07-22 14:49:51 +08:00
2024-06-22 20:47:47 +08:00

ComfyUI Jake Upgrade

A ComfyUI workflow customization by Jake.

Installation

  1. git clone https://github.com/jakechai/ComfyUI-JakeUpgrade into the custom_nodes folder

    • e.g. custom_nodes\ComfyUI-JakeUpgrade

    OR: Install using ComfyUI Manager.

  2. Open a Command Prompt/Terminal/etc.

  3. Change to the custom_nodes\ComfyUI-JakeUpgrade folder you just created

    • e.g. cd C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JakeUpgrade
  4. 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: Youtube Bilibili
  • img2mesh: WIP
  • 3D-Pack Installation Tips: WIP

JakeUpgrade Workflow

Main:

(Tips: ComfyUI-3D-Pack needs pytorch 2.3.0+cu121 and xformers, but the latest ComfyUI_windows_portable version uses pytorch 2.3.1+cu121, you should separate those two ComfyUI.)

Other:

Required Custom Nodes

To use JK_workflow, you need to install:

Install and copy | replace files (see in replacement folder):

  • ComfyUI Manager : Copy _JK.pack in the replacement folder to `custom_nodes\ComfyUI-Manager\component'.
  • Prompt Stylers : Copy new styles (optional).

JK_workflow : tex2img_img2img : Introduction

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:
	Load SDXL Ckpt for Base | Refine | Upscale | Detailer | In/Out Paint
	Load SDXL Vae for Base | Detailer
	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 Refine Text Encode (in Refine Sub Workflow JK🐉) (optional)
	Disable IPAdapter 2 - faceid (in Refine Sub Workflow JK🐉)
	Switch plus and plus-face ipadapter to sdxl_vit-h 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
	Disable SD15 Hand Fix Detailer
	(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. 

JK_workflow : tex2img_img2img : Explanation

image

  • Overall Workflow

image

  • Image Comparer

image

  • Project Setting

image image image image

  • Base Model Parameters

image

  • TI Parameters

image

  • Fine Tune String Parameters

image

  • Auto Variation Prompt Parameters

image

  • Advanced Conditioning Parameters

image

  • Lora Parameters

image

  • Control Net Parameters

image

  • Advanced Model Parameters

image image image

  • Refine Process Parameters

image image image image image

  • Upscale Process Parameters

image image image

  • Detailer Process Parameters

image image image

  • In/Out Paint Process Parameters

JK_workflow : img2mesh : Introduction

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.

JK_workflow : img2mesh : Explanation

image

  • Workflow breakdown: img2mesh types

image

  • Workflow breakdown: CRM&Zero123plus&MVDream&CharacterGen

image

  • Workflow breakdown: JUnique3D&Wonder3D&Era3D

image

  • Workflow breakdown: Zero123&SV3D

image

  • Workflow breakdown: 3DGS

image

  • Workflow Control Panels: CRM&Zero123plus&MVDream&CharacterGen

image

  • Workflow Control Panels: JUnique3D&Wonder3D&Era3D

image

  • Workflow Control Panels: Zero123&SV3D

image

  • Workflow Control Panels: 3DGS

JakeUpgrade Custom Nodes

Misc Nodes
	SD1.5 Aspect Ratio JK🐉
	SDXL Aspect Ratio JK🐉
Reroute Nodes
	Reroute List JK🐉
	Reroute Ckpt JK🐉
	Reroute Vae JK🐉
	Reroute Sampler JK🐉
	Reroute Upscale JK🐉
	Reroute Resize JK🐉
ControlNet Nodes
	Apply ControlNet JK🐉
	Multi-ControlNet Stack JK🐉
	Apply Multi-ControlNet JK🐉
LoRA Nodes
	Load LoRA JK🐉
	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🐉
	Refine Pipe JK🐉
	Refine Pipe Extract JK🐉
	Noise Injection Parameters 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🐉
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🐉
	Text Input Switch JK🐉
	VAE Input Switch JK🐉
	Switch Model and CLIP JK🐉
	Pipe Input Switch JK🐉
	Impact Pipe Input Switch JK🐉
	Mesh Input Switch JK🐉
	Orbit Pose Input Switch JK🐉
ComfyMath Fix Nodes
	BoolToInt JK🐉
	IntToBool JK🐉
	BoolUnaryOp JK🐉
	BoolBinaryOp 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🐉

JakeUpgrade Group Nodes

Tools
	JK🐉::CLIPSegMask
	JK🐉::Pad Image for Outpainting
	JK🐉::SegAnythingMask
Workflow
	JK🐉::Concept
	JK🐉::Inpaint Simple
	JK🐉::Inpaint Checkpoint
	JK🐉::Outpaint Checkpoint
	JK🐉::Tex2Img

Reference Custom Nodes

Jake Upgrade Nodes are inspired by:

Changelog

  • 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.

Workflow Todo List

  • ControlNet Preprocess
  • IC Light
  • Layer Diffuse
  • Color Grading
S
Description
No description provided
Readme GPL-3.0
58 MiB
Languages
Python 53.9%
JavaScript 46%
Batchfile 0.1%