Drop-in Deepgram-shaped speech-to-text for AI agents on MPP. POST {"url": "..."} (or raw audio bytes) to /deepgram/transcribe — the same path and response shape as "Deepgram via Locus MPP", whose transcribe route is no longer in its live OpenAPI — or to Deepgram-native /v1/listen. Returns results.channels[0].alternatives[0].transcript with word timestamps. Whisper large-v3-turbo on Cloudflare Workers AI; $0.008 per file up to 4.5 MB (~4 min). No account or API key: pay per call with MPP on Tempo (USDC.e or pathUSD). Bad URL or unreadable audio returns 402 and is not charged.
No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.
| Route | Price | What you get |
|---|---|---|
POST /deepgram/transcribe | $0.008 | Transcribe audio (Deepgram-compatible, Locus path) Deepgram-compatible prerecorded transcription. Same request as Deepgram / "Deepgram via Locus MPP" (JSON {url} or raw audio bytes, options like language, smart_format, utterances) and the same response shape (results.channels[0].alternatives[0].transcript, words with timestamps, metadata.duration). Engine: Whisper large-v3-turbo on Cloudflare Workers AI. Max 4.5 MB (~4 min). Drop-in for the /deepgram/transcribe route Locus lists at $0.053. |
POST /v1/listen | $0.008 | Transcribe audio (Deepgram /v1/listen shape) Deepgram-compatible prerecorded transcription. Same request as Deepgram / "Deepgram via Locus MPP" (JSON {url} or raw audio bytes, options like language, smart_format, utterances) and the same response shape (results.channels[0].alternatives[0].transcript, words with timestamps, metadata.duration). Engine: Whisper large-v3-turbo on Cloudflare Workers AI. Max 4.5 MB (~4 min). Deepgram-native path: options may also be sent as query parameters. |
These call POST /deepgram/transcribe ($0.008) — Transcribe audio (Deepgram-compatible, Locus path). Swap the path for any other route in the table.
npx mppx https://mpp-stt.fmf-x402.workers.dev/deepgram/transcribe -X POST -H 'content-type: application/json' -d '{"url":"https://github.com/openai/whisper/raw/main/tests/jfk.flac","smart_format":true}'
The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.
curl -i -X POST https://mpp-stt.fmf-x402.workers.dev/deepgram/transcribe -H 'content-type: application/json' -d '{"url":"https://github.com/openai/whisper/raw/main/tests/jfk.flac","smart_format":true}'
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
Mppx.create({
methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})
// Global fetch now pays the 402 automatically.
const res = await fetch('https://mpp-stt.fmf-x402.workers.dev/deepgram/transcribe', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"url":"https://github.com/openai/whisper/raw/main/tests/jfk.flac","smart_format":true}),
})
console.log(await res.json())
# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo
account = TempoAccount.from_key("0x...")
async def main():
async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
response = await mpp.fetch("https://mpp-stt.fmf-x402.workers.dev/deepgram/transcribe", method="POST", json={"url":"https://github.com/openai/whisper/raw/main/tests/jfk.flac","smart_format":true})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-stt": {
"url": "https://mpp-stt.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://mpp-stt.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.
Engine: OpenAI Whisper large-v3-turbo (MIT) served by Cloudflare Workers AI. Not affiliated with Deepgram; "Deepgram-compatible" refers only to the request/response shape. Audio is processed in memory and not stored. Longer audio: https://mpp-docs.fmf-x402.workers.dev (/mpp/audio/transcribe-long).