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
Model not found, downloading...
it doesnt does not give the link to the image generator and instead keep coming bank to
(omnigen) C:\Users\flick\Desktop\OmniGen>.
I checked and have all the files and model in the right folder. help!
C:\Users\flick\Desktop\OmniGen>conda activate omnigen
(omnigen) C:\Users\flick\Desktop\OmniGen>python app.py
Model not found, downloading...
Fetching 10 files: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 10/10 [00:00<?, ?it/s]
Downloaded model to C:\Users\flick.cache\huggingface\hub\models--Shitao--OmniGen-v1\snapshots\58e249c7c7634423c0ba41c34a774af79aa87889
Loading safetensors
(omnigen) C:\Users\flick\Desktop\OmniGen>
hello Did you solve this? I am facing the same problem


