Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kandinsky-community
/
kandinsky-2-1

Text-to-Image
Diffusers
Safetensors
KandinskyPipeline
kandinsky
Model card Files Files and versions
xet
Community
9

Instructions to use kandinsky-community/kandinsky-2-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use kandinsky-community/kandinsky-2-1 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-1", 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
kandinsky-2-1
14.9 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 16 commits
patrickvonplaten's picture
patrickvonplaten
Update README.md
04b3666 over 2 years ago
  • ddpm_scheduler
    Update ddpm_scheduler/scheduler_config.json (#6) almost 3 years ago
  • movq
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • scheduler
    Update scheduler/scheduler_config.json almost 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • tokenizer
    Duplicate from ai-forever/kandinsky-2-1 almost 3 years ago
  • unet
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • .gitattributes
    1.48 kB
    Duplicate from ai-forever/kandinsky-2-1 almost 3 years ago
  • README.md
    6.93 kB
    Update README.md over 2 years ago
  • model_index.json
    385 Bytes
    Update model_index.json almost 3 years ago