🚀 OX API V1

AI API Proxy - Image & Text Generation

📡 API Endpoints

GET /v1/health Health check
GET /v1/models List available models
POST /v1/images/generations Generate images
POST /v1/chat/completions Chat completions
POST /v1/runware Raw Runware API

🤖 Available Models

🖼️

ox-image-1

Stable Diffusion 1.5 - Text-to-Image

🎨

ox-image-2

GPT-Image 2 - Text-to-Image with Reference Images

💬

ox-text-1

GLM-5.1 - Text Generation, Function Calling

📖 Quick Start

Image Generation

curl -X POST https://aiapi.oxapp.ch/v1/images/generations \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A serene mountain landscape", "model": "ox-image-1", "size": "1024x1024" }'

Chat Completion

curl -X POST https://aiapi.oxapp.ch/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "ox-text-1", "messages": [ {"role": "user", "content": "Hello!"} ] }'

📚 Documentation

Interactive API documentation with Swagger UI

Open Swagger UI →