📦 HappyHorse

v1.0.0

使用 HappyHorse 模型进行视频生成与编辑。支持 text2video、image2video(基于首帧)、reference2video(多图像角色融合)等。

11· 11·0 当前·0 累计
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能的代码、文档及所需凭证与其声明的用途相符(HappyHorse / DashScope 视频生成);所请求的 API key 和 python 适当且合理。
评估建议
This skill appears to do what it claims: it calls DashScope (HappyHorse) APIs and requires a DASHSCOPE_API_KEY. Before installing: 1) Only provide a DashScope API key you trust and that has limited scope; avoid using high-privilege or long-lived keys. 2) Be careful with local-file arguments: the included script will base64-embed and send local files to the external service, so do not point it at sensitive files (SSH keys, credentials, private documents). 3) Ensure the runtime environment has pyt...
详细分析 ▾
用途与能力
Name/description, referenced endpoints (dashscope.aliyuncs.com), and required environment variable (DASHSCOPE_API_KEY) align with the HappyHorse / DashScope AIGC video service; python3 requirement is expected for the provided script.
指令范围
Runtime instructions tell the agent to run the included Python script which performs HTTP requests to dashscope.aliyuncs.com. The script will accept URLs or local file paths and will base64-embed local files (data: URIs) into the request body — this is necessary to upload local media but means arbitrary local files can be read and transmitted if the user or agent supplies those paths. The SKILL.md does not attempt to read unrelated system config or credentials.
安装机制
There is no install spec (instruction-only with an included script). Nothing is downloaded from unknown URLs and no installers run; the only runtime dependency is python3 (the script also uses the requests library, which is not installed by the skill).
凭证需求
Only one environment variable is required: DASHSCOPE_API_KEY (declared as primaryEnv) which is appropriate for authenticating to the DashScope API. No unrelated credentials or config paths are requested.
持久化与权限
The skill is not forced-always-enabled and does not request elevated or cross-skill config changes. Note: autonomous invocation is allowed by default (platform default) — combined with the ability to upload local files, this increases the practical blast radius if the agent is granted broad autonomy.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install happyhorse-video-gen-edit
镜像加速npx clawhub@latest install happyhorse-video-gen-edit --registry https://cn.longxiaskill.com

技能文档

HappyHorse Video Models 由阿里巴巴集团打造的视频生成与编辑模型。本技能集成 ModelStudio(百炼-阿里云模型服务平台)上的 HappyHorse Model API。

模型概览 模型能力 分辨率 时长 happyhorse-1.0-t2v 文生视频 720P、1080P 3-15 秒 happyhorse-1.0-i2v 首帧图生视频 720P、1080P 3-15 秒 happyhorse-1.0-r2v 参考图生视频、多角色融合 720P、1080P 3-15 秒 happyhorse-1.0-video-edit 视频编辑、风格迁移、参考式编辑 720P、1080P 3-15 秒(输出)

文生视频(happyhorse-1.0-t2v) 根据文本提示生成视频。 text2video 任务提交 python3 {baseDir}/scripts/happyhorse-magic.py text2video-gen --prompt "一座由硬纸板和瓶盖搭建的微型城市,在夜晚焕发出生机" --resolution "720P" --ratio "16:9" --duration 5 python3 {baseDir}/scripts/happyhorse-magic.py text2video-gen --prompt "一只可爱的小猫将军站在悬崖上,远处是壮丽的雪山" --resolution "1080P" --ratio "16:9" --duration 10 python3 {baseDir}/scripts/happyhorse-magic.py text2video-gen --prompt "海浪拍打岩石的慢镜头" --resolution "720P" --ratio "9:16" --duration 8 --no-watermark

选项 --prompt:文本提示(必填,非中文≤5000 字符,中文≤2500 字符) --resolution:分辨率 720P 或 1080P(默认 1080P) --ratio:画幅 16:9、9:16、1:1、4:3、3:4(默认 16:9) --duration:时长 3-15 秒(默认 5) --no-watermark:关闭“Happy Horse”水印(默认开启) --seed:随机种子 [0, 2147483647]

text2video 任务查询(轮询) python3 {baseDir}/scripts/happyhorse-magic.py text2video-get --task-id ""

首帧图生视频(happyhorse-1.0-i2v) 根据首帧图像生成视频,输出比例自动跟随输入图。 首帧图生视频 python3 {baseDir}/scripts/happyhorse-magic.py image2video-gen --prompt "一只猫在草地上奔跑" --first-frame "https://example.com/cat.png" --resolution "720P" --duration 5 python3 {baseDir}/scripts/happyhorse-magic.py image2video-gen --first-frame "https://example.com/landscape.jpg" --resolution "1080P" --duration 10 python3 {baseDir}/scripts/happyhorse-magic.py image2video-gen --prompt "花朵缓缓绽放" --first-frame "https://example.com/flower.png" --duration 8 --no-watermark

选项 --prompt:文本提示(可选,建议填写) --first-frame:首帧图 URL(必填,JPEG/JPG/PNG/WEBP,短边≥300 px,≤10 MB) --resolution:分辨率 720P 或 1080P(默认 1080P,输出比例跟随输入图) --duration:时长 3-15 秒(默认 5) --no-watermark:关闭水印(默认开启) --seed:随机种子 [0, 2147483647] 注:无 --ratio 参数,比例自动跟随首帧图。

image2video 任务查询 python3 {baseDir}/scripts/happyhorse-magic.py image2video-get --task-id ""

参考图生视频(happyhorse-1.0-r2v) 以参考图为角色/物体源生成视频,prompt 中用 character1、character2 等按数组顺序引用。 多角色参考 python3 {baseDir}/scripts/happyhorse-magic.py reference2video-gen --prompt "身着红色旗袍的女性character1,镜头以侧面中景勾勒旗袍修身剪裁" --reference-images "https://example.com/girl.jpg" --resolution "720P" --ratio "16:9" --duration 5 python3 {baseDir}/scripts/happyhorse-magic.py reference2video-gen --prompt "身着红色旗袍的女性character1,轻抬玉手展开折扇character2时流苏耳坠character3随头部转动轻盈摆动" --reference-images "https://example.com/girl.jpg" "https://example.com/fan.jpg" "https://example.com/earrings.jpg" --resolution "720P" --ratio "16:9" --duration 5 python3 {baseDir}/scripts/happyhorse-magic.py reference2video-gen --prompt "character1在海边散步,阳光洒在沙滩上" --reference-images "https://example.com/person.png" --resolution "1080P" --ratio "16:9" --duration 10

选项 --prompt:含角色引用的文本提示(必填,非中文≤5000 字符),用 character1/character2… 按顺序引用 --reference-images:参考图 URL(必填,1-9 张,短边≥400 px,避免低清/模糊/强压缩) --resolution:分辨率 720P 或 1080P(默认 1080P) --ratio:画幅 16:9、9:16、1:1、4:3、3:4(默认 16:9) --duration:时长 3-15 秒(默认 5) --no-watermark:关闭水印(默认开启) --seed:随机种子 [0, 2147483647]

reference2video 任务查询 python3 {baseDir}/scripts/happyhorse-magic.py reference2video-get --task-id ""

视频编辑(happyhorse-1.0-video-edit) 通过文本指令与可选参考图对现有视频进行编辑,支持风格迁移、局部替换等。

数据来源ClawHub ↗ · 中文优化:龙虾技能库