Instructions to use alimama-creative/slam-dreamshaper7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alimama-creative/slam-dreamshaper7 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("alimama-creative/slam-dreamshaper7", 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 alimama-creative/slam-dreamshaper7: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/alimama-creative/slam-dreamshaper7/resolve/7abee0a84cd8dfc338d02a5fd8b932de8eec0eac/model_index.json
- Command line
-
hf download hf://alimama-creative/slam-dreamshaper7@7abee0a84cd8dfc338d02a5fd8b932de8eec0eac/model_index.json
-
curl -L -o model_index.json https://huggingface.co/alimama-creative/slam-dreamshaper7/resolve/7abee0a84cd8dfc338d02a5fd8b932de8eec0eac/model_index.json
621 Bytes
| { | |
| "_class_name": "StableDiffusionPipeline", | |
| "_diffusers_version": "0.24.0", | |
| "_name_or_path": "dreamshaper-7_0", | |
| "feature_extractor": [ | |
| "transformers", | |
| "CLIPFeatureExtractor" | |
| ], | |
| "image_encoder": [ | |
| null, | |
| null | |
| ], | |
| "requires_safety_checker": true, | |
| "safety_checker": [ | |
| null, | |
| null | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "LCMScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } | |