API Gateway endpoints (public documentation) Version: v1.1 Base URL example: https://wan-2-5.pro Authentication - Protected endpoints require: Authorization: Bearer - Docs endpoints: - GET /docs/public - GET /docs/public.txt - GET /docs - GET /docs/endpoints.txt Public docs are available without auth. Extended docs are available with a valid API key or session according to role. Public endpoints (no auth) - GET / - GET /documentation - GET /docs/public - GET /docs/public.txt - POST /admin/session/login - GET /logh Protected gateway endpoints (API key required) - GET /healthz - GET /readyz - GET /v1/models - GET /v1/me - GET /v1/comrade/status - POST /v1/pool/contribute - DELETE /v1/pool/withdraw - POST /v1/chat/completions - POST /v1/responses - POST /v1/messages - POST /v1/messages/count_tokens - POST /v1/images/generations - POST /v1/embeddings - POST /v1/audio/transcriptions - POST /v1/search Quick start 1) Open the public docs page: GET /documentation 2) List available models with your API key: curl -sS \ -H "Authorization: Bearer " \ http://wan-2-5.pro/v1/models 3) Send a basic chat request: curl -sS \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d "{\"model\":\"gpt-4o-mini\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}" \ http://wan-2-5.pro/v1/chat/completions Error format { "error": { "type": "error_code", "code": "error_code", "message": "human readable message" } } Notes - Public docs intentionally omit admin-only and operational sections. - Authenticated docs are role-aware: - user keys see user documentation - admin keys or admin session see extended admin documentation