Portkey provides a robust and secure gateway to use and observe Deepgrm’s Speech-to-Text API.
x-portkey-custom-host
openai
curl 'https://api.portkey.ai/v1/listen' \ -H 'Authorization: Token $DEEPGRAM_API_KEY' \ -H 'Content-Type: audio/mp3' \ -H 'x-portkey-custom-host: https://api.deepgram.com/v1' \ -H 'x-portkey-provider: openai' \ -H 'x-portkey-api-key: $PORTKEY_API_KEY' \ --data-binary '@audio.mp3'
Was this page helpful?