Build with the API.
One API key for AI code assistance, plus the key-protected Whitelist API.
Rate Limits
1 response / 2 minutes
1 response / 20 seconds
Premium level is always re-checked server-side — the client's claimed level is never trusted directly.
API Keys
Documentation
Authentication
Send your API key as a Bearer token in the Authorization header.
Request
POST /ai/api/v1/generate
{
"prompt": "Create a Lua function...",
"model": "openai/gpt-oss-120b"
}
model is optional (defaults to openai/gpt-oss-120b). Allowed values:
openai/gpt-oss-120b, openai/gpt-oss-20b, groq/compound, groq/compound-mini.
Anything else falls back to the default.
Response
{
"success": true,
"response": "...",
"remaining": 1
}
Errors
429 Too Many Requests — Please wait before making another request.
403 Premium Required — AI API access requires Premium Level 3 or higher.
Whitelist API
Every Whitelist project has a public id (16 random characters). No API key is needed — the project's key is the credential.
Endpoints
GET /api/v1/{id} keyless link: returns the loader script (Luau UI) or instructions
GET /api/v1/{id}/{key} the real script — only with a valid key
header x-hwid: DEVICE_ID (or ?hwid=DEVICE_ID) required when the key has a HWID limit
GET /api/v1/{id}/getkey?hwid=... your script asks for a personal Getkey link -> { ok, session, link }
GET /api/v1/{id}/getkey/{session} poll until { status: "done", key }
Errors
Failures are JSON { ok: false, error, message } with status 403 (invalid / revoked / expired / hwid_limit / hwid_required / banned), 404 (project not found or inactive) or 429 (too many failed attempts).
Example (curl)
curl -H "x-hwid: DEVICE_ID" https://projactzero.online/api/v1/AbCdEf0123456789/YOUR_KEY
Manage projects, keys and Getkey from /whitelist.