NewAPI v3 · November 2026 Release

Speech to text API for audio and video files

Upload pre-recorded audio or video and get a transcript with speaker labels and timestamps for every segment, in 75 source languages with automatic language detection. The same project translates it into 135+ language and regional options, with subtitles and dubbed audio.
Speaker diarization
75 source languages
REST + 5 SDKs
upload, transcribe, read
API key
# 1. import the audio or video
curl -X POST https://api.rask.ai/v3/media/import \
  -H "Authorization: Bearer $RASK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/interview.mp3"}'

# 2. the price first - free, and it changes nothing
curl -X POST https://api.rask.ai/v3/projects/estimate \
  -H "Authorization: Bearer $RASK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"media_id": "...", "target_language": "en-us"}'

# 3. create the project - the price you accepted is the ceiling
curl -X POST https://api.rask.ai/v3/projects \
  -H "Authorization: Bearer $RASK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "media_id":              "...",
    "target_language":       "en-us",
    "expected_cost_minutes": 12
  }'
GET /v3/projects/{project_id}/transcript
segments
# Wait on the job instead of polling: one request, up to 20 seconds.
curl -s "https://api.rask.ai/v3/jobs/$JOB_ID?wait_seconds=20" \
  -H "Authorization: Bearer $RASK_API_KEY" | jq .status
Used by global teams
Capabilities

Everything the speech to text API returns

Speech recognition is the first stage of every Rask project. The transcript comes back as segments with speaker labels and timestamps, ready to edit, translate, subtitle and voice in the same project.

Transcribe audio files and video

Upload pre-recorded audio or video, or post a link, and the API converts the speech into written text, segment by segment.

Speaker diarization

Different speakers are detected automatically, and each segment carries a speaker label such as SPEAKER_00. Pass the number of speakers if you know it, or correct a label later.

Timestamps for every segment

Each segment has a start and an end time in HH:MM:SS,mmm format, ready for captions, search and navigation inside a recording.

75 source languages

Multilingual support across 75 source languages. Leave the source language empty and it is detected automatically, or set it with a two-letter code.

Translation in the same segment

Every segment holds the source text and its translation, in any of 135+ language and regional options, so the transcript and the translation stay aligned line by line.

Subtitles in .srt and .vtt

Every finished project includes subtitle files in the target language, timed to the transcript segments. No second vendor for captions.

Domain terms in translation

A glossary keeps product names, proper nouns and domain specific vocabulary consistent when the transcript is translated, or in the original language on purpose.

Edit the transcript through the API

Fix a word, adjust a timestamp, reassign a speaker, add or delete a segment. Reviewers correct the final transcript instead of starting again.

Scale without limits

Every paid operation is priced before it runs, and the price you accept is the ceiling. Run batch transcription across your whole audio and video library in parallel, with a monthly spending limit on each key.
See it in action

See one transcript become five language versions

The same clip transcribed, translated and voiced in English, French, German, Portuguese and Spanish, with the original background audio intact.
EN flag
En
FR flag
Fr
DE flag
De
PT flag
Pt
ES flag
Es
Workflow

Three requests from audio file to transcript

Creating the project starts speech recognition, followed by translation and voiceover in the same run. Use the /projects/{id}/dub endpoint after you edit the transcript.
1

Upload audio or video

Send an audio or video file as multipart form data, or post a link from YouTube, Google Drive, S3, Vimeo or any direct URL. You get a media id and the file metadata before you spend anything.

POST /v3/media/import
2

Create the project

Pass the media_id and a target language. Add the source language or the number of speakers if you know them. Recognition starts immediately.

POST /v3/projects
3

Read the transcript

Read the transcript as soon as its segments are available, while the translated media continues processing. Download subtitle and media files when the project is complete.

GET /v3/projects/{project_id}/transcript
Recognition runs on complete, pre-recorded files rather than live audio. Processing time varies with file length, the number of speakers and the target language.
Built around you

Need a language or a format that is not listed? Talk to our team

A source language outside the list, a transcript format your platform expects, higher throughput or your own delivery method: our team reviews what your integration needs and the available options.

Languages and voices

Need a language outside the public catalogue? Talk to our team about your requirements and the available options.

Delivery and integration

Delivery into your own storage, custom endpoints, dedicated capacity. Tell us how your pipeline expects to be fed.

Volume and throughput

Batch sizes, target languages per action and processing priority are all contract terms, not fixed product limits.

Security and hosting

Data residency, SSO and SAML, retention rules and security review support are handled as part of enterprise onboarding.
Use cases

Who uses a speech to text API for video

Platforms with video inside

LMS and customer-education platforms, creator and video platforms, webinar and virtual event tools, video hosting and workflow SaaS, digital adoption platforms, live shopping. Add transcripts, captions and translated versions of recorded video as a feature of your product.

Localization and production agencies

Use the transcript with speaker labels as the first draft for your reviewers, correct segments through the API, and deliver subtitles, translations and dubbed versions from the same project.

In-house continuous video production

International retail and e-commerce, global franchises, media publishers, corporate universities. Transcribe recorded training, webinars and interviews, then publish captions and language versions for every market.
Customer stories

Real teams, measurable results

How companies localize video with Rask, in their own numbers.
arrow
arrow
Code

Speech to text API code examples

One complete example in each language: upload an audio or video file, create the project, wait, then read the transcript segments with speakers and timestamps.
# pip install rask-sdk
from rask_sdk import Rask

rask = Rask()                                   # reads RASK_API_KEY

uploaded = rask.jobs.wait(rask.uploads.upload_file("interview.mp3").id)
media_id = uploaded.result.media_id

# the price first - free, and it changes nothing
estimate = rask.projects.estimate_project(
    media_id=media_id, target_language="en-us"
)

# the price you accepted is the ceiling
created = rask.projects.create_project(
    media_id=media_id,
    target_language="en-us",
    expected_cost_minutes=estimate.total_minutes,
)
processed = rask.jobs.wait(created.id)

for o in rask.exports.list_project_outputs(processed.result.project_id).data:
    print(o.kind, o.url)
github.com/braskai/rask-sdk
async, typed models
import os, requests

API = "https://api.rask.ai/v3"
h = {"Authorization": f"Bearer {os.environ['RASK_API_KEY']}"}

job = requests.post(f"{API}/media/import", headers=h,
                    json={"url": "https://example.com/interview.mp3"}).json()
media_id = requests.get(f"{API}/jobs/{job['id']}?wait_seconds=20",
                        headers=h).json()["result"]["media_id"]

order = {"media_id": media_id, "target_language": "en-us"}

# the price first - free, and it changes nothing
estimate = requests.post(f"{API}/projects/estimate", headers=h, json=order).json()

# the price you accepted is the ceiling
project = requests.post(f"{API}/projects", headers=h,
                        json={**order,
                              "expected_cost_minutes": estimate["total_minutes"]}).json()

outputs = requests.get(f"{API}/projects/{project['project_id']}/outputs",
                       headers=h).json()
for o in outputs["data"]:
    print(o["kind"], o["url"])
requests + polling
no SDK required
// no dependencies, Node 18+ global fetch
const API = 'https://api.rask.ai/v3';
const h = {
  Authorization: `Bearer ${process.env.RASK_API_KEY}`,
  'Content-Type': 'application/json',
};

const imported = await fetch(`${API}/media/import`, {
  method: 'POST', headers: h,
  body: JSON.stringify({ url: 'https://example.com/interview.mp3' }),
}).then(r => r.json());

const job = await fetch(`${API}/jobs/${imported.id}?wait_seconds=20`, { headers: h })
  .then(r => r.json());
const order = { media_id: job.result.media_id, target_language: 'en-us' };

// the price first - free, and it changes nothing
const estimate = await fetch(`${API}/projects/estimate`, {
  method: 'POST', headers: h, body: JSON.stringify(order),
}).then(r => r.json());

// the price you accepted is the ceiling
const project = await fetch(`${API}/projects`, {
  method: 'POST', headers: h,
  body: JSON.stringify({ ...order, expected_cost_minutes: estimate.total_minutes }),
}).then(r => r.json());

const outputs = await fetch(`${API}/projects/${project.project_id}/outputs`, { headers: h })
  .then(r => r.json());
outputs.data.forEach(o => console.log(o.kind, o.url));
fetch, Node 18+
plain HTTP
API=https://api.rask.ai/v3
AUTH="Authorization: Bearer $RASK_API_KEY"
JSON="Content-Type: application/json"

# 1. import the file, then wait for the media id
JOB=$(curl -s -X POST $API/media/import -H "$AUTH" -H "$JSON" \
  -d '{"url": "https://example.com/interview.mp3"}' | jq -r .id)
MEDIA=$(curl -s "$API/jobs/$JOB?wait_seconds=20" -H "$AUTH" | jq -r .result.media_id)

ORDER="{\"media_id\":\"$MEDIA\",\"target_language\":\"en-us\"}"

# 2. the price first - free, and it changes nothing
CAP=$(curl -s -X POST $API/projects/estimate -H "$AUTH" -H "$JSON" \
  -d "$ORDER" | jq -r .total_minutes)

# 3. the price you accepted is the ceiling
ID=$(curl -s -X POST $API/projects -H "$AUTH" -H "$JSON" \
  -d "$(jq -c --argjson cap "$CAP" '. + {expected_cost_minutes:$cap}' <<<"$ORDER")" \
  | jq -r .project_id)

# 4. collect the transcript and every other output
curl -s $API/projects/$ID/outputs -H "$AUTH" \
  | jq -r '.data[] | "\(.kind)\t\(.url)"'
local file upload
audio file, multipart
<?php
use GuzzleHttp\Client;

$http = new Client([
    'base_uri' => 'https://api.rask.ai/v3/',
    'headers'  => ['Authorization' => 'Bearer ' . getenv('RASK_API_KEY')],
]);

$job = json_decode($http->post('media/import',
    ['json' => ['url' => 'https://example.com/interview.mp3']])->getBody(), true);

$media = json_decode($http->get("jobs/{$job['id']}?wait_seconds=20")->getBody(), true);
$order = ['media_id' => $media['result']['media_id'], 'target_language' => 'en-us'];

// the price first - free, and it changes nothing
$estimate = json_decode($http->post('projects/estimate',
    ['json' => $order])->getBody(), true);

// the price you accepted is the ceiling
$project = json_decode($http->post('projects', ['json' => $order + [
    'expected_cost_minutes' => $estimate['total_minutes'],
]])->getBody(), true);

$outputs = json_decode(
    $http->get("projects/{$project['project_id']}/outputs")->getBody(), true);
Guzzle 7
plain HTTP
Python is the official SDK. The Node, PHP and cURL tabs are plain HTTP examples against the same endpoints.
Progress

How a transcription project reports progress

Transcription is the first stage of a project with documented statuses, so you can show real progress on long recordings. You only need to act on three groups.

Success, stop here

succeeded
The final media and subtitle files are ready. The transcript can be read earlier, as soon as its segments are available.

In progress, keep polling

queued
uploading
transcribing
separating_audio
detecting_speakers
translating
voicing
merging
The job stays running while these move, and a progress bar can follow stage and progress. The stage list is open, so tolerate values you do not know.

Failure, stop and report

failed
media_processing_failed
transcription_failed
translation_failed
audio_separation_failed
speaker_detection_failed
no_audio_track
no_speech_detected
source_unavailable
no_audio_track, no_speech_detected and source_unavailable are specific enough to show directly to your own user.
Two speakers
GET /v3/projects/{project_id}/transcript
   0s  queued
   3s  running    transcribing
  48s  running    speaker labels
  72s  succeeded  the transcript is in the project outputs

Or skip polling entirely

Wait on a job and the request returns the moment the work is done, so your queue reacts to each change without a polling loop.
Read the docs
preserveAspectRatio="xMidYMid meet" aria-hidden="true" role="img">
Output

Transcript segments, subtitles and translated media

