DiffSensei: Bridging Multi-Modal LLMs and Diffusion Models for Customized Manga Generation

Jianzong Wu, Chao Tang, Jingbo Wang, Yanhong Zeng, Xiangtai Li, Yunhai Tong

Abstract

Story visualization, the task of creating visual narratives from textual descriptions, has seen progress with text-to-image generation models. However, these models often lack effective control over character appearances and interactions, particularly in multi-character scenes. To address these limitations, we propose a new task: customized manga generation and introduce DiffSensei, an innovative framework specifically designed for generating manga with dynamic multi-character control. DiffSensei integrates a diffusion-based image generator with a multimodal large language model (MLLM) that acts as a text-compatible identity adapter. Our approach employs masked cross-attention to seamlessly incorporate character features, enabling precise layout control without direct pixel transfer. Additionally, the MLLM-based adapter adjusts character features to align with panel-specific text cues, allowing flexible adjustments in character expressions, poses, and actions. We also introduce MangaZero, a large-scale dataset tailored to this task, containing 43,264 manga pages and 427,147 annotated panels, supporting the visualization of varied character interactions and movements across sequential frames. Extensive experiments demonstrate that DiffSensei outperforms existing models, marking a significant advancement in manga generation by enabling text-adaptable character customization. The code, model, and dataset will be open-sourced to the community.

Introduction

Generating a cohesive manga story represents a "boss-level" challenge for artificial intelligence. Unlike single-image generation, manga requires strict identity consistency across dozens of panels, dynamic expressions that react to the narrative, and complex layouts where multiple characters and dialogue bubbles are precisely positioned. Existing story visualization models often suffer from "concept bleeding"—where features of one character leak into another—or produce rigid, unexpressive characters that fail to follow nuanced text prompts.

Overview of DiffSensei's customized manga generation and real-world application.

DiffSensei addresses these challenges by bridging Multimodal Large Language Models (MLLMs) and Diffusion Models. By treating character identity as a semantic concept rather than a set of pixels to be copied, DiffSensei allows characters to maintain their identity while dynamically changing poses and expressions to match the plot.

Methodology

The DiffSensei framework is built upon Stable Diffusion XL (SDXL) and employs a two-stage training process to integrate semantic character features into the image generation pipeline.

MLLM as a Text-Compatible Identity Adapter

The core innovation of DiffSensei is the use of an MLLM (specifically SEED-X) as an identity adapter. Instead of feeding raw character images directly into the diffusion model, the MLLM processes a source character image alongside the panel's text caption. It generates "text-compatible" character features, allowing the model to understand that if a caption describes a character as "shouting," the generated features should reflect that expression while preserving the underlying identity. The authors found that using a specialized manga image encoder, Magi, performed significantly better than generic encoders like CLIP for this task.

Masked Cross-Attention and Layout Control

To manage multiple characters without feature blending, DiffSensei utilizes masked cross-attention. Spatial masks ensure that each character's features only influence their assigned bounding box within the panel layout. Furthermore, the model introduces a trainable embedding for dialogue bubbles, which is added to the noised latent space. This effectively "reserves" space for text bubbles, ensuring the generated artwork does not overlap with planned dialogue areas.

The MangaZero Dataset

To support this research, the authors introduced MangaZero, a large-scale dataset significantly more comprehensive than previous standards like Manga109. It contains 43,264 manga pages and 427,147 annotated panels, including panel-level captions, character bounding boxes, character IDs for cross-page tracking, and dialogue bubble locations.

Results and Evaluation

DiffSensei was evaluated against state-of-the-art baselines, including StoryDiffusion and MS-Diffusion, showing superior performance in both quantitative and qualitative metrics.

Quantitative Performance

DiffSensei achieved superior scores in DINO-C (character consistency) and DINO-I (identity preservation). On the MangaZero evaluation set, it reached an F1 score of 0.727 for layout control, significantly outperforming existing models.

Qualitative and Zero-Shot Capabilities

Human evaluations indicated a strong preference for DiffSensei regarding text-image alignment and overall image quality. A notable strength is its ability to generate complex scenes, such as a man carrying a child up a staircase, while maintaining character features across different angles and actions.

Qualitative results showing complex scene generation with consistent characters.

The model also generalizes well to real-world human photographs, transforming them into consistent manga characters in a zero-shot manner, as demonstrated by turning photos of AI researchers into manga protagonists.

Conclusion

DiffSensei marks a significant step forward in automated manga creation by enabling precise, text-adaptable character customization. While the current framework requires manual bounding box inputs and does not yet generate the text content within dialogue bubbles, it provides a robust foundation for future end-to-end manga generation systems. Future work may involve automating layout generation from scripts and extending the model to support colored webtoon formats.

Summary updated

BibTeX
@inproceedings{wu2025diffsensei,
  author = {Jianzong Wu and Chao Tang and Jingbo Wang and Yanhong Zeng and Xiangtai Li and Yunhai Tong},
  title = {{DiffSensei: Bridging Multi-Modal LLMs and Diffusion Models for Customized Manga Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=mhcMGbxwtY},
}
Figure