Skip to content

Commit 554e110

Browse files
committed
Move Breeze voice design to design route
1 parent ed54966 commit 554e110

6 files changed

Lines changed: 33 additions & 16 deletions

File tree

model_specs/breeze_tts.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"status": "supported",
88
"tasks": [
99
"tts",
10-
"clone"
10+
"clone",
11+
"design"
1112
],
1213
"modes": [
1314
"offline"
@@ -23,6 +24,9 @@
2324
},
2425
"dependencies": [],
2526
"capabilities": {
27+
"design": [
28+
"voice_design"
29+
],
2630
"tts": [
2731
"style_control"
2832
],
@@ -174,7 +178,7 @@
174178
"strip_prefix": "Breeze-TTS-2-GGUF",
175179
"download": {
176180
"kind": "huggingface_snapshot",
177-
"repo": "audio-cpp/Breeze-TTS-2-GGUF",
181+
"repo": "audio-cpp/audio.cpp-gguf",
178182
"revision": "main",
179183
"gated": false
180184
}
@@ -192,7 +196,7 @@
192196
"strip_prefix": "Breeze-TTS-2-GGUF",
193197
"download": {
194198
"kind": "huggingface_snapshot",
195-
"repo": "audio-cpp/Breeze-TTS-2-GGUF",
199+
"repo": "audio-cpp/audio.cpp-gguf",
196200
"revision": "main",
197201
"gated": false
198202
}
@@ -203,6 +207,7 @@
203207
"tags": [
204208
"TTS",
205209
"Clone",
210+
"Design",
206211
"GGUF"
207212
],
208213
"docs": [

model_specs/cosyvoice3.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"strip_prefix": "CosyVoice3-GGUF",
193193
"download": {
194194
"kind": "huggingface_snapshot",
195-
"repo": "audio-cpp/CosyVoice3-GGUF",
195+
"repo": "audio-cpp/audio.cpp-gguf",
196196
"revision": "main",
197197
"gated": false
198198
}
@@ -210,7 +210,7 @@
210210
"strip_prefix": "CosyVoice3-GGUF",
211211
"download": {
212212
"kind": "huggingface_snapshot",
213-
"repo": "audio-cpp/CosyVoice3-GGUF",
213+
"repo": "audio-cpp/audio.cpp-gguf",
214214
"revision": "main",
215215
"gated": false
216216
}

src/models/breeze_tts/session.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ BreezeTTSSession::BreezeTTSSession(
101101
contract_(require_contract(std::move(contract))),
102102
reference_cache_(reference_cache_slots_from_options(options)) {
103103
runtime::validate_spec_backed_session_options(options, *contract_, kFamily, kModelName);
104-
if (task_.task != runtime::VoiceTaskKind::Tts && task_.task != runtime::VoiceTaskKind::VoiceCloning) {
105-
throw std::runtime_error("BreezeTTS supports tts and clone tasks");
104+
if (task_.task != runtime::VoiceTaskKind::Tts &&
105+
task_.task != runtime::VoiceTaskKind::VoiceCloning &&
106+
task_.task != runtime::VoiceTaskKind::VoiceDesign) {
107+
throw std::runtime_error("BreezeTTS supports tts, clone, and voice design tasks");
106108
}
107109
if (task_.mode != runtime::RunMode::Offline) {
108110
throw std::runtime_error("BreezeTTS supports offline sessions");

webui/configs/model_params.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,16 @@
101101
{"name": "top_p", "type": "slider", "label": "top_p", "default": 1.0, "minimum": 0.0, "maximum": 1.0, "step": 0.01}
102102
],
103103

104+
"breeze-tts": [
105+
{"name": "text_chunk_size", "type": "number", "label": "text_chunk_size", "default": 600, "minimum": 1, "step": 1, "precision": 0},
106+
{"name": "text_chunk_mode", "type": "choice", "label": "text_chunk_mode", "default": "default", "choices": ["default", "tag_aware", "japanese", "endline"]},
107+
{"name": "guidance_scale", "type": "slider", "label": "guidance_scale", "default": 1.0, "minimum": 0.0, "maximum": 10.0, "step": 0.1},
108+
{"name": "temperature", "type": "slider", "label": "temperature", "default": 0.9, "minimum": 0.0, "maximum": 2.0, "step": 0.05},
109+
{"name": "depth_temperature", "type": "slider", "label": "depth_temperature", "default": 0.9, "minimum": 0.0, "maximum": 2.0, "step": 0.05},
110+
{"name": "top_k", "type": "number", "label": "top_k", "default": 50, "minimum": 0, "step": 1, "precision": 0},
111+
{"name": "top_p", "type": "slider", "label": "top_p", "default": 1.0, "minimum": 0.0, "maximum": 1.0, "step": 0.01}
112+
],
113+
104114
"cosyvoice3": [
105115
{"name": "template_name", "type": "choice", "label": "template_name", "default": "zero_shot", "choices": ["zero_shot", "cross_lingual", "instruct"]},
106116
{"name": "instruction", "type": "text", "label": "instruction", "label_en": "Instruction", "default": "", "placeholder": "Used by template_name=instruct."},

webui/configs/models_catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{ "id": "qwen3-tts", "display_name": "Qwen3-TTS 0.6B (tts)", "family": "qwen3_tts", "path": "models/Qwen3-TTS-12Hz-0.6B-Base", "task": "tts", "mode": "offline", "download_id": "qwen3_tts_0_6b_base", "min_vram_gb": 5 },
1515
{ "id": "qwen3-tts-1.7b", "display_name": "Qwen3-TTS 1.7B Base (tts)", "family": "qwen3_tts", "path": "models/Qwen3-TTS-12Hz-1.7B-Base", "task": "tts", "mode": "offline", "download_id": "qwen3_tts_1_7b_base", "min_vram_gb": 8 },
1616
{ "id": "qwen3-tts-1.7b-custom", "display_name": "Qwen3-TTS 1.7B CustomVoice (tts)", "family": "qwen3_tts", "path": "models/Qwen3-TTS-12Hz-1.7B-CustomVoice", "task": "tts", "mode": "offline", "download_id": "qwen3_tts_1_7b_custom_voice", "min_vram_gb": 8 },
17-
{ "id": "breeze-tts", "display_name": "BreezeTTS 2 VoiceDesign", "family": "breeze_tts", "path": "models/Breeze-TTS-2-GGUF/breeze-tts-2-q8_0.gguf", "task": "tts", "mode": "offline", "download_id": "breeze_tts_2_q8_0", "min_vram_gb": 8,
17+
{ "id": "breeze-tts", "display_name": "BreezeTTS 2 VoiceDesign", "family": "breeze_tts", "path": "models/Breeze-TTS-2-GGUF/breeze-tts-2-q8_0.gguf", "task": "vdes", "mode": "offline", "download_id": "breeze_tts_2_q8_0", "min_vram_gb": 8,
1818
"input_hint_en": "**BreezeTTS 2 VoiceDesign**: enter text and describe the target voice in Model parameters. No reference voice is required." },
1919
{ "id": "breeze-tts-clone", "display_name": "BreezeTTS 2 Clone", "family": "breeze_tts", "path": "models/Breeze-TTS-2-GGUF/breeze-tts-2-q8_0.gguf", "task": "clon", "mode": "offline", "download_id": "breeze_tts_2_q8_0", "min_vram_gb": 8,
2020
"input_hint_en": "**BreezeTTS 2 Clone**: upload a reference voice and provide the matching reference transcript." },

webui/native/dist/index.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)