- Install dependencies with
pipenv install
. - Copy
.env.sample
to.env
and save your OpenAI API key. (Setting it to envvarOPENAI_API_KEY
is fine, too.)
- Start the server via
pipenv run serve
. (Or runpipenv run uvicorn main:app --host 0.0.0.0
) - Make a
POST
request to/transcribe
containing the raw audio data. You will be returned the transcription in plaintext.
You can also quickly deploy on Render using this button.