Home / Use cases / whisper-transcription-billing
Bill per Whisper transcription — AssemblyAI through Spawnpay
The problem
You have an agent that transcribes audio. AssemblyAI charges per audio-minute. You need to pass that cost (plus a margin) to the end-user without integrating Stripe.
What Spawnpay does
Route AssemblyAI through Spawnpay's proxy. BYOK passthrough at $0.001/call. Add your own margin via the paywall SDK if you want to mark up.
Code
curl -X POST https://spawnpay.ai/api/proxy\
-H 'Authorization: Bearer spk_live_...'\
-H 'Content-Type: application/json'\
-H 'X-Provider-Key: $ASSEMBLYAI_API_KEY' \
-d '{ "provider": "assemblyai", "path": "/v2/transcript", "method": "POST", "body": { "audio_url": "https://example.com/audio.mp3" }}'
What you get with $7 free credit
Every new spk_ wallet starts with $7. That covers 7,000 proxy calls, 1,400 cloud-scrapes, or 700 screenshots — enough to verify Spawnpay fits your workflow before topping up.