Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ollm/opencomic-ai-models/llms.txt

Use this file to discover all available pages before exploring further.

opencomic-ai-models uses a dual-licensing structure: the JavaScript/TypeScript source code is released under the permissive MIT License, while the OpenComic AI model weight files are covered by the Creative Commons Attribution 4.0 International License (CC BY 4.0). If you use, distribute, or build on this package, the license that applies depends on which component you are working with.

Source Code — MIT License

The TypeScript source, build configuration, and all JavaScript output files in this repository are licensed under the MIT License, copyright © 2025 Oleguer Llopart Mora. The MIT License is a permissive open-source license. You are free to use, copy, modify, merge, publish, distribute, sublicense, and sell the software, provided the original copyright notice and permission notice are included in all copies or substantial portions of the software. The MIT License applies to:
  • index.mts and the compiled outputs dist/index.mjs, dist/index.cjs, dist/index.d.ts
  • Build scripts and configuration files (rollup.config.*, tsconfig.json, etc.)

Model Weights — CC BY 4.0

The OpenComic AI model weight files (the .bin and .param files inside the models/ directory that were trained by Oleguer Llopart Mora) are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Under CC BY 4.0 you are free to:
  • Share — copy and redistribute the model weights in any medium or format.
  • Adapt — remix, transform, and build upon the weights.
  • Use commercially — there is no non-commercial restriction.
The one requirement is attribution: you must give appropriate credit, provide a link to the license, and indicate if changes were made. Recommended attribution format:
OpenComic AI by Oleguer Llopart Mora (CC BY 4.0)
https://creativecommons.org/licenses/by/4.0/
When redistributing model weights — for example, bundling them in a release, a Docker image, or another npm package — you must include the LICENSE_MODELS file from this repository (or equivalent attribution information) in your package, repository, or release notes.

Third-party model credits

In addition to the original OpenComic AI weights, the models/ directory bundles several third-party model families. Each has its own upstream source and license. The CC BY 4.0 terms above apply only to the OpenComic AI–branded weights; third-party models are governed by their own respective licenses.
Always check the license of any specific third-party model before redistribution or commercial use — the terms may differ from CC BY 4.0. Links to each upstream source are provided below.
Model familyOriginal authorUpstream source
Real-CUGANbilibili/ailabgithub.com/bilibili/ailab
Real-ESRGANxinntaogithub.com/xinntao/Real-ESRGAN
Waifu2xnagadomigithub.com/nagadomi/waifu2x
Upscaylupscaylgithub.com/upscayl/upscayl
Additional community models included in the bundle (such as those sourced from OpenModelDB, NMKD.de, Hugging Face, and Phhofm/models) are likewise subject to their own individual licenses as documented in the README.

Build docs developers (and LLMs) love