Instructions to use superdiff/superdiff-sd-v1-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use superdiff/superdiff-sd-v1-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("superdiff/superdiff-sd-v1-4", 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
Download model_index.json from superdiff/superdiff-sd-v1-4: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/superdiff/superdiff-sd-v1-4/resolve/9bbbe21b196702c43d45f64cd157c3f5aa42e240/model_index.json
- Command line
-
hf download hf://superdiff/superdiff-sd-v1-4@9bbbe21b196702c43d45f64cd157c3f5aa42e240/model_index.json
-
curl -L -o model_index.json https://huggingface.co/superdiff/superdiff-sd-v1-4/resolve/9bbbe21b196702c43d45f64cd157c3f5aa42e240/model_index.json
384 Bytes
| { | |
| "_class_name": "SuperDiffPipeline", | |
| "_diffusers_version": "0.31.0", | |
| "scheduler": [ | |
| "diffusers", | |
| "EulerDiscreteScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } | |