Guide
Quickstart
Three steps between you and a completion: an account, a key, a call. New accounts carry 50 free credits — enough to try chat, an image and a voice line before touching a card.
1 · Get a key
Create an account and mint a key on the API keys page. The full key is shown once; we store only a hash.
# 1. Create a key at https://eroq.ai/dashboard/keys
export EROQ_API_KEY="eroq_sk_…"2 · First completion
curl https://eroq.ai/v1/chat/completions \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "eroq-rp-mini",
"messages": [
{ "role": "system", "content": "You are Mira, a sardonic starship mechanic." },
{ "role": "user", "content": "The reactor is making that noise again." }
]
}'3 · Go further
Swap the model id for eroq-rp-plus when quality matters, set stream: true for tokens as they render (see Streaming), and browse the reference in the sidebar for images, video and audio. Budget rule of thumb: 1 credit ≈ one cent; the pricing table has every flat price.