curl https://api.openai.com/v1/audio/transcriptions \
-H "Authorization: Bearer MYAPIKEY" \
-H "Content-Type: multipart/form-data" \
-F file="@/home/ambiorixg12/Downloads/brussell-aportes-reg.mp3" \
-F model="whisper-1"
curl https://api.openai.com/v1/audio/transcriptions -H "Authorization: Bearer MYAPIKEY" -H "Content-Type: multipart/form-data" -s -F file="@/home/ambiorixg12/Downloads/daury.mp3" -F model="whisper-1" | awk -F':"' '{print $2}' | awk -F'"}' '{print $1}'
var=$(curl https://api.openai.com/v1/audio/transcriptions -H "Authorization: Bearer MYAPIKEY" -H "Content-Type: multipart/form-data" -s -F file="@/home/ambiorixg12/Downloads/daury.mp3" -F model="whisper-1" | awk -F':"' '{print $2}' | awk -F'"}' '{print $1}')
No hay comentarios:
Publicar un comentario