API keys

One infr_sk_… key runs every model across every provider. infr routes each call to the cheapest provider and debits your 01.cash balance. You never touch a provider's key.

loading…

usage
# Any model id from the /prices table — infr picks the cheapest provider.
curl -X POST https://infr.sh/api/v/seedream-4.5 \
  -H "Authorization: Bearer infr_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a red bicycle in a sunlit field", "size": "1024x1024"}'

# Response — one shape regardless of which provider served it:
# {
#   "_infr":  { "model": "seedream-4.5", "provider": "vercel", "billed": 0.0408, ... },
#   "images": [ { "url": "https://..." } ],
#   "result": { ...raw provider response... }
# }