81trust / 100
Mp4 To Mp3
by x402.forgemesh.io in Search & web
x402 APIPassing, checked 10 min ago
MP4 to MP3 API: extract the audio track from any public video URL as an MP3 (192k), on our own hardware. 25MB input cap. Use before transcription or for audio archiving. Files deleted after processing.
POST https://x402.forgemesh.io/mp4-to-mp3
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 223 ms typical, 401 ms slowest 5%
- Last check
- 10 min ago
- Next check
- in 22 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.forgemesh.io/mp4-to-mp3" \
-H "content-type: application/json" \
-d '{"media_url":"https://x402.forgemesh.io/fixtures/sample.mp4"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.forgemesh.io%2Fmp4-to-mp3
const res = await pay("https://x402.forgemesh.io/mp4-to-mp3", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"media_url":"https://x402.forgemesh.io/fixtures/sample.mp4"}),
});
console.log(await res.json());Example input
{
"media_url": "https://x402.forgemesh.io/fixtures/sample.mp4"
}Example output
{
"content_type": "audio/mpeg",
"file_base64": "SUQzBAAAAA..."
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 min ago | Passed | 402 | 401 ms | $0.005 |
| 3 h ago | Passed | 402 | 521 ms | $0.005 |
| 7 h ago | Passed | 402 | 223 ms | $0.005 |
| 12 h ago | Passed | 402 | 139 ms | $0.005 |