← 返回 Skills 市场
🔌

HiAPI HappyHorse 1.0 Video

作者 HiAPI AI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
33
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hiapi-happyhorse-1-0-video
功能描述
Use when a user asks to create text-to-video with HappyHorse 1.0, HiAPI HappyHorse 1.0, or this specific skill.
使用说明 (SKILL.md)

HiAPI HappyHorse 1.0 Video

Use this skill when the user wants text-to-video generation through HiAPI's happyhorse-1-0 model.

Requirements

  • Node.js 18 or newer.
  • HIAPI_API_KEY must be set in the environment.
  • HIAPI_BASE_URL is optional and defaults to https://api.hiapi.ai.

Important links:

Never invent a video result. If the API call fails, report the status code, compact error message, and the next action from the Error Guidance section.

Generate A Video

Run:

node scripts/hiapi-happyhorse-1-video.mjs \
  --prompt "A wuxia swordswoman leaps across temple rooftops at dusk, silk robes flowing in the wind" \
  --seconds 5 \
  --resolution 1080p \
  --ratio 16:9

Supported durations:

  • any integer from 3 to 15

Supported resolutions:

  • 720p
  • 1080p

Supported aspect ratios (--ratio, legacy alias --size):

  • 16:9
  • 9:16
  • 1:1
  • 4:3
  • 3:4

Optional seed:

  • integer from 0 to 2147483647
  • omit it when the user does not request reproducibility

The script creates a video task, polls until it finishes, downloads the video to outputs/ when possible, and prints JSON with the saved file path or remote URL.

API Contract

This skill calls:

POST /v1/tasks
GET /v1/tasks/{taskId}

with:

{
  "model": "happyhorse-1-0",
  "input": {
    "prompt": "...",
    "duration": 5,
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "seed": 12345
  }
}

HappyHorse 1.0 is text-to-video. Do not send image inputs to this model. The CLI maps --seconds to input.duration and --ratio (legacy alias --size) to input.aspect_ratio. Use --seed only when the user requests reproducibility.

For details, read references/api.md and references/output.md.

Check Configuration

Run:

node scripts/check-config.mjs

Use --live only when you want to verify that the configured key can reach the HiAPI pricing endpoint.

Error Guidance

  • Missing HIAPI_API_KEY: tell the user to create or copy a key from https://www.hiapi.ai/en/register and export it.
  • HTTP 401 or 403: tell the user to verify the HiAPI API key.
  • HTTP 402, HTTP 403 with quota text, insufficient balance, credits, quota, or payment errors: tell the user to add credits or check billing at https://www.hiapi.ai/en/dashboard and review pricing at https://www.hiapi.ai/en/pricing.
  • HTTP 400: tell the user to check duration, resolution, aspect_ratio, and seed.
  • HTTP 429: tell the user to wait and retry or reduce concurrent video generations.
  • Task failure: ask the user to try a clearer prompt.
  • Timeout: explain that video generation may still be running and the user can retry later.
  • Optional skill update notice: tell the user the printed update command can be run later.
  • Required skill update notice: tell the user the printed update command must be run before using this skill again.
能力标签
requires-paid-servicerequires-oauth-tokenrequires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hiapi-happyhorse-1-0-video
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hiapi-happyhorse-1-0-video 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of hiapi-happyhorse-1-0-video skill. - Enables text-to-video generation using the HappyHorse 1.0 model via HiAPI. - Supports video durations from 3 to 15 seconds, resolutions of 720p and 1080p, and multiple aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4). - Includes robust error guidance for common configuration and API issues. - Requires Node.js 18+ and HIAPI_API_KEY environment variable.
元数据
Slug hiapi-happyhorse-1-0-video
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

HiAPI HappyHorse 1.0 Video 是什么?

Use when a user asks to create text-to-video with HappyHorse 1.0, HiAPI HappyHorse 1.0, or this specific skill. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 33 次。

如何安装 HiAPI HappyHorse 1.0 Video?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hiapi-happyhorse-1-0-video」即可一键安装,无需额外配置。

HiAPI HappyHorse 1.0 Video 是免费的吗?

是的,HiAPI HappyHorse 1.0 Video 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

HiAPI HappyHorse 1.0 Video 支持哪些平台?

HiAPI HappyHorse 1.0 Video 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 HiAPI HappyHorse 1.0 Video?

由 HiAPI AI(@hiapiai)开发并维护,当前版本 v1.0.0。

💬 留言讨论