qwen-videoGenerate videos using Alibaba Cloud DashScope Wan (通义万相) text-to-video (t2v) API (e.g., wan2.6-t2v). Use when the user asks to create a short video from a te...
Install via ClawdBot CLI:
clawdbot install 547895019/qwen-videoThis skill provides simple CLI scripts to:
1) submit an async Wan t2v job
2) poll task status until SUCCEEDED/FAILED
3) download the resulting mp4
export DASHSCOPE_API_KEY="sk-..."
Generate a video and download to Windows Desktop (WSL2):
bash {baseDir}/scripts/generate.sh \
--prompt "4秒赛博朋克雨夜城市镜头,霓虹反射,电影感镜头运动,高清" \
--duration 4 \
--size 1280*720 \
--out "/mnt/c/Users/<USERNAME>/Desktop/wan_video.mp4"
bash {baseDir}/scripts/submit.sh --prompt "..." --duration 4 --size 1280*720
bash {baseDir}/scripts/poll.sh --task-id "<task_id>"
仅 wan2.6 系列模型支持此功能。通过设置 prompt_extend: true 和 shot_type: "multi" 启用。
curl --location 'https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis' \
-H 'X-DashScope-Async: enable' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "wan2.6-t2v",
"input": {
"prompt": "史诗级战斗场景..."
},
"parameters": {
"size": "1280*720",
"prompt_extend": true,
"duration": 10,
"shot_type": "multi"
}
}'
仅 wan2.6 和 wan2.5 系列模型支持。若不提供 input.audio_url,模型将根据视频内容自动生成匹配的背景音乐或音效。
curl --location 'https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis' \
-H 'X-DashScope-Async: enable' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "wan2.5-t2v-preview",
"input": {
"prompt": "史诗级战斗场景..."
},
"parameters": {
"size": "832*480",
"prompt_extend": true,
"duration": 10
}
}'
仅 wan2.6 和 wan2.5 系列模型支持。通过 input.audio_url 参数传入自定义音频的 URL。
curl --location 'https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis' \
-H 'X-DashScope-Async: enable' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "wan2.5-t2v-preview",
"input": {
"prompt": "史诗级战斗场景...",
"audio_url": "https://example.com/audio.mp3"
},
"parameters": {
"size": "832*480",
"prompt_extend": true,
"duration": 10
}
}'
仅 wan2.2 和 wanx2.1 系列模型支持生成无声视频。默认生成无声视频,无需设置。
wan2.6 及 wan2.5 系列模型默认生成有声视频。
curl --location 'https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis' \
-H 'X-DashScope-Async: enable' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "wan2.2-t2v-plus",
"input": {
"prompt": "低对比度,复古70年代风格地铁站..."
},
"parameters": {
"size": "832*480",
"prompt_extend": true
}
}'
通过 negative_prompt 排除不需要的元素。
curl --location 'https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis' \
-H 'X-DashScope-Async: enable' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "wan2.2-t2v-plus",
"input": {
"prompt": "一只小猫在月光下奔跑",
"negative_prompt": "花朵"
},
"parameters": {
"size": "832*480"
}
}'
POST https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesisGET https://dashscope.aliyuncs.com/api/v1/tasks/Scripts print:
TASK_ID: ...VIDEO_URL: ... (when succeeded)MEDIA: (when downloaded)| 模型 | 多镜头叙事 | 自动配音 | 自定义音频 | 无声视频 | 反向提示词 |
|------|-----------|---------|-----------|---------|-----------|
| wan2.6-t2v | ✅ | ✅ | ✅ | - | ✅ |
| wan2.5-t2v-preview | - | ✅ | ✅ | - | ✅ |
| wan2.2-t2v-plus | - | - | - | ✅ | ✅ |
| wanx2.1 | - | - | - | ✅ | - |
AI Usage Analysis
Analysis is being generated… refresh in a few seconds.
Extract frames or short clips from videos using ffmpeg.
Download videos, audio, subtitles, and clean paragraph-style transcripts from YouTube and any other yt-dlp supported site. Use when asked to “download this video”, “save this clip”, “rip audio”, “get subtitles”, “get transcript”, or to troubleshoot yt-dlp/ffmpeg and formats/playlists.
Generate SRT subtitles from video/audio with translation support. Transcribes Hebrew (ivrit.ai) and English (whisper), translates between languages, burns subtitles into video. Use for creating captions, transcripts, or hardcoded subtitles for WhatsApp/social media.
Create AI videos with optimized prompts, motion control, and platform-ready output.
自动登录抖音账号,上传并发布视频到抖音创作者平台,支持视频标签管理和登录状态检查。
AI video generation workflow on Volcengine. Use when users need text-to-video, image-to-video, generation parameter tuning, or async task troubleshooting for video jobs.