Try Bifrost Enterprise free for 14 days. Explore now
cURL
curl --request POST \ --url http://localhost:8080/openai/openai/deployments/{deployment-id}/audio/transcriptions \ --header 'Content-Type: multipart/form-data' \ --form model=whisper-1 \ --form file='@example-file' \ --form 'language=<string>' \ --form 'prompt=<string>' \ --form response_format=json \ --form temperature=0.5 \ --form timestamp_granularities=word \ --form stream=true \ --form 'fallbacks=<string>'
{ "duration": 123, "language": "<string>", "logprobs": [ { "bytes": [ 123 ], "logprob": 123, "token": "<string>" } ], "segments": [ { "id": 123, "seek": 123, "start": 123, "end": 123, "text": "<string>", "tokens": [ 123 ], "temperature": 123, "avg_logprob": 123, "compression_ratio": 123, "no_speech_prob": 123 } ], "task": "<string>", "text": "<string>", "usage": { "type": "tokens", "input_tokens": 123, "input_token_details": { "text_tokens": 123, "audio_tokens": 123 }, "output_tokens": 123, "total_tokens": 123, "seconds": 123 }, "words": [ { "word": "<string>", "start": 123, "end": 123 } ], "extra_fields": { "request_type": "<string>", "provider": "openai", "model_requested": "<string>", "model_deployment": "<string>", "latency": 123, "chunk_index": 123, "raw_request": {}, "raw_response": {}, "cache_debug": { "cache_hit": true, "cache_id": "<string>", "hit_type": "<string>", "provider_used": "<string>", "model_used": "<string>", "input_tokens": 123, "threshold": 123, "similarity": 123 } } }
Azure deployment ID
Model identifier (e.g., whisper-1)
"whisper-1"
Audio file to transcribe
Language of the audio (ISO 639-1)
Prompt to guide transcription
json
text
srt
verbose_json
vtt
0 <= x <= 1
word
segment
Successful response
Show child attributes
Additional fields included in responses
Was this page helpful?