Model API Documentation

OpenAI-compatible API for model hosting

Overview

This API is designed to be compatible with the OpenAI API specification, making it easy to migrate applications from OpenAI to this service. It provides endpoints for generating text completions from language models.

Authentication

This local API server doesn't require authentication. If you deploy it in a production environment, you may want to add authentication.

Available Endpoints

Endpoint Description
/v1/chat/completions Creates a completion for the chat message

Models

The API supports various language models. You can specify which model to use in your API requests. Check with your administrator for available models.

Getting Started

To get started with the API, see the Examples page for code snippets in various programming languages.