{"object": "xeoni.api", "name": "Xeoni API", "version": "2.1.0", "docs": "/  (open in a browser: playground + docs)", "auth": "Authorization: Bearer <your key>   (GET /v1/health and the docs page need no key)", "base_url": "/v1", "endpoints": {"GET  /v1/health": "no key; {status, ok, training, version}", "GET  /v1/status": "model loaded, memory free", "GET  /v1/models": "OpenAI-style model list", "POST /v1/chat/completions": "OpenAI compatible. stream:true (SSE), image_url data URLs, session_id, system, temperature, max_tokens", "POST /v1/vision": "image (multipart file) or image_base64 / image_url data URL, plus prompt -> chat.completion", "POST /v1/images/generations": "prompt, size (1024x1024|832x1248|1248x832|square|portrait|landscape), pro, response_format url|b64_json, async:true", "POST /v1/images/edits": "image (multipart file) + prompt (or instruction); async:true -> {id, status:queued}", "POST /v1/images/enhance": "prompt -> the detailed prompt generations would use", "GET  /v1/images/{id}": "poll an async image/edit job (id starts with img_)", "GET  /v1/files/{name}": "download a generated image (needs key)", "legacy": "/api/request/chat|vision|image|edit|enhance|release and /api/* aliases of everything above keep working"}, "errors": {"error": {"message": "...", "type": "invalid_request_error", "code": "bad_request", "request_id": "req_..."}}, "headers": "X-Request-Id, X-Xeoni-Version, X-RateLimit-Limit/Remaining/Reset, Retry-After on 429/503", "limits": "12 MB body, 40 requests/min (10 for images and vision), no time limit on images/edits (keep-alive or async)"}