제공업체
ElevenLabs
지원 프로토콜
openai
Providers
ElevenLabs
입력 오디오 / 시간
$0.22/h
Protocols
openai
/v1/audio/transcriptions코드 예제
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: multipart의 provider_options에 JSON 문자열을 넣습니다. elevenlabs.diarize, num_speakers, tag_audio_events, diarization_threshold를 지원하며 오디오는 file에 넣습니다.
관련 모델
자주 묻는 질문
base URL을 https://api.ofox.run/v1로 설정하고 Ofox API Key를 사용하면 됩니다. OpenAI 호환 API — 기존 코드에서 base URL과 API Key만 변경하면 됩니다.