Abstract
StoryAgent is a novel framework designed to automate the creation of long-duration, multi-modal digital stories from a single sentence. By utilizing a "Story Cluster" of communicative LLM agents, the system decouples high-level narrative drafting from low-level asset generation. This modular approach, combined with an expert-critic agent design and image-based scene understanding, addresses critical challenges in automated storytelling: flexible human intervention, spatial scene interactivity, and long-term narrative consistency. Our results demonstrate that StoryAgent can produce coherent, interactive animations while allowing creators to fine-tune narrative elements without disrupting the overall production flow.
Introduction
Digital storytelling is a powerful medium for entertainment and education, but creating high-quality content is traditionally a slow, manual, and expensive process. While modern generative AI models like DALL-E or Sora can create impressive short clips, they struggle with the complexities of long-form storytelling. Specifically, existing end-to-end models often fail to maintain character consistency across scenes, lack spatial awareness between characters and their backgrounds, and offer limited flexibility for human creators to intervene in the creative process.
To bridge this gap, we introduce StoryAgent, a framework that turns a simple one-line prompt into a full-fledged, multi-modal digital story. By employing a network of communicative LLM agents, StoryAgent mimics a professional production pipeline, ensuring that every narrative and visual element is grounded in a consistent world-building logic.
Methodology: The Story Cluster and Asset Generation
StoryAgent employs a "top-down story drafting and bottom-up asset generation" approach. This separation of concerns allows the system to handle complex narrative structures while maintaining high-fidelity visual and auditory outputs.
The Story Cluster
Using the AutoGen framework, a network of LLM agents (powered by GPT-4) handles tasks like writing story arcs, defining character traits, and scripting screenplays. These agents work in expert-critic pairs. For instance, an "expert" agent generates a screenplay proposal, and a "critic" agent evaluates it against specific constraints—such as character personality or plot logic—forcing revisions until the quality threshold is met. This loop prevents common LLM hallucinations and ensures narrative integrity.
Asset Generation Teams
Once the story is drafted, hybrid teams of LLM agents and specialized generative models translate text descriptions into tangible assets:
- Visuals: Backgrounds are generated using Playground v2.5, while characters are rigged and animated via CC2D.
- Audio: Sound effects and background music are produced using AudioGen and MusicGen, with character voices synthesized through XTTS or the ElevenLabs API.
Key Features of StoryAgent
1. Flexible Intervention
Because the pipeline is text-based and hierarchical, a user can intervene at any level. For example, a creator can instruct the system to "make the dialogue rhyme" or "switch the setting to a futuristic city." Downstream agents automatically adjust their outputs—updating character outfits, background styles, and dialogue—to stay consistent with the new instruction without requiring a full manual overhaul.
2. Scene Interactivity through Perception
In traditional 2D animation, characters often feel "detached" from their backgrounds. StoryAgent solves this by treating generated 2D backgrounds as 3D environments. Using Segformer for semantic segmentation and ZoeDepth for depth estimation, the framework creates a "visuospatial map." This allows agents to script character gestures (like pointing at a specific tree) and camera movements (like zooming in on a house) that feel grounded and intentional.
3. Long-term Consistency
Maintaining the same character appearance and voice across multiple scenes is a significant hurdle for generative models. StoryAgent achieves multi-modal consistency by assigning unique asset IDs to characters and environments. These IDs are reused throughout the production, ensuring that a character’s visual identity and vocal tone remain stable from the first scene to the last.
Key Results and Discussion
Our evaluation through various case studies demonstrates that StoryAgent successfully maintains narrative and visual coherence across complex story arcs. The framework's ability to perform automated cinematography—generating close-ups or wide shots based on narrative importance—significantly reduces the burden on human creators. Furthermore, the modularity of the system allows for a "plug-and-play" approach where individual generative models (e.g., the background generator) can be swapped out as technology improves without rebuilding the entire framework.
Limitations and Future Work
While StoryAgent represents a significant step forward, several challenges remain. The framework currently focuses primarily on what happens in the story; future work will explore more complex discourse structures and narrative pacing. Additionally, while characters can now look and point at objects, we aim to enable more complex physical interactions, such as characters picking up items or moving objects within the 2D scene. Finally, the output quality remains tied to the underlying generative models, and future iterations will look for ways to automatically detect and fix visual artifacts.
Summary updated