qwen-image
について
このスキルは、Alibaba CloudのQwen Image APIを使用して画像を生成します。中国語のプロンプトや高品質なAI画像生成に最適です。複数のモデルバージョンをサポートし、画像をURLとして出力するか、ローカルに保存することができます。開発者がアプリケーションにテキストから画像への機能を統合する必要がある場合にご利用ください。
クイックインストール
Claude Code
推奨npx skills add agentbay-ai/agentbay-skills -a claude-code/plugin add https://github.com/agentbay-ai/agentbay-skillsgit clone https://github.com/agentbay-ai/agentbay-skills.git ~/.claude/skills/qwen-imageこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
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
GitHub リポジトリ
関連スキル
content-collections
メタこのスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。
polymarket
メタこのスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。
creating-opencode-plugins
メタこのスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。
sglang
メタSGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。
