Text-to-Image
Diffusers
StableDiffusionControlNetPipeline
stable-diffusion
stable-diffusion-diffusers
controlnet
Instructions to use krea/aesthetic-controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use krea/aesthetic-controlnet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("krea/aesthetic-controlnet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download model_index.json from krea/aesthetic-controlnet: direct link, hf CLI and curl.
- Browser
- Download file 617 Bytes
-
https://huggingface.co/krea/aesthetic-controlnet/resolve/main/model_index.json
- Command line
-
hf download hf://krea/aesthetic-controlnet/model_index.json
-
curl -L -o model_index.json https://huggingface.co/krea/aesthetic-controlnet/resolve/main/model_index.json
617 Bytes
| { | |
| "_class_name": "StableDiffusionControlNetPipeline", | |
| "_diffusers_version": "0.15.0.dev0", | |
| "controlnet": [ | |
| "diffusers", | |
| "ControlNetModel" | |
| ], | |
| "feature_extractor": [ | |
| "transformers", | |
| "CLIPFeatureExtractor" | |
| ], | |
| "requires_safety_checker": false, | |
| "safety_checker": [ | |
| null, | |
| null | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "PNDMScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } | |