YouTube AI Translator | Translated Subtitles for Any Video
Pricing
from $14.00 / 1,000 video minute translated (your gemini key)s
YouTube AI Translator | Translated Subtitles for Any Video
AI watches the video and translates every spoken word into your language — no captions needed. SRT/VTT subtitles + JSON. $0.15/min (or $0.03/min with your Gemini key).
YouTube AI Translator — translated subtitles for any video
Gemini AI watches the actual video and translates every spoken word into your language — producing ready-to-use translated SRT and WebVTT subtitle files, JSON segments, and plain text. It works on videos with no captions at all, from any spoken language.
Caption translators need existing captions. This actor listens to the video itself.
What it does
- ✅ Translates speech from any language into any language — directly from the video's audio
- ✅ Works on videos without captions
- ✅ Translated SRT/VTT subtitle files ready for video players and editors
- ✅ Speaker labels and timestamps on every segment
- ✅ Detects and reports the original language
- ✅ No API key needed — or bring your own Gemini key and pay 5× less
Pricing
Charged per minute of video (minimum 5 minutes per video), plus a $0.02 actor start fee.
| Video length | No API key (bundled) | With your Gemini key |
|---|---|---|
| Short (≤5 min) | $0.75 | $0.15 |
| 10 min | $1.50 | $0.30 |
| 30 min | $4.50 | $0.90 |
| 60 min | $9.00 | $1.80 |
Bring your own key and save 5×: create a free key at aistudio.google.com/apikey and paste it into the geminiApiKey field (stored encrypted, used only for your run). Google token costs (a few cents per hour of video) are then billed to your Google account.
You are only charged when a translation is actually delivered — failed or timed-out runs charge nothing beyond the start fee.
Input
| Field | Type | Description |
|---|---|---|
videoUrl | string (required) | Public YouTube video URL (watch, youtu.be, or Shorts link) |
targetLanguage | string (required) | Language to translate into, e.g. "English", "Spanish", "Japanese" |
includeSpeakers | boolean | Label each segment with the speaker (default true) |
outputFormats | array | Any of json, srt, vtt, text (default: all) |
model | string | gemini-3.7-flash (default) or gemini-3.5-flash-lite |
geminiApiKey | secret string | Optional — your Google AI Studio key for 5× cheaper runs |
Output
One dataset item per run:
{"videoUrl": "https://www.youtube.com/watch?v=…","videoTitle": "…","durationSeconds": 600,"minutesCharged": 10,"originalLanguage": "Japanese","targetLanguage": "English","segmentCount": 84,"translation": "[00:01] Speaker 1: Welcome to the show...","segments": [{ "start": "00:01", "end": "00:05", "speaker": "Speaker 1", "text": "Welcome to the show." }],"srtUrl": "https://api.apify.com/v2/key-value-stores/…/records/translation-….srt","vttUrl": "…", "jsonUrl": "…", "textUrl": "…","status": "completed"}
The translated SRT/VTT/JSON/text files are saved to the run's key-value store with public download URLs — drop the SRT straight into a video editor or player.
Use it via API
curl -X POST "https://api.apify.com/v2/acts/andok~youtube-ai-translator/run-sync-get-dataset-items?token=$APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"videoUrl": "https://www.youtube.com/watch?v=…", "targetLanguage": "English"}'
FAQ
How is this different from translating captions? Caption translation needs captions to exist and inherits their errors. This actor has Gemini listen to the actual audio and translate what is really said — with speaker labels and visual context.
What videos are supported? Public, finished YouTube videos up to 120 minutes (150 minutes with your own key). Private, unlisted, and live videos are not supported.
What language pairs? Any-to-any among the languages Gemini understands — including Estonian, Japanese, Arabic, Hindi, and ~100 more.
What if the run fails? You are never charged per-minute fees for a failed or undelivered translation.