🖼️ ERNIE AIO for ComfyUI

All-in-One Checkpoints • Base + Turbo • BF16 & FP8 • Text Encoder + VAE Included

License ComfyUI



📦 Models

Model Style FP8 BF16 Best For
📸 ERNIE-AIO-Base Realistic / Structured High-quality, refined output
ERNIE-AIO-Turbo Realistic / Structured Fast iteration, 8-step generation

All models: Integrated Text Encoder + VAE • Single Checkpoint • No extra loaders needed


📋 Workflow

File Description
Workflow/ERNIE-AIO-Upscale.json Standard ComfyUI workflow with upscaler

✅ A ready-to-use ComfyUI workflow is included in the Workflow/ folder.
✅ Optional Prompt Enhancer files are included in the prompt-enhancer/ folder.


📸 ERNIE-AIO-Base

The Base version is intended for high-quality, deliberate, and stable generation.

Features: 📖 Strong instruction following • 🖋️ Text rendering • 📐 Structured layouts

Steps: 50  |  CFG: 4.0

ERNIE-AIO-Base preview

Use this version when you want:

  • Stronger refinement and more careful rendering
  • Full non-turbo quality
  • Best results for posters, infographics, and text-heavy layouts

⚡ ERNIE-AIO-Turbo

The Turbo version is a distilled variant for fast generation and quick iteration.

Features: ⚡ 8-step generation • 🎯 High prompt fidelity • 🚀 Quick turnaround

Steps: 8  |  CFG: 1.0

ERNIE-AIO-Turbo preview

Use this version when you want:

  • Fast output for prototyping and iteration
  • Strong visual quality with minimal steps
  • Efficient VRAM usage

🔄 FP8 vs BF16

🟡 FP8 🌟 BF16
Quality ~95% 100%
File Size Smaller Full
Speed Faster Standard
VAE FP32 (stable) FP32 (stable)
Best For Daily use Final renders

Note: The FP8 versions in this repository were quantized by me.
VAE is kept at FP32 in all variants for stable decoding.


⚙️ Common Settings

# ERNIE-AIO-Base
Steps:    50
CFG:      4.0

# ERNIE-AIO-Turbo
Steps:    8
CFG:      1.0

# Placement (both variants)
ComfyUI/models/checkpoints/

# Loader
Standard "Load Checkpoint" node — no extra VAE or text encoder loader needed

Minimal workflow:

  1. Checkpoint Loader
  2. CLIP Text Encode (Prompt)
  3. Empty Latent Image
  4. KSampler
  5. VAE Decode
  6. Save Image

🗂️ Prompt Enhancer

An optional Prompt Enhancer is included in the prompt-enhancer/ folder.

  • Automatically expands short prompts into richer, more descriptive prompts
  • Used by the included workflow
  • Fully optional — works without it too

⚠️ Placement: The Prompt Enhancer files must be placed in:

ComfyUI/models/text_encoders/

Not in a prompt-enhancer/ subfolder — place the files directly into text_encoders/.


💡 Prompting

Natural language works best! These models excel at instruction following and text rendering.

✅ A cinematic movie poster with a bold readable title at the top,
   dramatic lighting, a futuristic skyline in the background,
   and a heroic figure silhouetted against a neon-lit city.

❌ movie poster, city, hero, cinematic, dramatic

ERNIE-Image is especially strong for:

Category Examples
🎬 Posters & Title Cards Movie posters, event flyers, title images
☕ Product Ads Coffee brands, packaging with readable text
📊 Infographics Labeled sections, structured layouts
💬 Comics Speech bubbles, panel compositions
🖥️ UI-style Visuals Interface mockups, app screens
🖼️ Realistic Imagery Portraits, environments, product shots

For best results, describe:

  • Subject & environment
  • Composition & layout
  • Mood & lighting
  • Camera framing
  • Any text that should appear in the image

📥 Downloads

ERNIE-AIO Checkpoints

Model Precision CivitAI
ERNIE-AIO-Turbo 🌟 BF16 Download
ERNIE-AIO-Turbo 🟡 FP8 Download
📸 ERNIE-AIO-Base 🌟 BF16 Download
📸 ERNIE-AIO-Base 🟡 FP8 Download

All files are also available directly on this HuggingFace page.


📁 Files

├── ERNIE-AIO-Base-bf16.safetensors        # 📸 Base  — BF16
├── ERNIE-AIO-Base-fp8.safetensors         # 📸 Base  — FP8
├── ERNIE-AIO-Turbo-bf16.safetensors       # ⚡ Turbo — BF16
├── ERNIE-AIO-Turbo-fp8.safetensors        # ⚡ Turbo — FP8
│
├── Workflow/
│   └── ERNIE-AIO-Upscale.json             # 🚀 ComfyUI workflow with upscaler
│
├── prompt-enhancer/                        # 🗂️ Optional Prompt Enhancer files
│
└── images/
    ├── ernie-aio-base.png                  # 📸 Base preview image
    └── ernie-aio-turbo.png                 # ⚡ Turbo preview image

🙏 Credits

Original Model: Baidu ERNIE-Image Team • Single-Stream DiT • Apache 2.0

AIO Conversion & FP8 Quantization: SeeSee21

Official Sources:

Resource Link
ERNIE-Image (HuggingFace) baidu/ERNIE-Image
ERNIE-Image-Turbo (HuggingFace) baidu/ERNIE-Image-Turbo
GitHub baidu/ERNIE-Image

Download → Load Checkpoint → Generate! 🚀

Place in checkpoints/, load with "Load Checkpoint", and generate in seconds!

Downloads last month
61
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support