{"uid":"cap_b6CaaAtt2EtFGezTRb0OV","slug":"writerslogic-subtitle-lint-c7107cd0","name":"WritersLogic Subtitle Lint","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/subtitle-lint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":400000,"minLength":1,"description":"The whole .srt or .vtt file."},"custom":{"type":"object","properties":{"maxCps":{"type":"number","maximum":100,"minimum":1},"minGapMs":{"type":"number","maximum":60000,"minimum":0},"minGapFrames":{"type":"number","maximum":100,"minimum":0},"maxDurationMs":{"type":"number","maximum":600000,"minimum":1},"minDurationMs":{"type":"number","maximum":60000,"minimum":0},"maxLinesPerCue":{"type":"integer","maximum":20,"minimum":1},"maxCharsPerLine":{"type":"integer","maximum":500,"minimum":1}},"description":"Your own rules; these override profile values."},"format":{"enum":["srt","vtt"],"type":"string","description":"Default: vtt if the text starts with WEBVTT, else srt."},"profile":{"enum":["netflix-en-adult","netflix-en-children"],"type":"string","description":"netflix-en-adult: 42 chars/line, 2 lines, 20 cps, 5/6 s to 7 s, 2-frame gap. netflix-en-children: same at 17 cps."},"frameRate":{"type":"number","maximum":240,"minimum":1,"description":"Needed to turn a minimum gap in frames into milliseconds."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3igzFazIF2pxmHeaorGXP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates SRT or WebVTT subtitle files against timing, formatting, and readability rules from Netflix profiles or custom thresholds, flagging every cue-level violation.","exampleAgentPrompt":"Can you lint this WebVTT subtitle file against the netflix-en-adult profile and tell me every cue that violates timing, gap, duration, or characters-per-second rules? Here's the full file text: [paste file].","exampleUseCases":[{"title":"Netflix delivery QC check","prompt":"I need to submit English subtitles to Netflix — can you run this SRT file through the netflix-en-adult profile and list every violation so I can fix them before delivery? Here's the file content."},{"title":"Children's show caption compliance","prompt":"Check these WebVTT captions against the netflix-en-children profile — I want to know if any cues exceed 17 characters per second or have lines longer than 42 characters."},{"title":"Custom broadcast subtitle validation","prompt":"Validate this SRT file using my own rules: max 35 characters per line, max 2 lines per cue, minimum gap of 80 milliseconds, and max 21 characters per second. Flag every cue that breaks any of those limits."}],"resultDescription":"A structured report listing every subtitle cue that fails validation, with the cue index, timestamp, and a description of each rule violation (e.g. overlap with next cue, CPS exceeded, line too long, gap too short, duration out of range). Cues that pass are not flagged. The response may also indicate whether a named profile was applied or only structural checks were performed.","failureModes":["File exceeds 400,000 character or 4,000 cue limit — request rejected","Malformed SRT/WebVTT that cannot be parsed — parse error returned","Profile name misspelled or not in enum — validation may fall back to structure-only","frameRate omitted when minGapFrames is set — gap-in-frames check cannot be performed","ASS/SSA or TTML format submitted — not supported, error or incorrect parse result","Custom rule values outside allowed min/max bounds — schema validation error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically validate subtitle or caption files before delivery, archiving, or burn-in — especially when compliance with named standards like Netflix English adult or children profiles is required. Prefer this over generic text validators because it understands subtitle timing semantics (overlaps, gaps, CPS, cue duration) and strips markup tags before character counting. It is not suitable for translation quality checks, shot-change alignment, positioning rules, or ASS/TTML formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T06:30:27.941Z","isFirstParty":false,"canonicalSlug":"writerslogic-subtitle-lint-c7107cd0"}