Open-source project
Anil-matcha/Open-AI-Micro-Drama-Generator avatar
Anil-matcha/Open-AI-Micro-Drama-Generator

MicroDrama AI: a multi-agent pipeline that turns a one-line idea into a stitched short drama

AI short drama & micro-drama video generator — turns any idea into a complete short-form drama using multi-agent AI pipeline (screenwriter → storyboard → frames → video). Seedance 2 VIP, Kling 3.0 Pro, Veo 3.1, Sora 2.

497 stars93 forksPythonLicense varies

At a glance

What is it?
MicroDrama AI chains four named agents (screenwriter, character extractor, storyboard artist, video producer) onto a single MuAPI key, and its README is explicit that the whole thing is a thin orchestration layer over hosted models rather than a local generation stack. The judgement: useful if you already pay for MuAPI and want a working reference for agent-chained video, risky if you need a self-hosted or offline path.
Who is it for?
Adopt it if you already hold a MuAPI key and want a readable reference implementation of agent-chained video generation, because the value here is the orchestration shape, not the model weights. Do not adopt it if you need offline inference, per-shot cost predictability, or a licence you can verify: the repository metadata reports no licence at all, while the README badge claims MIT, and that contradiction is the first thing to resolve before any commercial use.
Can I use it commercially?
Not without permission. GitHub finds no licence file in the repository, and without a licence all rights are reserved by default: you may read the code but not reuse it. Check the README, or ask the authors, before using it.
Is it still maintained?
Yes. The repository last received commits 45 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

The gap MicroDrama AI claims to fill between a prompt box and a finished scene

Raw text-to-video models take a prompt and return a clip. They do not know what happened in the previous clip. The README lists this directly among the problems it targets: no narrative structure, character inconsistency across shots, and a manual workflow split across separate tools for scripting, image generation and video generation. The audience implied by that framing is a creator or small studio that wants a finished short drama from a single idea without stitching three vendors together by hand. The project's own description calls it an AI short drama and micro-drama generator, and the topics list places it alongside text-to-video, image-to-video and multi-agent categories. So the pitch is not a better model. It is a fixed sequence of steps that keeps a story coherent from idea to final concatenated video, with the model choice abstracted behind one API key.

Four agents, one API key: the pipeline as drawn in the README

The architecture diagram shows a linear chain rather than a free-roaming agent swarm. An idea or script enters the server, and the Screenwriter Agent runs develop_story() followed by write_script_based_on_story(), emitting a story plus scene scripts. Those scripts pass to a Character Extractor Agent, which calls extract_characters(script) and returns a list of characters. The Storyboard Artist Agent then calls design_storyboard() and returns a list of shot briefs. Only after all three text-side stages complete do the MuAPI tools fire, and the diagram names three of them explicitly: portrait generation through flux-dev-image as text-to-image, frame generation through flux-kontext-dev-i2i as image-to-image, and video generation through kling-v2.1-standard-i2v as image-to-video. The final stage concatenates the clips. That ordering matters. Character portraits are produced before frames, and frames before clips, which is the mechanism the README credits for visual consistency across shots. The listed model names in the repository description (Seedance 2 VIP, Kling 3.0 Pro, Veo 3.1, Sora 2) do not match the model identifiers in the architecture diagram, so treat the diagram as the more concrete statement of what the default path calls.

Two entry points and an SSE stream: what the interface actually exposes

The feature table describes two modes. Idea to Video runs the full chain including story development. Script to Video skips the writing phase and starts from storyboarding, which is the mode you want if you already have scene scripts and do not want a model rewriting your dialogue. Progress is reported over SSE streaming, and the README describes a live animated stage timeline rather than a spinner. That is a real design decision worth noting: a pipeline that spends most of its wall-clock time waiting on remote image and video calls is unusable without per-stage feedback, because a silent failure at the frame stage looks identical to a slow video stage. The stack is Python 3.10 or later on the backend, exposed as a FastAPI service, with a Next.js 14 front end. The repository topics confirm fastapi and nextjs. The README's project structure and API reference sections are named in the table of contents but the supplied text does not include their contents, so the exact endpoint paths and request schemas cannot be confirmed from this material.

Getting it running: what the README states and what it leaves to the linked pages

The README advertises a One Key Setup badge and a Quick Start section, but the supplied text does not reproduce the commands inside that section, so any install line I gave you would be invented. What can be stated is the shape of the setup: you need Python 3.10 or later and a MuAPI credential, because the project describes itself as powered entirely by a single MuAPI key and routes portrait, frame and video generation through MuAPI-hosted models. The configuration section is referenced in the table of contents but its contents are not in the supplied material, so I cannot name the environment variable that holds the key or any config file path. The honest position is that the operational details live in the repository and on the linked MuAPI pages, and anyone evaluating this should read those two sources before assuming the setup is as short as the badge suggests. A one-key setup removes vendor sprawl; it does not remove the need to understand which model each stage calls and what each call costs.

Where the design strains: no local inference, no stated cost model, and a licence contradiction

The most consequential limitation is architectural rather than a bug. Every generative step depends on a remote MuAPI endpoint. There is no described local fallback, no offline mode, and no way to swap in a self-hosted diffusion model without rewriting the tool layer. If MuAPI changes pricing, retires flux-kontext-dev-i2i, or throttles your account, the pipeline stops at the stage that depends on it. The second limitation is cost opacity. The README describes the workflow in detail and never states a per-drama or per-shot cost, which is the number that decides whether a micro-drama channel is viable. Third, the licence situation is contradictory: the repository metadata reports no licence, while the README badge claims MIT. Those cannot both be right, and until a LICENSE file resolves it, the default position under most jurisdictions is that no rights are granted. Finally, the model names in the description and the model names in the diagram disagree, which suggests the defaults have moved and the documentation has not fully followed.

How this differs from assembling the same stages yourself

The obvious alternative is a manual chain: write the script in a chat model, generate character references in an image tool, feed each reference plus a shot description into an image-to-image model, then hand each frame to an image-to-video model, and concatenate in ffmpeg. That approach gives you per-stage control and per-stage cost visibility, and it lets you swap a model the day a better one ships. MicroDrama AI trades that control for a fixed contract: the agents decide the shot list, the reference portraits are generated automatically, and the stage boundaries are already wired. The difference in practice is where you spend your time. In the manual chain you spend it on prompt plumbing and file management. Here you spend it on reading the agent outputs and re-running stages when a shot brief drifts from the script. Neither is strictly better, and the manual route is the correct choice if you need to explain a per-shot budget to someone.

Maintenance surface and upgrade cost

The dependency surface is larger than the Python and Next.js badges imply, because the pipeline's behaviour is coupled to three hosted models. A model rename on the provider side breaks a stage without any code change in this repository. That is the recurring maintenance cost: not library churn, but external API drift. Upgrades are further complicated by the missing release history, since no releases were retrieved, which means there is no changelog to read before pulling a new commit. The last push date on the default branch is 2026-08-02, so the project is not abandoned, but activity alone says nothing about whether the MuAPI model identifiers in the diagram are still the current ones. Verify that before you build anything on top.

Editorial conclusion

Adopt it if you already hold a MuAPI key and want a readable reference implementation of agent-chained video generation, because the value here is the orchestration shape, not the model weights. Do not adopt it if you need offline inference, per-shot cost predictability, or a licence you can verify: the repository metadata reports no licence at all, while the README badge claims MIT, and that contradiction is the first thing to resolve before any commercial use.

Official sources

  1. Anil-matcha/Open-AI-Micro-Drama-Generator on GitHub
  2. Issues
  3. Project website
  4. README
Community notes

Community notes