linkfox-aigc-videogen

linkfox-aigc-videogen is a skill for Claude Code, Codex from linkfox-ai/linkfox-skills. It costs 120 tokens per session (1,431 once invoked), scanned A, original, MIT.

An AI image-to-video tool that creates a video from a starting image and, optionally, an ending image, using several supported video models.

In plain words
What is it for?
It is for generating videos from images, controlling the ending frame, selecting a model and duration, adjusting motion or aspect ratio, and downloading the completed result.
Why use it?
It turns still images and written directions into short videos without requiring the agent to assemble the animation manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for generating videos from images, controlling the ending frame, selecting a model and duration, adjusting motion or aspect ratio, and downloading the completed result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add linkfox-ai/linkfox-skills --skill linkfox-aigc-videogen
Clone the repo
git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linkfox-aigc-videogen

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen/github.svg)](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen)
Your own site
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for linkfox-aigc-videogen

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-videogen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.01431
Opus 5 $0.00060 $0.00715
Sonnet 5 $0.00024 $0.00286
Haiku 4.5 $0.00012 $0.00143

Measured 11d ago against content hash 16d417c9f306, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

linkfox-aigc-videogen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/aigc_videogen.py, scripts/onboarding.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/linkfox-aigc-videogen/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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秒

参数概览

  • 必填字段imageUrlvideoTypevideoTime
  • 可选核心lastFrameImageUrl(尾帧图)、prompt(2000字以内)

完整参数表、响应字段结构与错误码,见 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 — 商品展示

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

3. WAN 万相 — 带声音和运镜

{"imageUrl": "https://example.com/scene.jpg", "videoType": "WAN", "videoTime": 15, "voice": true, "camera": "single"}

4. SEED — 高分辨率

{"imageUrl": "https://example.com/scene.jpg", "videoType": "SEED", "videoTime": 10, "resolution": "1080p", "aspectRatio": "16:9"}

Read the full file on GitHub · 107 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 107 lines · 120 tokens per session scan A 16d417c9f306

Subscribe to this mod's changes

linkfox-aigc-videogen is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 21d ago), licensed MIT. It adds 120 tokens to every session and 1,431 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens