Image generationApache-2.0Python

Kolors

Kuaishou’s photorealistic text-to-image model with strong Chinese text understanding.

Stars
4.6K
Forks
357
Open issues
146
Last commit
2024-11-13

Live from the GitHub API · updated 2026-11-30

What is Kolors?

Kolors is a latent diffusion text-to-image model trained on billions of image-text pairs, using a ChatGLM text encoder for strong Chinese and English prompt understanding. It also has IP-Adapter, ControlNet and inpainting variants.

Key features

  • Bilingual (Chinese/English) prompts
  • Photorealistic output
  • IP-Adapter, ControlNet and inpainting models
  • Diffusers and ComfyUI support

System requirements

Platforms
Linux · Windows
GPU
NVIDIA
VRAM
~16 GB+ (less with offloading)

How to install Kolors

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

Diffusers

  1. 1
    Install Diffusers.
    pip install -U diffusers transformers accelerate
  2. 2
    Generate an image.
    from diffusers import KolorsPipeline
    import torch
    pipe = KolorsPipeline.from_pretrained("Kwai-Kolors/Kolors-diffusers", torch_dtype=torch.float16, variant="fp16").to("cuda")
    pipe("一只可爱的小猫").images[0].save("kolors.png")

Strengths

  • Excellent Chinese prompt handling

Limitations

  • Model weights have their own usage license

Kolors alternatives compared

SoftwareStarsLicensePlatformsVRAM
Kolors

Kuaishou’s photorealistic text-to-image model with strong Chinese text understanding.

4.6KApache-2.0~16 GB+ (less with offloading)
FLUX (reference code)

Official inference code for Black Forest Labs’ FLUX models.

26.1KApache-2.016–24 GB for full precision; less with quantized variants elsewhere
Stability AI Generative Models

Stability AI’s reference code for SDXL and Stable Video Diffusion.

27.3KMIT16 GB+ (more for video)
Diffusers

Hugging Face’s Python library for diffusion models.

35KApache-2.0—
ComfyUI

Node-based interface for diffusion models — images, video and audio.

149.3KGPL-3.04 GB minimum for SD1.5; 12 GB+ recommended for FLUX and video models
Stable Diffusion WebUI (AUTOMATIC1111)

The classic browser UI for Stable Diffusion with a massive extension ecosystem.

165.4KAGPL-3.04 GB minimum (with --medvram/--lowvram), 8 GB+ recommended

FAQ

Is Kolors free?

Yes — Kolors is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.

Does Kolors run on Windows, Mac and Linux?

Kolors supports: Linux, Windows.

What hardware do I need for Kolors?

NVIDIA. VRAM: ~16 GB+ (less with offloading)

How do I install Kolors?

1. Install Diffusers. 2. Generate an image.

What are the best Kolors alternatives?

Popular alternatives include FLUX (reference code), Stability AI Generative Models, Diffusers, ComfyUI. See the comparison table on this page.

Can I use Kolors online without installing it?

If you just want results, AiLoft runs top image models such as GPT Image 2.5 and Nano Banana Pro in the browser — no GPU or setup required.

Skip the install — generate images in your browser

No GPU, drivers or Python needed. Use GPT Image 2.5 and Nano Banana Pro online and compare them side by side.