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: