MicroDrama AI Generator
Turn a premise or script into storyboarded scenes and a stitched short drama through one automated pipeline.
- Source repo
- Anil-matcha/Open-AI-Micro-Drama-Generator
- Stars
- ★ 594
- Last updated
- 3mo ago
- FARS reviewed
- Nov 08, 2026
- Primary language
- Python
- FA score
- 38/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A short-form video creator wants to expand a premise into scenes and generate clips for the resulting shots.
- Not a fit if
- Teams that need to switch model providers
- Creators who need generation to stay local and avoid uploading assets
- Website
- muapi.ai ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-08-02+1.0 ★/day over 7 days
- Source review
- 38/100 · Major gaps 2 safety controls not found
What does this agent do, and when should you use it?
MicroDrama AI is a short-drama generation app with a FastAPI server and a Next.js 14 web client. Users submit either an idea or an existing script, and the server runs screenwriting, character extraction, and storyboard agents before generating portraits, shot frames, and video clips through MuAPI. MoviePy joins the clips into an MP4, while the web client streams pipeline progress over SSE and offers playback and download. The workflow requires a MuAPI API key and uses its documented LLM, image, and video endpoints, so it fits creators willing to depend on that provider and cloud generation.
The client accepts an idea or a script-mode submission; POST /api/generate starts a job and returns a job_id. In idea2video, Screenwriter develops a story and writes 2–4 scenes, CharacterExtractor extracts characters, and StoryboardArtist designs 3–5 shots per scene; script mode skips story development and scene writing. The server calls MuAPI's claude-sonnet-4-6, flux-dev-image, flux-kontext-dev-i2i, and kling-v2.1-standard-i2v endpoints to produce text, portraits, first frames, and 5-second clips per shot, then MoviePy concatenates them into final_video.mp4. The client consumes SSE from GET /api/status/{job_id} for progress and plays or downloads the completed video.
- A short-form video creator wants to expand a premise into scenes and generate clips for the resulting shots.
- An independent filmmaker with a scene script wants to skip writing and generate character references, a storyboard, and video.
- A creator needs recurring character appearance across shots and can use generated portraits as visual references.
- A small production team wants a web interface that shows progress from story development through final concatenation.
- A developer wants to self-host a FastAPI and Next.js drama-generation app that calls generation services with one MuAPI key.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -r requirements.txt
- Ports
8000- Environment variables
MUAPI_KEY- Config files
.env.exampleserver/.env- Runtime
- Python 3.10+ · Node.js 18+
How do you install or deploy this agent?
Requires Python 3.10+, Node.js 18+, and a MuAPI API key. Install and start the server and client separately:
git clone https://github.com/Anil-matcha/Open-AI-Micro-Drama-Generator.git
cd Open-AI-Micro-Drama-Generatorcd server
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .envSet MUAPI_KEY in server/.env, then start FastAPI:
uvicorn api:app --reload --port 8000In another terminal, start the Next.js client:
cd client
npm install
npm run devHow do you use this agent?
Open http://localhost:3000, enter an idea or switch to script mode and provide a script; optionally add requirements and choose a visual style, then click Generate Video. The API can also start a job directly:
curl -X POST http://localhost:8000/api/generate \
-H 'Content-Type: application/json' \
-d '{"idea":"A detective chases a shadow through a neon-lit cyberpunk city","user_requirement":"Keep it under 3 scenes, suitable for all ages","style":"Cinematic","mode":"idea2video"}'Use the returned job_id to subscribe to SSE progress at GET /api/status/{job_id}. The completion event includes the video path; the client displays the result and provides a download control.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Supports both idea-to-video and script-to-video; script mode skips story development and scene writing.
- Extracts characters, generates reference portraits, and uses them for shot frames to help preserve visual identity across shots.
- Streams stage progress over SSE and replays prior events after a reconnect.
- Uses one MuAPI key for the documented LLM, image, and video generation endpoints.
- The generation pipeline depends on MuAPI's LLM, image, and video endpoints; the README documents no provider adapter for switching services.
- Generated clips are 5 seconds per shot, and the README does not describe extending that duration or configuring broader shot limits.
- Generation requires network access and MuAPI quota; the documented error event includes quota exhaustion.
- The README gives no actual MuAPI model prices or per-video cost estimate.
How does this agent compare with similar options?
The README describes raw text-to-video as lacking story structure, scene continuity, and character consistency; this project adds screenwriting, character extraction, storyboarding, reference images, and clip concatenation. It provides no direct feature comparison with another drama generator.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| MicroDrama AI Generator This agent | 38 · Major gaps | Web appFree + model costs | ★ 594 | 3mo ago | Python | — |
| OpenMontage Drama Studio | 55 · Major gaps | Self-hosted serviceFree + model costs | ★ 75 | 20d ago | Python | — |
| ArcReel Video Creation Workspace | 77 · Good | Self-hosted serviceFree + model costs | ★ 6.8k | today | Python | OpenAI API · Claude API |
| waoowaoo AI Film Studio | 67 · Some gaps | Self-hosted serviceFree + model costs | ★ 15k | 2mo ago | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README says one MuAPI key is used and identifies external LLM, image, video, and file-upload calls, giving some data-flow context; least privilege, data-flow transparency, and external effects each receive 1. It does not explain key protection, handling of user data, or a confirmation step before generation, so sensitive-data handling and user confirmation are only partial. It provides no dependency security review, rollback process, or clear upstream source attribution, so those criteria score 0 or 1.
The README describes pipeline stages, SSE progress and reconnection, result endpoints, and a quota-failure example, which gives failure messages a score of 2. The workflow and API examples support basic self-consistency and dependency-use guidance, but no other files corroborate them and no fallback for external service outages is described, so those criteria score 1 each.
The README covers idea-to-video and script-to-video use, gives examples of audience and scene constraints, and offers several visual styles, so audience/scenario coverage and trigger precision score 2 each. It lists models and stages but does not clearly define capability boundaries or environment constraints, so those criteria score 1.
The README includes a contents list, architecture, project structure, API, configuration, setup steps, and request/output examples; information architecture, install notes, and examples score 2 each. Names and stages are mostly traceable, but the product description's Seedance, Kling, Veo, and Sora claims do not match the MuAPI models listed in the README, so naming stability scores 1. The README gives limited dependency and limitation context, but has no changelog or named maintenance responsibility. It declares MIT, while the supplied license metadata is unknown and the license file contents are not included, so license scores 1.
The README describes producing scripts, storyboards, reference images, clips, and a final MP4, with progress, playback, and download UI, so output usability scores 2. Joining multiple generation stages into a short-drama workflow offers visible value, scoring 2; however, each scene and shot may involve external generation and polling, and pricing, quotas, and cost controls are not described, so cost-benefit scores 1.
The README provides API fields, stage names, model identifiers, and event examples, making some claims traceable within the document, so claim traceability scores 1. The packet contains only the README, with no code, tests, or other documents for cross-checking, so cross-source corroboration scores 0. The document presents architecture, features, and examples as product descriptions but does not clearly separate verified facts from promotional claims, so fact/inference separation scores 1.
- Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- This assessment uses only the supplied README; its architecture, API, and feature claims have no code or other source corroboration and were not executed or independently tested.
- The README says one MuAPI key is required and describes image uploads and external generation calls; confirm key handling, processing of inputs and images, and service charges before use.
- The description mentions Seedance, Kling 3.0 Pro, Veo 3.1, and Sora 2, while the README lists Claude Sonnet, FLUX, and Kling v2.1; verify the model and capability claims.
FAQ
What credentials does generation need?
MUAPI_KEY in server/.env. The README says the same key is used for LLM, image, and video generation.Can I start from an existing script?
script2video and provide a script; the pipeline starts with character extraction and skips story development and scene writing.How is the finished video delivered?
final_video.mp4 with MoviePy. The web client provides playback and download controls, and the API completion event includes a video path.Does it show why a generation failed?
What license applies?
LICENSE file; the repository metadata supplied here says the license is unknown, so verify the license file before adopting it.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.