> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ERNIE-Image ComfyUI 워크플로 예시

> ERNIE-Image는 정밀한 텍스트 렌더링, 강력한 지시사항 준수 및 내장된 프롬프트 향상기 기능을 갖춘 Baidu의 오픈소스 8B 디퓨전 트랜스포머 텍스트 기반 이미지 생성 모델입니다.

**ERNIE-Image**는 Baidu가 개발한 오픈소스 텍스트 기반 이미지 생성 모델로, Apache-2.0 라이선스를 적용했습니다. **8B** 파라미터 디퓨전 트랜스포머(DiT)를 기반으로 하며, 정밀한 텍스트 렌더링과 강력한 지시사항 준수, 구조화된 시각적 생성을 통해 고품질 이미지를 제공합니다.

이 모델에는 짧은 입력을 더 풍부한 프롬프트로 확장해 더 나은 결과를 얻도록 해주는 내장된 **프롬프트 향상기**(3B)가 포함되어 있습니다.

**모델 주요 특징**:

* **정밀한 텍스트 렌더링** — 영어, 중국어 등 다양한 언어에서 밀도 높고 레이아웃에 민감한 텍스트 표현
* **강력한 지시사항 준수** — 복잡한 프롬프트, 다중 객체 관계, 지식 집약적 설명 처리 가능
* **구조화된 시각적 생성** — 포스터, 만화/애니메이션 스토리보드, 다중 패널 구성
* **광범위한 스타일리즘** — 사실적인 사진부터 영화 같은 미학까지
* **콤팩트하고 배포 가능한** — 8B 파라미터, 24GB VRAM에서 실행 가능
* **내장된 프롬프트 향상기** — 짧은 입력을 더 풍부한 프롬프트로 확장하는 3B 모델

**관련 링크**:

* [Hugging Face (ERNIE-Image)](https://huggingface.co/Baidu/ERNIE-Image)
* [Hugging Face (ComfyUI 지원)](https://huggingface.co/Comfy-Org/ERNIE-Image)

## ERNIE-Image 텍스트 기반 이미지 생성 워크플로

<Card title="워크플로 다운로드" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_ernie_image.json">
  ERNIE-Image 텍스트 기반 이미지 생성 워크플로 JSON 파일을 다운로드하세요.
</Card>

<Card title="Comfy Cloud에서 실행" icon="cloud" href="https://cloud.comfy.org/?template=image_ernie_image&utm_source=docs">
  이 워크플로를 Comfy Cloud에서 바로 실행하세요.
</Card>

<Tip>
  <Tabs>
    <Tab title="로컬 사용자">
      ComfyUI가 최신 버전으로 업데이트되었는지 확인하세요.

      * [ComfyUI 다운로드](https://www.comfy.org/download)
      * [업데이트 가이드](/ko/installation/update_comfyui)

      이 가이드의 워크플로우는 [워크플로우 템플릿](/ko/interface/features/template)에서 확인할 수 있습니다.
      템플릿에서 찾을 수 없다면, 귀하의 ComfyUI가 오래된 버전일 수 있습니다.

      워크플로우를 로드할 때 노드가 누락되는 경우, 가능한 원인:

      1. 최신 ComfyUI 버전(야간 빌드)을 사용하고 있지 않음
      2. 일부 노드가 시작 시 가져오기에 실패함
    </Tab>

    <Tab title="클라우드 사용자">
      * [클라우드](https://cloud.comfy.org)는 ComfyUI 안정판 출시 후 업데이트됩니다.

      따라서 이 문서에서 핵심 노드가 누락된 것을 발견했다면, 그 이유는 새로운 핵심 노드가 아직 최신 안정판에 공개되지 않았기 때문일 수 있습니다. 다음 안정판 출시를 기다려 주세요.
    </Tab>
  </Tabs>
</Tip>

### 시작하기

1. ComfyUI를 최신 버전으로 업데이트하거나 [Comfy Cloud](https://cloud.comfy.org/?template=image_ernie_image\&utm_source=docs)를 사용하세요
2. **템플릿**으로 이동하여 **ERNIE-Image**를 검색하세요
3. **ERNIE-Image** 워크플로를 선택하세요
4. 누락된 모델을 다운로드하고, 프롬프트를 업데이트한 후 **실행**을 클릭하세요

### ERNIE-Image 모델 다운로드

모든 재포장된 모델 파일은 Hugging Face의 [Comfy-Org/ERNIE-Image](https://huggingface.co/Comfy-Org/ERNIE-Image)에서 확인할 수 있습니다.

<Card title="ernie-image.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/diffusion_models/ernie-image.safetensors">
  ERNIE-Image용 디퓨전 모델입니다.
</Card>

<Card title="ministral-3-3b.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ministral-3-3b.safetensors">
  ERNIE-Image용 텍스트 인코더입니다.
</Card>

<Card title="ernie-image-prompt-enhancer.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ernie-image-prompt-enhancer.safetensors">
  ERNIE-Image용 프롬프트 향상기 텍스트 인코더입니다.
</Card>

<Card title="flux2-vae.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/vae/flux2-vae.safetensors">
  ERNIE-Image용 VAE입니다.
</Card>

**모델 저장 위치**

```
📂 ComfyUI/
├── 📂 models/
│   ├── 📂 diffusion_models/
│   │   └── ernie-image.safetensors
│   ├── 📂 text_encoders/
│   │   ├── ministral-3-3b.safetensors
│   │   └── ernie-image-prompt-enhancer.safetensors
│   └── 📂 vae/
│       └── flux2-vae.safetensors
```

## ERNIE-Image-Turbo

[ERNIE-Image-Turbo](https://huggingface.co/Baidu/ERNIE-Image-Turbo)는 DMD와 RL로 최적화된 더 빠른 변형으로, 표준 모델이 약 50단계를 필요로 하는 것과 달리 단 **8단계**만으로 이미지를 생성합니다.

<Card title="워크플로 다운로드" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_ernie_image_turbo.json">
  ERNIE-Image-Turbo 텍스트 기반 이미지 생성 워크플로 JSON 파일을 다운로드하세요.
</Card>

<Card title="Comfy Cloud에서 실행" icon="cloud" href="https://cloud.comfy.org/?template=image_ernie_image_turbo&utm_source=docs">
  이 워크플로를 Comfy Cloud에서 바로 실행하세요.
</Card>

### ERNIE-Image-Turbo 모델 다운로드

<Card title="ernie-image-turbo.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/diffusion_models/ernie-image-turbo.safetensors">
  ERNIE-Image-Turbo용 diffusion 모델입니다.
</Card>

<Card title="ministral-3-3b.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ministral-3-3b.safetensors">
  ERNIE-Image-Turbo용 텍스트 인코더입니다.
</Card>

<Card title="ernie-image-prompt-enhancer.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ernie-image-prompt-enhancer.safetensors">
  ERNIE-Image-Turbo용 프롬프트 향상기 텍스트 인코더입니다.
</Card>

<Card title="flux2-vae.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/vae/flux2-vae.safetensors">
  ERNIE-Image-Turbo용 VAE입니다.
</Card>

**모델 저장 위치**

```
📂 ComfyUI/
├── 📂 models/
│   ├── 📂 diffusion_models/
│   │   └── ernie-image-turbo.safetensors
│   ├── 📂 text_encoders/
│   │   ├── ministral-3-3b.safetensors
│   │   └── ernie-image-prompt-enhancer.safetensors
│   └── 📂 vae/
│       └── flux2-vae.safetensors
```

## 이용 가능한 모델

| 모델                | 설명                             | 추론 단계 | 링크                                                             |
| ----------------- | ------------------------------ | ----- | -------------------------------------------------------------- |
| ERNIE-Image       | 메인 SFT 모델 — 더 뛰어난 품질과 지시 충실도   | \~50  | [Hugging Face](https://huggingface.co/Baidu/ERNIE-Image)       |
| ERNIE-Image-Turbo | DMD 및 RL로 최적화된 터보 모델 — 더 빠른 생성 | 8     | [Hugging Face](https://huggingface.co/Baidu/ERNIE-Image-Turbo) |

## 예제

### 텍스트 렌더링 및 디자인 레이아웃

![커피 제조 과정 인포그래픽](https://substack-post-media.s3.amazonaws.com/public/images/1cc1c3e6-e556-45b4-b6a9-205e5610d022_1360x768.png)

<Accordion title="프롬프트">
  ```text theme={null}
  Educational comic book style infographic showing the coffee making process. The background has a light beige vintage paper texture. At the top center of the image is a bold brown title that reads 'The Coffee Making Process', with a smaller English subtitle 'How Coffee is Made' below. The main part consists of six step blocks connected by brown dotted arrows, arranged in two rows up and down, forming a Z-shaped visual guide.

  The first step in the upper left corner illustrates a coffee tree full of ripe red coffee cherries, with a cut coffee cherry next to it showing the beans inside, labeled 'Step 1: Harvesting Cherries' below the block.
  The second step in the upper middle shows wooden fermentation boxes filled with coffee beans, labeled 'Step 2: Pulping and Fermentation'.
  The third step in the upper right depicts coffee beans being dried under the sun on bamboo mats, labeled 'Step 3: Sun Drying'.
  The fourth step in the lower left shows a vintage metal roasting machine with coffee beans rolling inside and steam rising, labeled 'Step 4: Roasting'.
  The fifth step in the lower middle features a stone grinder pouring out smooth coffee grounds, labeled 'Step 5: Grinding'.
  The sixth step in the lower right shows a production line where coffee liquid is being poured into molds, with finished packaged coffee beside it, labeled 'Step 6: Brewing and Forming'.

  The four corners of the image are decorated with hand-drawn coffee leaves and coffee beans. The overall color palette consists of warm brown, caramel, cream, deep red and olive green, with delicate lines and clear layout.
  ```
</Accordion>

![일본 우키요에 스타일 언어 플래시 카드](https://substack-post-media.s3.amazonaws.com/public/images/913c7f5e-f1fe-4f19-b811-ad777ed430b7_768x1360.png)

<Accordion title="프롬프트">
  ```text theme={null}
  Vertical rectangular language learning flashcard in traditional Japanese Ukiyo-e woodblock style. Whole card framed by dark blue traditional Seigaiha wave borders, with aged beige rough washi paper texture background.

  Upper two-thirds: Ukiyo-e illustration. A graceful spotted sika deer stands calmly in the center, with delicate black outlines and traditional flat coloring. Background: classic Japanese scenery — snow-capped Mount Fuji in distance, stylized layered clouds, falling pink cherry blossom petals. A red square antique seal with the Chinese character '鹿' in seal script at the lower right. Color scheme: indigo, vermilion, moss green, beige, with woodblock color misalignment and vintage charm.

  Lower one-third: centered text area. Top: small hiragana しか; large Japanese kanji 鹿; below it romaji shika; then English "Deer". Bottom: bilingual example — Japanese: 鹿が桜の花を見ている。English: The deer is looking at the cherry blossoms. All black text with slight brush calligraphy texture, matching Ukiyo-e antique style.
  ```
</Accordion>

![분할 화면 컨셉 포스터](https://substack-post-media.s3.amazonaws.com/public/images/c814eef7-7df4-4f66-8889-e8325fe79dba_768x1360.png)

<Accordion title="프롬프트">
  ```text theme={null}
  Split-screen conceptual poster with vertical split composition, left half representing the present and future featuring a solid stone analog clock dial with bright red hands and red scale markings, set against a deeply cracked, dry, parched earth texture in muted cool gray tones, embodying slow, static structural decay and temporal erosion, right half representing the past that is violently disintegrating, dissolving and exploding into chaotic dust, debris, flying stone shards and swirling cosmic nebula energy with a deep blood red and black color palette, the circular clock frame itself is half solid weathered stone and half crumbling into particles merging the two worlds, with the red clock hands fully positioned on the left present/future side of the dial, embodying the concept of time, past vs future, slow decay vs violent collapse, hyper-realistic 3D render with cinematic dramatic lighting, high contrast, sharp details on the left side, motion blur and dynamic particle effects on the right side, photorealistic textures of cracked earth and floating dust, atmospheric haze, futuristic graphic design with minimalist red vertical UI elements and custom technical text overlays in the corners, bold red stylized title text "ETERNAL DAWN" in the top right corner, small red technical metadata text "SPECDARY BOTHUNG" directly below the main title in the top right, dense lines of small red technical data blocks including "TIMESTAMP: 00:00:00", "COLLAPSE RATE: 99.8%", "TEMPORAL ANOMALY DETECTED", "PAST DIMENSION: DECAYING" in the bottom right corner with a red horizontal accent bar and footer text "FOR DECAY OF THE EONS" below, small red header text "TEMPORAL SHIFT PROTOCOL" with vertical red accent line running down the left edge in the top left, vertical red accent line with small red technical text annotations including "PRESENT: STABLE", "FUTURE: UNFOLDING" along it in the bottom left, red text "WARNING: TEMPORAL DISINTEGRATION" curving around the center clock dial perimeter, small red footer text "PAST FADES, FUTURE RISES" spanning the split at the bottom center, shot in the style of a high-end sci-fi movie poster, 8K ultra-high resolution, photorealistic, cinematic composition, dramatic depth, moody and intense atmosphere, detailed particle simulation, photorealistic material rendering.
  ```
</Accordion>

### 시네마틱 및 스타일화된 미학

![도시의 밤 거리 풍경](https://substack-post-media.s3.amazonaws.com/public/images/d4f27467-4d1f-4f6d-8c15-ebc92983c29d_1360x768.png)

<Accordion title="프롬프트">
  ```text theme={null}
  First-person vertical real-world urban night photo. Narrow, wet, busy city street with strong depth; towering buildings on both sides with fire escapes, pipes, AC units, warm window lights. Red vertical "HOTEL" neon on left, bright blue "BAR" sign and yellow "OPEN 24 HOURS" box on right. Distant huge digital billboard glowing cyan "NEON CITY". Rough wet asphalt reflects neon lights; vintage yellow taxi with "TAXI" sign drives down center, red taillights on. Two pedestrians in dark coats with black umbrellas walk away on right sidewalk. Giant needle-like steel TV tower peeks through building gaps at end, red aircraft warning light glowing. Cinematic volumetric light, misty air, cool cyan-blue vs warm orange-red contrast, immersive and realistic.
  ```
</Accordion>

![에디토리얼 패션 사진](https://substack-post-media.s3.amazonaws.com/public/images/3044c459-db9a-453c-88f8-32470fa2ecf9_1360x768.png)

<Accordion title="프롬프트">
  ```text theme={null}
  Full-body editorial fashion shot, elegant European woman aged 28-30 with soft natural blonde hair styled in a loose low bun, wearing a tailored soft cream ribbed knit long-sleeve maxi dress with a fitted waist and flowing floor-length skirt, minimalist nude leather mules and delicate gold jewelry, standing leaning against an ornate carved stone balustrade on a gravel terrace in the garden of a grand Lake Como villa, tall iconic Italian cypress trees framing the background, calm still Lake Como water stretching out to hazy misty Alpine mountains in the distance, overcast soft diffused natural light, muted warm earthy color palette, quiet luxury aesthetic, hyper-realistic editorial fashion photography, natural skin texture with subtle pores, soft bokeh foreground foliage, shallow depth of field, shot on a medium format camera with an 85mm f/1.4 lens, sharp focus on the subject, fine film grain, muted contrast, timeless sophisticated mood, shot by Lachlan Bailey in the style of Vogue editorial, 8K ultra-high resolution, photorealistic, cinematic composition following the rule of thirds, golden hour overcast lighting, atmospheric haze, refined Italian villa garden details.
  ```
</Accordion>

![커피를 든 오리의 3D 일러스트레이션](https://substack-post-media.s3.amazonaws.com/public/images/01abb65b-6d3e-4b08-a0b2-d0ae539f6516_1024x1024.png)

<Accordion title="프롬프트">
  ```text theme={null}
  A charming, whimsical 3D illustration featuring a fluffy, plush-textured white duck sitting comfortably in a fuzzy coral-pink armchair, holding a bright red mug of steaming black coffee against a solid warm coral-red background; defined by its tactile, huggable fabric-like texture across all elements, a bold, minimalist warm color palette of creamy white, vibrant orange, and rich reds, gentle anthropomorphism that blends cuteness with relatable cozy relaxation, soft diffused lighting, and a subtle film grain that adds a nostalgic, handcrafted feel, creating a playful yet serene mood perfect for themes of calm downtime and morning routines.
  ```
</Accordion>

### 다중 패널 구성

![북미 토착종 인포그래픽](https://substack-post-media.s3.amazonaws.com/public/images/4e9a2968-9f7c-4b2f-92e6-b0fa9a91ede2_1360x768.png)

<Accordion title="프롬프트">
  ```text theme={null}
  Educational comic book infographic. Five vertical panels side by side, earthy color palette, hand-drawn illustration style. Top title: "NORTH AMERICAN NATIVE SPECIES". Style: comic line art, watercolor fills, white panel backgrounds, bold headers.
  Panel 1: Gray squirrel holding an acorn. Header: "EASTERN GRAY SQUIRREL" Fact: "Buries acorns to help forests grow." Arrow → tail: "Bushy tail"

  Panel 2: Robin with orange-red breast on a branch. Header: "AMERICAN ROBIN" Fact: "A sign of spring returning." Arrow → breast: "Orange-red breast"

  Panel 3: Red maple tree with autumn leaves. Header: "RED MAPLE TREE" Fact: "Shelters wildlife year-round." Arrow → leaves: "Red in autumn"

  Panel 4: Deer with white tail raised. Header: "WHITE-TAILED DEER" Fact: "White tail signals danger." Arrow → tail: "Alarm signal"

  Panel 5: Monarch butterfly on a flower. Header: "MONARCH BUTTERFLY" Fact: "Migrates 3,000 miles each year." Arrow → wings: "Warning colors"
  ```
</Accordion>

![6컷 만화 페이지](https://substack-post-media.s3.amazonaws.com/public/images/adc8fe73-f431-4bdd-8578-1a18d717d4d7_1360x768.png)

<Accordion title="프롬프트">
  ```text theme={null}
  A 6-panel comic page, 2 columns × 3 rows, black border between each panel.

  Panel 1 (top-left): wide shot — a young woman in a red coat stands at a rainy train station. Caption box: "She had waited three years for this moment."
  Panel 2 (top-right): close-up on her face — anxious eyes, rain on her cheek. No text.
  Panel 3 (mid-left): medium shot — a train arrives, doors slide open, steam rising. Sound effect text: "WHOOOOSH"
  Panel 4 (mid-right): her point-of-view — a man in a gray jacket steps out, back to camera.
  Panel 5 (bottom-left): extreme close-up — her hand trembling as she reaches forward.
  Panel 6 (bottom-right): wide shot — they face each other under one umbrella. Caption box: "Some arrivals change everything."

  Ink and watercolor style, cool blue-gray palette, expressive line art. Same character design consistent across all 6 panels.
  ```
</Accordion>
