{"uid":"cap_Jk5pbOyzxjJAyUYbDXYxg","slug":"relaystation-subtitle-burn-libass-3ac9a5c3","name":"RelayStation Subtitle Burn (libass)","description":"$0.0005/MB. Burn subtitles permanently into video via libass — styled captions everywhere the file goes. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/media/subtitle-burn","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"ext":{"enum":["mp4","mov","mkv","mp3","m4a","aac","wav","ogg","flac"],"type":"string"},"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key ≤ 50 MB> }. The input container must sniff (ffprobe) to the live allowlist (operator-tunable cputools.media.input_formats): 3g2, 3gp, aac, asf, avi, flac, flv, gif, m4a, m4v, matroska, mj2, mov, mov,mp4,m4a,3gp,3g2,mj2, mp3, mp4, mpeg, mpegts, mpegvideo, ogg, wav, webm, wmv. An off-list input is a free 422 UNSUPPORTED_FORMAT."},"subtitle":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IT3b4nY95UlV6ssrVdOVT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Permanently burns styled subtitle/caption tracks into a video file using libass, so captions are hardcoded into every copy of the video.","exampleAgentPrompt":"Take my video file and permanently burn in the subtitle file I have — I want the styled captions hardcoded into the video so they show up no matter where the file is played.","exampleUseCases":[{"title":"Accessibility captions for social video","prompt":"I have a short interview video and an SRT subtitle file — can you burn the captions permanently into the video so they're always visible when I post it on social media?"},{"title":"Localized subtitles for international distribution","prompt":"I need to bake the Spanish subtitle track into this MP4 so the translated captions are hardcoded and will show up on any device or platform, even ones that don't support external subtitle files."},{"title":"Styled captions for a course video","prompt":"Can you permanently embed my ASS subtitle file (with custom fonts and positioning) into this lecture video using libass so the styled captions are burned into every frame?"}],"resultDescription":"Returns a video file (or download URL) with subtitles permanently composited into the video frames using libass rendering — the output video has hardcoded, styled captions visible on any player without needing a separate subtitle track.","failureModes":["Unsupported video or subtitle format returns a 4xx error","Subtitle file and video duration mismatch may result in partial or missing captions","Malformed ASS/SRT subtitle syntax causes libass rendering failure","Video file too large or exceeds processing limits returns an error","Network timeout for very long or high-bitrate videos","Invalid or inaccessible input URL returns a 4xx error"],"whenToPreferThis":"Choose this endpoint when you need subtitles permanently embedded (hardcoded) into video frames — not as a removable soft track — especially when distributing to platforms or devices that don't support external subtitle files. Ideal when styled captions (custom fonts, colors, positioning via libass/ASS format) must be preserved exactly as authored. Prefer over FFmpeg-direct or generic video APIs when you want a pay-per-MB microservice with no infrastructure to manage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:51:00.473Z","isFirstParty":false}