ComfyUI Node
Eric ERNIE-Image Generate
Generate with ERNIE-Image or Turbo. Accepts pre-computed embeddings.
Eric ERNIE-Image Generate
- pipeline
- prompt_embeds
- negative_prompt_embeds
- image
◄prompt►
◄resolution1024x1024 (1:1)►
◄steps50►
◄guidance_scale4.0►
◄seed0►
◄use_pefalse►
◄sigma_scheduleuniform►
◄shift_value4.0►
◄max_mp1.50►
◄guidance_rescale0.00►
◄vae_decode_fp32true►
◄width1024►
◄height1024►
◄negative_prompt►
CategoryEric ERNIE Image
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| pipeline | ERNIE_PIPELINE | — | |
| prompt | STRING | Ignored when prompt_embeds is connected. | |
| resolution | COMBO | 1024x1024 (1:1) | 20 options: 3:1 panoramic, 21:9 cinemascope, 2:1 wide, 16:9 ★, 8:5, 3:2 ★, +14 |
| steps | INT | 501–100 | 50 for SFT, 8 for Turbo. |
| guidance_scale | FLOAT | 4.00–20 | 4.0 for SFT, 1.0 for Turbo. |
| seed | INT | 00–18446744073709550000 | — |
| use_pe | BOOLEAN | false | Requires load_pe=True in loader. |
| sigma_schedule | COMBO | uniform | 'uniform' = pipeline default (shift=4.0 from scheduler config). 'fixed shift' = override shift to shift_value below. 'karras' = shift + karras transform (more steps at both extremes). 'beta' = shift + beta distribution (good balance for fine detail). 'dynamic' = resolution-based shift. Change without reloading. |
| shift_value | FLOAT | 4.00.1–8 | Override scheduler shift for 'fixed shift', 'karras', 'beta' schedules. 1.0 = truly uniform (no shift bias). 4.0 = default (strong structural emphasis). Ignored when schedule = 'uniform' or 'dynamic'. |
| max_mp | FLOAT | 1.500.25–8 | Stay at 1.0-1.5 MP. ERNIE trained on 7 ~1MP presets. |
| guidance_rescale | FLOAT | 0.000–1 | Rescale CFG output toward unit variance to reduce saturation. 0.0 = off. 0.5-0.7 = moderate rescaling. Helps preserve fine detail at high guidance_scale. |
| vae_decode_fp32 | BOOLEAN | true | Upcast VAE to float32 for decode. Prevents bf16/fp16 quantization of fine textures. Tiny speed cost, significant quality win. |
| widthopt | INT | 1024256–8192 | Used only when resolution = 'custom'. |
| heightopt | INT | 1024256–8192 | Used only when resolution = 'custom'. |
| negative_promptopt | STRING | — | |
| prompt_embedsopt | ERNIE_EMBEDS | Pre-computed embeddings from ErnieImageEncode. When connected, the prompt text input is ignored. Enables reuse across seeds without re-running the text encoder. | |
| negative_prompt_embedsopt | ERNIE_EMBEDS | Pre-computed negative embeddings from ErnieImageEncode. When connected, negative_prompt text is ignored. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |