π¦ ClawHub
zxcvbnm-mnbvcxz
by @rainlin10
Executes AIVideoMaker API workflows for text-to-video and image-to-video generation, including task creation, status polling, task details retrieval, and can...
TERMINAL
clawhub install zxcvbnm-mnbvcxzπ About This Skill
name: aivideo-api-executor description: Executes AIVideoMaker API workflows for text-to-video and image-to-video generation, including task creation, status polling, task details retrieval, and cancellation. Use when users ask to generate videos via API, monitor generation progress, cancel tasks, or automate AIVideoMaker API operations. version: 1.0.12
metadata: { "openclaw": { "requires": { "env": ["AIVIDEO_API_KEY"], "binaries": ["node"] }, "primaryCredential": "AIVIDEO_API_KEY" } }
AIVideoMaker API Executor
Purpose
Provide a production-ready execution workflow for AIVideoMaker API v1:When To Use
aivideomaker.ai API directlyRequired Environment
AIVIDEO_API_KEY (required) Get an API Key from https://aivideomaker.ai .AIVIDEO_TIMEOUT_MS (optional, default 30000) - Request timeout in millisecondsAIVIDEO_MAX_RETRIES (optional, default 3) - Max retries for idempotent read requestsSupported Actions
1.createGeneration
2. getTask
3. getStatus
4. cancelTaskModel Whitelist
t2vi2vlvt2v_v3i2v_v3Image Input Policy
data:image/...;base64,... for i2v, lv, and i2v_v3.data:image/...;base64,... for reliability in OpenClaw environments.Standard Workflow
1. Validate model and payload by contract. 2. CallcreateGeneration.
3. Poll getStatus with backoff until terminal status.
4. If COMPLETED, call getTask and return output.
5. If FAILED, return failure with actionable next steps.Error Policy
ok, status, taskId, data, errorCode, errorMessage, retryAfter
INVALID_MODEL
- INVALID_PAYLOAD
- AUTH_FAILED
- RATE_LIMITED
- INSUFFICIENT_CREDITS
- TASK_NOT_FOUND
- NETWORK_ERROR
- UNKNOWN_ERRORExecution Commands
node scripts/run-workflow.mjs --model --payload ''
node scripts/run-workflow.mjs --action getStatus --taskId
node scripts/run-workflow.mjs --action getTask --taskId
node scripts/run-workflow.mjs --action cancelTask --taskId Security
This skill only performs the following actions:--payloadAll network requests are made to https://aivideomaker.ai (or an optional custom base URL configured via client options) and include only the API key for authentication.
Security Best Practices:
AIVIDEO_API_KEY as an environment variable