ComfyUI Node
Ernie Prompt Enhancer Prompt
Builds a prompt for the Ernie Prompt Enhancer model based on a prompt, image width, and image height. Connect to an LLM mode using native with a clip for Ernie's prompt enhancer, or the TextGenerate node in core. Uses the example prompt.
Ernie Prompt Enhancer Prompt
- enhanced_prompt
◄prompt—►
◄width1024►
◄height1024►
CategorySage Utils/text/prompt/ernie
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | The base prompt to enhance for Ernie. | |
| width | INT | 10241–8192 | The target image width used by the Ernie prompt. |
| height | INT | 10241–8192 | The target image height used by the Ernie prompt. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| enhanced_prompt | STRING | The enhanced prompt generated for the Ernie model. |