Skip to content

chandachewe10/whisper-open-ai

Repository files navigation

Transcribe and translate audio files using OpenAI's Whisper API.

Demogif

How it works

speechtext uses the recently released OpenAI Whisper API to transcribe audio files. You can upload any audio file, and the application will send it through the OpenAI Whisper API using Laravel's http client. Translation makes use of the new OpenAI Chat API

Running Locally

Clone the repository

git clone https://github.com/chandachewe10/whisper-open-ai.git

Create an OpenAI account and link your API key.

  1. Sign up at OpenAI to create a free account (you'll get $18 credits)
  2. Click on the "User" / "API Keys" menu item and create a new API key
  3. Copy .env.example file to .env and Configure the OPEN_AI_API_KEY environment variable