{"uid":"cap_VvAoc1Iks3mDWBV_9yjxP","slug":"relaystation-media-probe-0a66ece8","name":"Relaystation Media Probe","description":"$0.0002/call. Inspect any media file via ffprobe — duration, container, streams, codecs, dimensions, bitrate as JSON. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/media/probe","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":{"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."}}},"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_flgEAqNE0Dz-U14sf-c4p","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":"Inspects any media file via ffprobe and returns duration, container format, streams, codecs, dimensions, and bitrate as structured JSON","exampleAgentPrompt":"Can you probe this video file at https://example.com/myvideo.mp4 and tell me its duration, codec, resolution, and bitrate?","exampleUseCases":[{"title":"Validate uploaded video specs","prompt":"I just uploaded a video to our S3 bucket at https://cdn.example.com/uploads/video123.mp4 — can you probe it and tell me its codec, resolution, and whether it has an audio stream?"},{"title":"Check podcast audio duration","prompt":"Before I publish this episode, can you inspect https://mypodcast.com/episodes/ep42.mp3 and give me the exact duration and audio codec?"},{"title":"Diagnose incompatible media container","prompt":"This video at https://assets.myapp.com/clip.mkv keeps failing to play in our web player — can you probe it and tell me what container, video codec, and audio codec it's using?"}],"resultDescription":"A JSON object containing the full ffprobe output: container format name, duration in seconds, overall bitrate, and an array of stream objects each with codec name, codec type (video/audio), dimensions (width/height for video), sample rate and channel layout (for audio), and other technical parameters.","failureModes":["Unreachable or invalid media URL returns an error with no probe data","Unsupported or corrupted file format may return partial or empty stream info","Very large files may time out before probing completes","Non-media files (e.g. plain HTML pages) return an error indicating no media streams found"],"whenToPreferThis":"Use this endpoint when you need fast, structured technical metadata about any media file without downloading or processing it yourself. It is ideal for pre-flight validation of user uploads, quality checks in media pipelines, or feeding codec/dimension data into downstream transcoding decisions. Prefer this over manual ffprobe invocations when operating in a serverless or agent context that cannot run local binaries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:49:42.153Z","isFirstParty":false}