AI Features
Auto-captions with word-level timings and AI voiceover - as standalone endpoints, or declared inside a render for narrated, captioned videos in one API call.
Renderly ships two AI building blocks that feed the render pipeline:
- Auto-captions - transcribe any audio/video URL into captions with real word-level timings (word-by-word highlighting works out of the box).
- AI voiceover - turn text into narration audio, stored in your media library.
Both are available two ways: as standalone endpoints under /api/v1/ai/*, and - the recommended way - declaratively inside POST /renders via special replacement values, so one API call produces a narrated, word-synced-captioned video.
Pricing
AI operations use the same credit balance as rendering, at flat, predictable rates:
| Operation | Cost |
|---|---|
| Auto-captions | 0.25 credits per started minute of audio. An identical earlier transcription is free. |
Auto-captions from your own tts narration | Free - the word timings come back with the audio, so there's nothing left to transcribe |
| AI voiceover | 0.5 credits per started 1,000 characters. An identical earlier voiceover is free. |
Credits are deducted when the operation runs and refunded automatically if it fails. Every operation is logged as an AI job you can inspect via GET /ai/jobs/{jobId}.
An identical request is free. Renderly stores every voiceover and transcription you make. When you send the same request again, you get the stored result back for 0 credits, with cached: true in the response (cached: false when the work ran and was charged). This also applies inside a render, so retrying a failed render does not pay again for the narration or captions it already made. What counts as identical:
- Voiceover: the same text (leading and trailing spaces ignored), voice, speed and provider. An omitted voice or speed counts as the default. A voiceover whose stored audio you deleted from your media library is made again and charged.
- Auto-captions: the same
sourceUrl(the exact string),startTime,endTimeandlanguage.fpsdoes not matter: the caption overlay is rebuilt for thefpsyou send. Stored transcriptions do not expire, so when you replace the file behind a URL, change the URL too (for example?v=2) to get a new transcription.
Failed operations are never stored, and the cache is per user.
Free captioning has two conditions:
- No explicit clip window. Passing
startTime/endTimeinsidetranscribeforces a real transcription pass over that window, even when the source is narration you generated - the free path only applies when the whole generated clip is captioned. - Speechify only. The
openaivoiceover provider (the fallback for languages Speechify cannot speak) returns no word timings, so there is nothing to reuse - captioning its narration is billed as a normal transcription at 0.25 credits per started minute.
Organizations: AI operations always draw from your personal credit balance, even when you're working on an organization project. Only render credits come out of the organization's shared pool.
Auto-captions
curl -X POST https://renderly.video/api/v1/ai/captions \
-H "Authorization: Bearer rnd_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "sourceUrl": "https://your-bucket.s3.amazonaws.com/video.mp4" }'The response contains two representations of the same result:
captions- an array of caption "pages" (a few words each), every word carryingstartMs/endMs/confidence.captionOverlay- a ready-to-paste caption overlay you can drop straight into a composition'soverlaysarray.
Optional fields: language (ISO-639-1 hint, auto-detected when omitted) and fps (defaults to 30; used for the overlay's frame timings).
Captioning a clip of a longer file
If your composition plays only a cut of a longer source (a podcast highlight, a webinar excerpt), pass startTime / endTime (seconds into the source file):
{
"sourceUrl": "https://your-bucket.s3.amazonaws.com/full-podcast.mp4",
"startTime": 76,
"endTime": 85
}Only that window is transcribed, word timings come back clip-relative (0 = clip start, ready to drop onto a caption overlay aligned with the clip), and you're billed for the window only - 9 seconds costs 0.25 credits even if the file is an hour long.
Limits: files up to 5 GB, audio up to 3 hours. The source URL must be publicly reachable (uploaded Renderly assets qualify). Most files complete within the request; very long media returns status: "PROCESSING" - poll GET /ai/jobs/{jobId} until it completes. Retrying the same request while a job is in flight resumes that job instead of charging again, and retrying it after the job completed returns the stored captions for free.
AI voiceover
curl -X POST https://renderly.video/api/v1/ai/voiceover \
-H "Authorization: Bearer rnd_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "text": "Welcome to 42 Oak Street.", "voice": "henry" }'Returns the mp3's public url, its measured durationMs, a mediaAssetId, creditsUsed, cached (true when an identical earlier voiceover was returned for free), and words (an array of { word, startMs, endMs } timings for every spoken word) - the audio is saved to your media library, so it's immediately usable as a sound overlay src or a replacement value. Twelve curated voices: claudette, emily, geffenv1, henry (default), hugh_32, jacob, jordan, julie, monica, nick, phil, ruby; any Speechify catalogue voice id also works, including non-English ones across 36 locales. Optional speed (0.5-4). Text up to 4,096 characters per request. Sending the same request again returns the stored voiceover for 0 credits. When an identical request is still running, the call waits up to 30 seconds for its result, then returns 409 (retry: the retry returns that voiceover without charging again).
Because the words timings come back with the audio, captioning this narration is free - pass its overlay name as transcribe.source in a render and no transcription charge applies (see below).
One call: narration + synced captions + render
The most powerful form: declare AI values directly in a render's replacements. Given a project with an isDynamic sound overlay named narration and an isDynamic caption overlay named subtitles:
curl -X POST https://renderly.video/api/v1/renders \
-H "Authorization: Bearer rnd_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"projectId": "your_project_id",
"replacements": {
"headline": "42 Oak Street",
"narration": {
"tts": { "text": "This three bedroom home features a renovated kitchen and a large garden.", "voice": "henry" }
},
"subtitles": {
"transcribe": { "source": "narration" }
}
}
}'What happens server-side, in order:
-
tts- the narration audio is generated, uploaded to your library, and its URL swapped into thenarrationsound overlay. The overlay (and the composition, if needed) is stretched to the audio's real length, and render credits are computed on the extended duration. -
transcribe- thesubtitlescaption overlay is filled with word-synced captions transcribed from the referenced overlay's audio.sourcenames any overlay with media (here the narration that was just generated - guaranteeing captions match the voiceover); use{ "url": "https://..." }instead to transcribe an external file, and addlanguageto skip auto-detection. Whensourcepoints at narration you generated withttsin the same request, the word timings come back with the audio and this step is free - no transcription charge.Trimmed clips are handled automatically: when
sourceis a video overlay that plays a cut of a longer file (videoStartTime+durationInFrames), only that portion is transcribed and billed, and caption timings are aligned to the clip as it plays - includingspeedchanges and the caption overlay's own start frame. PassstartTime/endTime(seconds into the source file) insidetranscribeto override the window explicitly. -
The render proceeds as normal - captions burn in with the styling you gave the caption overlay in the editor.
This replaces a multi-step pipeline (script → TTS service → transcription service → compose → render) with a single request. Feed it rows from a spreadsheet or product feed and every record gets its own narrated, captioned video.
Caps: at most 3 tts and 3 transcribe values per render. AI credits are charged in addition to render credits and itemized as separate AI jobs.
In the editor
The same captioning engine powers the editor: select a video overlay → AI tab → Generate Captions. You'll see the credit cost before it runs, and the generated caption overlay lands at the playhead, ready to restyle.
Setting up a template for AI replacements
- In the editor, add a sound overlay for the narration slot and a caption overlay, styled how you want.
- Name them (e.g.
narration,subtitles) and flag both Dynamic - see Templates & Personalization. - They now show up in
GET /projects/{id}/variablesand accept thetts/transcribevalues above.
The narration slot needs no placeholder audio. A sound overlay with an empty src ("") is valid - it plays nothing in previews and renders safely if no replacement is provided, then the tts replacement fills it at render time. Alternatively, set a real sample narration as the default src so template previews sound finished - it gets replaced per render like any other variable. Don't point it at a fake/nonexistent URL: a dead audio link will fail any render that doesn't override it.