Continuum

Continuum

An autonomous AI showrunner for serialized vertical micro-drama that generates episodes with consistent characters and style using a series bible and multi-agent pipeline.

Category
Visit Server

README

Continuum

An autonomous AI showrunner for serialized vertical micro-drama. Give it a premise and a recurring protagonist; it writes the script, storyboards the shots, generates the video with Wan, and edits the cut together, producing episode after episode with the same character, world, and style. The moat is an agent-maintained Series Bible that locks the protagonist's canonical look and injects it into every episode, so continuity holds across episodes rather than drifting shot to shot.

Mei across both episodes of the demo series, generated by Continuum

The same protagonist across two episodes and four very different shots. Cross-episode identity, measured by a Qwen-VL critic, is 0.98 on this series.

Built for the Qwen Cloud Global AI Hackathon, Track 2 (AI Showrunner).

How it works

A small team of agents hands work down a pipeline, orchestrated by the Showrunner:

  1. Showrunner owns the Series Bible, locks the protagonist's appearance, and runs the series.
  2. Writer (Qwen3) writes each episode and its dialogue, with the locked look injected.
  3. Storyboard breaks the script into shots.
  4. Cinematographer renders each shot on Wan (9:16 vertical).
  5. Critic scores continuity and can re-render a shot through an optimizer loop.
  6. Editor concatenates the shots and burns in subtitles with ffmpeg.

The agents are also exposed as MCP tools (backend/mcp/) so a Qwen-Agent can drive the studio.

Stack

  • Brain: Qwen3 (qwen3-max) for scripting and prompt optimization, via the DashScope OpenAI-compatible endpoint.
  • Video: Wan on Qwen Cloud (wan2.6-t2v; image/reference models wired for the next pass).
  • Edit: ffmpeg (concat, subtitle burn-in, 9:16 vertical).
  • Serving: Python + FastAPI with Server-Sent Events for the live-agent view.

Status

Working end to end. A real 2-episode series renders from a single premise, the protagonist stays visually consistent across episodes (a Qwen-VL critic measures the cross-episode identity match, 0.98 on the demo series), and the live control room streams each agent's work as it happens. Tests pass (tests/). Next: routing character-bearing shots to Wan reference-to-video (wan2.6-r2v / wan2.7-i2v), and packaging the Function Compute deployment.

Setup

python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp .env.example .env        # then paste your DASHSCOPE_API_KEY

ffmpeg must be on PATH.

Run

Live control room (premise in, episodes out, streamed agent activity):

PYTHONPATH=. .venv/bin/uvicorn backend.server:app --port 8000
# open http://127.0.0.1:8000

Or from the CLI:

# one episode
PYTHONPATH=. .venv/bin/python -m backend.run_episode "<premise>"

# a multi-episode series with a recurring protagonist
PYTHONPATH=. .venv/bin/python -m backend.run_series "<premise>" "<name>" "<locked look>" 2

Tests

for m in test_series_bible test_consistency test_critic_loop; do
  PYTHONPATH=. .venv/bin/python -m tests.$m
done

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured