Retrieval Augmented Comic Image Generation

Yunhao Shui, Xuekuan Wang, Feng Qiu, Yuqiu Huang, Jinzhu Li, Haoyu Zheng, Jinru Han, Zhuo Zeng, Pengpeng Zhang, Jiarui Han, Keqiang SunarXiv 2025 · DOI

Introduction

Creating coherent multi-panel comics using text-to-image (T2I) models presents two significant challenges: maintaining character and costume consistency across scenes and generating diverse, expressive gestures. Standard models often suffer from "character drift," where physical traits shift between panels, and "identity blending," where features of multiple subjects merge in complex scenes. Furthermore, T2I models frequently produce static or biomechanically implausible poses for intricate interactions.

The RaCig Framework

To address these issues, the authors propose RaCig, a novel framework that combines retrieval-based drafting with regional feature injection. The pipeline consists of three primary stages:

  1. Retrieval-Based Image Drafting: Instead of generating a layout from scratch, the system retrieves a reference image from a curated database (MSDB) that matches the requested action. This provides a "spatial blueprint" for the pose and composition.
  2. Action-aware Character Assignment: Using a modified Grounding-DINO backbone, the system maps character names from the prompt to specific figures in the retrieved reference image, ensuring correct spatial placement.
  3. Harmonious Multi-Subject Injection (HMSI): To prevent identity blending, RaCig disentangles character features into Face (via IP-Adapter-Plus-Face) and Body (via IP-Adapter-Plus). The injection process is performed independently for each character using spatial masks, allowing the model to focus on one identity at a time within the latent space.

Built upon Stable Diffusion XL (SDXL), the system utilizes ControlNet to enforce the skeleton and pose derived from the retrieved draft.

Multi-Subject Diversity Benchmark (MSDB)

A critical component of RaCig is the MSDB, a dataset of over 110,000 high-quality human action images covering 1,800 unique verb-subject pairs. To eliminate physical bias during retrieval, the authors used GPT-4o to generate "symbolic captions" (e.g., "Character 1 is hugging Character 2"). This ensures the system finds the best action match regardless of the source image's specific character appearances.

Results and Qualitative Analysis

The framework demonstrates exceptional narrative coherence. In a sequence featuring characters "Emma" and "Brandt," the system maintains identical clothing and recognizable facial features across diverse scenarios, from quiet conversations to high-energy actions.

Figure 3: Emma and Brandt interacting in a bar setting, demonstrating multi-subject consistency.

RaCig particularly excels at complex interactions that typically cause standard T2I models to fail. By leveraging retrieved poses, the system avoids "hallucinated" limbs and ensures biomechanical plausibility in dynamic scenes.

Figure 4: A dynamic action sequence showing Emma kicking Brandt, illustrating the model's ability to handle complex gestures and maintain identity.

Conclusion and Future Work

RaCig effectively solves the problem of character drift and stiff posing in AI-generated comics through symbolic retrieval and regional identity injection. While the system shows great promise for narrative consistency, future work will focus on improving background stability across panels and reducing the computational overhead associated with multi-pass regional injection.

Summary updated

BibTeX
@misc{shui2025retrieval,
  author = {Yunhao Shui and Xuekuan Wang and Feng Qiu and Yuqiu Huang and Jinzhu Li and Haoyu Zheng and Jinru Han and Zhuo Zeng and Pengpeng Zhang and Jiarui Han and Keqiang Sun},
  title = {{Retrieval Augmented Comic Image Generation}},
  year = {2025},
  eprint = {2506.12517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.12517},
}
Figure