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.
⚗️🔬| 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)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | The CLIP model used for encoding the text. | |
| custom_styles | STRING | A 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_style | COMBO | The visual style to be applied to the input prompt. | |
| prompt | STRING | The base text prompt to be encoded and styled. | |
| paletteopt | ZIPN_PALETTE_SELECTOR | An optional color palette to use to enhance the prompt's visual description. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| CONDITIONING | CONDITIONING | The final encoded conditioning that will guide the image generation process. |
| PROMPT | STRING | The processed prompt after applying the selected visual style and color palette. |
| style_name | STRING | The name of the visual style applied. |
| palette_name | STRING | The name of the color palette applied. |
| original_prompt | STRING | The original text input before any modifications. |