Download README.md from ml-resources/Diffutoon-2: direct link, hf CLI and curl.
- Browser
- Download file 4.17 kB
-
https://huggingface.co/ml-resources/Diffutoon-2/resolve/main/README.md
- Command line
-
hf download hf://ml-resources/Diffutoon-2/README.md
-
curl -L -o README.md https://huggingface.co/ml-resources/Diffutoon-2/resolve/main/README.md
license: apache-2.0
tags:
- Diffutoon-2
- MiniMax-H3
- ControlNet
- anime
- video stylization
Mirror of DiffSynth-Studio/Diffutoon-2 from ModelScope. All credit to the original authors (DiffSynth-Studio / ModelScope). Not an official release from them. License unchanged (Apache-2.0); a copy of the license text is included as
LICENSE. All model and asset files are unmodified; only this README's metadata header was adapted for Hugging Face and this note added.
Diffutoon-2
Introduction
Diffutoon-2 transforms real-world videos into anime-style cartoons, building upon MiniMax-H3.
The method employs two ControlNet branches:
- Line-art module: preserves the structural layout and outlines of the source video.
- Color module: transfers color and lighting cues from a Gaussian-blurred copy of the source video.
Together, these branches keep the motion and layout consistent with the input, while the base video model renders the cel-shaded anime appearance. For long clips, inference adopts a sliding-window strategy with a clean latent pin (5 frames / 2 latents), which ensures continuous transitions across window boundaries without relying on FL2VA keyframes.
Showcase
People
| Input | Output |
|---|---|
Animals
| Input | Output |
|---|---|
Model files
| File | Role |
|---|---|
line-art_module.safetensors |
Line-art ControlNet for structural guidance |
color_module.safetensors |
Color ControlNet for Gaussian-blur-based color guidance |
The following components are also required at runtime:
- MiniMax-H3 FL2VA (text encoder, DiT, video/audio VAE, and processor)
- Turbo LoRA:
lightx2v/Minimax-h3-Turbo(minimax_h3_fl2v_turbo_4step_v1.0_768p_bf16.safetensors)
Inference code
Install DiffSynth-Studio from a branch or pull request that includes Diffutoon-2 support:
git clone https://github.com/modelscope/DiffSynth-Studio.git
cd DiffSynth-Studio
pip install -e .
Run the official example:
python examples/minimax_h3/model_inference/MiniMax-H3-Diffutoon-2.py
For environments with limited VRAM, run:
python examples/minimax_h3/model_inference_low_vram/MiniMax-H3-Diffutoon-2.py