qwen-vision

Analyze videos and images via the Qwen Omni multimodal API.

3.4k|487|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/davepoon/buildwithclaude --skill qwen-vision
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qwen-vision
Source: https://github.com/davepoon/buildwithclaude/tree/main/plugins/give-claude-eyes/skills/qwen-vision
Command: npx skills add https://github.com/davepoon/buildwithclaude --skill qwen-vision

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dashscope, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Claude cannot natively understand video content, so tasks like describing motion, classifying clips, or reviewing footage are impossible without an external multimodal model. This Skill bridges that gap by sending video and image files to the Qwen Omni API and returning text analysis.

Core Features & Use Cases

  • Video and Image Analysis: Send mp4, mov, png, jpg, and other media files to Qwen Omni with a custom prompt and adjustable frame sampling rate.
  • Batch and Multi-Turn Workflows: Classify many videos in a loop with JSON output, or save conversation context to ask follow-up questions about the same media.
  • Use Case: You have a folder of generated animation clips and need to rank them by motion quality. Run the bridge script over each file with a structured JSON prompt, then compile the ratings into a single results file.

Quick Start

Ask Claude to analyze the video at a given file path and describe what happens in it using the qwen-vision skill.

Frequently Asked Questions about qwen-vision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a video with Claude using Qwen?

Run the qwen_bridge.py script with the video path and a prompt, for example: python3 qwen_bridge.py video.mp4 "Describe what happens". The script sends the file to the Qwen Omni API and prints the analysis as text.

What video and image formats does Qwen Omni support?

Supported video formats are mp4, mov, avi, mkv, webm, flv, and wmv. Supported image formats are png, jpg, jpeg, gif, webp, bmp, and tiff. Other extensions are rejected with an error.

How do I set up the DASHSCOPE_API_KEY for video analysis?

Get a key from the DashScope console at dashscope.console.aliyun.com or modelstudio.console.alibabacloud.com, then export it as DASHSCOPE_API_KEY. You also need Python 3.9+ with the dashscope package installed via pip.

How can I reduce API costs when analyzing long videos?

Lower the --fps flag to sample fewer frames: use --fps 1 for long videos and --fps 0.5 for very long ones. Lower frame rates reduce token usage at the cost of fine motion detail.

Can I ask follow-up questions about the same video?

Yes. Use --save-context to write the conversation to a JSON file after the first call, then pass --context with that file on subsequent calls. Qwen retains the prior exchange for multi-turn analysis.

Why does the Qwen bridge fail with an API error?

Common causes are a missing or invalid DASHSCOPE_API_KEY, exceeded quota, or an unsupported file format. The script prints the API error code and message; verify your key, quota, and file extension first.