# Text to SRT: line up a script with audio

Paste your script and get captions timed to the recording, word by word.

Tool: Align a script (`align_script`). Price: 2 credits a minute of input for whole files, charged only when a job succeeds.

## Free API

```bash
curl -F file=@talk.mp3 -F script=@script.txt -F format=srt https://audo.ai/api/try/align-script -o talk.srt
```

Free for the first 2 minutes of each file, 3 times a day per person, with no key or account. Uploads up to 100 MB, 2 at once from one address. The response is the result itself; a job that runs longer than about 30 seconds returns 202 with a link to check on it. With an API key (`-H "Authorization: Bearer $AUDO_API_KEY"`), the same request processes the whole file with credits. Details: https://audo.ai/docs/api.md

## Options

Form fields with the same names as the MCP tool's inputs:

- `text`: The script as plain text, SRT, or VTT, up to 2 MB, such as "Welcome back to the show." Pass text or script_file_id, not both.
- `format`: what the free API returns: json (default), srt, vtt, or txt.

## Languages

60 languages, detected automatically: `af` Afrikaans, `ar` Arabic, `hy` Armenian, `as` Assamese, `az` Azerbaijani, `bn` Bengali, `bs` Bosnian, `bg` Bulgarian, `yue` Cantonese, `ca` Catalan, `zh` Chinese (Simplified), `cs` Czech, `da` Danish, `nl` Dutch, `en` English, `et` Estonian, `fil` Filipino, `fi` Finnish, `fr` French, `gl` Galician, `de` German, `el` Greek, `gu` Gujarati, `he` Hebrew, `hi` Hindi, `hu` Hungarian, `is` Icelandic, `id` Indonesian, `it` Italian, `ja` Japanese, `kn` Kannada, `kk` Kazakh, `ko` Korean, `lv` Latvian, `lt` Lithuanian, `mk` Macedonian, `ms` Malay, `ml` Malayalam, `mr` Marathi, `ne` Nepali, `nb` Norwegian Bokmål, `or` Odia, `fa` Persian, `pl` Polish, `pt` Portuguese, `pa` Punjabi, `ro` Romanian, `ru` Russian, `sk` Slovak, `sl` Slovenian, `es` Spanish, `sw` Swahili, `sv` Swedish, `ta` Tamil, `te` Telugu, `th` Thai, `tr` Turkish, `uk` Ukrainian, `ur` Urdu, `vi` Vietnamese.

## From an assistant (MCP)

Add https://audo.ai/mcp and sign in (setup for each assistant: https://audo.ai/setup.md). The tool is `align_script`:

> Lines up a script the person already has with the recording, giving a start and end time for every word. Use it for captions that must match a script, or to find exact times before cutting. Not for making a new transcript (transcribe_audio). Set free to true to do the first 2 minutes at no cost, up to 3 times a day; otherwise it costs 2 credits a minute. Returns job_id; words not found in the recording are flagged.

Example: "Use Audo to line up script.txt with talk.mp4 and give me SRT captions."

## More

- Every tool: https://audo.ai/llms.txt
- OpenAPI: https://audo.ai/api/openapi.json
- This page for people: https://audo.ai/text-to-srt
