YepAPI
AI Models

Scribe v2

Speech to text in 90+ languages with speaker labels and word timings.

Pricing, live playground and model overview: Scribe v2 API on YepAPI

POST/v1/media/queue
$0.40/hour

Overview

Scribe v2 transcribes more than 90 languages with speaker labels and word timings. Scribe v3 is the newer model at the same price.

PropertyValue
Model IDelevenlabs/scribe-v2
Aliasscribe-v2
CategorySpeech to Text
Pricing$0.40 per hour of audio

Usage

All media models use the async job queue. Submit a job, then poll for the result.

Step 1: Submit Job

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'elevenlabs/scribe-v2',
    audioData: {
      mimeType: 'audio/mpeg',
      base64: 'BASE64_DATA'
    },
    options: {
      params: {
        diarize: true
      }
    }
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "elevenlabs/scribe-v2", "audioData": {"mimeType": "audio/mpeg", "base64": "BASE64_DATA"}, "options": {"params": {"diarize": true}}}'

Step 2: Poll for Result

curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

When status is completed you get result.text with the transcript, and result.data with words (timed), language_code and any extras you asked for. Results are kept for one hour.

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYeselevenlabs/scribe-v2 or alias scribe-v2—
audioDataobjectOne of theseThe file as mimeType and base64: MP3, WAV, FLAC, OGG, M4A or MP4 (video files too). Up to about 18 MB—
options.referenceAudioUrlstringOne of thesePublic URL of the file, up to 50 MB—
options.referenceVideoUrlstringOne of thesePublic URL of a video, up to 50 MB—
options.params.language_codestringNoLanguage of the audio, such as endetected
options.params.diarizebooleanNoLabel who is speakingfalse
options.params.num_speakersintegerNo1 to 32, the most speakers to look fordetected
options.params.timestamps_granularitystringNonone, word or characterword
options.params.formatsarrayNoAlso return files: srt, txt, segmented_json, html, docx, pdf. Needs diarize: true—
options.params.keytermsarrayNoWords to recognise, up to 1,000. Adds $0.10/hour—
options.params.entity_detectionarrayNoFind entities, such as ["pii"]—
options.params.entity_redactionarrayNoRedact them, such as ["pii"]. Must also be in entity_detection—
options.params.transcript_editstringNoAn instruction applied to the transcript, returned as edited_text. Adds $0.132/hour—
options.params.no_verbatimbooleanNoDrop filler words and false startsfalse
options.params.tag_audio_eventsbooleanNoTag sounds such as (laughter)true
options.params.detect_speaker_rolesbooleanNoLabel agent and customer. Needs diarize: true. Adds $0.04/hourfalse
options.params.infer_speaker_namesbooleanNoGuess names from the conversation. Needs diarize: truefalse

Features

  • 90+ languages
  • Up to 32 speakers
  • Word or character timings
  • SRT, TXT, DOCX, PDF and HTML files
  • Files up to 4 hours

Billing

Billed per second of audio, measured when you submit, plus any extras you turn on. $0.01 minimum.

Under the Hood

Powered by ElevenLabs.

On this page