Manga Generation via Layout-controllable Diffusion

Siyu Chen, Dengjie Li, Zenghao Bao, Yao Zhou, Lingfeng Tan, Yujie Zhong, Zheng ZhaoarXiv 2024 · DOI

Abstract

Generating multi-panel manga pages from text remains a complex challenge due to the requirements of sophisticated layouts, specific reading orders, and character consistency across panels. Researchers from Meituan Inc. introduce MangaDiffusion, a novel framework that leverages an "inter-panel" transformer architecture and a newly curated dataset, Manga109Story, to generate entire manga pages in a single pass. By treating panels as a batch that communicates through specialized blocks, the model learns to respect global layout and narrative flow.

Introduction

While large-scale text-to-image models have achieved remarkable success in generating single images, "story generation"—the creation of sequential, coherent visual narratives—remains difficult. Manga (Japanese comics) exacerbates this difficulty. A single page is not merely a collection of images; it is a carefully orchestrated arrangement of panels with varying shapes and sizes that guide the reader's eye.

Existing models often struggle to maintain character consistency across multiple frames or fail to produce professional-looking layouts. Furthermore, the lack of high-quality datasets mapping detailed scripts to multi-panel compositions has hindered progress. MangaDiffusion addresses these gaps by introducing a layout-controllable diffusion model and a specialized dataset for training.

Comparison between traditional step-by-step story generation and the proposed one-step manga generation.

Methodology

The MangaDiffusion framework employs a two-stage pipeline to transform a raw story into a complete manga page.

The MangaDiffusion inference pipeline: from user story input to final multi-panel page synthesis.

1. LLM Planning

A Large Language Model (LLM) acts as the "director," taking a user-provided story and decomposing it into $K$ distinct scripts. Each script corresponds to a specific panel on the page, detailing the action, characters, and dialogue.

2. MangaDiffusion Architecture

The core model is built on a Diffusion Transformer (DiT) backbone, enhanced with two types of blocks:

  • Intra-panel Blocks: These process visual content within individual panels, conditioned on the panel-specific script.
  • Inter-panel Blocks: These facilitate information flow between panels. By processing all panels simultaneously, the model learns the global layout and maintains character appearance across the page.

3. Training and Synthesis Strategies

To handle varied panel counts, the authors use an "EMPTY" padding trick, allowing the model to process up to 8 panels. During training, a Local Mask Strategy is used to hide speech bubbles, preventing the model from generating illegible text and forcing it to focus on the artwork. At inference, the generated panels are combined into a final page using a pixel-wise minimum operation, which effectively layers the panels into a cohesive layout.

The Manga109Story Dataset

A key contribution of this work is the creation of Manga109Story, a dataset specifically designed for text-to-layout manga generation. Derived from the Manga109 repository, the dataset includes approximately 21,142 pages from 109 professional manga volumes. The authors enhanced this data by using GPT-4o and existing annotations to generate plot-relevant captions for every panel and a summary for every page. This provides the high-quality "text-to-layout" pairs necessary for training models to understand professional comic composition.

Results

MangaDiffusion was evaluated against state-of-the-art models including FLUX, SD3, and Midjourney.

  • Quantitative Performance: On the Manga109Story test set, MangaDiffusion achieved an FID of 143.5, outperforming SD3.5-Large (197.8) and a fine-tuned Pixart-Σ (149.1).
  • Qualitative Quality: Unlike general-purpose models that often produce rigid grids, MangaDiffusion generates varied, professional layouts that respect the requested panel count and maintain superior character consistency.

Conclusion and Future Work

MangaDiffusion represents a significant step toward automated manga creation. By integrating layout control into the diffusion process, it moves beyond single-image generation toward coherent visual storytelling. However, challenges remain. Maintaining perfect character consistency across long sequences is still difficult, and the scale of available high-quality manga data is limited by copyright constraints. Future research will focus on better integration of readable stylized text and scaling the dataset to further improve visual fidelity.

Summary updated

BibTeX
@misc{chen2024manga,
  author = {Siyu Chen and Dengjie Li and Zenghao Bao and Yao Zhou and Lingfeng Tan and Yujie Zhong and Zheng Zhao},
  title = {{Manga Generation via Layout-controllable Diffusion}},
  year = {2024},
  eprint = {2412.19303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.19303},
}
Figure