{"uid":"cap_mcv8Yo2Q2m9gVVWZYMQpk","slug":"relaystation-media-concat-5dd20b83","name":"Relaystation Media Concat","description":"$0.0005/MB. Join 2–10 clips end-to-end by fast stream-copy — no quality loss, no re-encode. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/media/concat","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"},"files":{"type":"array","items":{"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."},"maxItems":10,"minItems":2}}},"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_EAV-t7LHax0gaEWMZcmsH","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":"Joins 2–10 video or audio clips end-to-end via stream-copy (no re-encode) at $0.0005/MB, billed by the megabyte with a 1¢ x402 minimum.","exampleAgentPrompt":"Stitch these 3 MP4 clips together into one file without re-encoding — clip1.mp4, clip2.mp4, and clip3.mp4 — and give me the merged video back.","exampleUseCases":[{"title":"Assembling podcast episode from segments","prompt":"I have 4 audio segments recorded separately — intro.mp3, interview.mp3, ad.mp3, and outro.mp3 — can you concatenate them into a single podcast episode file without any quality loss?"},{"title":"Merging trimmed screen recording clips","prompt":"I cut my screen recording into 3 parts and want them joined back into one video — screen_part1.mp4, screen_part2.mp4, screen_part3.mp4 — just stream-copy them together without re-encoding."},{"title":"Combining social media video clips","prompt":"I have 5 short video clips for my social media post and need them stitched end-to-end into one file: clip_a.mp4, clip_b.mp4, clip_c.mp4, clip_d.mp4, clip_e.mp4 — no re-encode so quality stays perfect."}],"resultDescription":"A single concatenated media file produced by lossless stream-copy, containing all input clips joined end-to-end in the specified order. No re-encoding occurs so the output retains the original codec and quality. The response includes the output file or a URL to download it, along with billing details based on total MB processed.","failureModes":["Mismatched codecs or container formats between clips may cause stream-copy to fail or produce unplayable output","Fewer than 2 or more than 10 clips provided results in a validation error","Input clip URLs that are inaccessible or expired return a fetch/download error","Total file size or clip count exceeding platform limits returns a size/limit error","Insufficient USDC balance for the per-MB cost returns a payment failure"],"whenToPreferThis":"Choose this endpoint when you need to join multiple video or audio clips together quickly and losslessly — it uses stream-copy so there is zero quality degradation and processing is very fast. Prefer it over re-encoding pipelines when the clips share the same codec and container. It is ideal for assembling pre-edited segments, podcast parts, or recorded clips into a final file without transcoding overhead. The per-MB pricing makes it economical for small-to-medium media files.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T03:45:45.044Z","isFirstParty":false}