Aliyun qwen generation

From cinience/alicloud-skills · View interactive version

Aliyun qwen generation is an AI agent skill from the GitHub repository cinience/alicloud-skills. Use when generating or reasoning over text with Alibaba Cloud Model Studio Qwen flagship text models (`qwen3-max`, `qwen3.5-plus`, `qwen3.5-flash`, snapshots, and compatible open-source variants). Use when building chat, agent, tool-calling, or long-context text generation workflows on Model Studio.

How to use this skill

Skill file

Category: provider

Model Studio Qwen Text Generation

Validation

mkdir -p output/aliyun-qwen-generation
python -m py_compile skills/ai/text/aliyun-qwen-generation/scripts/prepare_generation_request.py && echo "py_compile_ok" > output/aliyun-qwen-generation/validate.txt

Pass criteria: command exits 0 and output/aliyun-qwen-generation/validate.txt is generated.

Output And Evidence

Use this skill for general text generation, reasoning, tool-calling, and long-context chat on Alibaba Cloud Model Studio.

Critical model names

Prefer the current flagship families:

Common related variants listed in the official model catalog:

Prerequisites

python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope

Normalized interface (text.generate)

Request

Response

Quick start (OpenAI-compatible endpoint)

curl -sS https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.5-plus",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Summarize why object storage helps media pipelines."}
    ],
    "stream": false
  }'

Local helper script

python skills/ai/text/aliyun-qwen-generation/scripts/prepare_generation_request.py \
  --prompt "Draft a concise architecture summary for a media ingestion pipeline." \
  --model qwen3.5-plus

Operational guidance

Output location

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.