From 9a02830bde61ce673f9a7b989b74297e82810dc2 Mon Sep 17 00:00:00 2001 From: nnn <27625496+nnn112358@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:33:20 +0900 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 85e39e3..9da7432 100644 --- a/README.md +++ b/README.md @@ -86,14 +86,15 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \ ### Speech Synthesis ```bash -curl -X POST "http://localhost:8000/v1/audio/speech" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer YOUR_KEY" \ --d '{ - "model": "melotts_zh-cn", - "input": "Hello world!", - "voice": "alloy" -}' +curl -X POST "http://localhost:8001/v1/audio/speech" \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer YOUR_KEY" \ + -d '{ + "model": "melotts_zh-cn", + "input": "Hello world!", + "voice": "alloy" + }' \ + --output output.mp3 ``` ## Required Libraries: