{"object":"xeoni.api","name":"Xeoni API","version":"2.2.0","docs":"/docs  (guide + try-it)","playground":"/","openapi":"/v1/openapi.json","auth":"Authorization: Bearer <your key>   (GET /v1/health and the docs page need no key)","base_url":"/v1","endpoints":{"GET  /v1/health":"no key; liveness {status, ok, training, version}","GET  /v1/ready":"no key; readiness (engine, models, disk) 200 or 503","GET  /v1/openapi.json":"no key; OpenAPI 3.1 spec","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 (auto default|1024x1024|832x1248|1248x832|square|portrait|landscape), style (auto|photo|cinematic|anime|3d|illustration|logo), quality (fast|standard|high), pro, response_format url|b64_json, async:true. Free keys get a 'Created by XeoniAI' mark (watermarked, tier, upgrade_hint). PAID","POST /v1/images/edits":"image (multipart file) + prompt (or instruction); async:true -> {id, status:queued}. Same free-key watermark as generations. PAID","POST /v1/images/enhance":"FREE (no image provider is called): prompt, size, style, quality, pro -> prompt, negative, size, shape, style, steps, notes. Also GET ?prompt=","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)"}
