{"uid":"cap_Tx82xKZNNB4iXkXajT7uG","slug":"agent402-tools-subtitle-format-converter-3b6b4227","name":"agent402.tools Subtitle Format Converter","description":"Convert subtitles between SRT, WebVTT, plain text, and JSON cues. Send SRT or VTT text (auto-detected) - or a JSON cues array [{start,end,text}] with times in ms - and the target format. Deterministic, pure CPU.","url":"https://agent402.tools/api/srt-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"target format: srt | vtt | text | json"},"cues":{"type":"array","description":"alternative: cue objects [{start,end,text}] with start/end in milliseconds"},"input":{"type":"string","description":"SRT or WebVTT text (format auto-detected)"}}},"responseSchema":{"type":"json","example":{"to":"vtt","count":2,"result":"WEBVTT\n\n00:00:01.000 --> 00:00:03.000\nHello world\n\n00:00:03.500 --> 00:00:05.000\nSecond line\n","detected":"srt"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uJLLznWqYaXOxCPFBX7NZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts subtitle/caption files between SRT, WebVTT, plain text, and JSON cue formats, accepting either raw subtitle text or a JSON cues array","exampleAgentPrompt":"Convert this SRT subtitle file to WebVTT format: '1\\n00:00:01,000 --> 00:00:04,000\\nHello, welcome to the show.'","exampleUseCases":null,"resultDescription":"Returns the subtitle content in the requested target format — either a string containing SRT, WebVTT, or plain text content, or a JSON array of cue objects with start/end timestamps in milliseconds and text fields.","failureModes":["Unrecognized or malformed SRT/VTT input returns a parse error","Invalid target format value (not srt|vtt|text|json) returns a validation error","Providing neither 'input' nor 'cues' returns a missing parameter error","Malformed cues array (missing start/end/text fields) causes a schema validation error","Payment failure or insufficient USDC balance returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need deterministic, fast, CPU-only subtitle format conversion without any AI or probabilistic processing. Ideal for pipelines that need to reformat captions between SRT, WebVTT, plain text, or JSON cue structures reliably and cheaply at $0.002 per call. Prefer this over manual parsing or general-purpose code execution when subtitle format conversion is the specific task.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:09:14.375Z","isFirstParty":false}