Xpersona
A

AIVideomaker

CLAWHUB · Unverified

Executes AIVideoMaker API workflows for text-to-video and image-to-video generation, including task creation, status polling, task details retrieval, and can...

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17eggvth5e4dcwgwx63rfw50n83htcp:ai-video-maker
  1. Install using `clawhub skill install s17eggvth5e4dcwgwx63rfw50n83htcp:ai-video-maker` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/husu/ai-video-maker before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-husu-ai-video-maker/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

119,460 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
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.14
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:
- Create generation task
- Poll task status safely
- Fetch task details
- Cancel submitted task

## When To Use
- User asks to call `aivideomaker.ai` API directly
- User wants a scriptable generation workflow
- User needs robust retry/429 handling for task queries

## Required Environment
- `AIVIDEO_API_KEY` (required) Get an API Key from [https://aivideomaker.ai](https://aivideomaker.ai) .
- `AIVIDEO_TIMEOUT_MS` (optional, default `30000`) - Request timeout in milliseconds
- `AIVIDEO_MAX_RETRIES` (optional, default `3`) - Max retries for idempotent read requests

## Supported Actions
1. `createGeneration`
2. `getTask`
3. `getStatus`
4. `cancelTask`

## Model Whitelist
- `t2v`
- `i2v`
- `lv`
- `t2v_v3`
- `i2v_v3`

## Image Input Policy
- This skill accepts both public image URLs and `data:image/...;base64,...` for `i2v`, `lv`, and `i2v_v3`.
- Prefer `data:image/...;base64,...` for reliability in OpenClaw environments.

## Standard Workflow
1. Validate model and payload by contract.
2. Call `createGeneration`.
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
- Normalize all responses to:
  - `ok`, `status`, `taskId`, `data`, `errorCode`, `errorMessage`, `retryAfter`
- Map API/runtime errors into stable error codes:
  - `INVALID_MODEL`
  - `INVALID_PAYLOAD`
  - `AUTH_FAILED`
  - `RATE_LIMITED`
  - `INSUFFICIENT_CREDITS`
  - `TASK_NOT_FOUND`
  - `NETWORK_ERROR`
  - `UNKNOWN_ERROR`

## Execution Commands
- Run full workflow:
  - `node scripts/run-workflow.mjs --model <model> --payload '<json_payload>'`
- Query status:
  - `node scripts/run-workflow.mjs --action getStatus --taskId <task_id>`
- Query task details:
  - `node scripts/run-workflow.mjs --action getTask --taskId <task_id>`
- Cancel task:
  - `node scripts/run-workflow.mjs --action cancelTask --taskId <task_id>`

## Security
This skill only performs the following actions:
- Calls the AIVideoMaker API with user-provided parameters
- Validates input payloads against a defined contract
- Reads only payload passed via `--payload`
- Does not read arbitrary host files, credentials, or sensitive system information
- Does not execute arbitrary code or shell commands

All network requests are made to `https://aivideomaker.ai` (or an optional custom base URL configured via client options) and include onl

_meta.json

{
  "ownerId": "kn786b52pj2gfxej7vnsene7th82pvkc",
  "slug": "ai-video-maker",
  "version": "1.0.14",
  "publishedAt": 1774427511643
}

references/api-reference.md

# AIVideoMaker API Reference (Aligned with `ApiV1Docs.tsx`)

## Base URL
- `https://aivideomaker.ai`

## Authentication
All requests require header:
- `key: <AIVIDEO_API_KEY>`

`POST /api/v1/generate/{model}` also supports:

## Endpoints

### 1) Create generation task
- `POST /api/v1/generate/{model}`
- Allowed `model`: `t2v`, `i2v`, `lv`, `t2v_v3`, `i2v_v3`

#### Model parameters

##### `t2v` (Text to Video)
- `prompt`: string, required
- `aspectRatio`: `16:9` | `9:16` | `1:1`, required
- `duration`: `5` | `8`, required
- Credits: `duration * 1`

##### `i2v` (Image to Video)
- `image`: string (public image URL or `data:image/...;base64,...`), required
- `prompt`: string | null, optional
- `duration`: `5` | `8`, required
- Credits: `duration * 1`

##### `lv` (Long Video)
- `image`: string (first frame URL or `data:image/...;base64,...`), required
- `prompt`: string[] (max 6), required
- Credits: `prompt.length * 5 * 15`
- Duration rule: each prompt segment equals 5 seconds

##### `t2v_v3` (Text to Video V3)
- `prompt`: string, required
- `aspectRatio`: `16:9` | `9:16` | `1:1`, required
- `duration`: `5` | `10` | `15` | `20`, required
- Credits: `duration * 10`

##### `i2v_v3` (Image to Video V3)
- `image`: string (public image URL or `data:image/...;base64,...`), required
- `prompt`: string | null, optional
- `duration`: `5` | `10` | `15` | `20`, required
- Credits: `duration * 10`

## Image input note
- Skill contract accepts both public image URLs and `data:image/...;base64,...` for image inputs.
- Prefer `data:image/...;base64,...` in OpenClaw to avoid unreachable URL issues.
- Backend uploads base64 image to R2 first.
- Task input stored in `/api/v1/tasks/{taskId}` keeps the R2 URL instead of the full base64 string.

#### Raw API success response (from docs)
```json
{
  "status": "SUBMITTED",
  "taskId": "ckxxxxxxxx",
  "responseUrl": "https://aivideomaker.ai/api/v1/tasks/ckxxxxxxxx",
  "statusUrl": "https://aivideomaker.ai/api/v1/tasks/ckxxxxxxxx/status",
  "cancelUrl": "https://aivideomaker.ai/api/v1/tasks/ckxxxxxxxx/cancel"
}
```

#### Raw API error response (from docs)
```json
{
  "status": "FAILED",
  "message": "Insufficient credits"
}
```

### 2) List tasks
- `GET /api/v1/tasks`
- Returns all tasks for current API key, newest first

#### Raw API response example (from docs)
```json
{
  "tasks": [
    {
      "id": "ckxxxxxxxx",
      "createdAt": "2026-03-19T08:00:00.000Z",
      "model": "t2v",
      "input": { "prompt": "...", "aspectRatio": "16:9" },
      "output": null,
      "status": "PROGRESS",
      "completedAt": null
    }
  ]
}
```

### 3) Get task details
- `GET /api/v1/tasks/{taskId}`
- Returns full task data: input, output, status, completion time

### 4) Get task status
- `GET /api/v1/tasks/{taskId}/status`
- Returns only current status; suitable for polling

#### Raw API response example (from docs)
```json
{
  "status": "COMPLETED"
}
```

### 5) Cancel task
- `PUT /api/v1/tasks/{taskId}/cancel`
- Only works when task 

references/examples.md

# Usage Examples

## 1) End-to-end generation workflow (`t2v`)

Command:
```bash
node scripts/run-workflow.mjs --model <model> --payload '<json_payload>'
```

Skill runtime output:
```json
{
  "ok": true,
  "status": "COMPLETED",
  "taskId": "ckxxxxxxxx",
  "data": {
    "id": "ckxxxxxxxx",
    "output": {
      "videoUrl": "https://..."
    }
  }
}
```

Raw API create response (from `POST /api/v1/generate/{model}`):
```json
{
  "status": "SUBMITTED",
  "taskId": "ckxxxxxxxx",
  "responseUrl": "https://aivideomaker.ai/api/v1/tasks/ckxxxxxxxx",
  "statusUrl": "https://aivideomaker.ai/api/v1/tasks/ckxxxxxxxx/status",
  "cancelUrl": "https://aivideomaker.ai/api/v1/tasks/ckxxxxxxxx/cancel"
}
```

## 2) Query task status

```bash
node scripts/run-workflow.mjs --action getStatus --taskId ckxxxxxxxx
```

Skill runtime output:
```json
{
  "ok": true,
  "status": "PROGRESS",
  "taskId": "ckxxxxxxxx",
  "data": {
    "status": "PROGRESS"
  }
}
```

Raw API status response (from `GET /api/v1/tasks/{taskId}/status`):
```json
{
  "status": "COMPLETED"
}
```

## 3) Cancel task

```bash
node scripts/run-workflow.mjs --action cancelTask --taskId ckxxxxxxxx
```

Possible output:
```json
{
  "ok": true,
  "status": "CANCEL",
  "taskId": "ckxxxxxxxx",
  "data": {
    "status": "CANCEL"
  }
}
```

## 4) Handling insufficient credits

Typical API error:
```json
{
  "status": "FAILED",
  "message": "Insufficient credits"
}
```

Skill runtime output:
```json
{
  "ok": false,
  "status": "FAILED",
  "errorCode": "INSUFFICIENT_CREDITS",
  "errorMessage": "Insufficient credits",
  "taskId": null
}
```

Recommended next actions:
- Reduce `duration` or use a lower-cost model.
- Ensure the account has enough credits.
- Retry after top-up.

## 5) Handling 429 rate limit

Skill behavior:
1. Detect `429`.
2. Parse `Retry-After` if present.
3. Sleep and retry (up to max retries).
4. Return `RATE_LIMITED` when retries are exhausted.

Output example:
```json
{
  "ok": false,
  "status": "FAILED",
  "errorCode": "RATE_LIMITED",
  "errorMessage": "Rate limited by upstream API",
  "retryAfter": 2
}
```

## 6) List tasks raw API response

Endpoint:
```bash
GET /api/v1/tasks
```

Raw API response example:
```json
{
  "tasks": [
    {
      "id": "ckxxxxxxxx",
      "createdAt": "2026-03-19T08:00:00.000Z",
      "model": "t2v",
      "input": { "prompt": "...", "aspectRatio": "16:9" },
      "output": null,
      "status": "PROGRESS",
      "completedAt": null
    }
  ]
}
```

skill-card.md

## Description:

Executes AIVideoMaker API workflows for text-to-video and image-to-video generation, including task creation, status polling, task details retrieval, and cancellation.

This skill is ready for commercial/non-commercial use.

## Publisher:

[husu](https://clawhub.ai/user/husu)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and external users use this skill to automate AIVideoMaker video-generation workflows, monitor task progress, retrieve completed task details, and cancel submitted tasks through a scriptable API flow.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The client can send the API key and user payloads to a custom API origin if a custom baseUrl is supplied.

Mitigation: Use the default AIVideoMaker endpoint or pin any custom baseUrl to a trusted HTTPS AIVideoMaker-compatible endpoint before execution.

Risk: The skill sends prompts, task data, image inputs, and the AIVIDEO_API_KEY to the configured API service.

Mitigation: Install only when the publisher and upstream service are trusted, pass the API key through environment-based secret handling, and avoid submitting sensitive image or prompt data unless appropriate.

Risk: The API key is sent in an HTTP header named key, which may be logged by intermediaries even when HTTPS is used.

Mitigation: Rotate API keys regularly, monitor usage, and avoid routing requests through untrusted intermediaries.

## Reference(s):

- [AIVideoMaker API Reference](references/api-reference.md)
- [Usage Examples](references/examples.md)
- [AIVideoMaker](https://aivideomaker.ai)
- [ClawHub Skill Page](https://clawhub.ai/husu/skills/ai-video-maker)

## Skill Output:

**Output Type(s):** [JSON, Shell commands, Guidance]

**Output Format:** [JSON responses from Node workflow commands, with concise command guidance when invoked by an agent]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Normalizes API and runtime results with ok, status, taskId, data, errorCode, errorMessage, retryAfter, httpStatus, and timestamp fields.]

## Skill Version(s):

1.0.14 (source: server release metadata, SKILL.md frontmatter, manifest, and _meta.json; package.json reports 1.0.13)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to AIVideomaker and adjacent AI workflows.