ElevenLabs Scribe v2
Transcriptionelevenlabs/scribe_v2Available Providers
ElevenLabs
Supported Protocols
openai
Providers
ElevenLabs
Input Audio / Hour
$0.22/h
Protocols
openai
/v1/audio/transcriptionsCode Examples
import requestswith open("speech.mp3", "rb") as audio:response = requests.post("https://api.ofox.run/v1/audio/transcriptions",headers={"Authorization": "Bearer YOUR_OFOX_API_KEY"},data={"model": "elevenlabs/scribe_v2", "language": "en", "provider_options": '{"elevenlabs":{"diarize":true,"tag_audio_events":true,"diarization_threshold":0.2}}'},files={"file": ("speech.mp3", audio, "audio/mpeg")},)response.raise_for_status()print(response.json())
Scribe v2: send provider_options as a JSON string multipart field with elevenlabs.diarize, num_speakers, tag_audio_events or diarization_threshold. Upload audio in file.
Related Models
More from ElevenLabs
Frequently Asked Questions
Simply set your base URL to https://api.ofox.run/v1 and use your Ofox API key. The API is OpenAI-compatible โ just change the base URL and API key in your existing code.