Token导航 LogoToken导航

Agent Skill · 图像处理

fal-ai-image(法艾图像)

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

fal-ai-image 是图像处理类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在图像处理类的 1,562 个 Skill 里排第 1,279。

总安装 563周安装 23GitHub Stars 112下载 182核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/artwist-polyakov/polyakov-claude-skills --skill fal-ai-image

这个 Skill 是做什么的

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

用于辅助图像生成、图片编辑和视觉素材处理,支持文本到图像生成与背景优化。适合根据描述生成图片、整理视觉提示词或调用 fal.ai 图像模型工作流。需配置 FAL_KEY 并确认输入图片版权、输出格式及模型限制条件。涉及人物、品牌或公开展示素材时,应额外核对授权与内容合规边界。

fal-ai-image 属于图像处理类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/artwist-polyakov/polyakov-claude-skills --skil…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

fal-ai-image 怎么安装?

在终端执行 npx skills add https://github.com/artwist-polyakov/polyakov-claude-skills --skill fal-ai-i…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

fal-ai-image 支持哪些 AI 工具?

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

fal-ai-image 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

fal-ai-image 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

fal-ai-image 用的人多吗?

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

fal-ai-image 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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通过
fal-ai-image

法艾图像 · 本页

563112需要联网未明确有提醒

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

SKILL.md 原文

fal-ai-image

Generate images via fal.ai. The skill now supports two fal-hosted models:

  • Google Nano Banana Pro (fal-ai/nano-banana-pro) — default, backward-compatible
  • OpenAI GPT Image 2 (openai/gpt-image-2) — enabled from config/.env

Synonyms the agent should treat as equivalent:

  • gpt = openai = GPT Image 2
  • nano banana = google = gemini = Nano Banana Pro

Best for: infographics, text rendering, banners, photo edits, reference-based compositions.

STOP — Read Before Acting

  • DO NOT use Pillow, ImageMagick, or post-processing for text/logo overlay unless the user explicitly asked for that workflow
  • DO NOT use Generate mode when the user provided reference images — use Edit mode
  • DO NOT assume GPT is active — check config/README.md logic; if no selector is configured, the skill stays on Nano Banana
  • DO NOT guess provider-specific params — Nano Banana and GPT Image 2 use different schemas
  • DO pass --model... when the user explicitly asks for a specific model/provider or asks to compare providers
  • DO NOT skip uploading local files — run upload.sh first to get URLs for edit.sh

Quick Start Decision

Reference images provided?  -> Edit mode   (upload.sh -> edit.sh)
Text-only generation?       -> Generate mode (generate.sh)

Model comes from config/.env:
  no selector set           -> Nano Banana Pro
  FAL_IMAGE_PROVIDER=openai -> GPT Image 2
  FAL_IMAGE_MODEL=...       -> exact override

Config

Requires FAL_KEY in config/.env or the environment.

Model selection:

  1. --model — one-off override for the current command
  2. FAL_IMAGE_MODEL — exact override in config
  3. FAL_IMAGE_PROVIDER — google or openai
  4. nothing set — default to Nano Banana Pro

Use --model whenever the user explicitly says things like:

  • "сделай через GPT"
  • "используй OpenAI"
  • "сделай через Google / Gemini / Nano Banana"
  • "какие тут есть провайдеры?"

Answer that the skill supports two choices and map the command like this:

  • --model gpt for OpenAI GPT Image 2
  • --model gemini or --model nano-banana for Nano Banana

OpenAI quality default:

  • FAL_IMAGE_OPENAI_QUALITY=medium unless overridden with --quality
  • this skill intentionally uses medium as the default for GPT to avoid expensive exploratory runs

Full setup and troubleshooting: config/README.md.

Read references only when needed:

Model Notes

Nano Banana Pro

Strengths:

  • lower-friction default for existing installs
  • strong text rendering, including Cyrillic
  • good at infographics, banners, and mixed text/image layouts
  • supports --web-search in generate mode

Main params:

  • --aspect-ratio
  • --resolution
  • --web-search (generate only)

OpenAI GPT Image 2

Strengths:

  • stronger prompt adherence and fine-grained edits
  • better photorealism and product-style renders
  • native quality control
  • uses the same FAL_KEY through fal, no separate OpenAI key
  • current fal pricing is size/quality-dependent; a rough high-quality mental model is about $0.18 per image, but check the live model page before quoting an exact number

Main params:

  • --image-size
  • --quality

