Qwen

App · AI Models · 1 action

Connect Qwen AI by Alibaba Cloud to answer questions, write, and summarize with models like Qwen Max and Qwen Plus.

Query Model

Send a message or question to a Qwen AI model and get a written response back.

Inputs

MessageprompttextRequired
The message or question you want to send to Qwen.
Modelmodeltext
Choose which Qwen model answers your message.One of: qwen-max (Qwen Max (most capable)), qwen-plus (Qwen Plus (balanced, recommended)), qwen-flash (Qwen Flash (fastest, lowest cost)), qwen-turbo (Qwen Turbo (fast, low cost)), qwen-long (Qwen Long (long documents)). Default: qwen-plus.
System instructionssystem_prompttext
Optional. Guidance that shapes how the model responds, for example 'You are a concise assistant that replies in bullet points.'
Regionregiontext
The Model Studio region your API key belongs to. Use International unless you created your key on the China (Beijing) console.One of: international (International (Singapore)), china (China (Beijing)). Default: international.

Outputs

modeltext
The model identifier used for generation
response_texttext
The generated text response from Qwen
Example output
{
  "model": "qwen-plus",
  "response_text": "Hello! How can I help you today?"
}

On this page