eroq

Get started

The eroq API

One base URL, one bearer key, one unit of account. Every model — roleplay chat, image, video, speech, transcription — sits behind the same conventions, and every call has a credit price you can read off the pricing table.

Make a request

The request and response shapes follow the OpenAI convention where one exists (chat/completions, images/generations, audio/speech), so existing client code usually ports by changing three strings: the base URL, the key, and the model id.

Base URLhttps://eroq.ai/v1
Run a conversation turn against eroq RP+, RP or eroq RP mini
curl https://eroq.ai/v1/chat/completions \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "eroq-rp-plus",
  "context": "Mira: sardonic starship mechanic, dry humor, hates small talk. Scene: engine bay, mid-shift.",
  "messages": [
    {
      "role": "user",
      "content": "The reactor is making that noise again."
    }
  ]
}'
{
  "id": "cmpl_9f2e17ab",
  "object": "chat.completion",
  "model": "eroq-rp-plus",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "*slides out from under the manifold, wiping grease on her overalls* That noise is the reactor's way of saying you skipped the coolant flush. Again."
    },
    "finish_reason": "stop"
  }],
  "usage": { "credits_spent": 3, "credits_remaining": 997 }
}

See a call happen

No key yet? Run the example — it replays a real exchange from the docs' own data, entirely in your browser.

/v1/chat/completions
→ POST /v1/chat/completions
Press run — this replays a real exchange from the docs' own data. No key, no request, no charge.

Choose your path