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.
npx skills add linkfox-ai/linkfox-skills --skill linkfox-aigc-imagegengit clone --depth 1 https://github.com/linkfox-ai/linkfox-skillsWrote 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.
[](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen)<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen/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.
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00132 | $0.01729 |
| Opus 5 | $0.00066 | $0.00864 |
| Sonnet 5 | $0.00026 | $0.00346 |
| Haiku 4.5 | $0.00013 | $0.00173 |
Grade A, and why
linkfox-aigc-imagegen 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.
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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI 生图
根据提示词和参考图生成图片,支持多种 AI 模型,异步创建任务后轮询获取结果。
核心特点
- 多模型选择:7 种模型可选,各有不同特长和分辨率支持。
- 图生图:可传入参考图+提示词生成新图。
- 批量输出:单次最多生成 10 张图片。
- 异步模式:创建任务立即返回 taskId,脚本自动轮询直到完成(超时 10 分钟)。
模型说明
| 模型(provider) | 说明 | 特点 |
|---|---|---|
| BANANA | LFBanana(基础版) | 仅支持 1K 分辨率 |
| BANANA_2 | LFBanana2 | 支持更高分辨率 |
| BANANA_PRO | LFBanana Pro(默认) | 综合效果最好 |
| GPT_2_IMAGE | Img2 | 支持 quality 参数控制质量 |
| AIDRAW_EDIT | Linkfox-Image-1 | 适合编辑类场景 |
| WAN2_7 | Wan 2.7 | 万相模型 |
| SEEDREAM5 | Seedream 5.0 | 仅支持2K |
参数概览
- 必填字段:
prompt、imageUrls、outputNum(默认1)、resolution(默认1K)、quality(默认high,仅 GPT_2_IMAGE)
完整参数表、响应字段结构与错误码,见 references/api.md。
调用方式
- 创建任务:
POST /aigc/imageGenAsync→ 返回{taskId} - 轮询结果:
POST /aigc/taskQuery→ 传入{taskId}→ 返回状态和结果 - Python 脚本:
python scripts/aigc_imagegen.py '<JSON 参数>'(脚本内部自动完成创建+轮询)
异步流程:
- 脚本调用
/aigc/imageGenAsync创建任务,获得taskId - 轮询
/aigc/taskQuery,初始间隔 10 秒,每次递减 1 秒至最低 5 秒,最长等待 10 分钟 - 成功后自动下载图片到会话
media/目录
文件存储路径约定(遵循 CLAUDE.md 规范):
所有文件存储在 <cwd>/linkfox/<YYYY-MM-DD>/<session>/ 下,按类型划分目录:
| 内容类型 | 目录 | 路径格式 | 说明 |
|---|---|---|---|
| 生成的图片 | media/ |
<session>/media/linkfox-aigc-imagegen-<ts_ms>.<ext> |
如 media/linkfox-aigc-imagegen-1718000000000.png |
| 原始 API 响应 | data/ |
<session>/data/linkfox-aigc-imagegen-<ts>.json |
含完整 taskId、状态、临时 URL 等 |
输出策略(脚本默认行为):
-
成功生成图片时(无论多少张):
- stdout 输出
Saved full response: <路径数组>格式的行,例如:- 1张:
Saved full response: ["/path/to/media/a.png"] - 多张:
Saved full response: ["/path/to/media/a.png", "/path/to/media/b.png"]
- 1张:
- 原始 API 响应(含临时 URL 等)静默落盘到
data/。 - 前端 UI 可解析 stdout 中所有
Saved full response:行,把后续 JSON 数组渲染出来。 - 每次调用脚本通常输出一行;分多次调用时会有多行。
- stdout 输出
-
无图片产物时(失败/无结果):
- stdout 输出原始响应路径:
Saved full response: /path/to/data/xxx.json
- stdout 输出原始响应路径:
读数据建议:禁止 Read 转存的图片文件内容(避免 base64 进入上下文)。直接把 Saved full response: 后的本地路径提供给用户即可。
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.
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.
- 11d ago First seen · 122 lines · 132 tokens per session scan A 3a4b37551b3c
linkfox-aigc-imagegen is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 21d ago), licensed MIT. It adds 132 tokens to every session and 1,729 once invoked, about $0.0007 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.
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.
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…
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.
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).
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.
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.