Instructions to use ai-forever/kandinsky3-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ai-forever/kandinsky3-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ai-forever/kandinsky3-diffusers", 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
| { | |
| "_class_name": "Kandinsky3Pipeline", | |
| "_diffusers_version": "0.26.2", | |
| "text_encoder":[ | |
| "transformers", | |
| "T5EncoderModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "T5Tokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "Kandinsky3UNet" | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "DDPMScheduler" | |
| ], | |
| "movq": [ | |
| "diffusers", | |
| "VQModel" | |
| ] | |
| } |