Read the transcript as JSON segments from the transcription endpoint. The finished project also exposes subtitle files in SRT and VTT in the target language, the translated video and, on eligible plans, the translated speech as a separate WAV track.
Field
Format
What it is
segments
JSON
Transcript: source text, translation, speaker label, start and end time for each segment
voice_track
WAV
Translated speech only, no background, on eligible plans
dubbed_audio
WAV
Translated speech mixed with the original background audio
target_subtitles
.srt
Subtitles in the target language, timed to the segments
target_subtitles_speakers
.vtt
The same subtitles with [SPEAKER_NN] labels
dubbed_video
MP4
The translated video with voiceover
Control

Correct the transcript segment by segment

Speech recognition gives you the first draft. Correct a word, a timestamp or a speaker label with one request per segment, then regenerate the translated version. Regeneration is billed on the changed segments, with a one-minute minimum per run.

Segment-level editing

Segment-level editing
Every project exposes its transcript as addressable segments, so a correction to the final transcript is one patch request.
Fetch the transcript and its segments
Patch the source text and we re-translate it
Patch the translated text directly to keep your own wording
Adjust timestamps, add segments, delete segments
Reassign the voice attached to any speaker

Glossaries for terminology

Glossaries for terminology
When the transcript is translated, a glossary keeps brand names, proper nouns and domain terms the same in every version, or in the original language on purpose.

A glossary covers one language pair and applies across all regional variants of that target language, so one Spanish glossary serves es-mx and es-es alike. The project records glossary.version, so later edits never silently change finished work.
Input

Supported file formats

Transcribe audio files such as podcasts, interviews and recorded calls, or video in any supported format, or send a URL. Post an unsupported file and the API rejects it before any minutes are charged.

Video

7 formats
.mp4
.mov
.mkv
.avi
.webm
.m4v
.3gp

Audio

4 formats
.mp3
.wav
.flac
.m4a

Metadata before you spend

The media endpoint returns duration, file size, video codec, frame rate, resolution, audio codec, sample rate and channel layout. Validate a file and estimate cost in advance, because projects are billed by the minute of audio or video.
Security and compliance

Enterprise grade security for audio and speech data

Brask Inc holds SOC 2 Type II and operates under GDPR, and publishes live control status in its Trust Center, so recordings and transcripts are handled under audited controls.

Certifications

SOC 2 Type II
GDPR
CAI and C2PA member

Encryption

TLS 1.2 in transit
AES-256 at rest
SSE-S3 managed keys
Key rotation at least every 12 months

Your content

Closed AI environment
Never used to train general models
Full export, no lock-in

Access

SSO and SAML
Role-based access control
API key, Bearer header

Enterprise

Data residency options
Custom SLAs
Dedicated account manager

Voice rights

Synthetic voices with usage rights
Consent-based voice cloning
AI safety controls, human in the loop
Comparison

Rask API vs a speech to text API plus your own pipeline

A speech to text API turns audio into text. When that text has to become subtitles, translations and dubbed versions, the rest is pipeline work. Here is the same result, assembled two ways.
What you need
Rask API
Assembled from parts
A transcript with speaker labels
Included
Included in most speech to text APIs
Timestamps
Per segment
Per word in many speech to text APIs
Translation of the transcript
Same project, 135+ language and regional options
A separate translation API
Subtitles in .srt and .vtt
Included, in the target language
Built from your own timing data
Dubbed audio and video
Included
A TTS vendor plus your own mixing
Correcting a segment
One patch request, then regenerate
Edit and re-sync your own copies
Spend control
A monthly limit on each API key
Whatever your provider enforces
Real-time transcription of live audio
Use a streaming speech to text API
Built for it
A transcript alone, at the lowest price
A dedicated speech to text API costs less
Priced per hour of audio
FAQ

Speech to text API: common questions

Can't find what you're looking for? Contact sales.

Does Rask have a speech to text API?

Which languages can it transcribe?

Can I transcribe audio files without video?

Does it support speaker diarization?

Does the API return word level timestamps?

Does it support real-time transcription?

How accurate is the transcription?

Can I add custom vocabulary or domain terms?

Can I get the transcript as an SRT file?

Can I bring my own transcript?

How is transcription billed?

Is there a free tier?

How do I get API access and an API key?

Start dubbing in one afternoon

Make your first request today, and talk to us when you need volume terms or a language nobody else has.