Skip to content

Commit 679266c

Browse files
committed
Fix fish.audio tts
1 parent 9bdf109 commit 679266c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ai/tts.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ pub async fn fish_tts(url: &str, token: &str, speaker: &str, text: &str) -> anyh
204204
let res = client
205205
.post(url)
206206
.header("content-type", "application/msgpack")
207+
.header("model", "s1")
207208
.header("authorization", &format!("Bearer {}", token))
208209
.body(rmp_serde::to_vec_named(&FishTTSRequest::new(
209210
speaker.to_string(),

0 commit comments

Comments
 (0)