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

- Xet hash:
- 676126c4e8056784d0e8658bda311ebe1d599128726138b81fd7c001f0e2072a
- Size of remote file:
- 3.42 MB
- SHA256:
- 0517c97c947f8226f0f39b4ca2ac61b058e52faa59ec5085668062d0162dd21e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.