Upload request.http
Browse files- request.http +9 -0
request.http
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
curl http://localhost:5000/v1/audio/speech \
|
2 |
+
-H "Authorization: Bearer API-KEY" \
|
3 |
+
-H "Content-Type: application/json" \
|
4 |
+
-d '{
|
5 |
+
"model": "tts-1",
|
6 |
+
"input": "Today is a wonderful day to build something people love!",
|
7 |
+
"voice": "alloy"
|
8 |
+
}' \
|
9 |
+
--output speech.mp3
|