Skip to main content

Chat Completions

POST 

/v1/chat/completions

Query LLM using text and, for vision-capable models, image data. This endpoint supports multiple models (up to 5, comma-separated) in the model field. Specify the appropriate request format depending on whether the model is text-based or vision-capable.

An array of responses: will be returned for multi-model queries.

Please refer to the ChatCompletionRequest for text-based models and VisionChatCompletionRequest for vision-capable models for detailed request formats.

Request

Responses

Result of the Query