ERNIE-AIO-Workflow

Details

Model description

⚙️ ERNIE-AIO Workflow for ComfyUI

Workflow for ERNIE-AIO-Base & ERNIE-AIO-Turbo • Upscaling • Prompt Enhancer • AIO Checkpoints

✨ What is this?

This is a ComfyUI workflow made specifically for my ERNIE-AIO releases.

It is designed to work with both:

  • ERNIE-AIO-Base

  • ERNIE-AIO-Turbo

The workflow is built around the AIO checkpoint format, which means the image model, text encoder, and VAE are already integrated into a single checkpoint file.

That makes the setup much simpler in ComfyUI:
load checkpoint, write prompt, generate image, optionally upscale, save.


📦 Required Models

This workflow is made for the following checkpoint releases:

Civitai Releases

Hugging Face Release


🧠 What are the AIO versions?

The All-in-One (AIO) checkpoints already contain:

  • image model

  • text encoder

  • VAE

Place the .safetensors files into:

ComfyUI/models/checkpoints

and load them through the normal Checkpoint Loader node.

No separate VAE loader or text encoder loader is required.


🚀 Supported Variants

This workflow supports:

ERNIE-AIO-Base

  • Recommended: 50 steps • CFG 4.0

  • Best for more stable, deliberate, high-quality results

ERNIE-AIO-Turbo

  • Recommended: 8 steps • CFG 1.0

  • Best for faster generation and quick iteration

Precision notes

Both variants are available in:

  • BF16

  • FP8

For the FP8 versions:

  • text encoder: FP8

  • image model: FP8

  • VAE: FP32


🧩 What this workflow includes

This workflow already contains the full basic image generation path plus some extra convenience features.

Minimal generation path

You theoretically only need these 6 nodes:

  1. Checkpoint Loader

  2. CLIP Text Encode (Prompt)

  3. Empty Latent Image

  4. KSampler

  5. VAE Decode

  6. Save Image

Extra features included in this workflow

  • optional upscaling section

  • Prompt Enhancer helper

  • image size controls

  • easy Base / Turbo workflow usage

  • clean AIO checkpoint workflow structure


🛠️ How to use the workflow

1) Select the checkpoint

Choose either:

  • ERNIE-AIO-Base

  • ERNIE-AIO-Turbo

inside the Checkpoint Loader.

2) Write your prompt

Enter your prompt in the positive prompt field.

ERNIE works especially well with:

  • natural language prompts

  • structured instructions

  • readable text in images

  • poster-like compositions

  • layout-based prompts

3) Choose image size

Set your width and height in the Image Size section.

4) Use the correct settings

Recommended settings:

  • Base: 50 steps • CFG 4.0

  • Turbo: 8 steps • CFG 1.0

5) Generate

Run the workflow to create the initial image.

6) Optional upscaling

The workflow includes UltimateSDUpscale and an upscale model for higher-resolution output.

If you only want the base generation, you can disable or bypass the upscale section.

7) Save

The final output is saved through Save Image.


✍️ Prompt Enhancer

This workflow also includes an optional Prompt Enhancer section.

It can help rewrite short prompts into more descriptive prompts for generation.
You do not have to use it, but it can be useful if you want richer or more refined prompt wording.


📌 Notes

  • AIO checkpoints must be placed in ComfyUI/models/checkpoints

  • No separate VAE loading is required

  • No separate text encoder loading is required

  • Base is better for more refined and careful results

  • Turbo is better for fast generation and quick iteration


🖼️ About images in the workflow

ComfyUI normally does not embed external PNG promo images directly inside a Markdown / Note node in the workflow JSON.

So if you see preview images on the model page, those are uploaded separately and are not directly stored inside the workflow note itself.


🔌 Custom Nodes used in this workflow

This workflow uses the following custom nodes:

ComfyUI Impact Pack

https://github.com/ltdrdata/ComfyUI-Impact-Pack

rgthree-comfy

https://github.com/rgthree/rgthree-comfy

ComfyUI_UltimateSDUpscale

https://github.com/ssitu/ComfyUI_UltimateSDUpscale

ComfyUI-Lora-Manager

https://github.com/willmiao/ComfyUI-Lora-Manager


🙏 Credits

Thanks to the original ERNIE-Image developers at Baidu.


❤️ Final Note

This workflow is meant to make ERNIE-AIO in ComfyUI simple and practical.

Load checkpoint, prompt, generate, upscale if needed, save.

Images made by this model