logo
0
0
WeChat Login
Sebastian Böhnke<SeeSee21@users.noreply.huggingface.co>
Update README.md

🖼️ ERNIE AIO for ComfyUI

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

License ComfyUI



📦 Models

ModelStyleFP8BF16Best For
📸 ERNIE-AIO-BaseRealistic / StructuredHigh-quality, refined output
ERNIE-AIO-TurboRealistic / StructuredFast iteration, 8-step generation

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


📋 Workflow

FileDescription
Workflow/ERNIE-AIO-Upscale.jsonStandard 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 SizeSmallerFull
SpeedFasterStandard
VAEFP32 (stable)FP32 (stable)
Best ForDaily useFinal 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:

CategoryExamples
🎬 Posters & Title CardsMovie posters, event flyers, title images
☕ Product AdsCoffee brands, packaging with readable text
📊 InfographicsLabeled sections, structured layouts
💬 ComicsSpeech bubbles, panel compositions
🖥️ UI-style VisualsInterface mockups, app screens
🖼️ Realistic ImageryPortraits, 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

ModelPrecisionCivitAI
ERNIE-AIO-Turbo🌟 BF16Download
ERNIE-AIO-Turbo🟡 FP8Download
📸 ERNIE-AIO-Base🌟 BF16Download
📸 ERNIE-AIO-Base🟡 FP8Download

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:

ResourceLink
ERNIE-Image (HuggingFace)baidu/ERNIE-Image
ERNIE-Image-Turbo (HuggingFace)baidu/ERNIE-Image-Turbo
GitHubbaidu/ERNIE-Image

Download → Load Checkpoint → Generate! 🚀

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