DramaFlow: A State-Driven Multi-Agent Pipeline for Industrial Short-Drama Video Production

Dong Xie, Jiaosai Li, Zhilan Yang, Jingkang Wang, Yuyao Kong, Haochen Zhao, Chen Zhu, Jian Peng, Liwei Qian, Xin PeiarXiv 2026

TL;DR

AI video generators can make impressive individual clips, but stitching them into a coherent short drama usually fails because characters' outfits, positions, and camera angles drift from shot to shot. DramaFlow solves this by treating video generation as a state-driven production loop rather than a prompt-writing exercise. By tracking an explicit "production state" across specialized AI agents and validating risky transitions before spending GPU time, it produces release-ready 60-second episodes in 30 minutes for about $10.

What Problem Does This Paper Address?

Industrial short-drama production is turning to AI to slash shooting cycles and costs. However, a watchable episode is not just a playlist of pretty clips—it requires strict continuity. Characters must wear the same clothes, props must stay in the right hands, and the camera must respect spatial geometry (no sudden 180-degree axis crossings or teleporting actors).

In conventional "prompt-to-clip" workflows, all of this context is crammed implicitly into text prompts. Because video generators are stochastic and forgetful, things inevitably drift. Worse, you only discover these continuity errors after paying for expensive GPU generation, trapping creators in a costly cycle of manual repairs and repeated regenerations.

Figure 1: Conventional prompt-to-clip generation versus DramaFlow. Top: prompt-to-clip workflows leave state im- plicit in prompts and rely on expensive post-generation review and repeated manual regeneration. Bottom: Dra- maFlow maintains an explicit production state across spe- cialist agents, applies pre-generation risk gating and genera- tor routing before video generation, and writes evaluated clip states back into production memory and rules.

Methods

DramaFlow replaces the linear prompt-to-clip pipeline with a state-driven multi-agent loop. Instead of hoping a prompt remembers what happened three shots ago, the system maintains an explicit, validated production state—tracking the last accepted video frame alongside structured metadata (character identities, costumes, props, blocking, and camera history).

A Director Agent orchestrates four specialist agents:

  • Memory Agent: Maintains a two-tier memory. Long-term memory stores cross-episode invariants (cast, world settings) and updates only at act boundaries. Short-term memory updates after every shot, recording what the generated clip actually displayed rather than what the prompt asked for.
  • Script Agent: Uses ScripterModel (a fine-tuned Qwen3.6-27B model optimized with GRPO) to split raw scripts into storyboard groups at natural narrative boundaries and expand them into eight structured shot fields (camera angle, movement, blocking, dialogue, etc.).
  • Image Agent: Renders the current state into visual references—portraits, costumes, scenes, and standing layouts. These standing layouts form an autoregressive visual chain that anchors where actors stand, preventing spatial jumps.
  • Video Agent: Acts as a deterministic execution tool, translating upstream decisions into the chosen video generator's prompt format and injecting the right visual references.

Crucially, before any video is generated, the Director runs a Pre-Generation Risk Gate. It checks for continuity conflicts, weak references, or model mismatches. Risky shots are automatically rerouted—via prompt rewrites, reference repairs, or escalation to a stronger video generator—before a single cent of GPU compute is spent.

Figure 2: Overall DramaFlow framework. Given a drama script and current shared production state, the director agent dispatches per-shot actions to four specialist agents; a pre-generation risk gate validates each action before video execution, a post-generation evaluation scores each clip, and observed outcomes update the state to the next step until the episode is assembled.

Datasets

  • Training: 6,600 script-to-storyboard pairs reverse-engineered from reviewer-approved production videos, complete with reasoning-chain traces for multi-character blocking.
  • Evaluation: A main benchmark of 10 anonymized short-drama acts (170 shots total) stratified from real production scripts, covering two-person dialogue, multi-character confrontations, action, and monologues. An expanded ablation set of 100 held-out acts (excluded from ScripterModel training) was also used.

Key Insights and Ideas

  • Update state from reality, not intention: Video models don't always obey prompts. By updating short-term memory based on what the rendered clip actually shows (using VLM judges and human review), DramaFlow stops errors from compounding across shots.
  • Validate before you render: Moving quality control upstream via the Pre-Generation Risk Gate catches continuity breaks cheaply, avoiding the post-generation regeneration trap.
  • Visual anchors beat text descriptions: Describing where three actors are standing in a room using text is brittle. Generating explicit, autoregressive "standing-layout" images gives video models concrete spatial anchors to frame from.

Key Results

  • Production Readiness: Under blinded review by three professional drama crew auditors (with substantial inter-rater agreement, Fleiss' $\kappa = 0.79$), DramaFlow achieved a 100% Good Rate (semantically sound, usable) and a 40% Perfect Rate (ready for release with zero manual intervention).
  • Baseline Comparison: DramaFlow outperformed external commercial and research baselines (including Xiaoyunque, Seko, Magic AI, and NamiStory) on cross-shot continuity and physical plausibility, while matching or exceeding them on asset consistency.
  • Speed & Cost: The deployed architecture is dimensioned for up to 10,000 episodes per day. A standard 60-second video takes 30 minutes end-to-end and costs roughly US$10.

Limitations and Future Work

The authors note that their pilot evaluation prioritized professional continuity auditors—who strictly penalize axis crossings and wardrobe drift—over casual viewers. Evaluating broader viewer-preference heterogeneity is left for staged platform rollouts.

Summary updated

BibTeX
@misc{xie2026dramaflow,
  author = {Dong Xie and Jiaosai Li and Zhilan Yang and Jingkang Wang and Yuyao Kong and Haochen Zhao and Chen Zhu and Jian Peng and Liwei Qian and Xin Pei},
  title = {{DramaFlow: A State-Driven Multi-Agent Pipeline for Industrial Short-Drama Video Production}},
  year = {2026},
  eprint = {2612.00084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00084},
}
Figure