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.
⚡| Style & Prompt Encoder
- clip
- gallery
- spacer
- CONDITIONING
- STRING
◄style▾►
◄text—►
◄customization—►
Category⚡Z-Image
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | The CLIP model used for encoding the text. | |
| style | COMBO | The style you want for your image. | |
| gallery | ZIPN_STYLE_GALLERY_BUTTON | Open the style gallery to see all available styles. | |
| spacer | ZIPN_SEPARATOR | — | |
| text | STRING | The prompt to encode. | |
| 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 (2)
| Name | Type | Description |
|---|---|---|
| CONDITIONING | CONDITIONING | The encoded text used to guide the image generation. |
| STRING | STRING | The prompt after applying the selected visual style. |