generated

RgthreeSDXLPowerPromptPositive

RgthreeSDXLPowerPromptPositive is the positive-conditioning node in rgthree's SDXL Power Prompt family.

Rgthree SDXL Power Prompt Positive

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

Description

RgthreeSDXLPowerPromptPositive is the positive-conditioning node in rgthree's SDXL Power Prompt family. It takes a global prompt and a local prompt, offers quick dropdown insertion of LoRAs, embeddings, and saved prompt snippets, encodes the result into positive conditioning, and returns the (optionally LoRA-modified) model and CLIP alongside the prompt strings. It is the SDXL variant, so it also accepts target and crop dimensions and passes those size hints along with the conditioning.

Inputs

Required

  • prompt_g (STRING): The global prompt text, the main positive prompt applied across the image.
  • prompt_l (STRING): The local prompt text used for the secondary/local portion of SDXL conditioning.

Optional

  • opt_model (MODEL): An optional model. Connect a model here if you are using insert_lora, so inserted LoRAs are applied and the modified model is returned.
  • opt_clip (CLIP): An optional CLIP model used to encode the prompts into conditioning.
  • opt_clip_width (INT): Optional width hint passed along for the CLIP side of the conditioning.
  • opt_clip_height (INT): Optional height hint passed along for the CLIP side of the conditioning.
  • insert_lora (COMBO): Dropdown for inserting a LoRA tag into the prompt. Selecting one writes the corresponding <lora:...> syntax into the active prompt text.
  • insert_embedding (COMBO): Dropdown for inserting an embedding (textual inversion) tag into the prompt.
  • insert_saved (COMBO): Dropdown for inserting a previously saved prompt snippet into the prompt.
  • target_width (INT): Target image width used when building size hints for the conditioning.
  • target_height (INT): Target image height used when building size hints for the conditioning.
  • crop_width (INT): Crop width used when building size hints for the conditioning.
  • crop_height (INT): Crop height used when building size hints for the conditioning.

Outputs

  • CONDITIONING: The positive conditioning encoded from the prompt inputs.
  • MODEL: The model, with any LoRAs inserted through insert_lora applied (a passthrough when no LoRA was used).
  • CLIP: The CLIP model passed in, available for reuse downstream.
  • STRING: The resulting global prompt text (prompt_g after any insertions).
  • STRING: The resulting local prompt text (prompt_l after any insertions).

Usage Notes

Connect a CLIP model to opt_clip so the node can encode the prompts; the resulting conditioning plugs into the positive input of a sampler or a conditioning node.

The insert_lora, insert_embedding, and insert_saved widgets are editing helpers rather than live inputs. Choosing an entry writes its tag into the prompt text so you can see and hand-edit it. To actually load a LoRA, connect your model to opt_model; the node applies the LoRA and returns the modified model from the MODEL output.

Saved prompts work as a reusable snippet library: save a prompt or fragment, then recall it later through insert_saved instead of retyping it.

For SDXL workflows, set target_width, target_height, crop_width, and crop_height to match your intended generation and crop sizes so the conditioning carries accurate resolution information.

Use the two STRING outputs to feed other nodes, for example a text display or another prompt node, without retyping the prompt.

Comments

Sign in with GitHub to join the discussion.

Loading comments…