---
title: Diffutoon-2
canonical_url: "https://www.modelscope.cn/models/DiffSynth-Studio/Diffutoon-2"
md_url: "https://www.modelscope.cn/models/DiffSynth-Studio/Diffutoon-2.md"
repository: DiffSynth-Studio/Diffutoon-2
last_updated: 2026-11-26
license: "Apache License 2.0"
base_model_relation: finetune
parameters: 12.2B
tensor_type:
  - BF16
library_name:
  - safetensors
downloads: 24
stars: 0
tags:
  - Diffutoon-2
  - MiniMax-H3
  - ControlNet
  - anime
  - "video stylization"
---

# Diffutoon-2

> Diffutoon-2 - DiffSynth-Studio 在 ModelScope 开源的模型。Diffutoon-2 transforms real-world videos into anime-style cartoons, building upon MiniMax-H3.

DiffSynth-Studio/Diffutoon-2 是 ModelScope 魔搭社区上的 12.2B 参数机器学习模型，采用 Apache License 2.0 许可。

- **Repository**: DiffSynth-Studio/Diffutoon-2
- **License**: Apache License 2.0
- **Parameters**: 12.2B
- **Tags**: Diffutoon-2, MiniMax-H3, ControlNet, anime, video stylization
- **Downloads**: 24
- **Stars**: 0
- **Last updated**: 2026-11-26

Source: https://www.modelscope.cn/models/DiffSynth-Studio/Diffutoon-2

---

# Diffutoon-2

[![GitHub](https://img.shields.io/badge/GitHub-%23121011.svg?logo=github&logoColor=white)](https://github.com/modelscope/DiffSynth-Studio) [![Model](https://img.shields.io/badge/Model-8A2BE2.svg?logo=modelscope&logoColor=white)](https://modelscope.cn/models/DiffSynth-Studio/Diffutoon-2) [![arXiv](https://img.shields.io/badge/arXiv-Paper-b31b1b.svg?logo=arxiv&logoColor=white)](http://arxiv.org/abs/2611.30945)

<video src="assets/cover.mp4" controls autoplay muted loop playsinline width="100%"></video>

## Introduction

**Diffutoon-2** transforms real-world videos into anime-style cartoons, building upon [MiniMax-H3](https://modelscope.cn/models/MiniMax/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

<table width="100%">
<tr><th width="50%">Input</th><th width="50%">Output</th></tr>
<tr>
<td width="50%" valign="top"><video src="./assets/demo_people/cat-girl/input.mp4" controls style="width:100%;max-width:100%;"></video></td>
<td width="50%" valign="top"><video src="./assets/demo_people/cat-girl/output.mp4" controls style="width:100%;max-width:100%;"></video></td>
</tr>
<tr>
<td width="50%" valign="top"><video src="./assets/demo_people/stroller/input.mp4" controls style="width:100%;max-width:100%;"></video></td>
<td width="50%" valign="top"><video src="./assets/demo_people/stroller/output.mp4" controls style="width:100%;max-width:100%;"></video></td>
</tr>
</table>

### Animals

<table width="100%">
<tr><th width="50%">Input</th><th width="50%">Output</th></tr>
<tr>
<td width="50%" valign="top"><video src="./assets/demo_animals/koala/input.mp4" controls style="width:100%;max-width:100%;"></video></td>
<td width="50%" valign="top"><video src="./assets/demo_animals/koala/output.mp4" controls style="width:100%;max-width:100%;"></video></td>
</tr>
<tr>
<td width="50%" valign="top"><video src="./assets/demo_animals/libby/input.mp4" controls style="width:100%;max-width:100%;"></video></td>
<td width="50%" valign="top"><video src="./assets/demo_animals/libby/output.mp4" controls style="width:100%;max-width:100%;"></video></td>
</tr>
</table>

## 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](https://github.com/modelscope/DiffSynth-Studio) from a branch or pull request that includes Diffutoon-2 support:

```shell
git clone https://github.com/modelscope/DiffSynth-Studio.git
cd DiffSynth-Studio
pip install -e .
```

Run the official example:

```shell
python examples/minimax_h3/model_inference/MiniMax-H3-Diffutoon-2.py
```

For environments with limited VRAM, run:

```shell
python examples/minimax_h3/model_inference_low_vram/MiniMax-H3-Diffutoon-2.py
```
