qwen-plus
Model Overview
How to Make a Call
API Schema
Creates a chat completion using a language model, allowing interactive conversation by predicting the next response based on the given chat history. This is useful for AI-driven dialogue systems and virtual assistants.
Authorizations
AuthorizationstringRequired
Bearer key
Body
modelundefined · enumRequiredPossible values:
frequency_penaltynumber · min: -2 · max: 2 · nullableOptional
logprobsboolean · nullableOptional
top_logprobsnumber · max: 20 · nullableOptional
max_tokensnumber · min: 1OptionalDefault:
512max_completion_tokensinteger · min: 1Optional
ninteger · min: 1 · nullableOptional
presence_penaltynumber · min: -2 · max: 2 · nullableOptional
seedinteger · min: 1Optional
streambooleanOptionalDefault:
falsetop_pnumber · min: 0.1 · max: 1Optional
temperaturenumber · max: 2Optional
stopany ofOptional
stringOptional
string[]Optional
any · nullableOptional
tool_choiceany ofOptional
string · enumOptionalPossible values:
parallel_tool_callsbooleanOptional
reasoning_effortstring · enumOptionalPossible values:
response_formatone ofOptional
or
or
Responses
201Success
post
/v1/chat/completions201Success
No content
Code Example (Python)
Last updated