← ClaudeAtlas

ali-videolisted

Generate videos using Aliyun Bailian's HappyHorse AI video generation models via DashScope API. Supports text-to-video (T2V), image-to-video (I2V with first frame), and reference-to-video (R2V with multiple reference images). Supports batch generation with concurrent task execution. Requires DASHSCOPE_API_KEY. Video generation typically takes 1-5 minutes. MUST use this skill whenever generating videos with Aliyun/HappyHorse/DashScope, including batch video generation, animating images, or creating videos from text descriptions.
tensorslab/skills · ★ 6 · Code & Development · score 63
Install: claude install-skill tensorslab/skills
# Aliyun Bailian Video Generation (HappyHorse) ## Overview This skill enables AI-powered video generation through Aliyun Bailian's DashScope API using HappyHorse models. Three generation modes are supported: text-to-video, image-to-video (first-frame based), and reference-to-video (multiple reference images). Video generation typically takes 1-5 minutes. ## Critical: Always Use the Bundled Script **The `ali_video.py` script in the `scripts/` directory is the only correct way to generate videos with this skill.** Never write temporary scripts or call the DashScope API directly — the bundled script handles authentication, base64 conversion, error handling, and watermark-free output correctly. Writing ad-hoc scripts will produce videos with watermarks or other issues. ## Script Path The Python scripts for this skill are located in the `scripts/` subdirectory relative to this SKILL.md file. **Always use the absolute path when executing scripts.** Determine the absolute path based on where this skill is installed. For example, if this SKILL.md is at `/path/to/skills/ali-video/SKILL.md`, then: - Auth script: `python "/path/to/skills/ali-video/scripts/ali_auth.py"` - Video script: `python "/path/to/skills/ali-video/scripts/ali_video.py"` - Query script: `python "/path/to/skills/ali-video/scripts/ali_query_task.py"` When executing, construct the command using the resolved absolute path: ```bash python "<absolute_path_to_skill_dir>/scripts/ali_video.py" <args> ``` ## Authoriz