← Back to Skills Marketplace
coolhackboy

Hailuo 02 API

by coolhackboy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
247
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hailuo2
Description
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...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hailuo2
  3. After installation, invoke the skill by name or use /hailuo2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug hailuo2
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 247 downloads so far.

How do I install Hailuo 02 API?

Run "/install hailuo2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Hailuo 02 API free?

Yes, Hailuo 02 API is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Hailuo 02 API support?

Hailuo 02 API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hailuo 02 API?

It is built and maintained by coolhackboy (@coolhackboy); the current version is v1.0.0.

💬 Comments