Home / Use cases / stability-ai-payment

Stability AI image generation billing

The problem

Stability AI has per-image costs that vary by model. Tracking spend per end-user is a pain.

What Spawnpay does

BYOK Stability through Spawnpay. Every upstream 2xx is one billable event. Use paid-image-mcp as a drop-in MCP wrapper.

Code

curl -X POST https://spawnpay.ai/api/proxy\
  -H 'Authorization: Bearer spk_live_...'\
  -H 'Content-Type: application/json'\
  -H 'X-Provider-Key: $STABILITY_API_KEY' \
  -d '{  "provider": "stability",  "path": "/v2beta/stable-image/generate/sd3",  "method": "POST",  "body": {    "prompt": "a green frog"  }}'
60-SEC QUICKSTART → PLAYGROUND → TOP UP USDC →

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.

See also