Vaibhavs10 / insanely-fast-whisper

Apache License 2.0
7.5k stars 529 forks source link

Add base64 inline audio #154

Open kshmir opened 9 months ago

kshmir commented 9 months ago

Considering using this project, but we require inlining audios in API calls like the Whisper API allows, is this on the roadmap?

Thanks!

Vaibhavs10 commented 9 months ago

Hi @kshmir - Can you please provide a sample? My intuition says this should be supported already. Hence the need for a repro.

kshmir commented 8 months ago

@Vaibhavs10 using the openai api this is how it works

curl --request POST --url https://api.openai.com/v1/audio/translations --header 'Authorization: Bearer TOKEN' --header 'Content-Type: multipart/form-data' --form file=@/path/to/file/german.mp3 --form model=whisper-1