API keys
A key is created by one wallet signature and spends that wallet's credits. It is shown once; only its hash is stored.
Connect a wallet to create a key.
Endpoints
| POST /api/v1/chat/completions | Qwen2.5 0.5B Instruct, or a saved model id |
| POST /api/v1/embeddings | all-MiniLM-L6-v2, 384 dims |
| GET /api/v1/models | Base models |
| GET /api/jobs/:id | A job that is still waiting for two rigs |
OpenAI-compatible bodies and responses, without streaming: the answer is returned once two rigs agree, within about four minutes, or with a job id to poll.
curl
curl https://www.helirig.xyz/api/v1/chat/completions \
-H "Authorization: Bearer hr_your_key" \
-H "Content-Type: application/json" \
-d '{"model":"qwen2.5-0.5b-instruct","messages":[{"role":"user","content":"Name three uses of embeddings."}],"max_tokens":96}'curl https://www.helirig.xyz/api/v1/embeddings \
-H "Authorization: Bearer hr_your_key" \
-H "Content-Type: application/json" \
-d '{"model":"all-minilm-l6-v2","input":["private payouts","encrypted balance"]}'