# SiteCheck Subtitle Translation

> SiteCheck Subtitle Translation is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-17).

Translates SRT or WebVTT subtitle files into a target language while preserving all timing cues

## Facts

- Endpoint: POST https://api.sitecheck-api.workers.dev/api/translate/subtitles?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-subtitle-translation-f20e278a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hVyJ9zYZ2pIZD-i-DTwFl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-subtitle-translation-f20e278a -d '<json body>'
```

Example prompt: Can you translate these English subtitles into German for me? Here's the SRT content: '1\n00:00:01,000 --> 00:00:03,000\nHello, nice to see you.\n\n2\n00:00:04,000 --> 00:00:06,500\nHow are you?\n'

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call subtitle translation that preserves SRT or WebVTT timing structure exactly — ideal for agents that need to localize video captions without running their own LLM infrastructure. Best for moderate-length subtitle files (up to 50 KB). If you need human-quality translation with glossary control or certified accuracy, prefer a dedicated translation service.

## Known failure modes

- Input subtitle text exceeds 50 KB limit — request rejected
- Invalid or unrecognized target language code — translation may fail or produce unexpected output
- Malformed SRT/WebVTT syntax — model may misparse cue boundaries
- Low-resource or rare language targets may produce lower quality translations from Llama 3.1 8B
- Model hallucination on technical or domain-specific terminology in subtitles

## How this service works

Translate an SRT or WebVTT subtitle file into another language. Only the cue text is translated; every cue number, timing line and header is copied exactly, and the output is checked to parse back to the same cues and timings, or it is refused unpaid. Body { subtitles, to, from }: up to 50 KB. Workers AI (Llama 3.1 8B) translates the text, so check it before publishing. Not live-checked: the owner tests it on the Worker after the merge.

## Output

Returns a JSON object containing the translated subtitle text in the original format (SRT or WebVTT) with all timing cues preserved, the detected or specified source language code, the target language code, the number of cues translated, the AI model used, and a warning to review the output before publishing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target language name or code, e.g. German or de"
  },
  "from": {
   "type": "string",
   "description": "Source language, optional; detected by the model when not given"
  },
  "subtitles": {
   "type": "string",
   "description": "The SRT or WebVTT text, up to 50 KB (JSON body field)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "de",
  "cues": 2,
  "from": null,
  "model": "@cf/meta/llama-3.1-8b-instruct-fast",
  "format": "srt",
  "source": "Workers AI (Llama 3.1 8B, translation of cue text only; timings copied from the input). Model output, check before publishing.",
  "checkedAt": "2026-10-15T00:00:00.000Z",
  "subtitles": "1\n00:00:01,000 --> 00:00:03,000\nHallo, schön dich zu sehen.\n\n2\n00:00:04,000 --> 00:00:06,500\nWie geht es\ndir?\n"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-subtitle-translation-f20e278a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
