{"uid":"cap_t9nOk2DH9N0yH9hvZZ-jD","slug":"fastx402-media-convert-e2001d91","name":"FastX402 Media Convert","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/media-convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url","format"],"properties":{"end":{"type":"string","description":"End time in seconds or as 1:05, default the end of the file"},"url":{"type":"string","description":"Absolute http(s) URL of a video or audio file (mp4, mov, mkv, webm, avi, mp3, m4a, wav, ogg, flac)"},"start":{"type":"string","description":"Start time in seconds (12.5) or as 1:05, default 0"},"format":{"enum":["mp4","mov","mkv","webm","mp3","m4a","wav","ogg","flac","opus"],"type":"string","description":"Output format"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"bytes":{"type":"integer"},"start":{"type":"integer"},"format":{"type":"string"},"mime_type":{"type":"string"},"duration_s":{"type":"number"},"expires_at":{"type":"string"},"input_bytes":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://workshop.tusk80.com/r/d47a52c0a40b76aa78ac39e1f99cce3d.webm","bytes":5935046,"start":0,"format":"webm","mime_type":"video/webm","duration_s":60.1,"expires_at":"2026-10-17T15:20:47.225Z","input_bytes":5510872}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1EPzweBsa880nTUrbmqUp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts and trims video or audio files between formats (mp4, mov, mkv, webm, mp3, wav, etc.) via a pay-per-call API using x402 micropayments","exampleAgentPrompt":"Can you convert this video file to mp3 and trim it from 0:30 to 2:15? Here's the URL: https://example.com/myvideo.mp4","exampleUseCases":[{"title":"Extract audio from a video lecture","prompt":"I have a lecture video at https://example.com/lecture.mp4 — can you pull out just the audio and give it to me as an mp3 file?"},{"title":"Clip a highlight from a sports video","prompt":"Take this sports clip at https://example.com/game.mkv and trim it from 1:05 to 2:30, then convert it to mp4 so I can share it."},{"title":"Convert podcast audio for web embedding","prompt":"I need to convert this podcast file at https://example.com/episode.wav into opus format for streaming on my website — can you do that?"}],"resultDescription":"A JSON object containing a temporary URL to the converted media file, the output format, MIME type, file size in bytes, duration in seconds, start offset, and an expiry timestamp after which the URL will no longer be valid.","failureModes":["Invalid or inaccessible source URL returns an error (file must be publicly reachable via https)","Unsupported input format (only mp4, mov, mkv, webm, avi, mp3, m4a, wav, ogg, flac accepted)","Invalid start/end time values or start >= end cause processing failure","Payment failure via x402 prevents the call from being processed","Output URL expires after a set time — agent must download or use the file before expiry","Very large files may time out or exceed processing limits"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically convert or trim audio/video files without provisioning an account or managing API keys. It is ideal for lightweight, on-demand media format conversion tasks paid per-call via USDC micropayments on Base or Solana. Prefer this over heavy self-hosted FFmpeg setups or subscription-based media APIs when cost per conversion matters and the agent needs a stateless, serverless approach.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T00:54:30.305Z","isFirstParty":false,"canonicalSlug":"fastx402-media-convert-e2001d91"}