agentCLAWHUBUnverified

AIGC视频生成

AI生视频工具(首尾帧/单图模式),根据原图和提示词生成视频,支持可选尾帧图控制结束画面。支持模型KLING可灵/WAN万相/SEED豆包/SEED_FAST/HAILUO海螺。用户说"生成视频"、"AI视频"、"图生视频"、"做个视频"、"video generation"、"generate video"、"图片转视频"、"动态视频"时触发。 Skill: AIGC视频生成 Owner: linkfox-ai Summary: AI生视频工具(首尾帧/单图模式),根据原图和提示词生成视频,支持可选尾帧图控制结束画面。支持模型KLING可灵/WAN万相/SEED豆包/SEED_FAST/HAILUO海螺。用户说"生成视频"、"AI视频"、"图生视频"、"做个视频"、"video generation"、"generate video"、"图片转视频"、"动态视频"时触发。 Tags: latest:1.2.3 Version history: v1.2.3 | 2026-09-14T04:53:04.768Z | user Update from 1.2.2 to 1.2.3 v1.2.2 | 2026-08-14T14:40:45.210Z | user Update from 1.2.1 to 1.2.2 v1.2.1 | 2026-08-07T10:36:29.9

OpenClaw

Rank

62

Safety

84

Downloads

987

Updated

Oct 11, 2026

Version

1.2.3

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 987 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

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
987 downloadsadoption · observed Oct 11, 2026
Latest release
1.2.3release · observed Sep 14, 2026
Handshake status
UNKNOWNsecurity

What changed

Newest first. Only changes that point at a source are listed.

Install and run

Setup complexity: low.

clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-aigc-videogen
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-aigc-videogen/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

71,487 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: linkfox-aigc-videogen
description: AI生视频工具(首尾帧/单图模式),根据原图和提示词生成视频,支持可选尾帧图控制结束画面。支持模型KLING可灵/WAN万相/SEED豆包/SEED_FAST/HAILUO海螺。用户说"生成视频"、"AI视频"、"图生视频"、"做个视频"、"video generation"、"generate video"、"图片转视频"、"动态视频"时触发。
---

# AI 生视频(首尾帧/单图模式)

根据原图(首帧)和可选尾帧图生成视频,支持多种 AI 视频模型,异步创建任务后轮询获取结果。

## 核心特点

- **5 种模型选择**:覆盖不同风格和时长需求。
- **首尾帧控制**:可选尾帧图控制视频结束画面。
- **丰富参数**:支持 Pro 模式、声音生成、运镜控制、宽高比等。
- **异步模式**:创建任务立即返回 taskId,脚本自动轮询直到完成(超时 20 分钟)。

## 模型说明

| 模型(videoType) | 说明 | 支持时长       |
|------|------|------------|
| KLING | 可灵 | 5秒/10秒     |
| WAN | 万相 | 5秒/10秒/15秒 |
| SEED | Seedance/豆包 | 5秒/10秒/15秒 |
| SEED_FAST | Seedance 2.0 Fast | 5秒/10秒/15秒 |
| HAILUO | 海螺 | 6秒/10秒     |

## 参数概览

- **必填字段**:`imageUrl`、`videoType`、`videoTime`
- **可选核心**:`lastFrameImageUrl`(尾帧图)、`prompt`(2000字以内)

完整参数表、响应字段结构与错误码,见 [`references/api.md`](references/api.md)。

## 调用方式

- **创建任务**:`POST /aigc/videoGenAsync` → 返回 `{taskId}`
- **轮询结果**:`POST /aigc/taskQuery` → 传入 `{taskId}` → 返回状态和结果
- **Python 脚本**:`python scripts/aigc_videogen.py '<JSON 参数>'`(脚本内部自动完成创建+轮询)

**异步流程**:
1. 脚本调用 `/aigc/videoGenAsync` 创建任务,获得 `taskId`
2. 等待 2 分钟后开始轮询 `/aigc/taskQuery`,每 10 秒一次,最长等待 20 分钟
3. 成功后自动下载视频到会话 `media/` 目录

**输出策略(脚本默认行为)**:
- 脚本会自动把生成的视频**下载转存**到会话 `media/` 目录,stdout 输出一行 `Saved full response: <路径数组>`。
- 原始 API 响应静默落盘到 `data/`,仅在无视频产物时才在 stdout 提示其路径。

**读数据建议**:**禁止** Read 转存的视频文件内容。直接把 `Saved full response:` 后的本地路径提供给用户即可。

## 解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

### 异常情况
- **未配置API Key**:环境变量未配置 `LINKFOX_AGENT_API_KEY`,也未配置 `LINKFOXAGENT_API_KEY`。
- **响应401或402状态码**
- **响应提示算力或余额不足**:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

## 使用指引

1. **模型选择**:一般商品视频用 `KLING`;长时长用 `WAN`/`SEED`。
2. **首尾帧**:传 `imageUrl`(首帧,必传)+ 可选 `lastFrameImageUrl`(尾帧),支持模型:KLING仅Pro / WAN / SEED。
3. **时长匹配**:必须传模型支持的时长值,否则报错。
4. **提示词**:可选,2000 字以内,描述期望的动态效果。

### 示例

**1. KLING — 商品展示**
```json
{"imageUrl": "https://example.com/product.jpg", "videoType": "KLING", "videoTime": 10, "prompt": "商品展示视频"}
```


**3. WAN 万相 — 带声音和运镜**
```json
{"imageUrl": "https://example.com/scene.jpg", "videoType": "WAN", "videoTime": 15, "voice": true, "camera": "single"}
```

**4. SEED — 高分辨率**
```json
{"imageUrl": "https://example.com/scene.jpg", "videoType": "SEED", "videoTime": 10, "resolution": "1080p", "aspectRatio": "16:9"}
```

## 展示规则

- **只展示转存后的本地路径**:把 `Saved full response:` 后的本地视频路径告诉用户,例如「视频已保存至:xxx/a.mp4」。
- **禁止** Read 视频文件、**禁止**展示 base64 内容。
- **禁止**把原始 API 返回的临时 URL 直接给用户(带签名、会过期)。

## 限制

- 提示词最大 2000 字符。
- 生成时间较长,通常 100-600 秒。脚本自动轮询,超时 20 分钟。
- KLING 尾帧图仅 Pro 模式下支持。
- 本接口仅支持单图/首尾帧模式。多参考图请使用 `linkfox-aigc-videogen-multi`。
- 失败时不重试(仅尝试 1 次)。

## 不适用
**不适用**:
- 多参考图生视频 → `linkfox-aigc-videogen-multi`
- 图片生成 → `linkfox-aigc-imagegen`
- 文本生成 → `linkfox-aigc-textgen`

## 反馈

参见 `references/api.md`。

_meta.json

{
  "ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
  "slug": "linkfox-aigc-videogen",
  "version": "1.2.3",
  "publishedAt": 1789361584768
}

references/api.md

# AI 生视频 API 参考(首尾帧/单图模式)

本页为 `linkfox-aigc-videogen` 技能调用的底层接口规格。SKILL.md 面向"怎么用"的决策层,本文档面向"接口精确格式"。

## 接口说明

> 工具中文名:AI生视频(首尾帧模式)

采用异步两步模式:先创建任务获得 `taskId`,再轮询查询任务状态和结果。

## 通用调用规范

- **基础地址**:`${LINKFOX_TOOL_GATEWAY}`,从环境变量读取,未配置时报错退出。
- **请求方式**:POST,Content-Type: application/json
- **认证方式**:Header `Authorization: <api_key>`,api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 读取(如未配置 按 SKILL.md 的 **## 解决认证和算力问题** 处理)。

---

## 接口一:创建生视频任务

- **路径**:`POST /aigc/videoGenAsync`
- **说明**:提交生视频请求,立即返回 taskId

### 请求参数

| 参数 | 类型 | 必填 | 默认 | 说明 |
|------|------|------|------|------|
| imageUrl | string | 是 | - | 原图(首帧图),支持 jpg/jpeg/png/webp |
| videoType | string | 是 | KLING | 模型类型:KLING(可灵) / WAN(万相) / SEED(豆包) / SEED_FAST(Seedance2.0 Fast) / HAILUO(海螺) |
| videoTime | integer | 是 | 5 | 视频时长(秒),见下方各模型支持对照 |
| prompt | string | 否 | - | 强化内容描述(2000字以内) |
| promptOptimizer | boolean | 否 | false | 是否开启提示词优化 |
| isPro | boolean | 否 | false | Pro高质量模式(KLING/SEED/HAILUO支持) |
| voice | boolean | 否 | false | 是否生成声音(WAN/SEED支持) |
| lastFrameImageUrl | string | 否 | - | 尾帧图片URL,控制视频结束帧(KLING仅Pro/WAN/SEED支持) |
| aspectRatio | string | 否 | - | 视频比例 16:9 / 9:16。SEED默认16:9;KLING透传 |
| resolution | string | 否 | 720p | 视频分辨率。SEED: 480p/720p/1080p;KLING: 720p/1080p;HAILUO: 768p/1080p |

### 各模型参数支持对照

| 参数 | KLING(可灵) | WAN(万相) | SEED(豆包) | SEED_FAST | HAILUO(海螺) |
|------|:---:|:---:|:---:|:---:|:---:|
| videoTime | 5/10秒 | 5/10/15秒 | 5/10/15秒 | 5/10/15秒 | 6/10秒 |
| isPro | 支持 | 不支持 | 支持 | 不支持 | 支持 |
| voice | 不支持 | 支持 | 支持 | 支持 | 不支持 |
| lastFrameImageUrl | 仅Pro | 支持 | 支持 | 支持 | 不支持 |
| aspectRatio | 透传16:9/9:16 | 不支持 | 16:9/9:16(默认16:9) | 16:9/9:16(默认16:9) | 不生效 |
| resolution | 720p/1080p | 不支持 | 480p/720p/1080p | 480p/720p(不支持1080p) | 768p/1080p |

### 响应结构

| 字段 | 类型 | 说明 |
|------|------|------|
| `taskId` | string | 异步任务ID,用于后续轮询 |

### 响应示例

```json
{"taskId": "123456789"}
```

---

## 接口二:查询任务状态

- **路径**:`POST /aigc/taskQuery`
- **说明**:根据 taskId 轮询任务状态,成功时返回结果列表

### 请求参数

| 参数 | 类型 | 必填 | 默认 | 说明 |
|------|------|------|------|------|
| taskId | string | 是 | - | 创建任务时返回的任务ID |

### 响应结构

| 字段 | 类型 | 说明 |
|------|------|------|
| `taskId` | string | 任务ID |
| `status` | string | 任务状态:`PROCESSING`(处理中) / `SUCCESS`(成功) / `FAILED`(失败) |
| `resultList` | array[object] | 结果列表(仅 SUCCESS 时有值) |
| `resultList[].id` | string | 资源ID |
| `resultList[].url` | string | 生成的视频URL(已转存至OSS) |
| `resultList[].type` | string | 资源类型 |
| `errorMsg` | string | 错误信息(仅 FAILED 时有值) |

### 响应示例

处理中:
```json
{"taskId": "123456789", "status": "PROCESSING", "resultList": null, "errorMsg": null}
```

成功:
```json
{"taskId": "123456789", "status": "SUCCESS", "resultList": [{"id": "1001", "url": "https://oss.example.com/aigc/123456789/result_1001.mp4", "type": "video"}], "errorMsg": null}
```

失败:
```json
{"taskId": "123456789", "status": "FAILED", "resultList": null, "errorMsg": "生成失败"}
```

---

## 轮询策略

- **初始等待**:2 分钟(120 秒)
- **轮询间隔**:10 秒
- **超时时间**:20 分钟(1200 秒)
- **结束条件**:status 为 SUCCESS 或

references/onboarding.md

# 解决认证和算力问题

调用本 skill 时若网关返回 **auth** 或 **billing** 错误,走本 skill 自带的 `scripts/onboarding.py` 完成引导。

**auth 场景**:`errcode=401` 或消息含 `authorized error`/`鉴权失败`/`未授权`/`unauthorized`;或 `LINKFOX_AGENT_API_KEY` 与 `LINKFOXAGENT_API_KEY` 均为空。
1. 若已配置 key → 先让用户重启会话(最常见误判),仍失败让用户重新取 key 或换手机号重注册
2. 未配置 → 询问:自助去 https://agent.linkfox.com/ 取 key,或提供手机号让脚本注册
3. 手机号路径:
   - `python scripts/onboarding.py send-code <phone>` → 展示 JSON 里的 phone/agreements
   - 收到验证码后:`python scripts/onboarding.py login <phone> <code>`
   - 拿到 `api_key` 后把下面三平台配置转发给用户,提示重启会话生效:
     - Windows PowerShell(永久):`setx LINKFOX_AGENT_API_KEY "<key>"`
     - macOS zsh:`echo 'export LINKFOX_AGENT_API_KEY="<key>"' >> ~/.zshrc && source ~/.zshrc`
     - Linux bash:`echo 'export LINKFOX_AGENT_API_KEY="<key>"' >> ~/.bashrc && source ~/.bashrc`
     - 变量名 `LINKFOX_AGENT_API_KEY`(主推)或 `LINKFOXAGENT_API_KEY`(老规范)任一即可

**billing 场景**:`errcode=402` 或消息含 `算力/余额/quota/insufficient/充值/套餐到期`。
- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单,否则输出编号清单让用户选
- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`(通常 `wechat/alipay`)
- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG > `pay_url` > `ascii_qr`(标注兜底)
- 已付款可选调 `python scripts/onboarding.py query <order_id>`,不主动轮询

排除 `errcode=403`(无权限,不归入这两类)。所有子命令输出 stdout JSON,`error` 字段已含阶段前缀,透传给用户即可。完整用法:`python scripts/onboarding.py --help`。

skill-card.md

## Description:

Generates short AI videos from an input image, optional ending frame, and prompt using supported LinkFox video models.

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

## Publisher:

[linkfox-ai](https://clawhub.ai/user/linkfox-ai)

### License/Terms of Use:

MIT-0

## Use Case:

External users and creators use this skill to turn a source image, optional final frame, and prompt into a generated video. Agents can create an asynchronous LinkFox generation task, poll for completion, and return the saved local video path.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill handles reusable LinkFox API keys and phone-based onboarding credentials.

Mitigation: Use securely stored API keys, avoid exposing secrets in shared shell startup files or logs, and rotate credentials if they may have been disclosed.

Risk: The skill can initiate billing or quota purchase flows.

Mitigation: Review plan, payment method, and order details before creating any order, and do not allow unattended purchases.

Risk: Image URLs and prompts are sent to external LinkFox processing services.

Mitigation: Submit only content approved for external processing and avoid sensitive or confidential image URLs and prompts.

Risk: Endpoint environment variables can redirect requests away from the expected LinkFox services.

Mitigation: Do not override LinkFox endpoint environment variables unless the destination is trusted and intentionally configured.

## Reference(s):

- [AI Video API Reference](artifact/references/api.md)
- [Authentication and Billing Onboarding](artifact/references/onboarding.md)
- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-aigc-videogen)

## Skill Output:

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

**Output Format:** [Markdown or plain text with local video file paths and JSON snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May save generated videos under the session media directory and response JSON under data; generation can take up to 20 minutes.]

## Skill Version(s):

1.2.3 (source: server release evidence)

## 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.
Github ReposUpdated 3d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/linkfox-ai/skills/linkfox-aigc-videogen",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-aigc-videogen",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T22:03:35.612Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-aigc-videogen/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-aigc-videogen/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T22:03:35.612Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "987 downloads",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-aigc-videogen",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-aigc-videogen",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T22:03:35.612Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.2.3",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-aigc-videogen",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-aigc-videogen",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T04:53:04.768Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-aigc-videogen/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-aigc-videogen/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.2.3",
      "description": "Update from 1.2.2 to 1.2.3",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-aigc-videogen",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-aigc-videogen",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T04:53:04.768Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 12, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-linkfox-ai-linkfox-aigc-videogen/run-check

Sponsored

Ads related to AIGC视频生成 and adjacent AI workflows.