From 3f18f85925e73868ec1b20fa46b6a9c79cd697a7 Mon Sep 17 00:00:00 2001 From: "3371392206@qq.com" <3371392206@qq.com> Date: Sun, 30 Aug 2026 15:57:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20setup=20=E9=BB=98=E8=AE=A4=20resourc?= =?UTF-8?q?e=5Fid=20=E6=94=B9=20seed-icl-2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 与 admin 同一类问题 (见 admin 修复 commit): 项目是豆包声音复刻大模型 2.0, 资源 ID 必为 seed-icl-2.0。 setup.html 错的默认值有 5 处: 1. form.default_resource_id placeholder: volc.megatts.default 2. v.resource_id placeholder: volc.megatts.icl 3. v.model placeholder: seed-tts-2.0-standard 4. form 默认 (default_resource_id): volc.megatts.default 5. form 默认 voices[0] + addVoice push: volc.megatts.icl / seed-tts-2.0-standard 修法同 admin: resource_id 改 seed-icl-2.0, model 保持 seed-tts-2.0-standard (用户后澄清模型名独立)。 附带修: - step 2 hint 文案从 "volc.megatts.icl 用于复刻音色" 改为 "本项目为豆包声音复刻大模型 2.0, 固定使用 seed-icl-2.0" (避免误导用户填错资源 ID) 未 push (待用户 push) --- .gitignore | 6 ++++++ router/setup.html | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d1172cb..354c378 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,12 @@ TODO.md # Release artifacts (build output) release/ +# Local build output (start-local.ps1 builds to bin/) +bin/ + +# Local dev scripts (per-user; not part of repo) +start-local.ps1 + # Runtime database artifacts (created by M1 installer flow) tts.db tts.db-* diff --git a/router/setup.html b/router/setup.html index b5354e2..753a8b5 100644 --- a/router/setup.html +++ b/router/setup.html @@ -223,8 +223,8 @@
- -
音色所属的计费资源 ID;volc.megatts.icl 用于复刻音色。
+ +
音色所属的计费资源 ID;本项目为豆包声音复刻大模型 2.0,固定使用 seed-icl-2.0。
@@ -275,7 +275,7 @@
- +
@@ -340,18 +340,18 @@ const form = ref({ auth_key: '', api_key: '', - default_resource_id: 'volc.megatts.default', + default_resource_id: 'seed-icl-2.0', default_speaker: '', default_format: 'mp3', sample_rate: 24000, token: '', - voices: [{ name: '', speaker: '', resource_id: 'volc.megatts.icl', model: 'seed-tts-2.0-standard' }], + voices: [{ name: '', speaker: '', resource_id: 'seed-icl-2.0', model: 'seed-tts-2.0-standard' }], }); const errorMsg = ref(''); const submitting = ref(false); const addVoice = () => { - form.value.voices.push({ name: '', speaker: '', resource_id: 'volc.megatts.icl', model: 'seed-tts-2.0-standard' }); + form.value.voices.push({ name: '', speaker: '', resource_id: 'seed-icl-2.0', model: 'seed-tts-2.0-standard' }); }; const removeVoice = (i) => { if (form.value.voices.length > 1) form.value.voices.splice(i, 1);