Skip to content

Commit 6729944

Browse files
committed
add docs
1 parent 5d9d266 commit 6729944

4 files changed

Lines changed: 37 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ API and command-line option may change frequently.***
5757
- [Z-Image](./docs/z_image.md)
5858
- [Ovis-Image](./docs/ovis_image.md)
5959
- [Anima](./docs/anima.md)
60+
- [ERNIE-Image](./docs/ernie_image.md)
6061
- Image Edit Models
6162
- [FLUX.1-Kontext-dev](./docs/kontext.md)
6263
- [Qwen Image Edit series](./docs/qwen_image_edit.md)
@@ -144,6 +145,7 @@ If you want to improve performance or reduce VRAM/RAM usage, please refer to [pe
144145
- [🔥Z-Image](./docs/z_image.md)
145146
- [Ovis-Image](./docs/ovis_image.md)
146147
- [Anima](./docs/anima.md)
148+
- [ERNIE-Image](./docs/ernie_image.md)
147149
- [LoRA](./docs/lora.md)
148150
- [LCM/LCM-LoRA](./docs/lcm.md)
149151
- [Using PhotoMaker to personalize image generation](./docs/photo_maker.md)

assets/ernie_image/example.png

595 KB
Loading
562 KB
Loading

docs/ernie_image.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# How to Use
2+
3+
You can run ERNIE-Image with stable-diffusion.cpp on GPUs with 4GB of VRAM — or even less.
4+
5+
## Download weights
6+
7+
- Download ERNIE-Image-Turbo
8+
- safetensors: https://huggingface.co/Comfy-Org/ERNIE-Image/tree/main/diffusion_models
9+
- gguf: https://huggingface.co/unsloth/ERNIE-Image-Turbo-GGUF/tree/main
10+
- Download ERNIE-Image
11+
- safetensors: https://huggingface.co/Comfy-Org/ERNIE-Image/tree/main/diffusion_models
12+
- gguf: https://huggingface.co/unsloth/ERNIE-Image-GGUF/tree/main
13+
- Download vae
14+
- safetensors: https://huggingface.co/Comfy-Org/ERNIE-Image/tree/main/vae
15+
- Download ministral 3b
16+
- safetensors: https://huggingface.co/Comfy-Org/ERNIE-Image/tree/main/text_encoders
17+
- gguf: https://huggingface.co/unsloth/Ministral-3-3B-Instruct-2512-GGUF/tree/main
18+
19+
## Examples
20+
21+
### ERNIE-Image-Turbo
22+
23+
```
24+
.\bin\Release\sd-cli.exe --diffusion-model ..\..\ComfyUI\models\diffusion_models\ernie-image-turbo.safetensors --vae ..\..\ComfyUI\models\vae\flux2_ae.safetensors --llm ..\..\ComfyUI\models\text_encoders\ministral-3-3b.safetensors -p "a lovely cat" --cfg-scale 1.0 --steps 8 -v --offload-to-cpu --diffusion-fa
25+
```
26+
27+
<img width="256" alt="ERNIE-Image Turbo example" src="../assets/ernie_image/turbo_example.png" />
28+
29+
### ERNIE-Image
30+
31+
```
32+
.\bin\Release\sd-cli.exe --diffusion-model ..\..\ComfyUI\models\diffusion_models\ernie-image-UD-Q4_K_M.gguf --vae ..\..\ComfyUI\models\vae\flux2_ae.safetensors --llm ..\..\ComfyUI\models\text_encoders\ministral-3-3b.safetensors -p "a lovely cat" --cfg-scale 5.0 -v --offload-to-cpu --diffusion-fa
33+
```
34+
35+
<img width="256" alt="ERNIE-Image example" src="../assets/ernie_image/example.png" />

0 commit comments

Comments
 (0)