PROJECT ZERO API

Build with the API.

One API key for AI code assistance, plus the key-protected Whitelist API.

Rate Limits

Free

1 response / 2 minutes

Premium Level 3+

1 response / 20 seconds

Premium level is always re-checked server-side — the client's claimed level is never trusted directly.

API Keys

Login to manage API keys.
Your New API Key

Copy it now — you won't be able to see the full key again after closing this.

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.