Skip to main content

Prerequisites

Before you begin, you need an API key.
  1. Log in to your Apollo AI Dashboard.
  2. Navigate to Settings > API Keys.
  3. Click Create New Key.
  4. Copy your key (it will start with sk-...).

Your First Request

Let’s generate a simple text completion using the gpt-oss-120b model.
curl -X POST "https://apolloai.lol/v1/generation/prompt" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Explain quantum computing in one sentence.",
    "model": "gpt-oss-120b"
  }'

Next Steps

Now that you’ve made your first request, explore our other capabilities: