Instructions to use HiDream-ai/HiDream-E1-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HiDream-ai/HiDream-E1-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HiDream-ai/HiDream-E1-1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download demo.jpg from HiDream-ai/HiDream-E1-1: direct link, hf CLI and curl.
- Browser
- Download file 835 kB
-
https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/demo.jpg
- Command line
-
hf download hf://HiDream-ai/HiDream-E1-1/demo.jpg
-
curl -L -o demo.jpg https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/demo.jpg
835 kB

- Xet hash:
- 3fa1e8fdae377140b8eccf931d2020faf41cbda0d570bd541e9af8d979557e22
- Size of remote file:
- 835 kB
- SHA256:
- fa8300783679fa551ec540fe8bee0ef17f27447de5ec8f0d23f39ba30fbac741
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.