Home / Use cases / elevenlabs-tts-paywall
Bill per ElevenLabs TTS call — paid-tts-mcp drop-in
The problem
TTS is expensive. Letting end-users invoke it without per-call accounting is a fast path to a runaway bill.
What Spawnpay does
Route ElevenLabs through Spawnpay proxy, or use the prebuilt paid-tts-mcp which returns a base64 MP3 to the agent. $0.001 per upstream 2xx + your BYOK ElevenLabs spend, no surprise overruns.
Code
curl -X POST https://spawnpay.ai/api/proxy\
-H 'Authorization: Bearer spk_live_...'\
-H 'Content-Type: application/json'\
-H 'X-Provider-Key: $ELEVENLABS_API_KEY' \
-d '{ "provider": "elevenlabs", "path": "/v1/text-to-speech/21m00Tcm4TlvDq8ikWAM", "method": "POST", "body": { "text": "Hello from Spawnpay" }}'
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.