wan3-agent-skills
其他 活跃维护

wan3-agent-skills

thinkingpeach-sketch/wan3-agent-skills

轻量可移植的WAN3图像视频生成技能集合,面向AI编码代理设计,开箱即用无需复杂环境配置,可快速为AI编程工具集成多模态内容生成能力,标准化接口适配各类WAN3生成任务。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
9 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:thinkingpeach-sketch/wan3-agent-skills
git clone https://github.com/thinkingpeach-sketch/wan3-agent-skills.git
git clone git@github.com:thinkingpeach-sketch/wan3-agent-skills.git
README.md main

WAN3 Agent Skills

Portable image and video generation skills for agents that can run local commands.
They call the WAN3 Developer API, use the caller's WAN3 account credits, poll
asynchronous jobs, and download completed media.

This repository contains:

  • skills/wan3-image-generation - image generation and editing
  • skills/wan3-video-generation - text, image, reference, and video workflows
  • integrations/deepseek-harness - optional DeepSeek Harness discovery adapter

Requirements

The skills do not require or contain an upstream provider credential.

Install

Copy the two skill folders into the skill directory used by your agent. For Codex:

mkdir -p ~/.codex/skills
cp -R skills/wan3-image-generation ~/.codex/skills/
cp -R skills/wan3-video-generation ~/.codex/skills/

For Claude Code, copy them into ~/.claude/skills/. For DeepSeek Harness, copy
them into the project .dsh/skills/ directory or the user DSH skill directory;
the optional adapter has additional instructions in
integrations/deepseek-harness/README.md.

Keep the API key in a local secret manager or environment variable:

export WAN3_API_KEY="wan3_live_your_key_here"

Do not commit the key, paste it into an issue, or place it in browser code.

Verify the connection

The clients discover the current model and input contract at runtime:

node skills/wan3-image-generation/scripts/wan3-client.mjs models
node skills/wan3-video-generation/scripts/wan3-client.mjs models

Each SKILL.md explains the upload, submission, polling, idempotency, and download
workflow. Current public API documentation is at https://wan3.net/developers.

Credential and privacy boundaries

  • Production calls are pinned to https://wan3.net/api/v1.
  • WAN3_API_KEY is read only at runtime and is never bundled or printed.
  • Preview testing requires a different WAN3_PREVIEW_API_KEY, an explicit HTTPS
    origin, and WAN3_ALLOW_NON_PRODUCTION_API=1. The Production key is rejected in
    Preview mode.
  • Official clients send x-wan3-client with a versioned image or video Skill ID so
    WAN3 can attribute API usage to the Skill. This is source attribution, not an
    advertising tracker.
  • Uploading local media necessarily sends the selected file bytes and upload
    metadata to WAN3. No other local files, environment variables, or shell history
    are collected by these clients.

See SECURITY.md before reporting a security issue.

License

MIT