- Home
- Skills
- APIs & Backend
- nex-dashscope-qwen-setup
Works with the AI Agents you already use
Nex Dashscope Qwen Setup
Generate a production-ready Python client for Alibaba Qwen models with text, vision, and reasoning tag filtering.
$9
nex-dashscope-qwen-setup
Example session with this skill installed
Set up a Python client for Qwen-Plus using the international DashScope endpoint and make sure it strips the reasoning tags.
- Read your context and instructions
- Compiled the nex-dashscope-qwen-setup
Generated qwen-client/ with qwen.py.
from qwen import chat
# The <think> tags are stripped automatically
response = chat("You are a helpful assistant", "Explain quantum computing.")
print(response) # "Quantum computing is..."
Region: international (Singapore)
Models: qwen-plus, qwen-vl-plus
Connects securely to your tools. The creator never sees your data.
About this skill
Drop-in Qwen Integration for Python
Stop paying premium rates for OpenAI and Claude when Alibaba's Qwen models offer comparable performance at a fraction of the cost. This skill provides a clean, production-ready Python interface to Qwen-Plus, Qwen-Max, and Qwen-VL through the DashScope OpenAI-compatible API.
What it does
Instead of manually configuring API clients and handling region-specific endpoints, this skill generates a structured qwen-client/ package. It abstracts the complexity of DashScope's regional base URLs and provides high-level helpers for text and vision tasks.
- chat() helper: Simple interface for text generation with system and user prompts.
- vision() helper: Handles local image loading, base64 encoding, and MIME type detection for Qwen-VL.
- Clean Outputs: Automatically strips Qwen's
<think>reasoning tags so your application receives only the final answer. - Security First: Implements zero-hardcoding patterns using
.envfiles for API key management.
Why use this skill?
Forcing a standard LLM to write its own API wrapper often results in hardcoded keys, wrong base URLs (a common DashScope pitfall), or unhandled reasoning tokens. This skill ensures your integration follows industry best practices for OpenAI-compatible providers, making it trivial to swap models later without changing your business logic.
Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
- Requires an active Alibaba DashScope API key.
- Key must match the region-specific endpoint.
- Hosted API only: does not run local Qwen instances.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
- Software
Python