Documentation

Your familiar SDK. A clear path from API key to first response.

Quickstart

Choose a guide or find an API method. Copy examples to your project; this page does not execute requests.

Quickstart

Make your first request with Quanteex.

1

Create an API key

Create a project key in the dashboard. The full key is shown once; store it in your server environment. A new project starts with zero balance.

Shell
export QUANTEEX_API_KEY="YOUR_INFERENCE_KEY"
Keep your API key on the server. Never expose it in client-side code.
2

Choose a model

The text examples use gpt-6-astra and claude-fable-5-2. For image generation and editing, use an image model with the Images API; the Images guide has complete examples.

Generate or edit an image

3

Send a request

Use https://api.quanteex.com/v1 by default. The CDN address exposes the same endpoints, but its proxy can time out before a long JSON generation finishes. Prefer the direct API for long requests and SSE where supported. Choose a client timeout suitable for your job; the 900-second Python example is a client setting, not a generation limit.

Base URL
curl "https://api.quanteex.com/v1/chat/completions" \
  -H "Authorization: Bearer $QUANTEEX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-Quanteex-Output-Policy: provider_maximum" \
  --data '{
  "model": "gpt-6-astra",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'

Next steps

Connect your preferred client using Client setup, or continue with the API reference and streaming guide.

Configure a client

Images guide

Search documentation