Skip to content

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"}]}'
Full quickstart

Start here

API reference

Full REST paths, parameters, returns and error behavior for every capability — with runnable curl, Python and JavaScript examples.