Creates a model response for the given chat conversation
This endpoint generates a model response for a given conversation, which can include text and images. It supports both single-turn and multi-turn conversations and can be used for various tasks like question answering, code generation, and function calling.
post/v1/chat/completions
Request body
Example request
{
"model": "qualcomm/Qwen3-4B-Instruct-2507",
"messages": [
{
"role": "user",
"content": "Hello! Briefly introduce yourself."
}
],
"nctx": 0,
"max_completion_tokens": 2048,
"temperature": 0.8,
"top_p": 0.95,
"stream": false,
"enable_json": false,
"enable_think": true
}Response
Successful response for non-streaming requests