Repository navigation
Multi-voice Chinese short-drama dialogue with edge-tts (OpenMontage Drama Studio) #511
charliewwdev
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built OpenMontage Drama Studio, a self-hosted web app that turns a one-line idea into a short AI drama (短剧). edge-tts is the main voice engine, so I wanted to share how it's used.
What it does: a 7-stage pipeline: idea → script → cast → scenes → props → storyboard → video → voice → edit. You can review, edit and re-run each stage before moving on.
How edge-tts is used:
studio/server/audio_tts.py), called throughedge_tts.Communicate. If the Python call fails, it falls back to theedge-ttsCLI (--voice ... --write-media).zh-CN-YunyangNeuralby default, orEDGE_TTS_VOICEif set. Other characters are assigned from a female pool (zh-CN-XiaoxiaoNeural/XiaoyiNeural/XiaohanNeural) or a male pool (zh-CN-YunxiNeural/YunjianNeural/YunyangNeural), based on name hints plus a hash. That way two characters don't end up sounding like one narrator.Run it:
docker compose -f docker-compose.studio.yml upstarts the API, web UI, Postgres and Redis. You bring S3/MinIO, an LLM key and a Volcengine Ark key (Seedream/Seedance are paid third-party APIs).It's AGPL-3.0. It's an independent product rebuilt from the calesthio/OpenMontage codebase and isn't affiliated with that project. It's early (v0.1.0), so feedback is welcome.
All reactions