NewAPI v3 · November 2026 Release

Video translation API for 135+ languages

Upload one video and get it back in every language you need. The video translation REST API transcribes the speech, translates it and dubs it, then returns the translated video, subtitle files and the translated text for review.
135+ target languages
Subtitles in .srt and .vtt
REST + 5 SDKs
one upload, every language
API key
# 1. import the video - YouTube, Drive, Vimeo or a direct URL
curl -X POST https://api.rask.ai/v3/media/import \
  -H "Authorization: Bearer $RASK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://youtu.be/..."}'

# 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": "es-mx"}'

# 3. create the translation 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":       "es-mx",
    "expected_cost_minutes": 12
  }'
GET /v3/jobs/{job_id}
polling, 10s
# 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

What the video translation API does in one project

Automatically transcribe, translate and dub your videos through one API. Review the translated text, keep terminology consistent with glossaries and download the output format each platform needs. Add optional lip-sync, billed separately.

Translation into 135+ languages

Send a video and a target language to translate videos into es-mx, pt-br, fr-ca or any other supported locale. The source language is detected automatically.

Speaker detection and per-speaker voices

Speakers are separated automatically and each one gets a voice in the target language, so interviews and panels stay easy to follow. Override any assignment, or pass the count if you know it.

Original voices or AI voices

Use each speaker’s original voice with Instant Voice Clone, or reuse a saved Custom Voice Clone for a consistent presenter voice across videos. Both options are available in supported target languages; AI voice presets cover the rest.

Lip-sync

Enable lip sync to match mouth movement to the translated speech, as an optional task on any finished project, billed separately. Face detection runs first, so you apply it only where it will work.

Background audio preserved

Music, room tone and effects are separated from speech and mixed back under the new voice over, so viewers hear the original production in a different language.

Subtitles in .srt and .vtt

Every translated video comes with a subtitle file in both formats, in the target language and timed to the translated speech.

Terminology control with glossaries

Brand names, product names and technical terms translate the same way in every video and every language, or stay in the original language on purpose.

Translated text you can edit

Fetch the transcript with the source and translated text side by side, correct a line or a timestamp, then regenerate. Reviewers fix the text, and nobody records audio again.

Scale without limits

Every paid operation is priced before it runs, and the price you accept is the ceiling. Send your full catalogue and translate large volumes into multiple languages in parallel, with a monthly spending limit on each key.
See it in action

What the video translation API returns

The same clip, translated through the workflow on this page. Original speakers on the source, translated speech in French, German, Portuguese and Spanish, background audio intact.
EN flag
En
FR flag
Fr
DE flag
De
PT flag
Pt
ES flag
Es
Workflow

Three steps from upload to translated video

Creating a project starts the translation. Use the /projects/{id}/dub endpoint later to re-dub a project after you edit it.
1

Upload your video

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

POST /v3/media/import
2

Create a project per language

Pass the media id as media_id and a target language. Create one project for each language you need from the same upload, with your own transcript or a glossary if you have one.

POST /v3/projects
3

Collect the output

Read status until it reaches succeeded, then download the translated video and the subtitle files for that language.

GET /v3/jobs/{job_id}
Processing time varies by project. For batch translation, create one project per target language from the same upload, track each one through the API and download the files when it is complete.
Built around you

Need more than the catalogue? Talk to our team.

New languages, custom voices, your own delivery method, higher throughput: when a video translation integration needs something outside the public catalogue, our team reviews your requirements and the available options.

Languages and voices

Need a language or voice 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 video translation API

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 and AI video tools that help users create videos or generate videos from text. Your users already upload video content to your product. With the API they translate videos in the same place, into multiple languages, and video translation becomes one of your paid features.

Localization and production agencies

Connect video translation to the delivery workflow you already run and keep your human review step. Linguists review the translated text segment by segment, so your team delivers more client languages with the same people.

In-house continuous video production

International retail and e-commerce, global franchises, media publishers, corporate universities. Build translation into your publishing workflow, so training videos and product content reach every market in different languages, and regenerate a language version whenever the source video changes.
Customer stories

Real teams, measurable results

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

Video translation API code examples

One complete example in each language: authenticate, upload once, create a project per target language, wait, collect the translated video and subtitle files.
# pip install rask-sdk
from rask_sdk import Rask

rask = Rask()                                   # reads RASK_API_KEY

uploaded = rask.jobs.wait(rask.uploads.upload_file("q3-launch.mp4").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="es-mx"
)

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

outputs = rask.exports.list_project_outputs(processed.result.project_id).data
print(next(o.url for o in outputs if o.kind == "dubbed_video"))
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://youtu.be/..."}).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": "es-mx"}

# 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()
print(next(o["url"] for o in outputs["data"] if o["kind"] == "dubbed_video"))
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://youtu.be/...' }),
}).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: 'es-mx' };

// 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());
console.log(outputs.data.find(o => o.kind === 'dubbed_video')?.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 video, then wait for the media id
JOB=$(curl -s -X POST $API/media/import -H "$AUTH" -H "$JSON" \
  -d '{"url": "https://youtu.be/..."}' | 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\":\"es-mx\"}"

# 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 translated video
curl -s $API/projects/$ID/outputs -H "$AUTH" \
  | jq -r '.data[] | select(.kind == "dubbed_video") | .url'
POST /v3/projects
API key, Bearer header
<?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://youtu.be/...']])->getBody(), true);

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

// 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 translation progress is reported

Each project moves through a documented state machine, so your users can follow the process in a real, staged progress bar for every language version. You only need to act on three groups.

Success, stop here

succeeded
Translation is complete. Fetch the project once more to retrieve the download links available for your project.

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. Every error carries a stable code, so you branch on the code and never on the message.
Observed run, 3:47 source video, en → es-mx
GET /v3/projects/{project_id}/outputs
   0s  queued
   3s  running    transcribing
  48s  running    translating
  72s  running    voicing
 128s  running    merging
 150s  succeeded

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

Translated video, audio and subtitles

Download the translated video and subtitles in SRT and VTT for every target language. On eligible plans, you can also download the translated voice on its own or mixed with the original background audio.
Field
Format
What it is
dubbed_video
MP4
The dubbed video, ready to publish
voice_track
WAV
Translated speech only, no background, for your own mix
dubbed_audio
WAV
Translated speech mixed with the original background audio
target_subtitles
.srt .vtt
Subtitles in the target language
onscreen_video
MP4
The video with translated on-screen text
source
MP4
Your source file as stored, for reference
Control

Review the translated text, then re-dub only what changed

Start with automatic translation or bring your own approved translation as an SRT file when creating the project. Review the script before publishing and regenerate only what changes. API re-dubbing is billed on the changed segments.

Segment-level editing

Segment-level editing
Every project exposes its transcript as segments, with the source text and the translated text side by side, so a correction takes 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
Attach a glossary to a project so brand names, product names and technical terms translate the same way in every language version, or stay untranslated 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

Upload any of seven video and four audio formats, or send a URL. An unsupported file is rejected by content type before any translation 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 video translation is billed by the minute.
Security and compliance

Ready for your security review

Brask Inc holds SOC 2 Type II and operates under GDPR, and publishes live control status in its Trust Center. Your video content is processed in a closed AI environment.

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 pipeline you build yourself

A text translation API translates characters. Video translation also needs speech recognition, timing, voices and mixing. Here is the same capability, assembled two ways.
What you need
Rask API
Assembled from parts
Transcription, translation, synthesis, mixing
One API
Three to four vendors and the code between them
Timing the translation to the video
Included
Your own alignment logic
Speaker detection and per-speaker voices
Included
A diarization vendor plus your own voice-assignment logic
Background music and effects preserved
Included
A source-separation step you build and tune
Subtitles in .srt and .vtt
Included
Generated from your own timing data
Lip-sync
Optional, billed separately
A separate vendor
Fixing one translated line
Re-dub that segment, billed for that segment
Re-run the pipeline, pay for the file
Terminology consistency
Versioned glossaries
Pre and post-processing you maintain
Spend control
A monthly limit on each API key
Whatever your strictest vendor enforces
A language outside the catalogue
Discussed with our team
Depends on each vendor
FAQ

Video translation API: common questions

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

Is there an API that translates videos automatically?

How do I get API access and an API key?

How do I authenticate with the video translation API?

Is the API synchronous or asynchronous?

How do I control what the API spends?

How many languages can I translate videos into?

Can I translate one video into multiple languages at once?

How long does video translation take?

What file formats are supported?

Do I get subtitles as well as a translated video?

Can I edit the translated text before publishing?

Can ChatGPT translate a video?

How much does video translation cost?

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.