feat: 任务 3.14 一键生成功能前端对接 TTS API #172

Merged
xiaoxia merged 1 commits from feature/task-314-tts-integration into develop 2026-07-02 15:11:50 +08:00

1 Commits

Author SHA1 Message Date
灵应 c7fe28a0d0 feat: 任务 3.14 一键生成功能前端对接 TTS API
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 166h16m44s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 166h16m49s
Deploy / Deploy Staging (push) Failing after 166h18m39s
CI/CD Pipeline / Frontend Lint (push) Failing after 166h19m9s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 166h19m16s
- 新增 src/api/tts.ts:TTS 语音合成 API 模块,对接后端 /api/v1/tts/* 端点
- GeneratePage.tsx 对接真实预置音色 API(fetchPresetVoices 替换 MOCK_VOICES)
- 音色试听改为真实 audio 播放(使用 preview_url)
- 自定义录制模式对接 TTS 合成 API(synthesizeSpeech + 轮询状态)
- 克隆音色生成流程传递 voice_clone_profile_id
- 配音模式验证:clone 模式需选择克隆音色,custom 模式需文案或录音
- TypeScript 零错误
2026-07-02 14:35:11 +08:00