Anonymous 40-line context-aware subtitle translation preview

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/subtitletranslatoronline/doc/subtitletranslatoronline-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "SubtitleTranslatorOnline API MCP server": {
    "url": "https://bump.sh/subtitletranslatoronline/doc/subtitletranslatoronline-api/mcp"
  }
}

Close
POST /api/subtitle/preview

Translates up to 40 subtitle cues anonymously with zero API key required, returning both context-aware AI lines and literal machine translation diffs with preserved cue timings. Try interactively at SubtitleTranslatorOnline or SRT Translator.

application/json

Body Required

  • content string Required

    Raw SRT, WebVTT, or ASS subtitle payload (first 40 cues processed).

  • targetLang string Required

    Target ISO language code (e.g., en, es, pt, ja, ko, zh-CN, fr, de).

  • sourceLang string

    Optional source ISO language code or auto.

  • format string

    Values are srt, vtt, ass, ssa, sbv, or lrc. Default value is srt.

  • bilingual boolean

    Default value is false.

Responses

  • 200 application/json

    Context-aware preview cues with literal MT comparison diff

    Hide response attribute Show response attribute object
    • cues array[object]
      Hide cues attributes Show cues attributes object
      • index integer
      • start string
      • end string
      • original string
      • translated string
      • literal string
POST /api/subtitle/preview
curl \
 --request POST 'https://subtitletranslatoronline.com/api/subtitle/preview' \
 --header "Content-Type: application/json" \
 --data '{
  "content": "1\n00:00:01,000 --> 00:00:03,500\nDon't let him get away with it!\n",
  "targetLang": "es",
  "sourceLang": "auto",
  "format": "srt",
  "bilingual": false
}'
Request examples
{
  "content": "1\n00:00:01,000 --> 00:00:03,500\nDon't let him get away with it!\n",
  "targetLang": "es",
  "sourceLang": "auto",
  "format": "srt",
  "bilingual": false
}
Response examples (200)
{
  "cues": [
    {
      "index": 42,
      "start": "string",
      "end": "string",
      "original": "string",
      "translated": "string",
      "literal": "string"
    }
  ]
}