Kwai-Kolors / Kolors-diffusers

huggingface.co
Total runs: 9.0K
24-hour runs: 0
7-day runs: 375
30-day runs: 5.2K
Model's Last Updated: July 12 2024
text-to-image

Introduction of Kolors-diffusers

Model Details of Kolors-diffusers

Kolors: Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis

📖 Introduction

Kolors is a large-scale text-to-image generation model based on latent diffusion, developed by the Kuaishou Kolors team. Trained on billions of text-image pairs, Kolors exhibits significant advantages over both open-source and proprietary models in visual quality, complex semantic accuracy, and text rendering for both Chinese and English characters. Furthermore, Kolors supports both Chinese and English inputs, demonstrating strong performance in understanding and generating Chinese-specific content. For more details, please refer to this technical report .

🚀 Quick Start
Using with Diffusers

Make sure you upgrade to the latest version of diffusers==0.30.0.dev0:

git clone https://github.com/huggingface/diffusers
cd diffusers
python3 setup.py install

Notes:

  • The pipeline uses the EulerDiscreteScheduler by default. We recommend using this scheduler with guidance scale=5.0 and num_inference_steps=50 .
  • The pipeline also supports the EDMDPMSolverMultistepScheduler . guidance scale=5.0 and num_inference_steps=25 is a good default for this scheduler.
  • In addition to Text-to-Image, KolorsImg2ImgPipeline also supports Image-to-Image.

And then you can run:

import torch

from diffusers import KolorsPipeline

pipe = KolorsPipeline.from_pretrained(
    "Kwai-Kolors/Kolors-diffusers", 
    torch_dtype=torch.float16, 
    variant="fp16"
).to("cuda")

prompt = '一张瓢虫的照片,微距,变焦,高质量,电影,拿着一个牌子,写着"可图"'

image = pipe(
    prompt=prompt,
    negative_prompt="",
    guidance_scale=5.0,
    num_inference_steps=50,
    generator=torch.Generator(pipe.device).manual_seed(66),
).images[0]
image.show()
📜 License&Citation
License

Kolors are fully open-sourced for academic research. For commercial use, please fill out this questionnaire and sent it to [email protected] for registration.

We open-source Kolors to promote the development of large text-to-image models in collaboration with the open-source community. The code of this project is open-sourced under the Apache-2.0 license. We sincerely urge all developers and users to strictly adhere to the open-source license , avoiding the use of the open-source model, code, and its derivatives for any purposes that may harm the country and society or for any services not evaluated and registered for safety. Note that despite our best efforts to ensure the compliance, accuracy, and safety of the data during training, due to the diversity and combinability of generated content and the probabilistic randomness affecting the model, we cannot guarantee the accuracy and safety of the output content, and the model is susceptible to misleading. This project does not assume any legal responsibility for any data security issues, public opinion risks, or risks and liabilities arising from the model being misled, abused, misused, or improperly utilized due to the use of the open-source model and code.

Citation

If you find our work helpful, please cite it!

@article{kolors,
  title={Kolors: Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis},
  author={Kolors Team},
  journal={arXiv preprint},
  year={2024}
}
Acknowledgments
  • Thanks to Diffusers for providing the codebase.
  • Thanks to ChatGLM3 for providing the powerful Chinese language model.
Contact Us

If you want to leave a message for our R&D team and product team, feel free to join our WeChat group . You can also contact us via email ( [email protected] ).

Runs of Kwai-Kolors Kolors-diffusers on huggingface.co

9.0K
Total runs
0
24-hour runs
-56
3-day runs
375
7-day runs
5.2K
30-day runs

More Information About Kolors-diffusers huggingface.co Model

More Kolors-diffusers license Visit here:

https://choosealicense.com/licenses/apache-2.0

Kolors-diffusers huggingface.co

Kolors-diffusers huggingface.co is an AI model on huggingface.co that provides Kolors-diffusers's model effect (), which can be used instantly with this Kwai-Kolors Kolors-diffusers model. huggingface.co supports a free trial of the Kolors-diffusers model, and also provides paid use of the Kolors-diffusers. Support call Kolors-diffusers model through api, including Node.js, Python, http.

Kwai-Kolors Kolors-diffusers online free

Kolors-diffusers huggingface.co is an online trial and call api platform, which integrates Kolors-diffusers's modeling effects, including api services, and provides a free online trial of Kolors-diffusers, you can try Kolors-diffusers online for free by clicking the link below.

Kwai-Kolors Kolors-diffusers online free url in huggingface.co:

https://huggingface.co/Kwai-Kolors/Kolors-diffusers

Kolors-diffusers install

Kolors-diffusers is an open source model from GitHub that offers a free installation service, and any user can find Kolors-diffusers on GitHub to install. At the same time, huggingface.co provides the effect of Kolors-diffusers install, users can directly use Kolors-diffusers installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Kolors-diffusers install url in huggingface.co:

https://huggingface.co/Kwai-Kolors/Kolors-diffusers

Url of Kolors-diffusers

Kolors-diffusers huggingface.co Url

Provider of Kolors-diffusers huggingface.co

Kwai-Kolors
ORGANIZATIONS

Other API from Kwai-Kolors

huggingface.co

Total runs: 467
Run Growth: 16
Growth Rate: 3.43%
Updated:July 12 2024
huggingface.co

Total runs: 23
Run Growth: 3
Growth Rate: 13.04%
Updated:November 20 2025