#Secure way to use the API and in particularly Whisper API
12 messages · Page 1 of 1 (latest)
but to reiterate -- your question was how can you use the whisper api more securely, and if the only way to send data was to upload to the server and then upload to whisper API
To answer --
You can upload data to the whisper API from anywhere, it is just a multipart form upload POST request
The reason I am asking is to secure my API key
If you're running a server, you should put your API key in something like an environment file and read from the environment file
but if you're the only one with access to your server it should be fine
and as long as you don't hardcode the API key in your code
So I can't basically call the API from my client app? I have to upload the audio to a server first and call the API from there?
if this client app is being installed by other people, then yeah the API key should not be used in the client app
or you should ask people to enter their own API key
Thanks