generated

RgthreeSDXLPowerPromptSimple

RgthreeSDXLPowerPromptSimple builds base and refiner prompt text for SDXL, encodes it to CONDITIONING, and returns the prompt as strings.

Rgthree SDXL Power Prompt Simple

opt_clip
CONDITIONING
TEXT_G
TEXT_L
prompt_g
STRING
prompt_l
STRING
opt_clip_width
INT
opt_clip_height
INT
insert_embedding
COMBO
insert_saved
COMBO
target_width
INT
target_height
INT
crop_width
INT
crop_height
INT
rgthree comfy

Description

RgthreeSDXLPowerPromptSimple is a streamlined version of the SDXL Power Prompt. It builds prompt text for SDXL base and refiner models, optionally encodes it into a CONDITIONING output, and passes the resolved prompt text back out as strings. Unlike the full SDXL Power Prompt, this simple variant does not manage LoRAs, which keeps the node focused on prompt composition and conditioning.

The node separates the prompt into two parts: a "G" (base) prompt and an "L" (refiner) prompt, matching the base/refiner split common in SDXL workflows. It also provides convenience fields for inserting embeddings and saved prompts, plus optional fields for controlling the size information used when encoding conditioning for the refiner.

Inputs

Required

  • prompt_g (STRING): The primary (base) prompt text. This is the main description of the image that the base model sees.
  • prompt_l (STRING): The secondary (refiner) prompt text. If your workflow uses the SDXL refiner, this prompt is applied at the refiner stage.

Optional

  • opt_clip (CLIP): The CLIP model used to encode the prompt text into conditioning. Supplying a CLIP is what lets the node emit a usable CONDITIONING output; if omitted, the node can still be used purely to compose and pass along prompt text.
  • opt_clip_width (INT): The width (in pixels) used when encoding conditioning. SDXL expects a resolution to be associated with the conditioning.
  • opt_clip_height (INT): The height (in pixels) used when encoding conditioning.
  • insert_embedding (COMBO): A convenience selector for text embeddings. Choosing an embedding inserts its trigger text into the prompt so you can reference it without typing the full name.
  • insert_saved (COMBO): A convenience selector for previously saved prompts. Choosing an entry inserts that saved prompt text into the active prompt field.
  • target_width (INT): The target width reported to the refiner conditioning.
  • target_height (INT): The target height reported to the refiner conditioning.
  • crop_width (INT): The crop width reported to the refiner conditioning.
  • crop_height (INT): The crop height reported to the refiner conditioning.

The target_* and crop_* fields supply the resolution and crop metadata that SDXL refiner conditioning relies on. They are most relevant when you are feeding the refiner, and can be left alone when you are only using the base model.

Outputs

  • CONDITIONING: The encoded conditioning built from the prompt text and the supplied CLIP. Connect this to the positive conditioning input of a sampler or conditioning node.
  • STRING: A text output carrying the resolved prompt. Use it to chain the prompt onward without retyping it.
  • STRING: A second text output, carrying the other resolved prompt (the refiner prompt pairing). This makes the node useful as a prompt source even when you are not consuming the conditioning.

Usage Notes

  • No LoRA handling: This node intentionally omits LoRA support. If you need to attach and manage LoRAs as part of the prompt, use the full SDXL Power Prompt node instead.
  • Embedding and saved-prompt insertion: The insert_embedding and insert_saved widgets are editor helpers. They insert text into the prompt fields; they do not alter the output beyond the text they place there.
  • Base-only workflows: If you are not using the refiner, you can leave the refiner-related size fields and the prompt_l text at their defaults and simply use the base conditioning.
  • CLIP is optional: Because the conditioning output depends on a CLIP model, connect opt_clip whenever you need conditioning. The string outputs remain useful for prompt plumbing on their own.

Comments

Sign in with GitHub to join the discussion.

Loading comments…