qianwen-vision
БесплатноЗапускает вложенные скриптыНе проверенUnderstand images and videos with Qwen vision models. TRIGGER when: user wants to analyze, describe, or extract information from images or videos, OCR text…
от QianWen-AI★ 130 звёзд на GitHubОб этом скилле
Qwen Vision (Image & Video Understanding)
Analyze images and videos using Qwen VL and QVQ models. This skill is part of QianWen-AI/qianwen-ai.
Skill directory
Use this skill's internal files to execute and learn. Load reference files on demand when the default path fails or you need details.
| Location | Purpose |
|---|---|
scripts/analyze.py |
Image/video understanding, multi-image, thinking mode |
scripts/reason.py |
Visual reasoning (QVQ, chain-of-thought, streaming) |
scripts/ocr.py |
OCR text extraction |
scripts/vision_lib.py |
Shared helpers (base64, upload, streaming) |
references/execution-guide.md |
Fallback: curl, code generation |
references/curl-examples.md |
Curl for base64, multi-image, video, OCR |
references/visual-reasoning.md |
QVQ and thinking mode details |
references/prompt-guide.md |
Query prompt templates by task, thinking mode decision |
references/ocr.md |
OCR parameters and examples |
references/sources.md |
Official documentation URLs |
Security
NEVER output any API key or credential in plaintext. Always use variable references ($DASHSCOPE_API_KEY in shell, os.environ["DASHSCOPE_API_KEY"] in Python). Any check or detection of credentials must be non-plaintext: report only status (e.g. "set" / "not set", "valid" / "invalid"), never the value. Never display contents of .env or config files that may contain secrets.
When the API key is not configured, NEVER ask the user to provide it directly. Instead, help create a .env file with a placeholder (DASHSCOPE_API_KEY=sk-your-key-here) and instruct the user to replace it with their actual key from the QianWen Console. Only write the actual key value if the user explicitly requests it.
Key Compatibility
Both PAYG (sk-ws-...; legacy sk-...) and Token Plan (sk-sp-...) keys are supported. Detect
the API key type without exposing the Key:
python3 -c "
import sys; sys.path.insert(0, 'scripts')
from qianwen_lib import detect_api_key_type
print(detect_api_key_type('scripts/qianwen_lib.py'))
"
| Output | Meaning |
|---|---|
token-plan |
Token Plan key — use only models from the Token Plan catalog below. |
payg |
Pay-as-you-go key — full model catalog available. |
not-set |
No key configured. |
For Token Plan, fetch and read the current Token Plan model catalog, then use an exact listed vision-capable model. If CDN access fails, use the local fallback.
Token Plan supports only specific models — use exactly a model from the references above; do not guess or probe model availability. For PAYG, continue below.
Token Plan users: Use the Qwen vision model catalog below for current compatible substitutes when a task default is not on Token Plan.
Model Selection
Before selecting, recommending, or defaulting a model, fetch and read the current Qwen vision model catalog. It contains the model list, basic model information, task recommendations, compatibility notes, and defaults. If CDN access fails, use the local fallback.
- User specified a model → use directly.
- Consult the qianwen-model-selector skill when model choice depends on requirement, scenario, or pricing.
- No signal, clear task → use the default and task-specific alternatives from the model catalog.
⚠️ Important: The model catalog is a point-in-time snapshot and may be outdated. Model availability changes frequently. Always check the official model list for the authoritative, up-to-date catalog before making model decisions.
Model details: For more information about a specific model, direct the user to
https://www.qianwenai.com/models/<model-name>. Replace<model-name>with the exact model ID; never modify or guess it.
Dynamic model queries: If the qianwen-model-selector skill or QianWen CLI (
qianwen models info <model>) is available, use it for real-time model data. CLI requires authentication — see the qianwen-usage skill for login flow.
Execution
Prerequisites
- API Key: Use the non-plaintext detector in Key Compatibility; do not replace it with a
variable-presence check. If no Key is found, use qianwen-ops-auth when available or guide the user
to configure
DASHSCOPE_API_KEY/QIANWEN_API_KEYin.env. Skills may be installed independently. - Python 3.9+ (stdlib only, no pip install needed)
Environment Check
Before first execution, verify Python is available:
python3 --version # must be 3.9+
If python3 is not found, try python --version or py -3 --version. If Python is unavail
Установить qianwen-vision в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл qianwen-vision?
Understand images and videos with Qwen vision models. TRIGGER when: user wants to analyze, describe, or extract information from images or videos, OCR text extraction, chart/table reading, visual reasoning, multi-image comparison, screenshot understanding, video comprehension, or explicitly invokes this skill by name (e.g. use qianwen-vision). DO NOT TRIGGER when: user wants to generate/create images (use qianwen-image-generation), generate videos (use qianwen-video-generation), text-only tasks without visual input, or non-Qwen vision tasks.
Как установить скилл qianwen-vision?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qianwen-vision запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic