ComfyUI Node
⚗️🔬| Style & Prompt Encoder ^G2.1
Transforms a text prompt into embeddings, automatically adapting the prompt to match the selected style and, optionally, a chosen colour palette. This node takes a prompt, adjusts its visual style according to the chosen option (applying the palette if provided), and then encodes it using the supplied CLIP model to generate an embedding that will guide image generation. ⚠️ Because this node is experimental, its parameters, behavior, or availability may change or be removed entirely without prior notice.
⚗️🔬| Style & Prompt Encoder ^G2.1
- clip
- style
- palette
- CONDITIONING
- PROMPT
- style_name
- palette_name
- original_prompt
◄text—►
◄customization—►
Category⚡Z-Image/__experimental
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | The CLIP model used for encoding the text. | |
| style | ZIPN_STYLE_SELECTOR | The visual style to apply to the prompt. | |
| palette | ZIPN_PALETTE_SELECTOR | The color palette to use to enhance the prompt's visual description. | |
| text | STRING | The base text prompt to be encoded and styled. | |
| customizationopt | STRING | An 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 (5)
| Name | Type | Description |
|---|---|---|
| CONDITIONING | CONDITIONING | Final encoded text that will guide the image generation process. |
| PROMPT | STRING | Final prompt after applying the selected visual style and color palette. |
| style_name | STRING | Name of the visual style that was applied to the prompt. |
| palette_name | STRING | Name of the color palette that was applied to the prompt. |
| original_prompt | STRING | The original text input before any modifications or style adaptations. |