Text-to-Image
Diffusers
ONNX
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use TheyCallMeHex/Ghibli-Diffusion-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TheyCallMeHex/Ghibli-Diffusion-ONNX with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TheyCallMeHex/Ghibli-Diffusion-ONNX", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,677 Bytes
cc1876f 98d7114 cc1876f 98d7114 cc1876f 98d7114 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ---
language:
- en
license: creativeml-openrail-m
tags:
- stable-diffusion
- stable-diffusion-diffusers
- text-to-image
- diffusers
inference: true
---
<p align="center" width="100%">
<img width="80%" src="Assets/OnnxStack - 640x320.png">
</p>
### OnnxStack
This model has been converted to ONNX and tested with OnnxStack
- [OnnxStack](https://github.com/saddam213/OnnxStack)
### Ghibli Diffusion
This model was converted to ONNX from Ghibli Diffusion
- [Ghibli-Diffusion](https://huggingface.co/nitrosocke/Ghibli-Diffusion)
### Sample Images
*A ghibli style peaceful countryside scene*
| LMS Scheduler | Euler Scheduler | Euler Ancestral Scheduler | DDPM Scheduler | DDIM Scheduler | KDPM2 Scheduler
| :--- | :--- | :--- | :--- | :--- | :--- |
<img src="Assets/ghibli_lms_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/ghibli_euler_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/ghibli_eulerancestral_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/ghibli_ddpm_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/ghibli_ddim_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/ghibli_kdpm2_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> |
Seed: 207582124 GuidanceScale: 7.5 NumInferenceSteps: 30
__________________________
### Ghibli Diffusion Tokens
The tokens for Ghibli Diffusion are:
- ghibli style |