API Usage

Access your local AI models using standard OpenAI endpoints.

Quick Start

The service is available at http://localhost:8080. You can use standard HTTP requests to interact with it.

curl http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-3.5-turbo",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Available Endpoints

POST /v1/chat/completions
Chat generation
POST /v1/images/generations
Image generation
POST /v1/audio/speech
Text to Speech