One-Prompt-One-Story: Free-Lunch Consistent Text-to-Image Generation Using a Single Prompt
Tao Liu, Kai Wang, Senmao Li, Joost van de Weijer, Fahad Shahbaz Khan, Shiqi Yang, Yaxing Wang, Jian Yang, Ming-Ming Cheng
TL;DR
This work addresses maintaining subject identity across frames in text-to-image storytelling without model finetuning. It introduces One-Prompt-One-Story (1Prompt1Story), which concatenates identity and frame prompts into a single input (Prompt Consolidation) and augments generation with Naive Prompt Reweighting, Singular-Value Reweighting (SVR), and Identity-Preserving Cross-Attention (IPCA) to preserve identity and improve frame-level alignment. Evaluations on the ConsiStory+ benchmark show that 1Prompt1Story outperforms training-free baselines and matches or nears training-based methods in prompt alignment while surpassing them in identity consistency, aided by SVR and IPCA. The approach is compatible with multiple diffusion models, supports long stories via a sliding window, and can integrate with control-based methods to extend practical storytelling and animation applications.
Abstract
Text-to-image generation models can create high-quality images from input prompts. However, they struggle to support the consistent generation of identity-preserving requirements for storytelling. Existing approaches to this problem typically require extensive training in large datasets or additional modifications to the original model architectures. This limits their applicability across different domains and diverse diffusion model configurations. In this paper, we first observe the inherent capability of language models, coined context consistency, to comprehend identity through context with a single prompt. Drawing inspiration from the inherent context consistency, we propose a novel training-free method for consistent text-to-image (T2I) generation, termed "One-Prompt-One-Story" (1Prompt1Story). Our approach 1Prompt1Story concatenates all prompts into a single input for T2I diffusion models, initially preserving character identities. We then refine the generation process using two novel techniques: Singular-Value Reweighting and Identity-Preserving Cross-Attention, ensuring better alignment with the input description for each frame. In our experiments, we compare our method against various existing consistent T2I generation approaches to demonstrate its effectiveness through quantitative metrics and qualitative assessments. Code is available at https://github.com/byliutao/1Prompt1Story.
