{"openapi":"3.1.0","info":{"title":"AIReiter API","version":"1.0.0","description":"One API key for leading text, image and video models. Task API for async generation plus OpenAI / Anthropic compatible gateways."},"externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"servers":[{"url":"https://aireiter.com"}],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Authorization: Bearer <api-key>"},"apiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key"}}},"paths":{"/api/openapi/submit":{"post":{"summary":"Submit a generation task","description":"Create an async image / video generation task.","externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/openapi/query":{"post":{"summary":"Query task status","description":"Poll task status and result URLs.","externalDocs":{"url":"https://docs.aireiter.com/en/api-reference/tasks/status"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/openapi/balance":{"get":{"summary":"Get balance","description":"Credit balance and per-model free quota.","externalDocs":{"url":"https://docs.aireiter.com/en/api-reference/tasks/balance"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/v1/models":{"get":{"summary":"List models","description":"OpenAI-compatible model list.","externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/v1/chat/completions":{"post":{"summary":"Chat completions","description":"OpenAI Chat Completions compatible, stream and non-stream.","externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/v1/responses":{"post":{"summary":"Responses","description":"OpenAI Responses API compatible, stream and non-stream.","externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/v1/messages":{"post":{"summary":"Messages","description":"Anthropic Messages API compatible, stream and non-stream.","externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}},"/api/v1/messages/count_tokens":{"post":{"summary":"Count message tokens","description":"Anthropic count_tokens compatible, not billed.","externalDocs":{"url":"https://docs.aireiter.com/en/overview"},"responses":{"200":{"description":"Success. Business failures are also returned with HTTP 200 and a non-zero statusCode / error body."}}}}}}