# Hermoso: add_subtitles: Add subtitles · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/create/add_subtitles/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Creative generation](https://hermoso.ai/docs/reference/create/) / add_subtitles

# `add_subtitles`

Add subtitles to a video

Area: THREE BUILT LANES · [Creative generation](https://hermoso.ai/docs/reference/create/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Burn subtitles into ANY video and get the .srt too; nothing is cut or re-rendered. Set textStyle only when the user describes a look (default: white sentence case, thin outline, bottom). Timed by the spoken words (up to 5 words a line); auto:'sentences' times per sentence. Only when asked, textStyle 'highlight' (or a highlightColor) lights the word being said, timed word by word. Or pass cues to burn your own lines exactly, untranscribed (reel-style phrases, *stage directions*). burn:false returns only the .srt. Takes a video file or URL, a Vimeo-style page, or a TikTok / Reel / X post link (not YouTube: YouTube does not let us download videos, so upload the file). No speech is refused and refunded. Runs in the background and lands in the Library.

## Parameters

Parameter Type Description

`video` required `string` the video to subtitle; a URL, not a local file path; use upload_file for local files

`textStyle` `string | object` the look: words, a preset or fields; omit for the default

`textStyle.preset` `string`

`textStyle.describe` `string` the look in words

`textStyle.font` `string` sans|serif|elegant|condensed|hand or any Google Fonts family

`textStyle.subFont` `string`

`textStyle.weight` `number`

`textStyle.size` `string | number` s|m|l|xl, '120px', or a 0.015-0.15 frame fraction

`textStyle.color` `string` any CSS colour

`textStyle.outlineColor` `string`

`textStyle.background` `string` none|pill|a colour

`textStyle.position` `string | number` top|center|lower|bottom or 0.05-0.95 from the top

`textStyle.textCase` `"as-is" | "upper" | "lower" | "title"`

`textStyle.italic` `boolean`

`textStyle.subItalic` `boolean`

`textStyle.outline` `boolean`

`textStyle.shadow` `boolean`

`textStyle.tilt` `number` degrees, ±45

`textStyle.cardColor` `string`

`textStyle.highlightColor` `string` word-timed subtitles only: the word being said is lit in this colour (preset highlight sets it)

`burn` `boolean` false = only the .srt

`auto` `"sentences" | "words"` words (default) or sentences: timing unit for transcribed subtitles

`wordsPerCue` `number` words per subtitle line when timed by words

`cues` `object[]` your own lines in seconds, no overlap, max 90 chars, no emoji

`cues[].text` required `string` subtitle line text, max 90 characters, no emoji

`cues[].start` required `number` second the line appears

`cues[].end` required `number` second the line disappears

`script` `string` the words actually spoken, when you have them: the subtitles then use these words and take only the timing from the audio (a video we rendered already knows its script)

`get_cost` `boolean` true: return the price only; nothing runs or bills

`expected_credits` `number` the get_cost price; refused unbilled if the live price differs

`idempotency_key` `string` chosen once, resent unchanged on retries: the same key never buys twice

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/add_subtitles`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"add_subtitles","arguments":{"video":"<string>"}}}`
**CLI**

`hermoso call add_subtitles --json '{"video":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [clip_video](https://hermoso.ai/docs/reference/create/clip_video/) Clip a long video
- [make_explainer](https://hermoso.ai/docs/reference/create/make_explainer/) Make an explainer video

[All 102 Creative generation tools](https://hermoso.ai/docs/reference/create/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
