Developer Builds Web App That Turns Scripts Into Multi-Voice MP3s Using One TTS Request
A developer has built a small web app that lets users paste a screenplay-style script and download a single MP3 with several distinct voices. Unlike typical text-to-speech tools that generate one voice per clip, the app uses a multi-speaker model that performs an entire scene in one request, including inline acting directions. The system runs on a Cloudflare Worker with D1 for user data and R2 for audio storage, calling Fish Audio's Drama 3 model over its API. A key challenge was converting loosely written text into a strict payload, so unnamed lines default to a narrator and control-tag injection is stripped from user input.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in