← 开源
TencentARC

ToonComposer

[ICLR 2026] Streamlining Cartoon Production with Generative Post-Keyframing

ModelsVision modelsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
591
Star
63
Fork
+0
本周
1
贡献者
创建于 2025-08-12 · 更新于 2026-10-14 · 今日第 16434 名
主要开发者
lg-li

TencentARC/ToonComposer 排名第 16,434,有 591 个星标。

同类别比较

TencentARC/ToonComposer 排名第 16,434,此处有 8 个同类条目;IDKiro/DehazeFormer 排名第 16,431。

同类别比较
名称排名指标
yoxu515/aot-benchmark16,395
语言:
Python
星标数:
595
分叉数:
101
简介:
An efficient modular implementation of Associating Objects with Transformers for Video Object Segmentation in PyTorch
allenai/specter16,410
语言:
Python
星标数:
593
分叉数:
58
简介:
SPECTER: Document-level Representation Learning using Citation-informed Transformers
JDAI-CV/DCL16,417
语言:
Python
星标数:
592
分叉数:
156
简介:
Destruction and Construction Learning for Fine-grained Image Recognition
IDKiro/DehazeFormer16,431
语言:
Python
星标数:
591
分叉数:
65
简介:
Vision Transformers for Single Image Dehazing
fe1ixxu/ALMA16,438
语言:
Ruby
星标数:
591
分叉数:
44
简介:
State-of-the-art LLM-based translation models.
wzzheng/OccWorld16,447
语言:
Python
星标数:
591
分叉数:
44
简介:
[ECCV 2024] 3D World Model for Autonomous Driving
microsoft/CSWin-Transformer16,476
语言:
Python
星标数:
589
分叉数:
81
简介:
CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped, CVPR 2022
Shawn-IEITSystems/Yuan-1.016,485
语言:
Python
星标数:
588
分叉数:
109
简介:
Yuan 1.0 Large pretrained LM
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Vision models
关键词Image production, Video production
星标数591
分叉数63
贡献者1
创建日期2025-08-12
更新日期2026-10-14
1 天星标数0
7 天星标数0
排名16,434
上次排名16,225
排名变化-209
7 天星标排名15,528
上次 7 天星标排名11,294
7 天星标排名变化-4,234
总星标排名16,968
上次总星标排名16,942
总星标排名变化-26
国家China
README 摘录

ToonComposer ToonComposer: Streamlining Cartoon Production with Generative Post-Keyframing Lingen Li, Guangzhi Wang, Zhaoyang Zhang, Yaowei Li, Xiaoyu Li, Qi Dou, Jinwei Gu, Tianfan Xue, Ying Shan 👀 TL;DR Traditional cartoon/anime production is time-consuming, requiring skilled artists for keyframing, inbetweening, and colorization. ToonComposer streamlines this with generative AI, turning hours of manual work of inbetweening and colorization into a single, seamless process. Visit our project page and read our paper for more details. ✏️ Updates [08/18/2025] Online

gradio demo is now available on Hugging Face Space. [08/15/2025] ToonComposer model weights are available here. ⚠️ Unauthorized Site Notice The website is NOT hosted, authorized, or endorsed by the ToonComposer team. This site has replicated content from our open-source project without our permission or notification, and we are unaware of the operators’ identity or intentions. ⚙️ Configuration 1) Clone the repository 2) Set up the Python environment Create a conda environment and install dependencies from requirements. **Note: ToonComposer

requires specific versions for gradio==5. ** For Linux users, we recommend installing . 3) Run the app The app will check your local cache and download required weights if missing (see Weights section below). By default, the Gradio interface launches on port 7860. If you run on a remote server, replace with your server IP or hostname. Generating a 480p video with 61 frames requires ~57GB of VRAM. If you don't have sufficient GPU resources, we recommend trying our 🤗 Hugging Face

Spaces demo instead. 💾 Weights and Checkpoints ToonComposer relies on two sets of weights: **Wan2. 1 I2V 14B 480P (foundation model)**: **ToonComposer weights**: The app resolves weights in this order: If you provide local directories via CLI flags or environment variables (see below), they are used first. Otherwise, it checks your local Hugging Face cache (no network). If still not found, it downloads from the Hugging Face Hub. 1 is very large, the app avoids re-downloading if it exists in

your cache. Provide local directories (optional) Environment variables: : path to local Wan2. 1 model directory : path to local ToonComposer directory that contains and/or subdirectories. : HF access token if required for gated downloads (optional) CLI flags (override env vars): Notes: The ToonComposer HF repo organizes weights by resolution: and . The app automatically loads the correct and from the selected resolution directory. The app checks the HF cache first ( ) and only downloads if missing. Set the text prompt, number of output

frames, and resolution. Provide at least one keyframe color image (usually placed at frame index 0). Add one or more keyframe sketches at selected frames. You can optionally draw black brush regions as motion masks to allow free motion in those areas. Adjust CFG scale and position-aware residual scale as needed. The bottom right panel shows status and the generated video. A set of sample inputs is also provided in the gallery. Limitations As a generative model, outputs may

vary. Try changing seed, steps, CFG scale, pos-aware residual scale, or sketch/mask inputs for different results. 📑 Citation If

常见问题

记录了多少星标和分叉?

TencentARC/ToonComposer 有 591 个星标和 63 个分叉。

仓库排名是多少?

TencentARC/ToonComposer 排名第 16,434。

