It's base to generate a base instance for OpenAI using the secret key. To do this, create a file named openai.ts and copy the following code within it:
The file here is the audio file to create the transcription for. There are multiple ways to read the file, on web you can simply have an input and set type to file as: