Wan2.1 是由阿里巴巴通义万相团队开发的下一代视频生成模型,它在AI驱动的视觉内容创作领域实现了显著的飞跃。它通过多模态融合技术,能够同时生成高清视频、动态字幕和多语言配音,支持 1080p 分辨率和高效的编解码,确保视频输出的高质量。
快速开始
本镜像集成了完整的环境,可以实现一键使用 Wan2.1 生成视频。
创建实例
1、登录算多多:www.gpuduoduo.com/console/ins…
2、选择 Wan2.1视频生成“”镜像,创建实例

生成视频
1、实例创建成功后,通过 ssh 或 jupyter 连接实例

2、正式生成
进入工程
cd /root/Wan2.1
激活 conda python 环境
conda activate wan
开始生成(预计需要 10-20 分钟)
python generate.py --task t2v-1.3B --size 832*480 --ckpt_dir ./Wan2.1-T2V-1.3B --offload_model True --t5_cpu --sample_shift 8 --sample_guide_scale 6 --prompt "A lone martial warrior with flowing black hair tied in a topknot, intense eyes, and a stern, determined expression performs a sweeping dragon-like spear technique mid-air. He wears a torn dark battle robe fluttering in the wind, streaked with dirt and blood, reinforced with armored shoulder plates and leather bindings. His long spear is in motion, forming a blazing circular trail that arcs like a coiled dragon. The background is a mist-covered mountain battlefield, scattered with broken weapons and shadowy fallen soldiers. Wind and dust swirl violently as his movement sends shockwaves through the air. His pose is dynamic — mid-leap with one leg raised, spear spinning overhead with unstoppable energy. Dramatic ink-style lines radiate from the motion, with exaggerated shadows and highlights enhancing the graphic martial arts comic style. Intense expression, raw power, fluid motion.
Tags: martial arts warrior, long spear, wuxia comic style, dynamic action pose, fierce battlefield, mountain mist, ink line shading, thick outlines, flying robe, debris in wind, energy burst, dramatic lighting, stormy sky, cinematic motion, powerful male fighter, stylized exaggeration, Chinese martial fantasy"
如果你不擅长写提示词,可以访问 chatglm.cn/share/sF2yK… 这个网站来增强你的提示词。
看到这个证明生成成功了
[2025-06-18 07:45:09,027] INFO: Creating WanT2V pipeline.
[2025-06-18 07:45:45,774] INFO: loading ./Wan2.1-T2V-1.3B/models_t5_umt5-xxl-enc-bf16.pth
[2025-06-18 07:46:15,330] INFO: loading ./Wan2.1-T2V-1.3B/Wan2.1_VAE.pth
[2025-06-18 07:46:16,710] INFO: Creating WanModel from ./Wan2.1-T2V-1.3B
[2025-06-18 07:46:36,608] INFO: Generating video ...
100%|███████████████████████████████████████████████████████████████████████████████████████████| 50/50 [10:14<00:00, 12.29s/it]
[2025-06-18 07:59:48,239] INFO: Saving generated video to t2v-1.3B_832*480_1_1_A_lone_martial_warrior_with_flowing_black_hair_tie_20250618_075948.mp4
[2025-06-18 07:59:49,341] INFO: Finished.
(wan) root@ins-xbj31vu768snvb5g2zlpdjpoerzy9dpj:~/Wan2.1#
生成结果:

有奖邀请
算多多在举办邀请奖励活动,每邀请一位用户,双方都能获得 12 小时 4070 免费额度。
官方讨论群
加入讨论群,联系管理员领取额外12 小时 4070 免费额度:
