Update README.md

This commit is contained in:
nnn
2025-04-16 11:33:20 +09:00
committed by GitHub
parent 79251a6a3b
commit 9a02830bde
+9 -8
View File
@@ -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: