Translate subtitles: SRT or VTT into another language, timings kept
Translate an SRT or WebVTT subtitle file into another language cue by cue, keeping every timing and the file format, so the result drops straight into a video player or editor. Up to 400 cues (40,000 characters) as text or by URL; the source language is detected unless given. Meta M2M100 translation, 100 languages. Use to subtitle videos, courses and podcasts in more languages; pair with transcribe_long, which writes the first SRT.
Inputs
| Name | Type | Description |
|---|---|---|
subtitles (required) | string | The SRT or VTT text (or give url) |
to (required) | string | Target language code such as sv, de, es, fr or ja |
from | string | Source language code (default: detected from the text) |
url | string | URL of an .srt or .vtt file, instead of subtitles |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://mcp.glyphcall.com/subtitles/translate?subtitles=1%0A00%3A00%3A00%2C000%20--%3E%2000%3A00%3A02%2C500%0AWelcome%20to%20the%20course.%0A%0A2%0A00%3A00%3A02%2C600%20--%3E%2000%3A00%3A05%2C000%0AToday%20we%20start%20with%20the%20basics.%0A&to=sv"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"format": "srt",
"from": "en",
"to": "sv",
"cues": 2,
"subtitles": "1\n00:00:00,000 --> 00:00:02,500\nVälkommen till kursen.\n\n2\n00:00:02,600 --> 00:00:05,000\nIdag börjar vi med grunderna.\n",
"model": "@cf/meta/m2m100-1.2b"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is subtitles_translate, and the first 25 successful calls are free:
https://mcp.glyphcall.com/mcp