infrai documentation
Every backend service behind one key, one bill — called over a zero-install REST API. No SDK required: use curl, Python, JavaScript, Go or any language that speaks HTTP.
5-minute quickstart
Get a project key, then POST JSON to https://api.infrai.cc/v1/… with a Bearer header. No SDK to install — your first call works from curl in one line.
bash
curl https://api.infrai.cc/v1/chat/completions \
-H "Authorization: Bearer $INFRAI_API_KEY" \
-d '{"model": "auto", "messages": [{"role": "user", "content": "Explain useEffect in one line"}]}'Start here
API reference
Full REST paths, parameters, returns and error behavior for every capability — with runnable curl, Python and JavaScript examples.
AI Runtime
/v1/aiAI Video/v1/videoEmail/v1/emailSMS/v1/smsCron Jobs/v1/cronMessage Queue/v1/queueError Tracking/v1/errorsLogging/v1/logsMetrics/v1/metricsFeature Flags/v1/flagsCaptcha/v1/captchaPDF/v1/pdfImage Processing/v1/imageRealtime/v1/realtimeStorage/v1/storageVector/v1/vectorWeb/v1/webAnalytics/v1/analyticsAuth & identity/v1/authRealtime comms/v1/rtcManaged database/v1/dbDNS/v1/dnsRisk & fraud/v1/riskAccount/v1/account