qwen-image
Qwen Image APIを活用し、日本語や中国語の指示に基づいて高品質なAI画像を生成することで、テキストによるイメージ表現をより豊かに実現するSkill。
📜 元の英語説明(参考)
Generate images using Qwen Image API (Alibaba Cloud DashScope). Use when users request image generation with Chinese prompts or need high-quality AI-generated images from text descriptions.
🇯🇵 日本人クリエイター向け解説
Qwen Image APIを活用し、日本語や中国語の指示に基づいて高品質なAI画像を生成することで、テキストによるイメージ表現をより豊かに実現するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o qwen-image.zip https://jpskill.com/download/10091.zip && unzip -o qwen-image.zip && rm qwen-image.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10091.zip -OutFile "$d\qwen-image.zip"; Expand-Archive "$d\qwen-image.zip" -DestinationPath $d -Force; ri "$d\qwen-image.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
qwen-image.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
qwen-imageフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Qwen Image
Alibaba Cloud の Qwen Image API (通义万相) を使用して、高品質な画像を生成します。
使用方法
画像を生成する (URL のみを返す):
uv run {baseDir}/scripts/generate_image.py --prompt "一副典雅庄重的对联悬挂于厅堂之中" --size "1664*928" --api-key sk-xxx
生成してローカルに保存する:
uv run {baseDir}/scripts/generate_image.py --prompt "一副典雅庄重的对联悬挂于厅堂之中" --size "1664*928" --api-key sk-xxx
カスタムモデルを使用する:
qwen-image-max-2025-12-30、qwen-image-plus-2026-01-09、qwen-image-plus をサポートします。
uv run {baseDir}/scripts/generate_image.py --prompt "a beautiful sunset over mountains" --model qwen-image-plus-2026-01-09 --api-key sk-xxx
API Key
API キーを取得し、次の順序で画像生成コマンドを実行できます。
~/.openclaw/openclaw.jsonのmodels.providers.bailian.apiKeyから apiKey を取得します。- または、
~/.openclaw/openclaw.jsonのskills."qwen-image".apiKeyから取得します。 - または、
DASHSCOPE_API_KEY環境変数から取得します。 - または、https://dashscope.console.aliyun.com/ から API キーを取得します。
オプション
サイズ:
1664*928(デフォルト) - 16:9 の風景1024*1024- 正方形フォーマット720*1280- 9:16 のポートレート1280*720- 16:9 の風景 (より小さい)
追加フラグ:
--negative-prompt "unwanted elements"- 避けるべきものを指定します--no-prompt-extend- 自動プロンプト拡張を無効にします--watermark- 生成された画像に透かしを追加します--no-verify-ssl- SSL 証明書の検証を無効にします (企業プロキシの背後で使用する場合)
ワークフロー
- ユーザーのプロンプトで
generate_image.pyスクリプトを実行します。 - スクリプトの出力を解析し、
MEDIA_URL:で始まる行を見つけます。 - その行から画像 URL を抽出します (形式:
MEDIA_URL: https://...)。 - Markdown 構文
を使用して、画像をユーザーに表示します。 - ユーザーが特に要求しない限り、画像をダウンロードまたは保存しないでください。
注記
- 中国語と英語の両方のプロンプトをサポートします。
- デフォルトでは、ダウンロードせずに画像 URL を直接返します。
- スクリプトは出力に
MEDIA_URL:を出力します - この URL を抽出し、Markdown 画像構文を使用して表示します。 - 常にスクリプト出力で
MEDIA_URL:で始まる行を探し、ユーザーに画像を表示します。 - デフォルトのネガティブプロンプトは、一般的な AI アーティファクトを回避するのに役立ちます。
- 画像は Alibaba Cloud OSS でホストされ、一時的なアクセス URL が付与されます。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Qwen Image
Generate high-quality images using Alibaba Cloud's Qwen Image API (通义万相).
Usage
Generate an image (returns URL only):
uv run {baseDir}/scripts/generate_image.py --prompt "一副典雅庄重的对联悬挂于厅堂之中" --size "1664*928" --api-key sk-xxx
Generate and save locally:
uv run {baseDir}/scripts/generate_image.py --prompt "一副典雅庄重的对联悬挂于厅堂之中" --size "1664*928" --api-key sk-xxx
With custom model:
Support qwen-image-max-2025-12-30 qwen-image-plus-2026-01-09 qwen-image-plus
uv run {baseDir}/scripts/generate_image.py --prompt "a beautiful sunset over mountains" --model qwen-image-plus-2026-01-09 --api-key sk-xxx
API Key
You can obtain the API key and run the image generation command in the following order.
- Get apiKey from
models.providers.bailian.apiKeyin~/.openclaw/openclaw.json - Or get from
skills."qwen-image".apiKeyin~/.openclaw/openclaw.json - Or get from
DASHSCOPE_API_KEYenvironment variable - Or Get your API key from: https://dashscope.console.aliyun.com/
Options
Sizes:
1664*928(default) - 16:9 landscape1024*1024- Square format720*1280- 9:16 portrait1280*720- 16:9 landscape (smaller)
Additional flags:
--negative-prompt "unwanted elements"- Specify what to avoid--no-prompt-extend- Disable automatic prompt enhancement--watermark- Add watermark to generated image--no-verify-ssl- Disable SSL certificate verification (use when behind corporate proxy)
Workflow
- Execute the generate_image.py script with the user's prompt
- Parse the script output and find the line starting with
MEDIA_URL: - Extract the image URL from that line (format:
MEDIA_URL: https://...) - Display the image to the user using markdown syntax:
 - Do NOT download or save the image unless the user specifically requests it
Notes
- Supports both Chinese and English prompts
- By default, returns image URL directly without downloading
- The script prints
MEDIA_URL:in the output - extract this URL and display it using markdown image syntax: - Always look for the line starting with
MEDIA_URL:in the script output and render the image for the user - Default negative prompt helps avoid common AI artifacts
- Images are hosted on Alibaba Cloud OSS with temporary access URLs