记录的语言和类别是什么?

TencentARC/ToonComposer 有 591 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

TencentARC/ToonComposer 与 IDKiro/DehazeFormer 比较,后者排名第 16,431,有 591 个星标。

README

ToonComposer

ToonComposer: Streamlining Cartoon Production with Generative Post-Keyframing

Lingen Li, Guangzhi Wang, Zhaoyang Zhang, Yaowei Li, Xiaoyu Li, Qi Dou, Jinwei Gu, Tianfan Xue, Ying Shan

   

👀 TL;DR

Traditional cartoon/anime production is time-consuming, requiring skilled artists for keyframing, inbetweening, and colorization. ToonComposer streamlines this with generative AI, turning hours of manual work of inbetweening and colorization into a single, seamless process. Visit our project page and read our paper for more details.

✏️ Updates

[08/18/2025] Online gradio demo is now available on Hugging Face Space.

[08/15/2025] ToonComposer model weights are available here.

⚠️ Unauthorized Site Notice

The website https://tooncomposer.com is NOT hosted, authorized, or endorsed by the ToonComposer team. This site has replicated content from our open-source project without our permission or notification, and we are unaware of the operators’ identity or intentions.

⚙️ Configuration

1) Clone the repository

git clone https://github.com/TencentARC/ToonComposer
cd ToonComposer

2) Set up the Python environment

Create a conda environment and install dependencies from requirements.txt.

conda create -n tooncomposer python=3.10 -y
conda activate tooncomposer
pip install -r requirements.txt

Note: ToonComposer requires specific versions for gradio==5.25.2.

For Linux users, we recommend installing flash_attn.

pip install flash-attn==2.8.2 --no-build-isolation

3) Run the app

The app will check your local cache and download required weights if missing (see Weights section below). By default, the Gradio interface launches on port 7860.

python app.py

Open your browser at http://localhost:7860.

If you run on a remote server, replace localhost with your server IP or hostname.

Generating a 480p video with 61 frames requires ~57GB of VRAM. If you don't have sufficient GPU resources, we recommend trying our 🤗 Hugging Face Spaces demo instead.

💾 Weights and Checkpoints

ToonComposer relies on two sets of weights:

  • Wan2.1 I2V 14B 480P (foundation model): Wan-AI/Wan2.1-I2V-14B-480P
  • ToonComposer weights: TencentARC/ToonComposer

The app resolves weights in this order:

  • If you provide local directories via CLI flags or environment variables (see below), they are used first.
  • Otherwise, it checks your local Hugging Face cache (no network).
  • If still not found, it downloads from the Hugging Face Hub.

Because Wan2.1 is very large, the app avoids re-downloading if it exists in your cache.

Provide local directories (optional)

  • Environment variables:
    • WAN21_I2V_DIR: path to local Wan2.1 model directory
    • TOONCOMPOSER_DIR: path to local ToonComposer directory that contains 480p/ and/or 608p/ subdirectories. Each subdir should include tooncomposer.ckpt and config.json.
    • HF_TOKEN: HF access token if required for gated downloads (optional)
export WAN21_I2V_DIR=/abs/path/to/Wan2.1-I2V-14B-480P
export TOONCOMPOSER_DIR=/abs/path/to/TencentARC-ToonComposer
export HF_TOKEN=hf_xxx  # optional
python app.py
  • CLI flags (override env vars):
python app.py \
  --wan_model_dir /abs/path/to/Wan2.1-I2V-14B-480P \
  --tooncomposer_dir /abs/path/to/TencentARC-ToonComposer \
  --hf_token hf_xxx \
  --resolution 480p \
  --device cuda:0

Notes:

  • The ToonComposer HF repo organizes weights by resolution: 480p/ and 608p/. The app automatically loads the correct config.json and tooncomposer.ckpt from the selected resolution directory.
  • The app checks the HF cache first (local_files_only=True) and only downloads if missing.

📖 Usage Guide

Launch options

python app.py --help
  • --resolution: 480p or 608p (default: 480p)
  • --device: e.g., cuda:0, cpu (default: cuda:0)
  • --wan_model_dir: local Wan2.1 directory (optional)
  • --tooncomposer_dir: local ToonComposer directory with 480p/608p (optional)

In Gradio UI

  1. Set the text prompt, number of output frames, and resolution.
  2. Provide at least one keyframe color image (usually placed at frame index 0).
  3. Add one or more keyframe sketches at selected frames. You can optionally draw black brush regions as motion masks to allow free motion in those areas.
  4. Adjust CFG scale and position-aware residual scale as needed.
  5. Click Generate to create the video.

The bottom right panel shows status and the generated video. A set of sample inputs is also provided in the gallery.

Limitations

As a generative model, outputs may vary. Try changing seed, steps, CFG scale, pos-aware residual scale, or sketch/mask inputs for different results.

📑 Citation

If you find ToonComposer useful, please consider citing:

@article{li2025tooncomposer,
  title={ToonComposer: Streamlining Cartoon Production with Generative Post-Keyframing},
  author={Li, Lingen and Wang, Guangzhi and Zhang, Zhaoyang and Li, Yaowei and Li, Xiaoyu and Dou, Qi and Gu, Jinwei and Xue, Tianfan and Shan, Ying},
  journal={arXiv preprint arXiv:2508.10881},
  year={2025}
}

📃 License

See the LICENSE file for details.

排名相邻
同类项目