ComfyUI Extension: ComfyUI-Jax-Nodes
Some custom nodes for weird niche needs when working with Krita
Custom Nodes (0)
README
ComfyUI-Jax-Nodes
Custom ComfyUI nodes for some niche Krita-focused workflows and easier prompt / pipeline handling.
Nodes Overview
-
Conditional Select(JAX_ConditionalSelect)- Simple if/else node: chooses between
true_valueandfalse_valuebased on a booleanconditionand outputs the selected value.
- Simple if/else node: chooses between
-
Sampler Pipe In(JAX_KritaPipeIn)- Packs a set of sampler-related inputs (
model,positive,negative,vae,image,clip,latent) into a singlepipedictionary that can be passed around a workflow.
- Packs a set of sampler-related inputs (
-
Sampler Pipe Out(JAX_SamplerPipeOut)- Unpacks the
pipedictionary back into individual outputs (model,positive,negative,vae,image,clip,latent), useful for branching or recombining pipelines.
- Unpacks the
-
Krita Strength(JAX_KritaStrength)- Given
sigmas, astrength, and adenoisevalue, computes an integer step index that approximates Krita-style strength control for diffusion, clamping values to safe ranges.
- Given
-
Krita Resize Canvas(JAX_KritaResizeCanvas)- Output node that, when
enabled, emits a small JSON payload in the UI (application/x-krita-command) describing aresize_canvascommand with the chosenwidthandheight.
- Output node that, when
-
Image Size Multiplier(JAX_ImageSizeMultiplier)- Multiplies an input
widthandheightby amultiplierand outputs the new dimensions plus a small Markdown string summarizing the final size.
- Multiplies an input
-
Easy Prompt (W/ Append)(JAX_EasyPrompt)- CLIP text encoder that lets you write prompts with inline LoRA tags like
<lora:name:weight>and append extra positive/negative text. It loads and applies LoRAs to themodel/clip, then returns the updated model and positive/negative conditioning.
- CLIP text encoder that lets you write prompts with inline LoRA tags like
-
Easy Prompt(JAX_EasyPromptSimple)- Simpler version of the above: supports
<lora:...>tags but without extra append fields, justpositiveandnegativeinputs.
- Simpler version of the above: supports