Nodes/Sage Utils/Ernie Prompt Enhancer Prompt
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.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
Ernie Prompt Enhancer Prompt
    • enhanced_prompt
    prompt
    width1024
    height1024
    CategorySage Utils/text/prompt/ernie

    Inputs (3)

    NameTypeDefaultDescription
    promptSTRINGThe base prompt to enhance for Ernie.
    widthINT10241–8192The target image width used by the Ernie prompt.
    heightINT10241–8192The target image height used by the Ernie prompt.

    Outputs (1)

    NameTypeDescription
    enhanced_promptSTRINGThe enhanced prompt generated for the Ernie model.