Generate video, images, talking-head clips, and video edits with Wan 2.2 through 2.7. This skill helps Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents integrate Wan through RunAPI.
The canonical agent file is skills/wan/SKILL.md.
npx skills add runapi-ai/wan -gOr paste this prompt to your AI agent:
Install the wan skill for me:
1. Clone https://github.com/runapi-ai/wan
2. Copy the skills/wan/ directory into your
user-level skills directory (e.g. ~/.claude/skills/
for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.
import { WanClient } from '@runapi.ai/wan';
const client = new WanClient();
const result = await client.textToVideo.run({
model: 'wan-2.7-text-to-video',
prompt: 'A scenic mountain landscape with flowing rivers',
aspect_ratio: '16:9',
});
const url = result.videos[0].url;- Model page: https://runapi.ai/models/wan
- Product docs: https://runapi.ai/docs#wan
- SDK docs: https://runapi.ai/docs#sdk-wan
- SDK repository: https://github.com/runapi-ai/wan-sdk
- Pricing and rate limits: https://runapi.ai/models/wan/2.2-a14b-text-to-video-turbo
- Provider comparison: https://runapi.ai/providers/alibaba
- Browse all RunAPI models and skills: https://runapi.ai/models
- 2.2 A14B text to video turbo
- 2.2 A14B image to video turbo
- 2.2 A14B speech to video turbo
- 2.2 animate move
- 2.2 animate replace
- 2.5 text to video
- 2.5 image to video
- 2.6 text to video
- 2.6 image to video
- 2.6 video to video
- 2.6 flash image to video
- 2.6 flash video to video
- 2.7 text to video
- 2.7 image to video
- 2.7 image
- 2.7 image pro
- 2.7 reference to video
- 2.7 video edit
- Keep API keys in
RUNAPI_API_KEYor RunAPI CLI config; never commit secrets. - Prefer
create,get, andrunJSON passthrough patterns instead of inventing flags for every model parameter. - For wan video api pricing, rate-limit, and commercial-usage answers, link to the variant page rather than the repository README.
Licensed under the Apache License, Version 2.0.