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.
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_think": true
}Response
Successful response for non-streaming requests
Changes
Changed in 7 of the 14 revisions of this API.944
- ○
added the new optional request property
new-optional-request-property
- ○
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
the
request property default value4096was removedrequest-property-default-value-removed
- ○
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ○
added the new optional request property
new-optional-request-property
- ○
the
request property default value changed from{"role":"user","content":"What is the weather like in Boston today?"}to{"role":"user","content":"Hello! Briefly introduce yourself."}request-property-default-value-changed
- ○
the
request property default value changed fromQwen/Qwen3-1.7B-GGUFtoqualcomm/Qwen3-4B-Instruct-2507request-property-default-value-changed
- ○
the
request property default value0was removedrequest-property-default-value-removed
- ○
the
request property default valuewas removedrequest-property-default-value-removed
- ○
the
request property default valuewas removedrequest-property-default-value-removed
- ○
the
request property default value512was removedrequest-property-default-value-removed
- ○
the
request property default value0was removedrequest-property-default-value-removed
- ○
the
request property default value999was removedrequest-property-default-value-removed
- ○
the
request property default value0was removedrequest-property-default-value-removed
- ○
the
request property default value1was removedrequest-property-default-value-removed
- ○
the
request property default valuewas removedrequest-property-default-value-removed
- ○
the
request property default value0was removedrequest-property-default-value-removed
- ○
the
response's property default value changed from{"role":"user","content":"What is the weather like in Boston today?"}to{"role":"user","content":"Hello! Briefly introduce yourself."}for the statusresponse-property-default-value-changed
- ●
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
the
request property default value0was addedrequest-property-default-value-added
- ○
the
request property default valuewas addedrequest-property-default-value-added
- ○
the
request property default valuewas addedrequest-property-default-value-added
- ○
the
request property default value512was addedrequest-property-default-value-added
- ○
the
request property default value0was addedrequest-property-default-value-added
- ○
the
request property default value4096was addedrequest-property-default-value-added
- ○
the
request property default value999was addedrequest-property-default-value-added
- ○
the
request property default value0was addedrequest-property-default-value-added
- ○
the
request property default value1was addedrequest-property-default-value-added
- ○
the
request property default valuewas addedrequest-property-default-value-added
- ○
the
request property default value0was addedrequest-property-default-value-added
- ○
the
request property default value changed from{"role":"user","content":"Hello! Briefly introduce yourself."}to{"role":"user","content":"What is the weather like in Boston today?"}request-property-default-value-changed
- ○
the
request property default value changed fromqualcomm/Qwen3-4B-Instruct-2507toQwen/Qwen3-1.7B-GGUFrequest-property-default-value-changed
- ○
the
response's property default value changed from{"role":"user","content":"Hello! Briefly introduce yourself."}to{"role":"user","content":"What is the weather like in Boston today?"}for the statusresponse-property-default-value-changed
- ●