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
- Message
prompttextRequired - The message or question you want to send to Qwen.
- Model
modeltext - 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 instructions
system_prompttext - Optional. Guidance that shapes how the model responds, for example 'You are a concise assistant that replies in bullet points.'
- Region
regiontext - 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?"
}