Kolors
Kuaishou’s photorealistic text-to-image model with strong Chinese text understanding.
- Star 数
- 4.6K
- Fork 数
- 357
- 未关闭 Issue
- 146
- 最近提交
- 2024-11-13
数据来自 GitHub API · 更新于 2026-11-30
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.
主要功能
- Bilingual (Chinese/English) prompts
- Photorealistic output
- IP-Adapter, ControlNet and inpainting models
- Diffusers and ComfyUI support
系统要求
- 平台
- Linux · Windows
- 显卡
- NVIDIA
- 显存
- ~16 GB+ (less with offloading)
如何安装 Kolors
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
Diffusers
- 1Install Diffusers.
pip install -U diffusers transformers accelerate - 2Generate 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")
优势
- Excellent Chinese prompt handling
不足
- Model weights have their own usage license
Kolors 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| Kolors Kuaishou’s photorealistic text-to-image model with strong Chinese text understanding. | 4.6K | Apache-2.0 | ~16 GB+ (less with offloading) | |
| FLUX (reference code) Official inference code for Black Forest Labs’ FLUX models. | 26.1K | Apache-2.0 | 16–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.3K | MIT | 16 GB+ (more for video) | |
| Diffusers Hugging Face’s Python library for diffusion models. | 35K | Apache-2.0 | — | |
| ComfyUI Node-based interface for diffusion models — images, video and audio. | 149.3K | GPL-3.0 | 4 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.4K | AGPL-3.0 | 4 GB minimum (with --medvram/--lowvram), 8 GB+ recommended |
常见问题
Kolors 免费吗?
是的——Kolors 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。
Kolors 支持 Windows、Mac 和 Linux 吗?
Kolors 支持:Linux, Windows。
运行 Kolors 需要什么配置?
NVIDIA. VRAM: ~16 GB+ (less with offloading)
如何安装 Kolors?
1. Install Diffusers. 2. Generate an image.
Kolors 有哪些好的替代品?
常见替代品包括 FLUX (reference code), Stability AI Generative Models, Diffusers, ComfyUI,详见本页对比表。
可以不安装、在线使用 Kolors 吗?
如果只想要结果,AiLoft 可在浏览器中运行 GPT Image 2.5、Nano Banana Pro 等顶级图像模型,无需显卡和配置。
不想安装?直接在浏览器里生成图片
无需显卡、驱动或 Python。在线使用 GPT Image 2.5 和 Nano Banana Pro,并排对比效果。