Token导航 LogoToken导航TokenDH.com
AI 工具敏感数据github未标认证来源可访问clear审计异常

wanx-img万克斯图片

Agent Skill

wanx-img 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

717

周安装

29

GitHub Stars

公开资料未说明

下载量

225
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mebusw/wanx-img --skill wanx-img

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否会触发联网、命令执行或文件读写。
  • wanx-img 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Overview

This skill provides commands for generating and editing images using the WanX model from Alibaba.

Workflow

  1. decide user's intent: whether to generate a new image, or edit given images
  2. decide which version of visual LLM will be used, use the highest version by default, if it's not availiable or rejected by provider, then downgrade to other version
  3. if user provides images urls/paths, you don't need to read the files but only pass them to scripts
  4. if user specify size of image in pixel number, pass it to scripts, or if user specify aspect ratio, convert it to image size and then pass to scripts
  5. run a proper script to generate or edit images with user input prompt, synchronously by default
  6. output original prompts, extended actual prompts, size of image, and full urls of generated images (don't miss any parameters from the url for example Signature etc.)

Conversion between ratio and image size

The total number of pixels must be between [1280*1280, 1440*1440] and the aspect ratio must be between [1:4, 4:1]. For example, 768*2700 meets the requirements. The default value is 1280*1280.

aspect ratioimage size
1:11280*1280
3:41104*1472
4:31472*1104
9:16960*1696
16:91696*960

Available Scripts

  • wanx2.6-text-to-image-v2-demo.py - Generate images from text prompts, using WanX visual model version 2.6
  • wanx2.6-image-edit-demo.py - Edit images with text prompts, optionally with reference/mask images, using WanX visual model version 2.6
  • wanx2.5-text-to-image-v2-demo.py - Generate images from text prompts, using WanX visual model version 2.5
  • wanx2.5-image-edit-demo.py - Edit images with text prompts, optionally with reference/mask images, using WanX visual model version 2.5
  • wanx2.2-text-to-image-v2-demo.py - Generate images from text prompts, using WanX visual model version 2.2

Setting Up

首次使用时,进入目录并安装依赖:

cd ~/.claude/skills/wanx-img
python3 -m venv ~/.pyenv/versions/py312-ai-rag
source ~/.pyenv/versions/py312-ai-rag/bin/activate
pip install dashscope python-dotenv argparse
cp .env.example .env

后续执行python脚本时,先执行source ~/.pyenv/versions/py312-ai-rag/bin/activate,然后再执行脚本。如果pythonpython3命令找不到合适的packages,则应用~/.pyenv/versions/py312-ai-rag/bin/python来替代作为执行器。

Usage Examples

  • Use custom prompt to generate image
~/.pyenv/versions/py312-ai-rag/bin/python "./scripts/wanx2.6-text-to-image-v2-demo.py" --prompt "一只可爱的猫咪在花园里玩耍. ar 3:4" --size "960*1280"
  • Use synchronous call with custom prompt and negative prompt to generate image
~/.pyenv/versions/py312-ai-rag/bin/python "./scripts/wanx2.6-text-to-image-v2-demo.py" -p "美丽的日落风景" -n "人物" --sync
  • Use custom prompt and referencing images to edit image
~/.pyenv/versions/py312-ai-rag/bin/python "./scripts/wanx2.6-image-edit-demo.py" --prompt "参考图1的风格和图2的背景,生成番茄炒蛋" --images http://1.img http://2.img -m http://3.img -b http://4.img
  • Use synchronous call with custom prompt to edit iamge
~/.pyenv/versions/py312-ai-rag/bin/python "./scripts/wanx2.6-image-edit-demo.py" -p "参考图1的风格和图2的背景,生成番茄炒蛋" --sync

Requirements

  • Python 3.12+
  • LLM API credentials configured in demo scripts
  • DashScope Python SDK 1.25.8+

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

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

平台分布

Claude Code

32.6%
按下载量换算73

OpenCode

23.38%
按下载量换算53

trae

17.63%
按下载量换算40

Antigravity

13.08%
按下载量换算29

windsurf

7.53%
按下载量换算17

Codex

4.15%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills