Agent skill

Aliyun Wan R2v

by cinience in cinience/alicloud-skills

A skill your agent uses when generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v).

MITAuto-check passedMedia & Creative

Install Aliyun Wan R2v

skills CLI
$ npx skills add cinience/alicloud-skills --skill aliyun-wan-r2v -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cinience/alicloud-skills aliyun-wan-r2v --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cinience/alicloud-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai/video/aliyun-wan-r2v .claude/skills/aliyun-wan-r2v && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aliyun-wan-r2v
GitHub stars
397
Token cost
~686 tokens
SKILL.md length
224 words
Files
4 (incl. scripts, references)
Skills in repo
96
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v).

  • Works in 4 steps: Confirm user intent, region,… → Run one minimal read-only query first to… → Execute the target operation with… → …
  • Generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash
  • SKILL.md covers Validation, Output And Evidence, Critical model names and Prerequisites, plus 6 more sections
  • Runs Python scripts from its folder; calls python and python3; needs DASHSCOPE_API_KEY

What it does

Aliyun Wan R2v is an agent skill from cinience/alicloud-skills. Use when generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v). Use when creating multi-shot videos from reference video/image material, preserving character style, or documenting reference-to-video request/response flows.

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/sources.md` and `scripts/prepare_r2v_request.py`).

It sits in Media & Creative. It works with Alibaba Cloud. The repository describes itself as: alibaba cloud skills,qwen ,wan and all skills. The licence is MIT.

When your agent uses it

  • Generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash
  • Creating multi-shot videos from reference video/image material
  • Preserving character style
  • Documenting reference-to-video request/response flows

Example prompts

  • “/aliyun-wan-r2v”

Requirements

  • Python 3
  • A credential in DASHSCOPE_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
  2. Run one minimal read-only query first to verify connectivity and permissions.
  3. Execute the target operation with explicit parameters and bounded scope.
  4. Verify results and save output/evidence files.

What it can do on your machine

Read from SKILL.md and the folder at commit 1818263. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DASHSCOPE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aliyun Wan R2v loads about 686 tokens when it runs, and up to ~749 if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 224 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~686
With references · SKILL.md plus every file in references/, read only if the agent opens them
~749

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cinience/alicloud-skills at commit 1818263, republished under its MIT licence (© cinience). 224 words, ~686 tokens.

Download SKILL.mdSave it as .claude/skills/aliyun-wan-r2v/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
aliyun-wan-r2v
description
Use when generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v). Use when creating multi-shot videos from reference video/image material, preserving character style, or documenting reference-to-video request/response flows.
version
1.0.0

Category: provider

Model Studio Wan R2V

Validation

bash
mkdir -p output/aliyun-wan-r2v
python -m py_compile skills/ai/video/aliyun-wan-r2v/scripts/prepare_r2v_request.py && echo "py_compile_ok" > output/aliyun-wan-r2v/validate.txt

Pass criteria: command exits 0 and output/aliyun-wan-r2v/validate.txt is generated.

Output And Evidence

  • Save reference input metadata, request payloads, and task outputs in output/aliyun-wan-r2v/.
  • Keep at least one polling result snapshot.

Use Wan R2V for reference-to-video generation. This is different from i2v (single image to video).

Critical model names

Use one of these exact model strings:

  • wan2.6-r2v-flash
  • wan2.6-r2v

Newer official releases may prefer the flash variant for lower latency and lower cost.

Prerequisites

  • Install SDK in a virtual environment:
bash
python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope
  • Set DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.

Normalized interface (video.generate_reference)

Request
  • prompt (string, required)
  • reference_video (string | bytes, required)
  • reference_image (string | bytes, optional)
  • duration (number, optional)
  • fps (number, optional)
  • size (string, optional)
  • seed (int, optional)
Response
  • video_url (string)
  • task_id (string, when async)
  • request_id (string)

Async handling

  • Prefer async submission for production traffic.
  • Poll task result with 15-20s intervals.
  • Stop polling when SUCCEEDED or terminal failure status is returned.

Local helper script

Prepare a normalized request JSON and validate response schema:

bash
.venv/bin/python skills/ai/video/aliyun-wan-r2v/scripts/prepare_r2v_request.py \
  --prompt "Generate a short montage with consistent character style" \
  --reference-video "https://example.com/reference.mp4"

Output location

  • Default output: output/aliyun-wan-r2v/videos/
  • Override base dir with OUTPUT_DIR.

Workflow

  1. Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
  2. Run one minimal read-only query first to verify connectivity and permissions.
  3. Execute the target operation with explicit parameters and bounded scope.
  4. Verify results and save output/evidence files.

References

  • references/sources.md

© cinience, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/ai/video/aliyun-wan-r2v of cinience/alicloud-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/sources.md
  • scripts/prepare_r2v_request.py

Open the folder on GitHubat commit 1818263

Compare with similar skills

Aliyun Wan R2v next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aliyun Wan R2v compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aliyun Wan R2v this skillcinience/alicloud-skills397—~686Automated safety check: PassMIT
Bailian Media Generationmodelstudioai/cli542—~2kAutomated safety check: PassApache-2.0
Dashscopecalesthio/OpenMontage66k—~1.5kAutomated safety check: NotesAGPL-3.0
Image GenerationQwenLM/qwen-code-examples143—~568Automated safety check: PassMIT
Cap Cinematic Demo GeneratorCapSoftware/Cap23k—~2.4kAutomated safety check: PassCustom licence
Musictadaspetra/loop2962 repos~827Automated safety check: PassMIT

Similar skills

  • Bailian Media Generation

    modelstudioai/cli

    Chinese-language entry point into Alibaba Cloud Bailian's image, video and speech generation and understanding, routed through separate image, video, speech and vision commands.

    542 GitHub stars~2k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Dashscope

    calesthio/OpenMontage

    DashScope (Alibaba Cloud Bailian / 阿里云百炼) integration — image generation (qwen-image-2.0-pro), text-to-speech (qwen3-tts-flash), and ASR with word-level timestamps (qwen3-asr-flash-filetrans).

    66k GitHub stars~1.5k tokensUpdated 7 days ago
    Media & CreativeAuto-check: notes
  • Image Generation

    QwenLM/qwen-code-examples

    Image generation skill based on Alibaba Cloud DashScope, supporting the creation of high-quality hand-drawn or standard images from user descriptions.

    143 GitHub stars~568 tokensUpdated 4 mo ago
    Media & CreativeAuto-check passed
  • Turns any URL into a short cinematic product-demo video on macOS, scouting the page, recording it with virtual input, then treating the clip with Cap's 3D camera and music.

    23k GitHub stars~2.4k tokensUpdated today
    Media & CreativeAuto-check passed
  • Music

    tadaspetra/loop

    Generate music using ElevenLabs Music API. An agent skill from tadaspetra/loop.

    296 GitHub starsUsed in 2 repos~827 tokens
    Media & CreativeAuto-check passed
  • Add Icon

    wei/socialify

    Add or update supported language, framework, library, tool, or platform icons in Socialify.

    2.2k GitHub stars~826 tokensUpdated 3 days ago
    Media & CreativeAuto-check passed

More from cinience/alicloud-skills

All 96 skills in this repo
  • Aliyun Skill Creator

    cinience/alicloud-skills

    A skill your agent uses when creating, migrating, or optimizing skills for this alicloud-skills repository.

    397 GitHub stars~2.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Alicloud Acs Agent Sandbox

    cinience/alicloud-skills

    Bootstrap, create, connect to, operate, secure, scale, upgrade, troubleshoot, inspect, and tear down Alibaba Cloud Container Compute Service (ACS) Agent Sandbox environments.

    397 GitHub stars~2.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Alicloud Acs Cluster

    cinience/alicloud-skills

    Create, inspect, connect to, inventory, and delete Alibaba Cloud Container Compute Service (ACS) clusters through the official CS OpenAPI.

    397 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Aliyun Adb Mysql

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud AnalyticDB for MySQL (ADB) via OpenAPI/SDK, including the user needs AnalyticDB resource lifecycle and configuration operations, status checks, or…

    397 GitHub stars~708 tokensUpdated 2 mo ago
    Auto-check passed
  • Aliyun Aicontent Generate

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud AIContent (AiContent) via OpenAPI/SDK, including the user needs AI content generation or content workflow operations in Alibaba Cloud, including…

    397 GitHub stars~734 tokensUpdated 2 mo ago
    Auto-check passed
  • Aliyun Aimiaobi Generate

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud Quan Miao (AiMiaoBi) via OpenAPI/SDK, including the user asks for Alibaba Cloud MiaoBi content operations, including listing resources…

    397 GitHub stars~724 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Aliyun Wan R2v

What does Aliyun Wan R2v do?

A skill your agent uses when generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v). Aliyun Wan R2v is an agent skill from cinience/alicloud-skills.6-r2v).

When should I use Aliyun Wan R2v?

Aliyun Wan R2v fits situations like: generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash; creating multi-shot videos from reference video/image material; preserving character style; documenting reference-to-video request/response flows.

How do I install Aliyun Wan R2v in Claude Code?

Run `npx skills add cinience/alicloud-skills --skill aliyun-wan-r2v -a claude-code`. Or copy the skill folder (skills/ai/video/aliyun-wan-r2v in cinience/alicloud-skills) into .claude/skills/aliyun-wan-r2v in your project. Claude Code loads it when a task matches its description.

How do I install Aliyun Wan R2v in Codex?

Run `npx skills add cinience/alicloud-skills --skill aliyun-wan-r2v -a codex`. Or copy the skill folder (skills/ai/video/aliyun-wan-r2v in cinience/alicloud-skills) into .agents/skills/aliyun-wan-r2v in your project. Codex loads it when a task matches its description.

Can I use Aliyun Wan R2v in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cinience/alicloud-skills --skill aliyun-wan-r2v -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aliyun-wan-r2v, .gemini/skills/aliyun-wan-r2v, .github/skills/aliyun-wan-r2v and .opencode/skills/aliyun-wan-r2v in your project.

What does Aliyun Wan R2v need to run?

Going by SKILL.md and its folder, Aliyun Wan R2v needs Python for the scripts in its folder, the command-line tools its instructions call (python and python3) and credentials named DASHSCOPE_API_KEY. Our summary lists: Python 3; A credential in DASHSCOPE_API_KEY.

Does Aliyun Wan R2v access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Aliyun Wan R2v safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Aliyun Wan R2v use?

Aliyun Wan R2v is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aliyun Wan R2v use?

About 686 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 63 tokens, read only when the agent opens those files.

What are the alternatives to Aliyun Wan R2v?

Skills that share tags, products or a category with Aliyun Wan R2v: Bailian Media Generation (modelstudioai/cli, 542 stars), Dashscope (calesthio/OpenMontage, 66k stars), Image Generation (QwenLM/qwen-code-examples, 143 stars) and Cap Cinematic Demo Generator (CapSoftware/Cap, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aliyun Wan R2v?

cinience (a GitHub user) maintains it in cinience/alicloud-skills, which has 397 GitHub stars. The repository holds 96 skills in this directory. The repository was last updated on August 11, 2026.

Source: cinience/alicloud-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.