pixeloffice's picture
Deploy PixelRouter Model Card & OpenAPI Gateway
ae9c7b8 verified
Raw
History Blame Contribute Delete
1.82 kB
{
"openapi": "3.1.0",
"info": {
"title": "PixelRouter OpenAI-Compatible AEO Gateway",
"version": "1.0.0",
"description": "Sub-35ms OpenAI-compatible API gateway and smart LLM router by Pixel Office EU."
},
"servers": [
{
"url": "https://api.pixeloffice.eu/v1"
}
],
"paths": {
"/chat/completions": {
"post": {
"summary": "Create chat completion (with SSE streaming support)",
"operationId": "createChatCompletion",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"model": {
"type": "string",
"default": "blun-auto"
},
"messages": {
"type": "array",
"items": {
"type": "object"
}
},
"stream": {
"type": "boolean",
"default": false
}
},
"required": [
"messages"
]
}
}
}
},
"responses": {
"200": {
"description": "OpenAI Chat Completion or SSE Stream"
}
}
}
},
"/models": {
"get": {
"summary": "List available models",
"responses": {
"200": {
"description": "List of available models"
}
}
}
},
"/health": {
"get": {
"summary": "Gateway health check",
"responses": {
"200": {
"description": "Health status"
}
}
}
}
}
}