# SRT Subtitle Generator (x402 Pay-Per-Call)

> SRT Subtitle Generator (x402 Pay-Per-Call) is a paid API for AI agents from 107-189-20-242.sslip.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Converts plain transcript text into a timed SRT subtitle file, with configurable cue duration, billed at $0.05 USDC per call via x402 on Base mainnet.

## Facts

- Endpoint: POST https://107-189-20-242.sslip.io/x402/srt
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/srt-subtitle-generator-x402-pay-per-call-033c3848
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_99MsgbtqMtGMfcLr6dGAG

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 srt-subtitle-generator-x402-pay-per-call-033c3848 -d '<json body>'
```

Example prompt: Take this transcript and convert it into an SRT subtitle file with 5-second cue segments, titled 'Interview with Dr. Smith': [transcript text here].

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use SRT subtitle file generated from plain transcript text without setting up a subscription or managing API keys — ideal for one-off subtitle jobs, low-volume workflows, or agent pipelines that already use USDC on Base for micropayments via x402.

## Known failure modes

- Missing required 'text' field returns a 400-level error
- Empty or whitespace-only text may produce zero cues or an error
- Very long transcripts may time out or be truncated
- Invalid segSecs value (e.g. zero or negative) may cause errors or fall back to default
- Payment failure via x402 (insufficient USDC balance or wrong network) blocks the call entirely

## How this service works

x402-paid micro endpoints: SRT subtitle generation, Persian<->English AI translation, USDC-on-Base invoice creation. Pay per call with USDC on Base via x402 v2.

## Output

Returns a JSON object containing 'srt' (a fully formatted SRT subtitle file as a string, with sequential cue numbers, timestamps, and text blocks) and 'cueCount' (an integer indicating how many subtitle cues were generated).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Transcript text to convert into subtitles"
  },
  "title": {
   "type": "string",
   "description": "Optional title for the SRT"
  },
  "segSecs": {
   "type": "number",
   "description": "Seconds per cue (default 5)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "srt": {
   "type": "string"
  },
  "cueCount": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/srt-subtitle-generator-x402-pay-per-call-033c3848/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 107-189-20-242.sslip.io](https://www.zero.xyz/host/107-189-20-242.sslip.io/llms.txt)
