hfendpoints-images/asr-multilingual-whisper
10
Inference Endpoint - Multilingual Audio Transcription with Whisper models
Deploy OpenAI's Whisper Inference Endpoint to transcribe audio files to text in many languages
Resulting deployment exposes an OpenAI Platform Transcription compatible HTTP endpoint which you can query using the OpenAi Libraries or directly through cURL for instance.
Available Routes
Getting started
- Getting text output from audio file
curl http://localhost:8000/api/v1/audio/transcriptions \
--request POST \
--header 'Content-Type: multipart/form-data' \
-F file=@</path/to/audio/file> \
-F "response_format": "text"- Getting JSON output from audio file
curl http://localhost:8000/api/v1/audio/transcriptions \
--request POST \
--header 'Content-Type: multipart/form-data' \
-F file=@</path/to/audio/file> \
-F "response_format": "json"- Getting segmented JSON output from audio file
curl http://localhost:8000/api/v1/audio/transcriptions \
--request POST \
--header 'Content-Type: multipart/form-data' \
-F file=@</path/to/audio/file> \
-F "response_format": "verbose_json"