Nodes/ComfyUI-ZImagePowerNodes/⚡| Style & Prompt Encoder
ComfyUI Node

⚡| Style & Prompt Encoder

Transforms a text prompt into embeddings, automatically adapting the prompt to match the selected style. This node takes a prompt, adjusts its visual style according to the chosen option, and then encodes it using the provided text encoder (clip) to generate an embedding that will guide image generation.

By martin-rizzo·Created 7 months ago·Updated a day ago· 346
⚡| Style & Prompt Encoder
  • clip
  • gallery
  • spacer
  • CONDITIONING
  • STRING
style
text
customization
Category⚡Z-Image

Inputs (6)

NameTypeDefaultDescription
clipCLIPThe CLIP model used for encoding the text.
styleCOMBOThe style you want for your image.
galleryZIPN_STYLE_GALLERY_BUTTONOpen the style gallery to see all available styles.
spacerZIPN_SEPARATOR
textSTRINGThe prompt to encode.
customizationoptSTRINGAn optional multi-line string to customize existing styles. Each style definition must start with '>>>' followed by the style name, and then include its description on the next lines. The description should incorporate '{$@}' where the main text prompt will be inserted.

Outputs (2)

NameTypeDescription
CONDITIONINGCONDITIONINGThe encoded text used to guide the image generation.
STRINGSTRINGThe prompt after applying the selected visual style.