Generate videos with Model Studio DashScope SDK using Wan i2v models (wan2.6-i2v-flash, wan2.6-i2v, wan2.6-i2v-us). Use when implementing or documenting video.generate requests/responses, mapping prompt/negative_prompt/duration/fps/size/seed/reference_image/motion_strength, or integrating video generation into the video-agent pipeline.
Category: provider
CODEBLOCK0
Pass criteria: command exits 0 and output/alicloud-ai-video-wan-video/validate.txt is generated.
output/alicloud-ai-video-wan-video/.Provide consistent video generation behavior for the video-agent pipeline by standardizing video.generate inputs/outputs and using DashScope SDK (Python) with the exact model name.
Use one of these exact model strings:
CODEBLOCK1
DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials (env takes precedence).prompt (string, required)video_url (string)Video generation is usually asynchronous. Expect a task ID and poll until completion.
Note: Wan i2v models require an input image; pure t2v models can omit reference_image.
CODEBLOCK2
CODEBLOCK3
(prompt, negative_prompt, duration, fps, size, seed, reference_image hash, motion_strength).Field required: input.img_url, the reference image is missing or not mapped.WxH format (e.g. 1280*720).OUTPUT_DIR.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/api_reference.md for DashScope SDK mapping and async handling notes.该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 alicloud-ai-video-wan-video-1776419938 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 alicloud-ai-video-wan-video-1776419938 技能
skillhub install alicloud-ai-video-wan-video-1776419938
文件大小: 9.78 KB | 发布时间: 2026-4-17 20:21