https://api.pyai.com/v1.
HTTP auth accepts either Authorization: Bearer <key> or the header alias
x-api-key: <key>.
Get a key
Sign up at console.pyai.com, click Create API
key, and copy it (shown once). Use a
pyai_test_ sandbox key to start —
it works instantly with hard daily caps and no billing.Verify it in 5 seconds
GET /v1/me needs no special scope, so it’s the fastest possible first call —
and it’s self-diagnosing: it echoes back the org, environment, granted scopes,
and credit posture the gateway resolved for your key.200 means your key is live everywhere. A 401 means the key is wrong; a
402 is the billing gate (use a pyai_test_ key) — never a broken key.List voices
id as the voice above, or create your own with voice
cloning (/v1/voice/clones).Next steps
Build a browser voice agent
Mic → Omni → speakers in ~10 minutes, all client-side.
Authentication
Keys, environments, rotation, revocation.
Pricing & metering
How usage is measured and billed.
Errors & limits
Error codes, rate limits, idempotency.
API reference
Full request/response schemas, right here in the docs.