🎬 Open Short-Drama & WebGame Studio (open-short-drama-studio)
English · 简体中文
Deterministic Quality Gates, Six-Segment Storyboard Prompt Standardizer, 85%-Credit-Saving Video Budget Optimizer, CapCut/JianYing Timeline Manifest Generator, HTML5 WebGame Pre-Flight Doctor & Studio BGM Audio Quality Gate for AI Creators.
✨ Why open-short-drama-studio?
Most AI video & short-drama scripts fail before generation even starts: weak cold-open hooks, bloated 60-character dialogue lines that ruin TTS pacing, burning 100% of credits on 1080p Pro models for static talking heads, annoying synthetic sine-wave buzzer artifacts, unstructured chaotic prompts that morph character faces, and manual timeline dragging in CapCut/JianYing.
open-short-drama-studio provides 100% deterministic, zero-dependency Python engines to validate scripts, structure 6-segment cinematic prompts, slash video generation costs by 80%+, enforce studio audio standards, and generate microsecond-aligned CapCut track manifests.
Core Modules (drama_kit)
- 🎯 14-Point Episode Outline & Script Gate (
validate_episode_outline):- Enforces Cold-Open Hook within the first 3 beats (
index 0..2). - Enforces $\le 35$ characters per dialogue line for natural TTS lip-sync.
- Verifies concrete episode cliffhangers and visual action beat density.
- Enforces Cold-Open Hook within the first 3 beats (
- 🎨 Six-Segment Storyboard Prompt Standardizer (
standardize_shot_prompt):- Standardizes raw scene descriptions into canonical 6-segment cinematic prompts:
[Shot Size & Movement] + [Subject Visual Anchor] + [Action & Micro-expression Beat] + [Environment & Lighting] + [Cinematic Style & Lens] + [Negative Exclusions]. - Supports targeted presets for MiniMax H3, Wan 2.1, Kling, and Midjourney.
- Standardizes raw scene descriptions into canonical 6-segment cinematic prompts:
- 💰 3-Tier Video Credit Blade Optimizer (
calculate_storyboard_budget):- Routes VFX/empty scenery shots to monthly unlimited pools (
0marginal credits), static gaze/dialogue to480p Lite, standard movement to480p Standard, and hard-caps expensivePromodels to $\le 2$ climax hero shots per episode. - Pairs
480pcloud output with a deterministic FFmpeg Lanczos + Unsharp + Dynamic Film-Grain (noise=alls=6:allf=t+u) 1080p upscaling filter, cutting credit costs by 80%~86%.
- Routes VFX/empty scenery shots to monthly unlimited pools (
- ✂️ CapCut / JianYing Microsecond Track Manifest (
export_capcut_timeline_manifest):- Converts storyboard shots and speaker lines into microsecond-aligned (
1,000,000 us = 1s) 9:16 vertical video & subtitle tracks ready for draft injection.
- Converts storyboard shots and speaker lines into microsecond-aligned (
- 🎮 HTML5 WebGame Portal Doctor (
inspect_webgame_bundle):- Static pre-flight checker for AI-generated HTML5/Three.js games targeting Bilibili Toy, Itch.io, CrazyGames, and WeChat Mini-Games (blocks root-absolute
/assets/...404 traps, external CDN leaks, and missing mobile viewport tags).
- Static pre-flight checker for AI-generated HTML5/Three.js games targeting Bilibili Toy, Itch.io, CrazyGames, and WeChat Mini-Games (blocks root-absolute
- 🎵 Studio Stereo Audio & Anti-Buzzer BGM Quality Gate (
inspect_audio_track_quality):- Rejects synthetic pure sine/square-wave buzzer noise (73Hz, 110Hz, 146Hz, 220Hz, 432Hz) with monotonic ratios $> 0.42$.
- Enforces stereo channel layouts and studio background music master tracks (
ancient_suspense,epic_climax,action_battle,modern_urban,tech_showcase). - Generates production-grade vocal denoise (
highpass=f=85,afftdn=nf=-25) and sidechain ducking filter chain to keep dialogues crystal clear over BGM.
- 📱 Mobile 9:16 Caption & Title Safe-Zone Inspector (
inspect_caption_safe_zone):- Enforces platform UI obstacle avoidance for vertical video across Douyin, Kuaishou, WeChat Channels, Xiaohongshu, and TikTok (top status bar
0..12%, bottom title/progress scrubber78%~80%..100%, and right action buttons82%..100%). - Validates WeChat Channels 16-character single-line title constraint and subtitle line density ($\le 18$ characters) with automated title truncation and caption-splitting repair suggestions.
- Enforces platform UI obstacle avoidance for vertical video across Douyin, Kuaishou, WeChat Channels, Xiaohongshu, and TikTok (top status bar
- 🖼️ Multi-Platform Social Cover Compliance Gate (
inspect_social_cover_card):- Validates aspect ratio & minimum resolution across
3:4(Xiaohongshu),9:16(WeChat Channels/Douyin/TikTok),16:9(Bilibili/YouTube), and1:1(Bilibili Toy), plus headline length ($\le 14$ chars) and mandatory AI-generated content disclosure tags.
- Validates aspect ratio & minimum resolution across
- 🎭 Cross-Shot Character Anchor & Stale-View Gate (
inspect_character_anchor_pack):- Enforces single-hop star reference topology (
frontal_fullmaster anchor $\to$closeup,side_90,back) to eliminate multi-hop facial drift, detects stale derived views when master anchors are regenerated, and audits script speaker coverage.
- Enforces single-hop star reference topology (
- 🎞️ Multi-Platform
-14 LUFSMP4 Master Delivery Gate (inspect_master_video_delivery):- Pre-publish stream & loudness audit enforcing
-14.0 ± 2.5 LUFSintegrated loudness,<= -1.0 dBTPtrue-peak ceiling,yuv420pmobile decoder compatibility, front-loaded+faststartmoovatom, constant frame rate (CFR) lip-sync integrity, A/V duration alignment (<= 120ms), and zero cold-open black frames (<= 0.15s), complete with one-click FFmpeg remastering arguments.
- Pre-publish stream & loudness audit enforcing
- 🎬 Multi-Shot
<= 15sSegment & Keyframe Cut-Point Gate (inspect_multishot_segment_cuts):- Deterministic pre-generation validator for MiniMax H3
[Shot k], Seedance 2.0, and Omni Flash multi-cut segments: enforces0.00smaster keyframe pinning, monotonic cut-point continuity,[1.5s, 6.0s]per-cut rhythm bounds,<= 15.0ssingle-pass duration ceiling,<= 4referencePictureslots, and<= 4.8 chars/s<d>lip-sync pacing.
- Deterministic pre-generation validator for MiniMax H3
- 📦 Multi-Portal WebGame ZIP Release Archive Gate (
inspect_webgame_archive_manifest):- Pre-upload ZIP manifest auditor for Bilibili Toy, Itch.io, CrazyGames, and WeChat Mini-Games: blocks nested wrapper directories (
dist/index.html), Windows backslash ZIP entries,.env/.git/.mapartifact leaks, portal MB ceilings (4MBWeChat main package,50MBToy), Linux CDN case-mismatch asset 404s, and incompatibleSharedArrayBufferthreaded WASM builds.
- Pre-upload ZIP manifest auditor for Bilibili Toy, Itch.io, CrazyGames, and WeChat Mini-Games: blocks nested wrapper directories (
🚀 Quick Start (Zero Dependencies)
git clone https://github.com/17671454333/open-short-drama-studio.git
cd open-short-drama-studio
python -m drama_kit demo
python -m unittest discover -s tests -v
💎 Pro Edition & Commercial Workflow (Open-Core Comparison)
open-short-drama-studio follows an Open-Core model. The deterministic validation, prompt standardization, budget planning, and timeline calculation core is 100% free and MIT-licensed. For studios and full-time creators seeking end-to-end automation:
| Feature / Module | Community Core (This Repo · MIT) | Studio Pro Edition (Commercial / Sponsors) |
|---|---|---|
| Deterministic Script & Hook Quality Gates | ✅ Included | ✅ Included + Multi-Episode Arc Matrix |
| 6-Segment Storyboard Prompt Standardizer | ✅ Included (standardize_shot_prompt) |
✅ + Character Visual Anchor Library |
| 3-Tier Credit Optimizer & FFmpeg Grain Formula | ✅ Included | ✅ + Automated Batch FFmpeg Render Pipeline |
| CapCut / JianYing Timeline Manifest | ✅ JSON Manifest | 🚀 Direct D:\CapCut Drafts One-Click Writer (pyJianYingDraft) |
| Studio Audio Denoise & Anti-Buzzer BGM Gate | ✅ Included (inspect_audio_track_quality) |
🚀 Automated Sidechain Ducking & Mastering Engine |
| Mobile 9:16 Safe-Zone & Title Gate | ✅ Included (inspect_caption_safe_zone) |
🚀 Automated Dynamic UI Overlay & Crop Preview Engine |
| Cross-Shot Facial Consistency Anchoring | — | 🚀 Frontal Anchor + 6-View Multi-Angle Generation Pipeline |
| HTML5 WebGame Pre-Flight Doctor | ✅ Included (inspect_webgame_bundle) |
🚀 6-Platform Build Automation (HTML5, EXE, APK, WeChat, Toy) |
| 8-Platform Zero-Popup Matrix Publisher | — | 🚀 One-Click Multi-Platform Publishing (Chrome M144+ Live CDP) |
🔗 Underlying Infrastructure: Check our cognitive agent security runtime & Chrome M144+ live CDP MCP server 👉
17671454333/jev-cognitive-mcp
Metadata
Release files for open-short-drama-studio 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| open_short_drama_studio-0.10.0.tar.gz | 34.0 kB | With provenance | Details for open_short_drama_studio-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| open_short_drama_studio-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for open_short_drama_studio-0.10.0-py3-none-any.whl |
Total release size: 60.7 kB
Release files / open_short_drama_studio-0.10.0.tar.gz
| Download URL | open_short_drama_studio-0.10.0.tar.gz |
|---|---|
| Size | 34.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40e315f84d53f0e9ad89e32baa958f1007af58cfcd1740a13043f621a788c280
|
|
BLAKE2b-256 checksum How to use checksums |
9c72bfad2f93e1a897252737a2626117091df4f487e5860fbb9eabc5183686f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / open_short_drama_studio-0.10.0-py3-none-any.whl
| Download URL | open_short_drama_studio-0.10.0-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95e8cdc7bf4bf47c0b56610235ee634f69d3fa5096061275b4fec450c47cf284
|
|
BLAKE2b-256 checksum How to use checksums |
d2e64e3468237d7904999081ba351d842f7f60abe18c6a0229d4505d9caea5dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for open-short-drama-studio 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for open_short_drama_studio-0.10.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.