Kuaishou's open-weight text-to-image diffusion model pairing a 2.6B UNet backbone with a bilingual LLM text encoder, excelling at complex Chinese-English prompt comprehension, Chinese character rendering, and photorealistic aesthetics.
What you can do
- Chinese long-prompt photorealistic art
- Chinese calligraphy and poster design
- E-commerce marketing visual creation
Input & output
- Input
- Chinese or English descriptive text prompts detailing scenes, aesthetics, and text signage
- Output
- High-resolution photorealistic or artistic images (e.g., 1024×1024)
Try a prompt like this
雨后初晴的江南青石板古街,街角木质灯笼上清晰写着“听雨轩”三个书法汉字,暖黄灯光映照积水倒影,电影级写实摄影质感,景深自然。
Things to know
Pairs a 2.6B UNet with a ChatGLM3-6B text encoder requiring ~16GB–19GB VRAM in FP16 (fits a single 24GB GPU, or 8GB–10GB with quantized text encoder); Apache 2.0 open weights with commercial registration terms per official repo.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/images/generations- Model repo ID
Kwai-Kolors/Kolors
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
result = client.images.generate(
model="Kwai-Kolors/Kolors",
prompt="雨后初晴的江南青石板古街,街角木质灯笼上清晰写着“听雨轩”三个书法汉字,暖黄灯光映照积水倒影,电影级写实摄影质感,景深自然。",
size="1024x1024",
)
print(result.data[0].url)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide