Transcribe audio to text using ElevenLabs Scribe v2.
-
Copy the example env file and add your API key:
cp .env.example .env
Then edit
.envand add your ElevenLabs API key. -
Create a virtual environment and install dependencies:
python3 -m venv .venv .venv/bin/pip install -r requirements.txt
Transcribe the bundled quickstart sample:
.venv/bin/python main.pyTranscribe a local file:
.venv/bin/python main.py ./audio.mp3