❱ Getting Started

Get up and running with the Majestix AI Inference Hub in minutes.

Quick Start

1. Get an API Key

Sign up at the web app, navigate to Settings > API Keys, and create a new key. Your key will start with inf_.

2. Make Your First Request

curl -X POST https://inference-api-611798501438.us-central1.run.app/chat \
  -H "X-Api-Key: inf_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-flash",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": false
  }'

3. Stream a Response

curl -N -X POST https://inference-api-611798501438.us-central1.run.app/chat \
  -H "X-Api-Key: inf_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet",
    "messages": [{"role": "user", "content": "Explain quantum computing"}],
    "stream": true
  }'

SSE events arrive as:

What's Next

Last updated