0
Qwen setup
Qwen Video Köprüsü'nü kurun (API anahtarı + bağımlılıklar)
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Qwen Video Köprüsü'nü kurun (API anahtarı + bağımlılıklar)
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/qwen-setup/raw -o .claude/commands/qwen-setup.mdHedef dosya: .claude/commands/qwen-setup.md
Walk the user through setting up the Qwen Video Bridge plugin.
python3 --version
Require Python 3.9+. If not available, tell the user to install Python first.
pip install dashscope --break-system-packages 2>&1 | tail -3
If pip is not available, try pip3. If neither works, suggest python3 -m pip install dashscope.
echo "${DASHSCOPE_API_KEY:-NOT_SET}" | head -c 10
If NOT_SET, guide the user:
export DASHSCOPE_API_KEY=sk-your-key-here to ~/.bashrc or ~/.zshrc$env:DASHSCOPE_API_KEY = "sk-your-key-here"Run a quick test with a simple prompt (no video needed — test the connection):
python3 -c "
import dashscope
dashscope.base_http_api_url = 'https://dashscope-intl.aliyuncs.com/api/v1'
import os
from dashscope import MultiModalConversation
r = MultiModalConversation.call(
api_key=os.environ['DASHSCOPE_API_KEY'],
model='qwen-omni-plus-latest',
messages=[{'role':'user','content':[{'text':'Say OK if you can hear me.'}]}]
)
if r.status_code == 200:
print('SUCCESS: Qwen API is working!')
else:
print(f'ERROR: {r.status_code} — {r.message}')
"
If successful, tell the user they're all set and can use /analyze-video or just describe a video in conversation.
If it fails, help troubleshoot: