Nodes Browser

CLIPTextEncode SDXL Plus (JPS)
Conditioning Switch (JPS)
ControlNet Switch (JPS)
Crop Image Pipe (JPS)
Crop Image Settings (JPS)
Crop Image Square (JPS)
Crop Image TargetSize (JPS)
CtrlNet CannyEdge Pipe (JPS)
CtrlNet CannyEdge Settings (JPS)
CtrlNet MiDaS Pipe (JPS)
CtrlNet MiDaS Settings (JPS)
CtrlNet OpenPose Pipe (JPS)
CtrlNet OpenPose Settings (JPS)
CtrlNet ZoeDepth Pipe (JPS)
CtrlNet ZoeDepth Settings (JPS)
Disable Enable Switch (JPS)
Enable Disable Switch (JPS)
Generation TXT IMG Settings (JPS)
Get Date Time String (JPS)
Get Image Size (JPS)
IP Adapter Settings (JPS)
IP Adapter Settings Pipe (JPS)
IP Adapter Tiled Settings (JPS)
IP Adapter Tiled Settings Pipe (JPS)
IPA Switch (JPS)
Image Prepare Pipe (JPS)
Image Prepare Settings (JPS)
Image Switch (JPS)
ImageToImage Pipe (JPS)
ImageToImage Settings (JPS)
Images Masks MultiPipe (JPS)
InstantID Mask Prepare Pipe (JPS)
InstantID Mask Prepare Settings (JPS)
InstantID Pipe (JPS)
InstantID Pose Prepare Pipe (JPS)
InstantID Pose Prepare Settings (JPS)
InstantID Settings (JPS)
InstantID Source Prepare Pipe (JPS)
InstantID Source Prepare Settings (JPS)
Integer Switch (JPS)
Largest Int (JPS)
Latent Switch (JPS)
Lora Loader (JPS)
Mask Switch (JPS)
Model Switch (JPS)
Multiply Float Float (JPS)
Multiply Int Float (JPS)
Multiply Int Int (JPS)
Prepare Image (JPS)
Prepare Image Plus (JPS)
Prepare Image Tiled IPA (JPS)
Resolution Multiply (JPS)
Revision Settings (JPS)
Revision Settings Pipe (JPS)
SDXL Basic Settings (JPS)
SDXL Basic Settings Pipe (JPS)
SDXL Fundamentals MultiPipe (JPS)
SDXL Prompt Handling (JPS)
SDXL Prompt Handling Plus (JPS)
SDXL Prompt Styler (JPS)
SDXL Recommended Resolution Calc (JPS)
SDXL Resolutions (JPS)
SDXL Settings (JPS)
SDXL Settings Pipe (JPS)
Sampler Scheduler Settings (JPS)
Save Images Plus (JPS)
Substract Int Int (JPS)
Text Concatenate (JPS)
Text Prompt (JPS)
Text Prompt Combo (JPS)
Time Seed (JPS)
VAE Switch (JPS)

ComfyDeploy: How JPS Custom Nodes for ComfyUI works in ComfyUI?

What is JPS Custom Nodes for ComfyUI?

Nodes: Various nodes to handle SDXL Resolutions, SDXL Basic Settings, IP Adapter Settings, Revision Settings, SDXL Prompt Styler, Crop Image to Square, Crop Image to Target Size, Get Date-Time String, Resolution Multiply, Largest Integer, 5-to-1 Switches for Integer, Images, Latents, Conditioning, Model, VAE, ControlNet

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for JPS Custom Nodes for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

JPS Custom Nodes for ComfyUI

These nodes were originally made for use in JPS ComfyUI Workflows.

The nodes can be used in any ComfyUI workflow.

Installation

If you have a previous version of the "JPS Custom Nodes for ComfyUI", please delete this before installing these nodes.

  1. cd custom_nodes
  2. git clone https://github.com/JPS-GER/ComfyUI_JPS-Nodes.git
  3. Restart ComfyUI

You can also install the nodes using the following methods:

List of Custom Nodes

IO

  • Lora Loader - Lora Loader with On/Off Switch - output is 1 or 2, so it works with most "x to 1"-switches (while some other alternatives use boolean 0 or 1 and need corresponding switches or additional math nodes)

Settings

  • SDXL Resolutions - small node that offers recommended SDXL resolutions and outputs height and width values
  • SDXL Basic Settings - menu node for basic SDXL settings, required for most SDXL workflows (connect to "SDXL Basic Settings Pipe" to access the values), includes FreeU options now
  • Generation TXT IMG Settings - menu node to switch between TXT2IMG and IMG2IMG
  • Generation Settings - menu node to switch between, TXT2IMG, IMG2IMG, Control Net Canny, Control Net Depth, Inpainting (conntect to "Generation Settings Pipe" to access the values)
  • IP Adapter Settings - menu node to turn on/off five IP adapter input images and settings (conntect to "IP Adapter Settings Pipe" to access the values)
  • Revision Settings - menu node to turn on/off two revision input images and settings (conntect to "Revision Settings Pipe" to access the values)
  • Sampler Scheduler Settings - menu node for sampler + scheduler settings, can also be used as pipe

Switches

  • Integer Switch - "5 to 1"-switch for integer values
  • Image Switch - "5 to 1"-switch for images
  • Latent Switch - "5 to 1"-switch for latent images
  • Conditioning Switch - "5 to 1"-switch for conditioning
  • Model Switch - "5 to 1"-switch for models
  • VAE Switch - "5 to 1"-switch for VAE
  • ControlNet Switch - "5 to 1"-switch for ControlNet
  • Disable Enable Switch - input for nodes that use "disable/enable" types of input (for example KSampler) - useful to switch those values in combinaton with other switches
  • Enable Disable Switch - input for nodes that use "enable/disable" types of input (for example KSampler) - useful to switch those values in combinaton with other switches

Pipes

  • SDXL Basic Settings Pipe - used to access data from "SDXL Basic Settings" menu node - place outside of the menu structure of your workflow
  • Generation Settings Pipe - used to access data from "Generation Settings" menu node - place outside of the menu structure of your workflow
  • IP Adapter Settings Pipe - used to access data from "IP Adapter Settings" menu node - place outside of the menu structure of your workflow
  • Revision Settings Pipe - used to access data from "Revision Settings" menu node - place outside of the menu structure of your workflow
  • SDXL Fundamentals MultiPipe - used to build a pipe for basic SDXL settings, has input/outputs for all supported types, so you can access/change values more easily than classic "from/to/edit"-pipes
  • Images Masks MultiPipe - used to build a pipe for various images and masks used in my workflow, has input/outputs for all images, so you can access/change images and masks more easily than classic "from/to/edit"-pipes

Math

  • SDXL Recommended Resolution Calc - gives you the closest recommended SDXL resolution for the width and height values, useful for IMG2IMG and ControlNet input images, to bring them in line with SDXL workflows
  • Resolution Multiply - multily height and width by some factor - useful to get 2x or 4x values for upscaling or SDXL target width and SDXL target height
  • Largest Int - input two integer values, output will be the larger value
  • Multiply Int Int - multiply two integer inputs, output is available as integer and float, so you can save an extra node converting to the required type
  • Multiply Int Float - multiply integer and float inputs, output is available as integer and float, so you can save an extra node converting to the required type
  • Multiply Float Float - multiply two flout inputs, output is available as integer and float, so you can save an extra node converting to the required type
  • Substract Int Int - subscract one integer input from another integer input, output is available as integer and float, so you can save an extra node converting to the required type

Text

  • Text Concatenate - combine multiple input strings to one output string
  • Get Date Time String - get current date/time (has extra code to make sure it will not use cached data)
  • SDXL Prompt Handling - control how text_g and text_l input will be handled (many options)
  • SDXL Prompt Handling Plus - control how text_g and text_l input will be handled (many options), option to add an "universal negative" prompt

image image

Image

  • Get Image Size - get width and height value from an input image, useful in combination with "Resolution Multiply" and "SDXL Recommended Resolution Calc" nodes
  • Crop Image Square - crop images to a square aspect ratio - choose between center, top, bottom, left and right part of the image and fine tune with offset option, optional: resize image to target size (useful for Clip Vision input images, like IP-Adapter or Revision)

Style

  • SDXL Prompt Styler - add artists, movies and general styles to your text prompt, option to add an "universal negative" prompt - uses json files, so you can extend the available options

image

Credits

SDXL Prompt Styler is an extended version of SDXL Prompt Styler by twri - https://github.com/twri/sdxl_prompt_styler