Compatibility layer:

  • if --image-size is omitted, the scripts derive a valid OpenAI image_size from --aspect-ratio + --resolution
  • this lets old prompts continue working after the provider switch in config

Workflow

Generate mode

  1. Decide model from config
  2. Clarify missing params only if needed:

- Nano Banana: aspect ratio, resolution - GPT Image 2: image size and quality

  1. Propose save path based on project structure
  2. Run generate.sh
  3. Parse result JSON, report URL and local files if downloaded

Edit mode

  1. Get reference images:

- URL already available -> use directly - local file -> upload.sh

  1. Decide model from config
  2. Clarify edit intent
  3. Run edit.sh
  4. Parse result JSON, report URL and local files if downloaded

Scripts

generate.sh

Nano Banana example:

sh scripts/generate.sh \
  --model "gemini" \
  --prompt "infographic about coffee brewing" \
  --aspect-ratio "9:16" \
  --resolution "1K" \
  --output-dir "./images" \
  --filename "coffee_infographic"

GPT Image 2 example:

sh scripts/generate.sh \
  --model "gpt" \
  --prompt "realistic product hero shot with sharp packaging text" \
  --image-size "landscape_4_3" \
  --quality "medium" \
  --output-dir "./images" \
  --filename "product_hero"

Compatibility example for GPT:

sh scripts/generate.sh \
  --model "openai" \
  --prompt "editorial portrait, window light, magazine cover layout" \
  --aspect-ratio "4:3" \
  --resolution "2K"
ParamRequiredDefaultNotes
--promptyes-text prompt
--modelnoconfig / Nano Banana fallbacknano-banana, google, gemini, gpt, openai, or exact endpoint
--aspect-rationo1:1Nano native; for GPT used only when --image-size is omitted
--resolutionno1KNano native; for GPT used only when --image-size is omitted
--image-sizenoderived from ratio/resolutionGPT only; preset (landscape_4_3) or WIDTHxHEIGHT
--qualitynomedium via configGPT only; low, medium, high
--num-imagesno11-4
--output-formatnopngjpeg, png, webp
--output-dirno-local path
--filenamenogeneratedbase filename
--web-searchnofalseNano only; ignored for GPT

edit.sh

Nano Banana example:

sh scripts/edit.sh \
  --model "gemini" \
  --prompt "combine these into a collage" \
  --image-urls "https://example.com/img1.png,https://example.com/img2.png" \
  --aspect-ratio "16:9" \
  --output-dir "./images" \
  --filename "collage"

GPT Image 2 example:

sh scripts/edit.sh \
  --model "gpt" \
  --prompt "make this product shot look like a premium studio campaign" \
  --image-urls "https://example.com/source.png" \
  --mask-url "https://example.com/mask.png" \
  --image-size "auto" \
  --quality "medium" \
  --output-dir "./images" \
  --filename "studio_edit"
ParamRequiredDefaultNotes
--promptyes-edit instruction
--image-urlsyes-comma-separated URLs
--modelnoconfig / Nano Banana fallbacknano-banana, google, gemini, gpt, openai, or exact endpoint
--mask-urlno-GPT edit only; optional mask for targeted edits
--aspect-rationoautoNano native; for GPT used only when --image-size is omitted
--resolutionno1KNano native; for GPT used only when --image-size is omitted
--image-sizenoderived from ratio/resolution / autoGPT only
--qualitynomedium via configGPT only
--num-imagesno11-4
--output-formatnopngjpeg, png, webp
--output-dirno-local path
--filenamenoeditedbase filename

upload.sh

# Get hosted URL for local file
URL=$(sh scripts/upload.sh --file /path/to/image.png)

# Get base64 data URI for manual API work
URI=$(sh scripts/upload.sh --file /path/to/image.png --base64)

Cost Guidance

  • Nano Banana Pro is the cheaper and safer default for quick iterations
  • GPT Image 2 cost depends heavily on quality and image_size
  • this skill defaults GPT to medium quality to reduce surprise spend

For current pricing, check fal's model pages in config/README.md.

Notes

  • result URLs expire in roughly one hour — download locally if you need persistence
  • uploaded files on fal storage are temporary
  • edit.sh now polls the same /edit queue endpoints documented by fal

平台分布

Codex

36.22%
按下载量换算66

Claude

29.47%
按下载量换算54

Cursor

18.02%
按下载量换算33

Gemini CLI

8.88%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills