Files
TanishqandHarry c2868a6774 fix(api): give /videos requests without voice_name the default voice of /audio and /subtitle
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.
2026-11-13 14:44:00 +08:00
..
2024-03-11 16:37:49 +08:00