Token导航 LogoToken导航TokenDH.com
图像处理权限需确认github未标认证来源可访问许可证需确认审计未展示

qwen-image-2Qwen 图像 2

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

1,523

周安装

61

GitHub Stars

389

下载量

493
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qwen-image-2(Qwen 图像 2)
来源仓库:https://github.com/infsh-skills/skills
仓库路径:skills/qwen-image-2
安装命令:
npx skills add https://github.com/infsh-skills/skills --skill qwen-image-2
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/infsh-skills/skills --skill qwen-image-2

简介

基于 Qwen 模型的图像生成与编辑专用工具。

  • 适合让 Agent 创建符合中文语境的高质量视觉内容。
  • 通过 GitHub 安装,需关注模型输出尺寸与格式限制。
  • 涉及文化元素时应注意符号含义与地域敏感性。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • qwen-image-2 属于图像处理类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
qwen-image-2
description
Generate and edit images with Alibaba Qwen-Image-2.0 models via inference.sh CLI. Models: Qwen-Image-2.0 (fast), Qwen-Image-2.0-Pro (professional text rendering). Capabilities: text-to-image, multi-image editing, complex text rendering. Triggers: qwen image, qwen-image, alibaba image, dashscope image, qwen image 2, qwen image pro
allowed-tools
Bash(belt *)

Qwen-Image - Alibaba Image Generation

Generate and edit images with Alibaba Qwen-Image-2.0 models via inference.sh CLI.

Qwen-Image-2.0

Quick Start

Requires inference.sh CLI (belt). Install instructions
belt login

belt app run alibaba/qwen-image-2 --input '{"prompt": "A serene mountain landscape at sunset"}'

Models

ModelApp IDSpeedText RenderingBest For
Qwen-Image-2.0alibaba/qwen-image-2FastGoodGeneral use
Qwen-Image-2.0-Proalibaba/qwen-image-2-proStandardProfessionalPosters, text-heavy designs

Search Qwen Image Apps

belt app list --search "qwen image"

Examples

Basic Text-to-Image

belt app run alibaba/qwen-image-2 --input '{
  "prompt": "A futuristic cityscape at sunset with flying cars"
}'

Multiple Images

belt app run alibaba/qwen-image-2 --input '{
  "prompt": "Minimalist logo design for a coffee shop",
  "num_images": 4
}'

Custom Resolution

belt app run alibaba/qwen-image-2-pro --input '{
  "prompt": "Panoramic mountain landscape with northern lights",
  "width": 1536,
  "height": 1024
}'

Text-Heavy Poster (Pro)

belt app run alibaba/qwen-image-2-pro --input '{
  "prompt": "Poster with title \"Summer Sale!\" in bold red text at the top. Subtitle \"50% Off Everything\" in blue below. Beach background with palm trees.",
  "width": 1024,
  "height": 1536,
  "prompt_extend": false
}'

Image Editing (Multi-Reference)

belt app run alibaba/qwen-image-2 --input '{
  "prompt": "Make the girl from Image 1 wear the dress from Image 2 in the pose from Image 3",
  "reference_images": [
    {"uri": "https://example.com/person.jpg"},
    {"uri": "https://example.com/dress.jpg"},
    {"uri": "https://example.com/pose.jpg"}
  ]
}'

With Negative Prompt

belt app run alibaba/qwen-image-2-pro --input '{
  "prompt": "Professional headshot portrait, studio lighting",
  "negative_prompt": "low resolution, blurry, deformed, oversaturated"
}'

Reproducible with Seed

belt app run alibaba/qwen-image-2 --input '{
  "prompt": "Abstract geometric art in blue and gold",
  "seed": 12345
}'

Input Options

ParameterTypeDescription
promptstringRequired. What to generate or edit (max 800 chars)
reference_imagesarrayInput images for editing (1-3 images)
num_imagesintegerNumber of images to generate (1-6)
widthintegerOutput width in pixels (512-2048)
heightintegerOutput height in pixels (512-2048)
watermarkbooleanAdd "Qwen-Image" watermark
negative_promptstringContent to avoid (max 500 chars)
prompt_extendbooleanEnable prompt rewriting (default: true)
seedintegerRandom seed for reproducibility (0-2147483647)

Size constraint: Total pixels must be between 512×512 and 2048×2048.

Output

FieldTypeDescription
imagesarrayThe generated or edited images (PNG format)
output_metaobjectMetadata with dimensions and count

Prompt Tips

For Text Rendering (use Pro model):

  • Put exact text in quotes: "Title: \"Hello World!\""
  • Specify font style, color, position
  • Set prompt_extend: false for precise control

Styles: photorealistic, illustration, watercolor, oil painting, digital art, anime, 3D render

Composition: close-up, wide shot, aerial view, macro, portrait, landscape

Lighting: natural light, studio lighting, golden hour, dramatic shadows, neon

Sample Workflow

# 1. Generate sample input to see all options
belt app sample alibaba/qwen-image-2-pro --save input.json

# 2. Edit the prompt
# 3. Run
belt app run alibaba/qwen-image-2-pro --input input.json

Model Comparison

Featureqwen-image-2qwen-image-2-pro
SpeedFasterStandard
Text RenderingGoodProfessional
RealismStandardFine-grained
Semantic AdherenceGoodEnhanced

Related Skills

# Full platform skill (all 250+ apps)
npx skills add inference-sh/skills@infsh-cli

# All image generation models
npx skills add inference-sh/skills@ai-image-generation

# Video generation (for image-to-video)
npx skills add inference-sh/skills@ai-video-generation

Browse all image apps: belt app list --category image

Documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.04%
按下载量换算163

Claude

28.4%
按下载量换算140

Cursor

19.59%
按下载量换算97

Gemini CLI

9.29%
按下载量换算46

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills