Instructions to use kandinsky-community/kandinsky-2-2-decoder-inpaint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinsky-community/kandinsky-2-2-decoder-inpaint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinsky-community/kandinsky-2-2-decoder-inpaint", 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
- Draw Things
- DiffusionBee
Adding `safetensors` variant of this model
#7 opened over 2 years ago
by
pencaharlangit
does the image_embeds in the diffusers inpaint pipeline come from the prior?
#6 opened over 2 years ago
by
Winne
Minimum mask size and shape
#5 opened over 2 years ago
by
rtb1271
Adding `safetensors` variant of this model
#4 opened almost 3 years ago
by
patrickvonplaten