Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
diffusers-training
Instructions to use mhbkb/base_diffusion_models_nightshade300_visualwrong with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mhbkb/base_diffusion_models_nightshade300_visualwrong with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mhbkb/base_diffusion_models_nightshade300_visualwrong", 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 mhbkb/base_diffusion_models_nightshade300_visualwrong: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/mhbkb/base_diffusion_models_nightshade300_visualwrong/resolve/main/model_index.json
- Command line
-
hf download hf://mhbkb/base_diffusion_models_nightshade300_visualwrong/model_index.json
-
curl -L -o model_index.json https://huggingface.co/mhbkb/base_diffusion_models_nightshade300_visualwrong/resolve/main/model_index.json
641 Bytes
| { | |
| "_class_name": "StableDiffusionPipeline", | |
| "_diffusers_version": "0.31.0.dev0", | |
| "_name_or_path": "stabilityai/stable-diffusion-2", | |
| "feature_extractor": [ | |
| "transformers", | |
| "CLIPImageProcessor" | |
| ], | |
| "image_encoder": [ | |
| null, | |
| null | |
| ], | |
| "requires_safety_checker": false, | |
| "safety_checker": [ | |
| null, | |
| null | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "DDIMScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } | |