← 返回 Skills 市场
coolhackboy

Hailuo 02 API

作者 coolhackboy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
247
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hailuo2
功能描述
Use PoYo AI Hailuo 02 for prompt-optimized video generation and image-to-video workflows through the `https://api.poyo.ai/api/generate/submit` endpoint. Use...
使用说明 (SKILL.md)

PoYo Hailuo 02 Video Generation

Use this skill to submit and track PoYo jobs for the Hailuo 02 family.

Quick workflow

  1. Choose the right model id for the requested output.
  2. Build the request body for POST https://api.poyo.ai/api/generate/submit.
  3. Send Bearer-authenticated JSON with Authorization: Bearer \x3CPOYO_API_KEY>.
  4. Save the returned task_id.
  5. Poll unified task status or wait for callback_url notifications.

Request rules

  • Require top-level model.
  • Keep prompts concrete and outcome-focused.
  • Require input.prompt unless the user already supplied a full payload.
  • Use input.image_urls only when the task needs reference or source images.
  • Use input.duration when the clip length matters.
  • Use input.resolution when quality/cost tradeoffs matter.

Model selection

hailuo-02

Use for general generation with this model variant.

hailuo-02-pro

Use for higher-quality or premium jobs.

Execution

  • Read references/api.md for endpoint details, model ids, key fields, example payloads, and polling notes.
  • Use scripts/submit_hailuo_02.sh to submit a raw JSON payload from the shell.
  • If the user only needs a curl example, adapt the example from references/api.md instead of rewriting from scratch.
  • After submission, report the task_id clearly so follow-up polling is easy.

Output expectations

When helping with this model family, include:

  • chosen model id
  • final payload or a concise parameter summary
  • whether reference images are involved
  • returned task_id if a request was actually submitted
  • next step: poll status or wait for webhook

Notes:

Needs POYO_API_KEY from https://poyo.ai PoYo.ai - Premium AI API Platform | Image, Video, Music & Chat APIs - 80% Cheaper

安全使用建议
This skill appears to do what it says: submit video-generation jobs to PoYo. Before installing, make sure you: (1) only provide a POYO_API_KEY obtained from your PoYo dashboard and do not reuse unrelated credentials; (2) avoid embedding sensitive secrets in the JSON payload (the script can read stdin or files); (3) if you use callback_url, provide a trusted HTTPS endpoint (consider requiring authentication) since results will be POSTed there; (4) test with non-sensitive payloads first and monitor usage/costs; (5) rotate the API key if you stop using the skill or suspect it was exposed.
功能分析
Type: OpenClaw Skill Name: hailuo2 Version: 1.0.0 The skill bundle provides a standard interface for interacting with the PoYo AI Hailuo 02 video generation API. It includes a shell script (scripts/submit_hailuo_02.sh) that uses curl to submit JSON payloads to the official API endpoint (https://api.poyo.ai/api/generate/submit) using a Bearer token. The instructions and documentation are consistent with the stated purpose and do not exhibit any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The name/description (PoYo Hailuo 02 video generation) matches the requested artifacts: a curl dependency, a POYO_API_KEY, example payloads, and a small submit script that posts to https://api.poyo.ai/api/generate/submit. Nothing in the files requires unrelated services or credentials.
Instruction Scope
Runtime instructions are narrowly scoped to building/submitting JSON payloads to the PoYo API and polling for task status. The only external network target in the code is api.poyo.ai. The docs and script mention an optional callback_url (a webhook) — that means results can be posted to any user-supplied endpoint, so users should ensure any callback_url they provide is trusted and secured. The submit script reads payloads from a file or stdin, so avoid including secrets in payloads.
Install Mechanism
This is instruction-only with no install spec; no archives or third-party packages are downloaded or written to disk by the skill itself. Risk is limited to use of curl (declared) which is expected.
Credentials
Only one environment variable is required: POYO_API_KEY (declared as the primary credential). That is proportionate to the skill's purpose. No other tokens, keys, or config paths are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configs, and has no persistent install behavior. Autonomous invocation is allowed (platform default) but is not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hailuo2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hailuo2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the PoYo Hailuo 02 video generation skill. - Supports prompt-optimized video generation and image-to-video workflows. - Allows selection between standard (`hailuo-02`) and premium (`hailuo-02-pro`) video models. - Includes guidance for API usage with authentication, payload structure, and workflow steps. - Requires a valid POYO_API_KEY for access.
元数据
Slug hailuo2
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Hailuo 02 API 是什么?

Use PoYo AI Hailuo 02 for prompt-optimized video generation and image-to-video workflows through the `https://api.poyo.ai/api/generate/submit` endpoint. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 247 次。

如何安装 Hailuo 02 API?

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

Hailuo 02 API 是免费的吗?

是的,Hailuo 02 API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Hailuo 02 API 支持哪些平台?

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

谁开发了 Hailuo 02 API?

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

💬 留言讨论