Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Kwai-Kolors
/
CoTyle

Text-to-Image
Diffusers
Safetensors
QwenImagePipeline
art
Model card Files Files and versions
xet
Community
1

Instructions to use Kwai-Kolors/CoTyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Kwai-Kolors/CoTyle with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Kwai-Kolors/CoTyle", 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
CoTyle / text_encoder
15.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
liuhuijie6410's picture
liuhuijie6410
Upload folder using huggingface_hub
5bbe167 verified 7 months ago
  • config.json
    3.22 kB
    Upload folder using huggingface_hub 7 months ago
  • generation_config.json
    244 Bytes
    Upload folder using huggingface_hub 7 months ago
  • model-00001-of-00004.safetensors
    4.97 GB
    xet
    Upload folder using huggingface_hub 7 months ago
  • model-00002-of-00004.safetensors
    4.99 GB
    xet
    Upload folder using huggingface_hub 7 months ago
  • model-00003-of-00004.safetensors
    4.93 GB
    xet
    Upload folder using huggingface_hub 7 months ago
  • model-00004-of-00004.safetensors
    602 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • model.safetensors.index.json
    57.6 kB
    Upload folder using huggingface_hub 7 months ago