Documentation

Get from zero to inference in under a minute.

1. One-click demo deploy

Go to your dashboard and click "Deploy demo (one click)". The preloaded DistilGPT2 model will be ready in seconds.

2. Copy-paste cURL

Replace YOUR_API_KEY and YOUR_DEPLOYMENT_ID with values from your dashboard.

curl -X POST https://api.quantlix.ai//run \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"deployment_id": "YOUR_DEPLOYMENT_ID", "input": {"prompt": "Hello, world!"}}'

3. CLI quickstart

Install, authenticate, deploy the demo model, and run inference.

pip install quantlix
quantlix login
quantlix deploy qx-example
quantlix run <deployment_id> -i '{"prompt": "Hello!"}'

API reference

Full REST API documentation with OpenAPI spec.