cURL
curl --request POST \ --url http://localhost:8080/v1/audio/transcriptions \ --header 'Content-Type: multipart/form-data' \ --form 'model=<string>' \ --form 'language=<string>' \ --form 'prompt=<string>' \ --form 'response_format=<string>' \ --form 'file_format=<string>' \ --form file=@example-file
{ "text": "<string>", "logprobs": [ { "token": "<string>", "log_prob": 123 } ], "usage": { "prompt_tokens": 123, "completion_tokens": 123, "total_tokens": 123 } }
Transcribes audio into the input language.
Show child attributes
Was this page helpful?