mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-11-14 18:22:59 +01:00
POST /api/v1/videos defaulted voice_name to "", where /audio and
/subtitle default to zh-CN-XiaoxiaoNeural-Female. Edge TTS accepts no
empty voice ("Invalid voice ''."), so a request without voice_name ran
the script and terms LLM calls and then failed at the audio stage,
after three TTS attempts. The API docs at /docs and /redoc showed the
empty default.
TaskVideoRequest now defaults voice_name to the voice of /audio and
/subtitle, which is also the CLI's built-in default. VideoParams keeps
its empty default, so the CLI and the WebUI are unchanged, and a
request that sends a voice_name still gets that voice.