Hailuo 02 API
/install hailuo2
PoYo Hailuo 02 Video Generation
Use this skill to submit and track PoYo jobs for the Hailuo 02 family.
Quick workflow
- Choose the right model id for the requested output.
- Build the request body for
POST https://api.poyo.ai/api/generate/submit. - Send Bearer-authenticated JSON with
Authorization: Bearer \x3CPOYO_API_KEY>. - Save the returned
task_id. - Poll unified task status or wait for
callback_urlnotifications.
Request rules
- Require top-level
model. - Keep prompts concrete and outcome-focused.
- Require
input.promptunless the user already supplied a full payload. - Use
input.image_urlsonly when the task needs reference or source images. - Use
input.durationwhen the clip length matters. - Use
input.resolutionwhen 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.mdfor endpoint details, model ids, key fields, example payloads, and polling notes. - Use
scripts/submit_hailuo_02.shto submit a raw JSON payload from the shell. - If the user only needs a curl example, adapt the example from
references/api.mdinstead of rewriting from scratch. - After submission, report the
task_idclearly 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_idif 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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install hailuo2 - After installation, invoke the skill by name or use
/hailuo2 - Provide required inputs per the skill's parameter spec and get structured output
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.