API Documentation

NovaX API is fully compatible with the OpenAI API format. Just change the base URL and API key.

Authentication

All API requests require an API key passed in the Authorization header:

Authorization: Bearer sk-your-api-key

Base URL

http://127.0.0.1:3000/v1

Chat Completions

POST /v1/chat/completions

{
  "model": "gpt-4o",
  "messages": [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
  ],
  "temperature": 0.7,
  "max_tokens": 1000,
  "stream": false
}

List Models

GET /v1/models

Returns a list of all available models on this relay.

Embeddings

POST /v1/embeddings

{
  "model": "text-embedding-3-small",
  "input": "The quick brown fox"
}

Image Generation

POST /v1/images/generations

{
  "model": "dall-e-3",
  "prompt": "A futuristic city at sunset",
  "size": "1024x1024"
}

Rate Limits

PlanRPMTPM
Free10100K
Standard601M
Pro30010M