pantelnm commited on
Commit
0978f57
1 Parent(s): a9bd620

Upload request.http

Browse files
Files changed (1) hide show
  1. 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