https://api.protoface.com/v1. Media generation
is POST /v1/run/{model_id} and GET /v1/runs/{id}. Live avatars start
at POST /v1/sessions.
Authenticate with a Protoface API key:
POST /v1/agora/session/start and
DELETE /v1/agora/session/stop use X-API-Key: sk_live_... with the full
secret. See Agora authentication.
Create and manage keys in
app.protoface.com. One key covers inference
and Realtime. A 401 with error.code: "missing_authorization" means
the Authorization header did not parse; Authentication
covers troubleshooting, the other auth codes, and scopes.
Conventions
- IDs are prefixed strings such as
run_...,sess_...,asset_..., andav_.... Model IDs are the exception:publisher/model, which doubles as the run path. - Timestamps are ISO-8601 UTC strings.
- List endpoints use cursor pagination with
limitandstarting_after. - Error responses use the envelope described in
Errors, where
error.codeis the field to branch on. POST /v1/run/{model_id}andPOST /v1/sessionsaccept anIdempotency-Keyfor safe retries, reused only for an unchanged body. Runs covers the rules.

