Speech-to-Text
Transcribe Amharic, Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta, Swahili and English audio into text.
Our Speech-to-Text (STT) technology is powered by specialized models trained to accurately recognize African languages. Unlike generic transcription services, our models are optimized for the specific phonemes, accents, and dialects of Amharic and Afaan Oromo.
Try Addis Scribe live
Transcribe Amharic, Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta, Swahili or English live or upload audio. Choose the language, choose Turbo · 3× speed (the default) or Standard (Amharic only), and enter your API key. Both modes use the same transcription rate. Uploaded files can also return word timestamps and captions that play in sync with your audio.
In your own code, add language=om to the API calls below for Afaan Oromo, language=ti for Tigrinya, language=ha, sid, wal or sw for Hausa, Sidama, Wolaytta or Swahili, or language=en for English. See Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta and Swahili and English.
Accuracy benchmarks for Amharic, Afaan Oromo, Hausa, Sidama, Wolaytta and Swahili compare Scribe with other systems on the same test clips. Anyone can reproduce the Amharic, Afaan Oromo and Tigrinya numbers with their own Addis Scribe API key, using the references, transcripts, scorer and scripts in the benchmark folder.
Addis Scribe · Live API
Try transcription in Amharic, Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta, Swahili and English
Record live or upload audio. Standard transcription rates apply.
Marks who said what as Speaker 1, 2… (not names). Uses Turbo.
Up to 15 minutes.
Marks who said what as Speaker 1, 2… (not names). Uses Turbo.
Timestamps return the full result at once, so partial text is off. Turn timestamps off to see partial text. Live recording returns text only unless Label speakers is on above.
WAV, MP3, M4A, WebM, OGG or FLAC · 95 MB · 1 hour
Record speech or upload audio in Amharic, Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta, Swahili or English.
Disconnected? Recover your transcript with no duplicate charge.
Scribe HTTP and streaming API
The Scribe endpoints are separate from the existing file-transcription API documented below. Upload one audio file, up to 95 MB and one hour, with a unique request_id:
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?backend=turbo&request_id=my-transcript-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@audio.wav'Use backend=turbo for Turbo (the default) or backend=standard for Standard. Add language=om to transcribe Afaan Oromo, language=ti for Tigrinya, language=ha for Hausa, language=sid for Sidama, language=wal for Wolaytta, language=sw for Swahili or language=en for English (all Turbo only); without it, Scribe transcribes Amharic (am). Add stream=true for newline-delimited transcript.partial events after uploading; transcript.completed includes the final text and confirmed wallet usage. An ordinary HTTP request returns data.text, data.seconds, data.compute_ms, and data.usage as JSON.
For live microphone input, see Live transcription.
transcript.partial text is provisional. transcript.completed confirms the final text and settled charge. Once audio is accepted, disconnecting still finishes transcription and billing. Recover an interrupted response with GET /api/v1/scribe/requests/YOUR_REQUEST_ID and the same account's API key. Replaying a completed request returns its original result without another charge; changed audio or settings require a new ID. Completed results are recoverable for 24 hours; pending settlements remain recoverable. Each account can run up to 10 file transcriptions and 3 live sessions at the same time. When the service is at capacity, a request waits briefly for a free slot; if none frees up, it returns HTTP 429 with a Retry-After header. Retry after that delay with the same request ID. A request always runs on the backend you chose (standard or turbo); it is never moved to the other one.
GET /api/v1/scribe/usage returns the current STT rate and account balance. Billing uses final transcribed characters, at the existing 3.5 ETB per 1,000 characters rate as of October 4, 2026. Standard and Turbo pricing is the same. Model compute time excludes upload, network, and wallet settlement time.
Scribe SDK quick start
Install the SDK with the commands below. Scribe recognizes Amharic (am, the default), Afaan Oromo (om), Tigrinya (ti), Hausa (ha), Sidama (sid), Wolaytta (wal), Swahili (sw) and English (en). Pass language (for example "ti" or "ha") to any Scribe call: English works with the current SDKs (typed support for "en" arrives in the next SDK release), Hausa, Sidama, Wolaytta and Swahili need SDK 0.13.0 or later, Tigrinya 0.12.0 or later, Afaan Oromo 0.11.0 or later. Without it the SDKs transcribe Amharic. See Afaan Oromo, Tigrinya, Hausa, Sidama, Wolaytta and Swahili and English for the HTTP API. The existing speech.transcribe method below continues to use the separate file-transcription service.
Keep ADDIS_API_KEY on your application server. For browser integrations, create a Scribe session on your server and return the scoped one-use ticket to the browser.
npm install https://github.com/Addis-AI-Org/addisai-js/releases/download/v0.4.0/addisai-0.4.0.tgzimport AddisAI, { fileFromPath, ulid } from "addisai";
const addis = new AddisAI(); // Reads ADDIS_API_KEY
const requestId = ulid(); // Save before sending audio
const result = await addis.scribe.transcribe({
audio: await fileFromPath("audio.wav"),
backend: "turbo",
requestId,
});
console.log(result.text);
console.log(result.usage.creditsUsed, result.usage.currency);
console.log(result.seconds, result.computeMs);
// After an interrupted response, recover this ID before retrying:
// const result = await addis.scribe.recover(requestId);pip install "addisai[realtime]==0.4.0"from addisai import AddisAI, ulid
request_id = ulid() # Save before sending audio
with AddisAI() as addis, open("audio.wav", "rb") as audio:
result = addis.scribe.transcribe(
audio=audio, backend="turbo", request_id=request_id,
)
print(result["text"])
print(result["usage"]["credits_used"], result["usage"]["currency"])
print(result["seconds"], result["compute_ms"])
# After an interrupted response, recover this ID before retrying:
# result = addis.scribe.recover(request_id)Stream transcript updates after a file upload
scribe.stream uploads the audio first, then yields provisional partials followed by a settled completion. This is useful when you already have a recording. Use a WebSocket session for audio captured as the speaker talks.
const stream = await addis.scribe.stream({
audio: await fileFromPath("audio.wav"),
backend: "turbo",
requestId: ulid(),
});
try {
for await (const event of stream) {
if (event.type === "transcript.partial") console.log(event.text);
if (event.type === "transcript.completed") {
console.log(event.data.text, event.data.usage.creditsUsed);
}
}
} finally {
stream.close();
}with open("audio.wav", "rb") as audio:
with addis.scribe.stream(audio=audio, request_id=ulid()) as stream:
for event in stream:
if event["type"] == "transcript.partial":
print(event["text"])
elif event["type"] == "transcript.completed":
print(event["data"]["text"])
print(event["data"]["usage"]["credits_used"])Connect live audio with the SDK
Stream microphone or PCM audio with scribe.connect. See Connect live audio with the SDK on the Live transcription page.
Scribe methods and limits
| Operation | Node.js | Python |
|---|---|---|
| Read model capabilities and limits | scribe.capabilities() | scribe.capabilities() |
| Check wallet and current character rate | scribe.usage() | scribe.usage() |
| Transcribe a file | scribe.transcribe(...) | scribe.transcribe(...) |
| File upload with partial updates | scribe.stream(...) | scribe.stream(...) |
| Issue a one-use browser ticket | scribe.createSession(...) | scribe.create_session(...) |
| Open a live PCM connection | scribe.connect(...) | scribe.connect(...) |
| Recover an existing request | scribe.recover(requestId) | scribe.recover(request_id) |
| Word timestamps and caption cues (0.5.0) | scribe.transcribe({ ..., timestamps: "word" }) | scribe.transcribe(..., timestamps="word") |
| Build SRT or VTT captions locally (0.5.0) | toSrt(result), toVtt(result) | addisai.to_srt(result), addisai.to_vtt(result) |
| Speaker labels on words and caption cues (0.6.0, Turbo) | scribe.transcribe({ ..., backend: "turbo", speakers: true }) | scribe.transcribe(..., backend="turbo", speakers=True) |
| SRT or VTT captions with speaker labels (0.6.0) | toSrt(result), toVtt(result) | addisai.to_srt(result), addisai.to_vtt(result) |
| Long audio up to three hours as a job, with progress (0.9.0, Turbo) | scribe.transcribeLong({ audio, speakers, timestamps, requestId, onProgress }) | scribe.transcribe_long(audio=..., speakers=..., timestamps=..., request_id=..., on_progress=...) |
| Drive a long-audio job step by step (0.9.0) | scribe.jobs.upload(...), scribe.jobs.create(...), scribe.jobs.putPart(...), scribe.jobs.complete(...), scribe.jobs.status(...), scribe.jobs.wait(...) | scribe.jobs.upload(...), scribe.jobs.create(...), scribe.jobs.put_part(...), scribe.jobs.complete(...), scribe.jobs.status(...), scribe.jobs.wait(...) |
| Cancel a long-audio job (0.10.0) | scribe.jobs.cancel(requestId) | scribe.jobs.cancel(request_id) |
HTTP defaults to Turbo and 1120ms chunks; live sessions default to Turbo and 320ms chunks (SDK 0.7.0 and the API share this default; older SDKs send Standard unless told otherwise). Either transport accepts 320ms or 1120ms. File uploads accept at most 95 MiB / one hour, speaker labels included. WAV files are accepted at any sample rate and channel count (stereo is mixed down); an empty file returns HTTP 422 INVALID_AUDIO. For anything longer, up to three hours, send a long-audio job. Socket frames accept at most two seconds each, and a live session up to 15 minutes in total. GET /api/v1/scribe returns the current limits (max_upload_bytes, max_upload_seconds, max_live_seconds) and, in languages, the backends each language supports.
A long upload can take longer than a proxy keeps a request open. If the transcription is still running after about 75 seconds, POST /transcribe answers 202 with {"data": {"request_id": "…", "status": "processing", "poll_url": "/api/v1/scribe/requests/…"}} and a Retry-After header. The transcription keeps running and is billed once; poll GET /api/v1/scribe/requests/{request_id} (it answers 409 IN_PROGRESS until the result is ready). SDK 0.8.0 does this for you. With stream=true the response stays open, sending blank keep-alive lines that clients skip. Socket tickets are one-use and expire after 60 seconds. An unavailable mode returns an error.
Billing and interrupted requests
Only the final transcript is billable. Partial events are provisional cumulative text and do not add separate charges. Character counts use UTF-16 code units, matching the existing STT wallet ledger. Read the current rate through scribe.usage(); confirmed completion includes the charged characters, rate, credits used, remaining balance, currency, and ledger record ID. Audio duration and model compute time are metrics, not the billing unit.
Save a request ID before sending audio. The SDK disables automatic retries for paid uploads and ticket creation. If the response is interrupted or billing is pending, call scribe.recover with that ID and the same account's key. A completed replay returns its original settled result without another deduction. Use a new ID when changing audio, backend, chunk, or HTTP streaming settings. Accepted audio can still finish and be billed after a socket disconnect or when you stop reading an HTTP stream.
Completed results remain recoverable for 24 hours; pending settlement remains recoverable. Recovery can report IN_PROGRESS, BILLING_PENDING, REQUEST_INTERRUPTED, or NOT_FOUND. Do not display a confirmed charge unless usage.settled is true. A request beyond your account's limit (10 file transcriptions or 3 live sessions at once), or one that finds the service at capacity, returns HTTP 429 with Retry-After. Changed inputs with a reused ID return HTTP 409.
Afaan Oromo New
Scribe transcribes Afaan Oromo (language code om) as well as Amharic (am, the default). It is the same API with one extra parameter: uploads, live sessions, word timestamps, SRT and VTT captions, speaker labels and long-audio jobs all work in Oromo, with the same limits and the same price per character as Amharic. Afaan Oromo runs on Turbo only.
Prop
Type
Amharic (am) | Afaan Oromo (om) | |
|---|---|---|
model in responses | addis-scribe-streaming | addis-scribe-oromo-streaming |
| Backends | Standard, Turbo | Turbo only |
| File uploads and live sessions | Yes | Yes |
| Word timestamps, SRT and VTT captions | Yes | Yes |
| Speaker labels (uploads and live) | Yes | Yes |
| Long-audio jobs | Yes | Yes |
| Chunks | 320ms, 1120ms | 320ms, 1120ms |
| Limits | Uploads 95 MB and one hour, live 15 minutes | Same |
| Price | Per transcribed character | Same rate as Amharic |
Upload an Oromo recording. Every other option (chunk, stream, timestamps, format, speakers, request_id) works as for Amharic; leave backend at its default, turbo:
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=om&request_id=my-oromo-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@oromo.wav'
# Oromo captions with speaker labels
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=om&speakers=true&format=srt&request_id=my-oromo-2' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@interview.wav' \
-o captions.srtThe result has the usual shape. Oromo results also carry language, set to om, and model, set to addis-scribe-oromo-streaming:
{
"data": {
"request_id": "my-oromo-1",
"text": "…",
"language": "om",
"backend": "turbo"
}
}For live Oromo, add "language": "om" to the session body, then connect to the WebSocket exactly as for Amharic (see Live transcription):
curl 'https://api.addisassistant.com/api/v1/scribe/sessions' \
-H "x-api-key: $ADDIS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"language": "om", "backend": "turbo", "chunk": "320ms", "request_id": "my-oromo-live-1"}'For a long Oromo recording, add language=om to the long-audio job request, for example POST /api/v1/scribe/jobs?language=om&request_id=my-oromo-meeting-1&speakers=true. For a job sent in parts, put "language": "om" in the JSON body of the declaration, or in its query string; both are accepted, and the body wins if they differ.
Leaving out language means Amharic, exactly as before: Amharic requests and responses are unchanged. An unknown value returns HTTP 422 UNSUPPORTED_LANGUAGE, and the message lists the accepted codes. Oromo with backend=standard returns HTTP 422 INVALID_REQUEST with the message Oromo is transcribed on the turbo backend (backend=turbo).
The GET /api/v1/scribe capabilities response includes a languages object, keyed by language code, with each language's model, backends and speakers (whether speaker labels are available):
languages key | model | backends | speakers |
|---|---|---|---|
am | addis-scribe-streaming | ["standard", "turbo"] | true |
om | addis-scribe-oromo-streaming | ["turbo"] | true |
ti | addis-scribe-tigrinya-streaming | ["turbo"] | true |
ha | addis-scribe-hausa-streaming | ["turbo"] | true |
sid | addis-scribe-sidama-streaming | ["turbo"] | true |
wal | addis-scribe-wolaytta-streaming | ["turbo"] | true |
sw | addis-scribe-swahili-streaming | ["turbo"] | false |
en | addis-scribe-english-streaming | ["turbo"] | true |
Accuracy. On natural Afaan Oromo speech, Addis Scribe has the lowest error rate of every system we tested: 21.1% word error rate live, with the final text about 40 ms after the speaker stops. See the Addis Scribe Oromo benchmark for the test set, every system compared and the method. Anyone can reproduce these numbers with their own Addis Scribe API key: the benchmark folder has the references, every system's transcripts, the scorer, and scripts and a local app to run each system again.
Tigrinya New
Scribe transcribes Tigrinya (language code ti) as well as Amharic (am, the default) and Afaan Oromo (om). It is the same API with the same language parameter: uploads, live sessions, word timestamps, SRT and VTT captions, speaker labels and long-audio jobs all work in Tigrinya, with the same limits and the same price per character as Amharic. Tigrinya runs on Turbo only.
Amharic (am) | Tigrinya (ti) | |
|---|---|---|
model in responses | addis-scribe-streaming | addis-scribe-tigrinya-streaming |
| Backends | Standard, Turbo | Turbo only |
| File uploads and live sessions | Yes | Yes |
| Word timestamps, SRT and VTT captions | Yes | Yes |
| Speaker labels (uploads and live) | Yes | Yes |
| Long-audio jobs | Yes | Yes |
| Chunks | 320ms, 1120ms | 320ms, 1120ms |
| Limits | Uploads 95 MB and one hour, live 15 minutes | Same |
| Price | Per transcribed character | Same rate as Amharic |
Upload a Tigrinya recording. Every other option (chunk, stream, timestamps, format, speakers, request_id) works as for Amharic; leave backend at its default, turbo:
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=ti&request_id=my-tigrinya-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@tigrinya.wav'
# Tigrinya captions with speaker labels
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=ti&speakers=true&format=srt&request_id=my-tigrinya-2' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@interview.wav' \
-o captions.srtThe result has the usual shape. Tigrinya results also carry language, set to ti, and model, set to addis-scribe-tigrinya-streaming:
{
"data": {
"request_id": "my-tigrinya-1",
"text": "…",
"language": "ti",
"backend": "turbo"
}
}For live Tigrinya, add "language": "ti" to the session body, then connect to the WebSocket exactly as for Amharic (see Live transcription):
curl 'https://api.addisassistant.com/api/v1/scribe/sessions' \
-H "x-api-key: $ADDIS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"language": "ti", "backend": "turbo", "chunk": "320ms", "request_id": "my-tigrinya-live-1"}'For a long Tigrinya recording, add language=ti to the long-audio job request, for example POST /api/v1/scribe/jobs?language=ti&request_id=my-tigrinya-meeting-1&speakers=true. For a job sent in parts, put "language": "ti" in the JSON body of the declaration, or in its query string; both are accepted, and the body wins if they differ.
Tigrinya with backend=standard returns HTTP 422 INVALID_REQUEST. In the GET /api/v1/scribe capabilities response, languages.ti lists the model addis-scribe-tigrinya-streaming, the backends ["turbo"] and speakers: true; see the table under Afaan Oromo.
Hausa, Sidama, Wolaytta and Swahili New
Scribe also transcribes Hausa (ha), Sidama (sid), Wolaytta (wal) and Swahili (sw). It is the same API with the same language parameter: uploads, live sessions, word timestamps, SRT and VTT captions and long-audio jobs all work in these languages, with the same limits and the same price per character as Amharic. Speaker labels work in Hausa, Sidama and Wolaytta, not in Swahili. All four run on Turbo only.
| Language | language | model in responses | Speaker labels | Text |
|---|---|---|---|---|
| Hausa | ha | addis-scribe-hausa-streaming | Yes | Lowercase, no punctuation, with the Hausa letters ɓ, ɗ and ƙ |
| Sidama | sid | addis-scribe-sidama-streaming | Yes | Lowercase, no punctuation; an apostrophe marks the glottal stop |
| Wolaytta | wal | addis-scribe-wolaytta-streaming | Yes | Lowercase, no punctuation; an apostrophe marks the glottal stop |
| Swahili | sw | addis-scribe-swahili-streaming | No | Capital letters, punctuation, and numbers as digits |
Everything else works as for Afaan Oromo and Tigrinya: 320ms and 1120ms chunks, uploads up to 95 MB and one hour, live sessions up to 15 minutes, newline-delimited streaming with stream=true, and long-audio jobs.
Price. These four languages are billed at the same per-character rate as Amharic. They are written in the Latin alphabet, which takes about twice as many characters as Amharic for the same speech, so a minute of audio costs about twice as much as a minute of Amharic.
Upload a recording with the language code. Every other option (chunk, stream, timestamps, format, speakers, request_id) works as for Amharic; leave backend at its default, turbo:
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=ha&request_id=my-hausa-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@hausa.wav'
# Sidama captions with speaker labels
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=sid&speakers=true&format=srt&request_id=my-sidama-2' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@interview.wav' \
-o captions.srt
# Swahili captions (Swahili has no speaker labels, so leave out speakers)
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=sw&format=vtt&request_id=my-swahili-3' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@swahili.wav' \
-o captions.vttThe result has the usual shape. It also carries language, set to the code you sent, and model, set to that language's model from the table above:
{
"data": {
"request_id": "my-hausa-1",
"text": "…",
"language": "ha",
"backend": "turbo"
}
}For a live session, add the code to the session body, then connect to the WebSocket exactly as for Amharic (see Live transcription):
curl 'https://api.addisassistant.com/api/v1/scribe/sessions' \
-H "x-api-key: $ADDIS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"language": "wal", "backend": "turbo", "chunk": "320ms", "request_id": "my-wolaytta-live-1"}'For a long recording, add the code to the long-audio job request, for example POST /api/v1/scribe/jobs?language=sid&request_id=my-sidama-meeting-1&speakers=true. For a job sent in parts, put "language": "sid" in the JSON body of the declaration, or in its query string; both are accepted, and the body wins if they differ.
Any of these languages with backend=standard returns HTTP 422 INVALID_REQUEST. In the GET /api/v1/scribe capabilities response, languages.ha, languages.sid, languages.wal and languages.sw list each model, the backends ["turbo"] and speakers (false for Swahili); see the table under Afaan Oromo.
Hausa
On the WAXAL Hausa test (197 clips), Addis Scribe has a 22.5% word error rate live, about level with the best system we compared it with (22.2%). On Common Voice Hausa it has 17.3%, fewer errors than the systems we compared it with (21.2% and 24.6%). On FLEURS Hausa it has 24.2%, and one of them is ahead (19.5%). See the Addis Scribe Hausa benchmark for the systems, test sets and modes.
Sidama
On the WAXAL Sidama test (150 clips), Addis Scribe has a 33.6% word error rate live. The best system we compared it with is slightly ahead at 33.0%, and the next has 34.3%. See the Addis Scribe Sidama benchmark for the systems and modes.
Wolaytta
On the WAXAL Wolaytta test (103 clips), Addis Scribe has the lowest word error rate of the systems we compared: 37.4% live, narrowly ahead of the next two (39.4% and 40.3%). The set is small, so a point or two either way is within noise. See the Addis Scribe Wolaytta benchmark for the systems and modes.
Swahili
Addis Scribe has a 14.6% word error rate live on FLEURS Swahili, 7.9% on the African Voices Swahili test and 19.6% on Common Voice Swahili. The systems we compared it with are ahead on all three: African Voices (6.3% and 7.2%), FLEURS (8.8%) and Common Voice (15.8% and 18.7%). See the Addis Scribe Swahili benchmark for the systems and sets.
English New
Scribe also transcribes English (en). It is the same API with the same language parameter: uploads, live sessions, word timestamps, SRT and VTT captions, speaker labels and long-audio jobs all work, with the same limits and the same price per character as Amharic. English runs on Turbo only; backend=standard returns HTTP 422 INVALID_REQUEST.
| Language | language | model in responses | Speaker labels | Text |
|---|---|---|---|---|
| English | en | addis-scribe-english-streaming | Yes | Capital letters and punctuation |
Price. English is billed at the same per-character rate as Amharic. It is written in the Latin alphabet, which takes about twice as many characters as Amharic for the same speech, so a minute of English costs about twice as much as a minute of Amharic.
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?language=en&request_id=my-english-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@meeting.wav'
# English live session
curl 'https://api.addisassistant.com/api/v1/scribe/sessions' \
-H "x-api-key: $ADDIS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"language": "en", "backend": "turbo", "chunk": "320ms", "request_id": "my-english-live-1"}'The result carries language set to en and model set to addis-scribe-english-streaming. For a long recording, add language=en to the long-audio job request. In the GET /api/v1/scribe capabilities response, languages.en lists the model, the backends ["turbo"] and speakers: true.
Timestamps and captions New
Scribe can return the time of every word and ready-made caption cues for a completed file upload. Use them to subtitle a video, highlight words while audio plays, or jump to the moment a phrase was said. Ask for JSON with timestamps=word, or ask for a caption file directly with format=srt or format=vtt.
These query parameters are added to POST /api/v1/scribe/transcribe. Everything else about the request stays the same.
Prop
Type
With timestamps=word, the usual data object also contains:
{
"data": {
"text": "ሰላም ወዳጆቻችን እንዴት ከረማችሁ ዛሬ እንግዲህ",
"words": [
{ "text": "ሰላም", "start": 18.9, "end": 19.52 },
{ "text": "ወዳጆቻችን", "start": 19.6, "end": 20.08 }
],
"segments": [
{ "text": "ሰላም ወዳጆቻችን እንዴት ከረማችሁ ዛሬ እንግዲህ", "start": 18.8, "end": 21.8 }
]
}
}- Times are seconds from the start of the file, with at most two decimals.
wordsare in spoken order. A word'sendis never before itsstart.segmentsare caption cues. A cue breaks at a pause of half a second or more, at two lines of 42 characters, or at 7 seconds, and cues never overlap. Segmenttextis one line; caption files wrap it at 42 characters, two lines at most.
format=srt returns a SubRip file (application/x-subrip). format=vtt returns WebVTT (text/vtt) with a WEBVTT header and 00:00:18.800-style times.
1
00:00:18,800 --> 00:00:21,800
ሰላም ወዳጆቻችን እንዴት ከረማችሁ ዛሬ እንግዲህ እንግዳ አድርጌ
ያቀረኩላችሁnpm install https://github.com/Addis-AI-Org/addisai-js/releases/download/v0.5.0/addisai-0.5.0.tgzimport { writeFile } from "node:fs/promises";
import AddisAI, { fileFromPath, toSrt, ulid } from "addisai";
const addis = new AddisAI();
const result = await addis.scribe.transcribe({
audio: await fileFromPath("audio.wav"),
timestamps: "word",
requestId: ulid(),
});
for (const word of result.words ?? []) {
console.log(word.start, word.end, word.text);
}
await writeFile("captions.srt", toSrt(result)); // or toVtt(result)pip install "addisai[realtime]==0.5.0"import addisai
from addisai import AddisAI, ulid
with AddisAI() as client, open("audio.wav", "rb") as audio:
result = client.scribe.transcribe(
audio=audio, timestamps="word", request_id=ulid(),
)
for word in result["words"]:
print(word["start"], word["end"], word["text"])
with open("captions.srt", "w", encoding="utf-8") as captions:
captions.write(addisai.to_srt(result)) # or addisai.to_vtt(result)# JSON with words and segments
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?timestamps=word&request_id=my-captions-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@audio.wav'
# An SRT caption file
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?format=srt&request_id=my-captions-2' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@audio.wav' \
-o captions.srttoSrt/toVtt and to_srt/to_vtt run locally on the result you already have; they make no API call. To get captions for an earlier request, call GET /api/v1/scribe/requests/YOUR_REQUEST_ID?format=srt (or vtt). This works only for requests made with timestamps.
Limits
- Timestamps are available for completed file uploads only. They are not available with
stream=trueor on live WebSocket sessions; combining them withstream=truereturns HTTP 422INVALID_REQUEST. - Files are limited to one hour and 95 MiB, as for other uploads, or up to three hours as a long-audio job.
- There is no extra charge. Billing stays per transcribed character.
- Scribe does not add punctuation, so captions break at pauses rather than at the ends of sentences.
Accuracy. Times come from the speech model and are close, not exact. On long Amharic recordings, captions usually appear about 0.15 seconds after the speaker starts and disappear about 0.4 seconds before they finish. That is fine for subtitles and following along, but check by ear if you need frame-exact edits.
Speaker labels New
Scribe can tell you who said what in a recording with more than one voice, such as an interview, a meeting, or a podcast. Every word and every caption cue gets a speaker number. Speakers are numbered Speaker 1, Speaker 2, … in the order they first speak; Scribe does not know or return anyone's name.
Add this query parameter to POST /api/v1/scribe/transcribe. Everything else about the request stays the same.
Prop
Type
With speakers=true, each word and segment has a speaker field, and data.speakers is the number of different speakers found:
{
"data": {
"text": "ሰላም ወዳጆቻችን እንዴት ናችሁ",
"words": [
{ "text": "ሰላም", "start": 0.98, "end": 1.08, "speaker": 1 },
{ "text": "ወዳጆቻችን", "start": 1.12, "end": 1.6, "speaker": 1 },
{ "text": "እንዴት", "start": 1.7, "end": 2.2, "speaker": 2 },
{ "text": "ናችሁ", "start": 2.3, "end": 3.0, "speaker": 2 }
],
"segments": [
{ "text": "ሰላም ወዳጆቻችን", "start": 0.6, "end": 1.6, "speaker": 1 },
{ "text": "እንዴት ናችሁ", "start": 1.7, "end": 3.0, "speaker": 2 }
],
"speakers": 2
}
}speakeris1,2, and so on, numbered by first appearance. It isnullwhen Scribe could not tell who said a word.- A caption cue always ends when the speaker changes, so each cue has one speaker. A word with
speaker: nullstays in the current cue.
Caption files show the speaker on every cue. format=srt puts Speaker N: before the cue text; the label counts toward the 42-character line length:
1
00:00:00,600 --> 00:00:01,600
Speaker 1: ሰላም ወዳጆቻችንformat=vtt uses a WebVTT voice tag, <v Speaker N>, at the start of the cue instead of a text label:
00:00:00.600 --> 00:00:01.600
<v Speaker 1>ሰላም ወዳጆቻችንnpm install https://github.com/Addis-AI-Org/addisai-js/releases/download/v0.6.0/addisai-0.6.0.tgzimport { writeFile } from "node:fs/promises";
import AddisAI, { fileFromPath, toSrt, ulid } from "addisai";
const addis = new AddisAI();
const result = await addis.scribe.transcribe({
audio: await fileFromPath("interview.wav"),
backend: "turbo", // Speaker labels need Turbo
speakers: true, // Also turns on word timestamps
requestId: ulid(),
});
console.log(`${result.speakers} speakers`);
for (const segment of result.segments ?? []) {
console.log(`Speaker ${segment.speaker ?? "?"}:`, segment.text);
}
await writeFile("captions.srt", toSrt(result)); // or toVtt(result)pip install "addisai[realtime]==0.6.0"import addisai
from addisai import AddisAI, ulid
with AddisAI() as client, open("interview.wav", "rb") as audio:
result = client.scribe.transcribe(
audio=audio,
backend="turbo", # Speaker labels need Turbo
speakers=True, # Also turns on word timestamps
request_id=ulid(),
)
print(result["speakers"], "speakers")
for segment in result["segments"]:
print(f"Speaker {segment['speaker'] or '?'}:", segment["text"])
with open("captions.srt", "w", encoding="utf-8") as captions:
captions.write(addisai.to_srt(result)) # or addisai.to_vtt(result)# JSON with words, segments, and speaker numbers
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?backend=turbo&speakers=true&request_id=my-speakers-1' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@interview.wav'
# An SRT caption file with "Speaker N: " labels
curl 'https://api.addisassistant.com/api/v1/scribe/transcribe?backend=turbo&speakers=true&format=srt&request_id=my-speakers-2' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@interview.wav' \
-o captions.srtIn SDK 0.6.0, toSrt/toVtt and to_srt/to_vtt add the same speaker labels whenever a segment has a speaker, so local caption files match the API's byte for byte. The SDKs check the request before sending it: speakers without backend: "turbo" (backend="turbo" in Python), or with scribe.stream, is rejected locally.
Limits
- Speaker labels need
backend=turbo. With Standard the API returns HTTP 422INVALID_REQUEST; withstream=trueit also returns HTTP 422. Live WebSocket sessions return text only. scribe.capabilities()lists the backends that support speaker labels and the most speakers Scribe will separate in one file (currently 8).- There is no extra charge. Billing stays per transcribed character.
- A request ID is tied to its settings. Replaying the same ID with a different
speakersvalue returns HTTP 409; use a new ID. - Files are limited to one hour and 95 MiB, as for other uploads, or up to three hours as a long-audio job.
Accuracy. On simulated Amharic conversations, 97.8% of words get the right speaker. It works best with 2 to 4 speakers who take turns. When people talk over each other, words near the overlap are more likely to get the wrong speaker or null. Check the labels before publishing anything where it matters who said what.
Long audio: up to three hours New
One upload stops at one hour and 95 MB. For anything longer, up to three hours, send the file as a job: you get a request ID back at once, poll for progress, and read one transcript with one speaker numbering and one bill. Use a job for a long interview, a meeting, or a lecture, or for any file when you want a job ID and progress while it runs. Jobs run on Turbo and take the same formats as other uploads (WAV, MP3, M4A, OGG, FLAC, AIFF, WebM, MKV; stereo is mixed down).
A job takes the same query parameters as POST /transcribe: backend (Turbo only), chunk, timestamps, and speakers. For jobs, timestamps defaults to word, so the result has words and segments unless you send timestamps=none.
One request: files up to 95 MB. A three-hour MP3 or M4A fits in one request. Post the file to /jobs with a unique request_id:
curl 'https://api.addisassistant.com/api/v1/scribe/jobs?request_id=my-meeting-1&speakers=true' \
-H "x-api-key: $ADDIS_API_KEY" \
-F 'audio=@meeting.mp3'The job starts at once. The answer is 202 with a Location header pointing at poll_url and a Retry-After header:
{
"data": {
"request_id": "my-meeting-1",
"status": "queued",
"audio_seconds": null,
"poll_url": "/api/v1/scribe/requests/my-meeting-1",
"job_url": "/api/v1/scribe/jobs/my-meeting-1"
}
}Poll GET /api/v1/scribe/requests/{request_id} (add ?format=srt or ?format=vtt for a caption file). While the job runs it answers 202 with the current progress and Retry-After (5 seconds, or 10 while more than ten minutes of audio remain). When the job is done it answers 200 with the result. Sending the same file and settings under the same ID again returns the current state; a different file or different settings under the same ID returns HTTP 409.
For a status view with progress, call GET /api/v1/scribe/jobs/{request_id}:
{
"data": {
"request_id": "my-meeting-1",
"status": "processing",
"audio_seconds": 9015.3,
"processed_seconds": 3012.8,
"chunks": { "total": 6, "done": 2 },
"poll_url": "/api/v1/scribe/requests/my-meeting-1"
}
}status is uploading, queued, processing, completed, or failed. audio_seconds is the decoded length, processed_seconds is how much has been transcribed so far, and chunks is how many pieces the file was cut into and how many are done. When status is failed, error carries the code and message, and nothing was charged.
Parts: files over 95 MB, up to 512 MB. A three-hour WAV is about 345 MB, so it does not fit in one request. Declare the job with its size in bytes, then send the file in parts:
# 1. Declare the job (201). Settings go in the body instead of the query string.
curl 'https://api.addisassistant.com/api/v1/scribe/jobs' \
-H "x-api-key: $ADDIS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"request_id": "my-meeting-2", "bytes": 362000044, "speakers": true}'
# → {"data": {"request_id": "my-meeting-2", "status": "uploading",
# "part_bytes": 4194304, "parts": 87, "received": [], ...}}
# 2. Send each part: the raw bytes [index × part_bytes, (index + 1) × part_bytes)
# of the file. For example, split -b 4194304 meeting.wav part- makes part-aa, part-ab, …
curl -X PUT 'https://api.addisassistant.com/api/v1/scribe/jobs/my-meeting-2/parts/0' \
-H "x-api-key: $ADDIS_API_KEY" \
-H 'Content-Type: application/octet-stream' \
--data-binary @part-aa
# → {"data": {"index": 0, "received": [0]}}
# 3. Start the job once every part is there (202, same body as the one-request create)
curl -X POST 'https://api.addisassistant.com/api/v1/scribe/jobs/my-meeting-2/complete' \
-H "x-api-key: $ADDIS_API_KEY"The declaration is a JSON body of at most 4 KB; a larger one returns HTTP 413 PAYLOAD_TOO_LARGE. Every part but the last is exactly part_bytes long (currently 4 MiB). Send parts one at a time, in any order. To resume after a dropped connection, declare the job again with the same body: the answer is 200 with the received list, and you send only the parts that are missing. While the upload is open, a stored part sent again with the same bytes is a no-op; different bytes return HTTP 409, and a wrong length returns HTTP 422. POST …/complete returns HTTP 409 UPLOAD_INCOMPLETE with the missing indexes while parts are still missing; calling it again is safe, and once the job runs it answers like the one-request create. After complete the upload is closed: a part sent then returns HTTP 409 UPLOAD_CLOSED, as does a part sent to a job created with its audio in one request.
An unfinished upload expires 30 minutes after its last new part arrived (or after the declaration, if no part has arrived yet). expires_at in the job view is that time, and it moves forward each time a new part is stored. Reading the job, declaring it again, or sending a stored part again does not move it. Once it expires, the upload no longer counts toward your account's limit of 2 jobs, it is deleted with its parts, GET /api/v1/scribe/jobs/{request_id} and any further part return HTTP 404 NOT_FOUND, and the request ID is free again: declare the job again and send every part. However often parts arrive, an upload must be completed within 24 hours of its declaration.
Cancel a job. Send DELETE /api/v1/scribe/jobs/{request_id} with the same key. Nothing is charged for a cancelled job, including one stopped while processing: pieces already transcribed are not billed. The answer says what was cancelled: was is the state the job was in (uploading, queued, or processing), and request_id_reusable says whether you can use the request ID again at once.
curl -X DELETE 'https://api.addisassistant.com/api/v1/scribe/jobs/my-meeting-2' \
-H "x-api-key: $ADDIS_API_KEY"
# → {"data": {"request_id": "my-meeting-2", "status": "cancelled",
# "was": "uploading", "request_id_reusable": true}}| Job state | What a cancel does | Request ID |
|---|---|---|
uploading or queued | Removes the job, its parts and its files | Free again at once |
processing | Stops the job; polls then return HTTP 409 REQUEST_CANCELLED | Stays used; send the file again under a new ID |
completed or failed | Nothing; returns HTTP 409 JOB_FINISHED | Unchanged |
Cancelling a processing job again returns the same answer. A removed upload or queued job is gone, so a second cancel returns HTTP 404. Another account's job returns HTTP 404.
SDK. scribe.transcribeLong (Node.js) and scribe.transcribe_long (Python), in SDK 0.9.0 and later, do all of this in one call. They send one request when the file is at most 95 MiB and otherwise declare the job and send 4 MiB parts in order, resuming from received after a dropped connection. Then they poll GET /requests/{id} every 5 seconds, honouring Retry-After, for up to four hours, calling onProgress / on_progress with each 202 body, and return the settled result in the same shape as transcribe. toSrt / to_srt and toVtt / to_vtt work on it unchanged. From SDK 0.10.0, stopping the call before the upload is complete (aborting the signal you pass in Node.js, or Ctrl-C / KeyboardInterrupt in Python) cancels the job, so an interrupted upload does not hold one of your two job slots. Once the job is queued, stopping only ends the waiting: the job runs on and recover reads the result later.
npm install https://github.com/Addis-AI-Org/addisai-js/releases/download/v0.9.0/addisai-0.9.0.tgzimport { writeFile } from "node:fs/promises";
import AddisAI, { fileFromPath, toSrt, ulid } from "addisai";
const addis = new AddisAI();
const requestId = ulid(); // Save before sending audio
const result = await addis.scribe.transcribeLong({
audio: await fileFromPath("meeting.mp3"),
speakers: true, // Turbo only; also turns on word timestamps
requestId,
onProgress: (job) => {
// Called with each 202 body while the job runs (camelCase fields)
console.log(job.status, `${job.processedSeconds ?? 0}/${job.audioSeconds ?? "?"} s`, job.chunks?.done ?? 0, "of", job.chunks?.total ?? "?", "pieces");
},
});
console.log(result.text);
console.log(`${result.chunks} pieces, ${result.speakers} speakers`);
console.log(result.usage.creditsUsed, result.usage.currency);
await writeFile("captions.srt", toSrt(result)); // or toVtt(result)
// After an interrupted call, recover this ID before retrying:
// const result = await addis.scribe.recover(requestId);pip install "addisai[realtime]==0.9.0"import addisai
from addisai import AddisAI, ulid
request_id = ulid() # Save before sending audio
with AddisAI() as addis, open("meeting.mp3", "rb") as audio:
result = addis.scribe.transcribe_long(
audio=audio,
speakers=True, # Turbo only; also turns on word timestamps
request_id=request_id,
# Called with each 202 body while the job runs
on_progress=lambda job: print(
job["status"], job.get("processed_seconds"), "/", job.get("audio_seconds"), "s"
),
)
print(result["text"])
print(result["chunks"], "pieces,", result["speakers"], "speakers")
print(result["usage"]["credits_used"], result["usage"]["currency"])
with open("captions.srt", "w", encoding="utf-8") as captions:
captions.write(addisai.to_srt(result)) # or addisai.to_vtt(result)
# After an interrupted call, recover this ID before retrying:
# result = addis.scribe.recover(request_id)To drive a job yourself, use the lower-level calls: scribe.jobs.upload(...) (one request), scribe.jobs.create(...) (declaration), scribe.jobs.putPart(requestId, index, bytes) / scribe.jobs.put_part(request_id, index, bytes), scribe.jobs.complete(requestId), scribe.jobs.status(requestId), scribe.jobs.wait(requestId, { onProgress }) / scribe.jobs.wait(request_id, on_progress=...), and, from SDK 0.10.0, scribe.jobs.cancel(requestId) / scribe.jobs.cancel(request_id). As with other paid calls, the SDK does not retry the paid steps on its own; after an interruption, call scribe.recover with the saved ID.
The result has the same shape as transcribe, with mode: "job" and chunks, the number of pieces the file was cut into:
{
"data": {
"request_id": "my-meeting-1",
"text": "…",
"seconds": 9015.3,
"compute_ms": 61234,
"backend": "turbo",
"chunk": "1120ms",
"mode": "job",
"chunks": 6,
"words": [{ "text": "ሰላም", "start": 0.7, "end": 1.1, "speaker": 1 }],
"segments": [{ "text": "…", "start": 0.3, "end": 4.2, "speaker": 1 }],
"speakers": 3,
"usage": { "characters": 74210, "credits_used": 259.735, "currency": "ETB", "settled": true }
}
}Later reads of a completed job return the same result with idempotent_replay: true and no further charge.
How it works. The gateway decodes the file, then cuts it at pauses into pieces of about 25 minutes, each also hearing 2 minutes of its neighbours. The pieces are transcribed on Turbo, a few at a time, and stitched back into one transcript: words in file time, the overlap deduplicated at each cut, and every piece's speaker numbers mapped onto one numbering through the words both neighbours heard. Only the final text is billed, once, exactly as /transcribe; the audio heard twice in the overlaps costs nothing extra.
Speakers across a cut. Speaker numbers are matched across a cut through the shared minute around it. A speaker who says nothing during that whole minute but talks on both sides of it gets a second number. Check the labels before publishing anything where it matters who said what.
Limits
- Audio up to three hours. Files up to 95 MB in one request, or up to 512 MB declared and sent in parts.
- At most 2 jobs in progress per account; a third returns HTTP 429
BUSYwithRetry-After. Cancel a job you no longer need to free its slot; an upload idle for 30 minutes stops counting on its own. Jobs share the request ID namespace with/transcribe. - Turbo only.
backend=standardreturns HTTP 422INVALID_REQUEST. timestampsdefaults towordfor jobs.format=srtandformat=vttwork on the result as for other uploads.- Results are kept for 24 hours after completion.
- There is no extra charge. Billing stays per transcribed character, on the final transcript only.
Failures. Credit is checked from the decoded length before anything is transcribed; a file the balance cannot cover fails with HTTP 402 INSUFFICIENT_CREDITS. A file Scribe cannot read, or one longer than three hours, fails with HTTP 422 INVALID_AUDIO. If the backend stays busy past the job's retries, it fails with HTTP 409 REQUEST_INTERRUPTED; a job cancelled while processing fails with HTTP 409 REQUEST_CANCELLED. GET /requests/{id} returns the failure as the job's own status code, and nothing is charged for a failed job.
Job request errors. These come back on the call that caused them, unlike the job failures above, which a poll returns:
| HTTP | Code | When |
|---|---|---|
| 404 | NOT_FOUND | No such job on this account: it was never created, was cancelled before it ran, or its upload expired |
| 409 | UPLOAD_INCOMPLETE | complete before every part is stored (missing lists them), or a poll before complete |
| 409 | UPLOAD_CLOSED | A part sent after complete, or to a job created with its audio in one request |
| 409 | IDEMPOTENCY_CONFLICT | A stored part sent again with different bytes, or a request ID reused for a different file or settings |
| 409 | JOB_FINISHED | A cancel for a job that has already completed or failed |
| 413 | PAYLOAD_TOO_LARGE | A JSON declaration over 4 KB, or a declared size over 512 MB |
| 422 | INVALID_AUDIO | An empty audio file, or a part that is not the expected length |
| 422 | INVALID_REQUEST | A malformed request ID or setting, or backend=standard |
| 429 | BUSY | Your account already has 2 jobs in progress, or uploads are busy; retry after Retry-After |
GET /api/v1/scribe lists jobs with the current limits (max_bytes, max_seconds, max_upload_bytes, part_bytes, chunk_seconds, overlap_seconds, and the defaults). When jobs is absent, long audio is not available.
Usage Guide
Speech-to-text uploads use multipart/form-data. The SDK handles the transport format when you pass an audio file and language.
Transcribe a File
Upload an audio file to get the text transcription.
import AddisAI, { fileFromPath } from "addisai";
const addis = new AddisAI();
const result = await addis.speech.transcribe({
audio: await fileFromPath("audio.wav"),
language: "am",
});
console.log(result.text);
console.log(result.confidence);from addisai import AddisAI
addis = AddisAI()
with open("audio.wav", "rb") as audio:
result = addis.speech.transcribe(audio=audio, language="am")
print(result["text"])
print(result.get("confidence"))curl --location 'https://api.addisassistant.com/api/v2/stt' \
--header "x-api-key: $ADDIS_API_KEY" \
--form 'audio=@"audio.wav"' \
--form 'request_data="{ \"language_code\": \"am\" }"'API Reference
Form Data Parameters
These fields are sent as multipart form data.
Prop
Type
Request Data Object
These parameters go inside the request_data JSON string.
Prop
Type
Response Schema
{
"status": "success",
"data": {
"transcription": "ሰላም እንኳን ደህና መጣችሁ",
"confidence": 0.982
}
}Prop
Type
Supported Formats
We support standard audio containers. For the fastest processing, we recommend WAV, at any sample rate and channel count.
| Format | Content Types (MIME) |
|---|---|
| WAV | audio/wav, audio/x-wav, audio/wave |
| MP3 | audio/mpeg, audio/mp3 |
| M4A | audio/mp4, audio/x-m4a |
| WebM | audio/webm |
Best Practices
To ensure high accuracy (WER < 10%), follow these recording guidelines.
Audio Specs
Sample Rate: 16kHz or higher is recommended for clarity.
Channel: Mono is preferred. Stereo files are supported but mixed down before processing.
Environment
Noise: Background noise significantly degrades accuracy. Record in quiet environments.
Distance: Keep the speaker 10-30cm from the microphone for optimal volume levels.
Constraints
60 Seconds10 MBLimitations
Speakers: The model is optimized for single-speaker audio. Overlapping voices may result in skipped words.
Technical Terms: Rare technical jargon or code-switching (mixing English heavily) may have lower accuracy.
Last updated on