{"uid":"cap__92qcdg9RJRnOSF7_9Rv0","slug":"agent402-tools-audio-convert-mp4-to-mp3-80a8a9db","name":"agent402.tools Audio Convert (MP4 to MP3)","description":"Extract/convert the audio track of any media URL (mp4, mov, wav, m4a, ogg…) to MP3 - the \"mp4 to mp3\" conversion, deterministic ffmpeg, no AI. Body: {\"url\":\"https://…/video.mp4\",\"bitrate\":\"192k\"?}. Returns the MP3 as base64.","url":"https://agent402.tools/api/audio-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public URL of the media file (max 30MB)"},"bitrate":{"type":"string","description":"MP3 bitrate, e.g. \"128k\", \"192k\" (default), \"320k\""}}},"responseSchema":{"type":"json","example":{"bytes":2210000,"format":"mp3","bitrate":"192k","mp3Base64":"SUQzBAAAAA…"}},"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_e9Tg61kBXNzgDF6Vc2W8z","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":"Extracts and converts the audio track from any media URL (mp4, mov, wav, m4a, ogg, etc.) to MP3 using ffmpeg, returning the result as base64","exampleAgentPrompt":"Can you extract the audio from this video and give it to me as an MP3 at 320k bitrate? The file is at https://example.com/lecture.mp4","exampleUseCases":null,"resultDescription":"Returns the converted MP3 audio file encoded as a base64 string, ready to be decoded and saved as an .mp3 file. The output reflects the requested bitrate (128k, 192k default, or 320k).","failureModes":["URL is not publicly accessible or returns 4xx/5xx — conversion fails","Media file exceeds 30MB size limit — request rejected","URL points to an unsupported or non-media format — ffmpeg cannot process","Invalid bitrate string provided — may default or error","Network timeout fetching the remote media URL — conversion fails"],"whenToPreferThis":"Use this endpoint when you need a deterministic, non-AI audio extraction or format conversion from a remote media URL to MP3. Ideal when you want a reliable ffmpeg-based transcode without uploading files directly — just pass a public URL and optionally specify bitrate. Prefer this over AI-based audio tools when no speech recognition or analysis is needed, just format conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T09:15:25.336Z","isFirstParty":false}