Copyright (c) 2025-2026 Code2Collapse
License: MIT (see LICENSE)
This project integrates the following third-party components. Their licenses are reproduced below as required by the respective terms.
- Repository: https://github.com/THUDM/CogView4
- HuggingFace: https://huggingface.co/THUDM/CogView4
- Copyright: Copyright (c) 2024 THUDM / Zhipu AI
- License: Apache License 2.0
https://www.apache.org/licenses/LICENSE-2.0
The glm_native/ modules are original ComfyUI integration wrappers written by
Code2Collapse. They call into the model architecture that ships inside the
diffusers library under the same Apache-2.0 terms.
- Repository: https://github.com/huggingface/diffusers
- Copyright: Copyright (c) 2022-2024 The HuggingFace Team
- License: Apache License 2.0
https://www.apache.org/licenses/LICENSE-2.0
- Repository: https://github.com/huggingface/transformers
- Copyright: Copyright (c) 2018-2024 The HuggingFace Team
- License: Apache License 2.0
https://www.apache.org/licenses/LICENSE-2.0
- Repository: https://github.com/pytorch/pytorch
- Copyright: Copyright (c) 2016-2024 Facebook, Inc. and its affiliates
- License: BSD-style license
https://github.com/pytorch/pytorch/blob/main/LICENSE
- Repository: https://github.com/python-pillow/Pillow
- Copyright: Copyright (c) 1995-2011 Fredrik Lundh and contributors
- License: HPND / MIT-style
https://github.com/python-pillow/Pillow/blob/main/LICENSE
The GLM-Image / CogView4 model weights are distributed by THUDM on Hugging Face under the Apache License 2.0. Users are responsible for reviewing and complying with the model license on Hugging Face before use. Usage of model weights for commercial purposes is subject to the terms at: https://huggingface.co/THUDM/CogView4