Nodes/ComfyUI-ZImagePowerNodes/⚗️🔬| Custom Style + Prompt Encoder ^G2.1
ComfyUI Node

⚗️🔬| Custom Style + Prompt Encoder ^G2.1

Encodes a text prompt into embeddings by automatically adapting it to a selected custom style (and an optional colour palette), which are then processed by a CLIP model to generate the conditioning that guides image generation. ⚠️ Because this node is experimental, its parameters, behavior, or availability may change or be removed entirely without prior notice.

By martin-rizzo·Created 7 months ago·Updated a day ago· 346
⚗️🔬| Custom Style + Prompt Encoder ^G2.1
  • clip
  • palette
  • CONDITIONING
  • PROMPT
  • style_name
  • palette_name
  • original_prompt
custom_styles
custom_style
prompt
Category⚡Z-Image/__experimental

Inputs (5)

NameTypeDefaultDescription
clipCLIPThe CLIP model used for encoding the text.
custom_stylesSTRINGA multi-line string defining custom styles. Each definition must start with '>>>' followed by the style name, and then the style description on the next lines. Include '{$@}' in the description where the base prompt should be inserted.
custom_styleCOMBOThe visual style to be applied to the input prompt.
promptSTRINGThe base text prompt to be encoded and styled.
paletteoptZIPN_PALETTE_SELECTORAn optional color palette to use to enhance the prompt's visual description.

Outputs (5)

NameTypeDescription
CONDITIONINGCONDITIONINGThe final encoded conditioning that will guide the image generation process.
PROMPTSTRINGThe processed prompt after applying the selected visual style and color palette.
style_nameSTRINGThe name of the visual style applied.
palette_nameSTRINGThe name of the color palette applied.
original_promptSTRINGThe original text input before any modifications.