Magic Hour gives Openclaw Skills a unified API for generating AI videos and images across leading models with asynchronous job tracking and optional local downloads.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install magic-hour
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install magic-hour using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Magic Hour is an AI media-generation skill that connects agents to video and image models including Sora 2, Veo 3.1, Kling 3.0, WAN 2.2, LTX 2.3, GPT-image, Nano Banana Pro, Flux, and Z-Image. It supports text-to-video, image-to-video, and text-to-image workflows through one API key, making model selection and content production easier to automate.
The skill supports both a hosted MCP server with zero local installation and a Python SDK script workflow. Openclaw Skills users can submit asynchronous jobs, monitor project status, retrieve expiring output URLs, download generated assets, estimate credit usage, and handle failures through structured JSON responses.
MAGIC_HOUR_API_KEY environment variable, or attach the hosted MCP server with bearer authentication.status: "queued" when --no-wait is used.--download-dir to save generated files locally before temporary output URLs expire.Use the remote MCP endpoint at https://mcp.magichour.ai/ when your agent supports MCP servers. Configure the Authorization: Bearer $MAGIC_HOUR_API_KEY header. Claude web and desktop use OAuth with the Magic Hour MCP client ID.
https://magichour.ai/developer. New accounts receive 400 signup credits and 100 credits per day without a card.export MAGIC_HOUR_API_KEY=mhk_...
pip install magic_hour
Python 3.9 or newer is required. Run the included scripts from the skill directory:
python3 {baseDir}/scripts/text_to_video.py "a corgi surfing at golden hour, slow-motion, cinematic" \
--model wan-2.2 --duration 5 --resolution 480p --aspect-ratio 16:9 --download-dir ./out
python3 {baseDir}/scripts/image_to_video.py ./photo.png "slow push-in, hair moves in the wind" \
--model kling-3.0 --duration 5 --resolution 720p
python3 {baseDir}/scripts/generate_image.py "isometric cozy coffee shop, soft morning light" \
--model nano-banana-pro --count 2 --aspect-ratio 1:1
python3 {baseDir}/scripts/status.py <project_id> --kind video --wait
Use --no-wait for immediate queue submission. Review the model catalogue and raw HTTP examples in the skill's references/models.md and references/api.md files when using unsupported environments or direct API requests.
Every script prints one JSON object to standard output. Typical fields include:
| Field | Purpose |
|---|---|
project_id |
Identifier used to poll or retrieve a generation project. |
status |
Job state such as queued, completed, or error. |
model |
Magic Hour model used for the request. |
url / urls |
Temporary URL or URLs for generated media. |
downloaded_paths |
Local file paths when --download-dir is supplied. |
credits_charged |
Credits consumed by the completed request. |
error |
Structured failure details, including an error message when applicable. |
project_id and queried with status.py --kind video.urls collection.--download-dir.{"status":"error","error":{...}}.videoAssets_generatePresignedUrl and dedicated wait/status operations.--no-wait workflows.Loading
A cognitive control layer that turns OpenClaw goals into adaptive, verified, and safely managed autonomous-agent workflows.

OpenClaw Plugin Intelligence helps agents identify, select, securely execute, validate, and recover from external plugin workflows.

Generate editable AI icon designs, posters, and multi-page visual carousels from text prompts, templates, and customizable design specifications.

AI Photo Editor generates editable posters, photo assets, and multi-page image carousels from text prompts, templates, and configurable design layers.

A structured five-seat AI review panel that evaluates academic manuscripts from journal-fit, methodology, domain, cross-disciplinary, and Devil's Advocate perspectives.

Automate AI tool submissions to WorthToTry by auditing a product page, drafting its listing, and returning a review link.








































