We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79251a6 commit 9a02830Copy full SHA for 9a02830
README.md
@@ -86,14 +86,15 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \
86
87
### Speech Synthesis
88
```bash
89
-curl -X POST "http://localhost:8000/v1/audio/speech" \
90
--H "Content-Type: application/json" \
91
--H "Authorization: Bearer YOUR_KEY" \
92
--d '{
93
- "model": "melotts_zh-cn",
94
- "input": "Hello world!",
95
- "voice": "alloy"
96
-}'
+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"
+ }' \
97
+ --output output.mp3
98
```
99
100
## Required Libraries:
0 commit comments