Token导航 LogoToken导航

Agent Skill · 图像处理

image-generation(图像生成)

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

image-generation 是图像处理类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,暂无第三方扫描结果,按安装量在图像处理类的 1,562 个 Skill 里排第 1,419。

总安装 324周安装 13GitHub Stars 公开资料未说明下载 105核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:image-generation(图像生成)
来源仓库:https://github.com/lukasstrickler/ai-dev-atelier
仓库路径:skills/image-generation
安装命令:
npx skills add lukasstrickler/ai-dev-atelier --skill "image-generation"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add lukasstrickler/ai-dev-atelier --skill "image-generation"

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

基于文本生成图像的 AI 图像创作工具。适用于插画、素材生成与视觉提示词优化。支持多种风格与分辨率选项。image-generation 属于图像处理类 Skill,可作为该场景下的辅助能力补充。涉及人物或品牌元素时请确保版权合规。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。需配置有效的图像生成 API 密钥。

来源仓库内路径:skills/image-generation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add lukasstrickler/ai-dev-atelier --skill "image-generation";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

image-generation 怎么安装?

在终端执行 npx skills add lukasstrickler/ai-dev-atelier --skill "image-generation"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

image-generation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

image-generation 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

image-generation 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

image-generation 用的人多吗?

公开数据是累计安装 324 次,近一周安装 13 次,下载 105 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

image-generation 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
image-generation

图像生成 · 本页

324—调用外部服务MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
image-generation
description
Generate, edit, and upscale AI images. Use when creating visual assets for apps, websites, or documentation. FREE Cloudflare tier for iterate generation (~96/day), Fal.ai for paid tiers. Four quality tiers (iterate/default/premium/max). Supports text specialists, multi-ref editing, SVG, background removal. Triggers: generate image, create image, edit image, upscale, logo, picture of, remove background.
metadata
author
ai-dev-atelier
version
3.0

Image Generation

Generate, edit, and upscale images with standardized quality tiers and embedded best practices.

Quick Start

Need image?
├─ Text/Logo → bun scripts/gen.ts "..." --text [-t tier]
├─ Photo/Art → bun scripts/gen.ts "..." [-t tier]
├─ Edit existing → bun scripts/edit.ts <img> "..." [-t tier]
├─ Upscale → bun scripts/upscale.ts <img> [-t tier]
├─ Vectorize → bun scripts/svg.ts <img> ($0.01/img)
└─ Remove BG → bun scripts/rembg.ts <img> (FREE)

Tier selection:
├─ iterate  → FREE drafts (~96/day via Cloudflare)
├─ default  → Daily driver ($0.008/MP)
├─ premium  → Final assets ($0.03/MP)
└─ max      → Critical work, SOTA ($0.06-0.07/MP)

Entry Points

ScriptPurpose
bun scripts/gen.tsText → Image
bun scripts/edit.tsImage + Instruction → Image
bun scripts/upscale.tsImage → Larger Image
bun scripts/svg.tsImage → SVG ($0.01/img)
bun scripts/rembg.tsRemove background (FREE)

Prompting Best Practices

CRITICAL: Good prompts are the difference between unusable output and production-ready assets.

The Universal Prompt Structure

[Subject] + [Action/Pose] + [Environment] + [Style/Medium] + [Lighting] + [Camera/Composition]

Example:

"A cybernetic owl perched on a neon sign in a rain-soaked alley. Cinematic lighting with teal and orange highlights. Shot on 35mm film, shallow depth of field, hyper-detailed textures."

DO: Effective Prompting

TechniqueExample
Be specific"middle-aged man with salt-and-pepper hair wearing charcoal turtleneck" NOT "a man"
Describe the result"person with clear eyes" NOT "remove glasses"
Use camera terms"Shot on Hasselblad, 85mm lens, f/1.8"
Specify lighting"golden hour rim lighting with deep shadows"
Include textures"weathered sandstone", "anodized aluminum", "iridescent silk"

DON'T: Common Mistakes

MistakeProblemFix
Negative phrasing"no glasses" often adds glassesDescribe what IS there
Vague subjectsAI interprets randomlyBe exhaustively specific
Keyword salad"4k, trending, masterpiece" is noiseUse descriptive sentences
Short promptsUnder 20 words underperformsAim for 40-80 words

Style Keywords That Work

CategoryKeywords
Lightinggolden hour, volumetric lighting, Rembrandt lighting, neon rim light, bioluminescent
Camera35mm anamorphic, macro photography, tilt-shift, fisheye, drone shot
Stylecinematic, photorealistic, concept art, ukiyo-e, baroque, impressionist
Qualityhyper-detailed, sharp focus, 8k resolution, raytraced

Text & Logo Generation (--text flag)

Uses Recraft V3 (iterate/default) or Ideogram V3 (premium/max) - specialized for typography.

Text Prompting Rules

CRITICAL: Put text in "Double Quotes" at the START of your prompt.

# Correct - text first, then describe
bun scripts/gen.ts '"QUANTUM" in bold futuristic font, metallic silver, dark space background' --text

# Wrong - text buried in description
bun scripts/gen.ts 'A logo with the word QUANTUM on it' --text

Logo Design Patterns

StylePrompt Pattern
Minimalist"BRAND" minimalist vector logo, clean lines, simple geometry, flat design
Vintage"EST. 1920" vintage badge logo, circular emblem, ribbon banner, ornate border
Negative space"PEAK" logo where the letter A forms a mountain, negative space design
3D/Modern"TECHCORP" bold 3D chrome letters, gradient fill, dark background

Font Specification

Use typography terms: modern sans-serif, elegant script, bold blocky, blackletter, neon tubing, retro 70s serif

DO/DON'T for Text

DODON'T
"Three cats playing" (exact count)"cats playing" (random count)
"wooden baseball bat" (specific)"bat" (ambiguous)
Describe only what you want"no cake" (will add cake)

Image Editing

bun scripts/edit.ts <image> <instruction> [-t TIER] [--mask <mask.png>] [--ref <img>...]

Writing Edit Instructions

Key: Describe the TARGET STATE, not the change.

Bad InstructionGood Instruction
"change car to blue""A sleek blue metallic sports car, reflections of neon lights on wet asphalt"
"add a hat""person wearing a vintage red fedora, matching the scene lighting"
"remove background"Use rembg.ts instead (FREE and better)

Mask Best Practices

TaskMask Strategy
Object removalMask LARGER than object (10-20px margin) for seamless fill
Object additionMask exact shape or slightly smaller
OutpaintingOverlap 10-20px INTO original image

Feathering: Apply 12-16px blur to masks. Sharp masks = visible seams.

Multi-Reference Editing (--ref)

Using 2+ reference images auto-selects max tier (flux-2-flex).

# Style transfer: apply reference style to base image
bun scripts/edit.ts base.jpg "in the style of the reference" --ref style.jpg

# Multi-reference blending
bun scripts/edit.ts scene.jpg "forest sofa scene" --ref forest.jpg --ref sofa.jpg

Tip: When blending references, describe their relationship: "A velvet sofa placed in a misty pine forest"


Upscaling

bun scripts/upscale.ts <image> [-t TIER] [--scale 2|4]

When to Use 2x vs 4x

Source QualityRecommendation
High (RAW, clean PNG)4x safe - AI infers detail accurately
Medium (standard JPEG)2x preferred - denoise first if possible
Low (compressed, blurry)2x max - noise gets magnified

Use Case Guidelines

OutputScaleNotes
Web/UI2xReduces file size, improves perceived sharpness
Print (300 DPI)4xTarget 300 DPI for print quality
Icons/Logos2xUse svg.ts instead for infinite scaling

Common Artifacts & Fixes

ArtifactCausePrevention
Haloing (white edges)Aggressive sharpeningUse iterate/default tier
Plasticky skinOver-smoothingReduce to 2x, use premium tier
Grid patternsTile processingUse higher tier models

Rule of Thumb: If image looks "crunchy" at 100% zoom, don't exceed 2x.


Tier Selection Guide

ScenarioTierWhy
Exploring 10+ variationsiterateFREE, fast iteration
Daily work, 3-5 variationsdefaultBest cost/quality balance
Client deliverablespremiumHigher fidelity
Critical assets, multi-refmaxSOTA quality, advanced features
Text/logos (any)defaultRecraft V3 already excellent
Text/logos (critical)premiumIdeogram V3 for perfect typography

Cost Optimization

EXPENSIVE WORKFLOW (avoid):
  Generate at max tier → iterate on max → deliver

COST-EFFECTIVE WORKFLOW (recommended):
  Generate at iterate (FREE) → find best concept
  → Regenerate winner at default/premium → deliver

Environment

# For FREE iterate generation (Cloudflare)
CLOUDFLARE_ACCOUNT_ID=xxx
CLOUDFLARE_API_TOKEN=xxx

# For paid tiers (Fal.ai)
FAL_API_KEY=xxx

Quota: Cloudflare FREE tier allows ~96 images/day at 1024x1024.

Exit Codes

CodeMeaningAction
0SuccessImage saved to .ada/data/images/
1General errorCheck error message
2Config/auth errorVerify API keys in .env
3Resource limitQuota exceeded - wait 24h or use paid tier

CRITICAL: Exit code 3 does NOT fall back to paid tier. This prevents accidental charges.


Integration

SkillWhen to Use Together
ui-animationAnimate generated images for web/mobile
docs-writeDocument image assets and parameters used
searchFind prompting resources and style references
code-qualityAfter modifying skill scripts

References

  • references/usage-guide.md - Extended prompting guide, error codes, testing
  • README.md - Architecture diagrams, model reference, CLI details
  • Fal.ai Docs - Official API documentation

Output

Images saved to .ada/data/images/ with timestamped filenames:

20260118_gen_default_cyberpunk_city.jpg
20260118_svg_default_logo_vector.svg

平台分布

Claude Code

30.14%
按下载量换算32

kilo

21.99%
按下载量换算23

Gemini CLI

16.97%
按下载量换算18

Antigravity

13.07%
按下载量换算14

mcpjam

8.28%
按下载量换算9

command-code

3.4%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills