Token导航 LogoToken导航TokenDH.com
图像处理external-servicegithub未标认证来源可访问clear审计异常

fal-image-editfal 图像编辑

Agent Skill

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

总安装

1,320

周安装

55

GitHub Stars

85

下载量

440
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ilkerzg/agent-skills --skill fal-image-edit

简介

用于辅助图像生成与图片编辑,支持风格迁移、对象移除等操作。

  • 适合对现有图片进行 AI 驱动的背景修改或局部内容调整。
  • 需提供图像 URL 及编辑指令,选择合适模型后提交至 fal.ai API。
  • 涉及版权素材时应确认授权,避免违规使用或公开传播。
  • fal-image-edit 属于图像处理类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

fal.ai Image Edit

Edit images using AI: style transfer, object removal, background changes, and more.

How It Works

  1. User provides image URL and editing instructions
  2. Script selects appropriate model
  3. Sends request to fal.ai API
  4. Returns edited image URL

Finding Models

To discover the best and latest image editing models, use the search API:

# Search for image editing models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --category "image-to-image"

# Search for specific editing capabilities
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "image editing"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "inpainting"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "object removal"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "background removal"

Or use the search_models MCP tool with relevant keywords.

Supported Operations

OperationDescription
Style TransferApply artistic style to image
Object RemovalRemove objects from image
Background ChangeChange/replace background
InpaintingFill in masked areas
General EditInstruction-based edits

Usage

bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh [options]

Arguments:

  • --image-url - URL of image to edit (required)
  • --prompt - Description of desired edit (required)
  • --operation - Edit operation: style, remove, background, inpaint (default: style)
  • --mask-url - URL of mask image (required for inpainting/removal)
  • --strength - Edit strength 0.0-1.0 (default: 0.75)

Examples:

# Style transfer
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
  --image-url "https://example.com/photo.jpg" \
  --prompt "Convert to anime style" \
  --operation style

# Remove object
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
  --image-url "https://example.com/photo.jpg" \
  --prompt "Remove the person on the left" \
  --operation remove

# Change background
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
  --image-url "https://example.com/portrait.jpg" \
  --prompt "Place in a tropical beach setting" \
  --operation background

# Inpainting with mask
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
  --image-url "https://example.com/photo.jpg" \
  --mask-url "https://example.com/mask.png" \
  --prompt "Fill with flowers" \
  --operation inpaint

MCP Tool Alternative

Use search_models MCP tool or search-models.sh to find the best current model for each operation (style transfer, object removal, background change, inpainting), then call mcp__fal-ai__generate with the discovered modelId.

Output

Editing image...
Model: fal-ai/flux/dev/image-to-image
Operation: style transfer

Edit complete!

Image URL: https://v3.fal.media/files/abc123/edited.png
Dimensions: 1024x1024

JSON output:

{
  "images": [
    {
      "url": "https://v3.fal.media/files/abc123/edited.png",
      "width": 1024,
      "height": 1024
    }
  ]
}

Present Results to User

Here's your edited image:

![Edited Image](https://v3.fal.media/files/...)

• 1024×1024 | Operation: Style Transfer

Model Selection Tips

  • General Editing: Search for "image editing" models. Good for instruction-based changes.
  • Style Transfer: Search for image-to-image category. Adjust strength: 0.3-0.5 for subtle, 0.7-0.9 for dramatic.
  • Object Removal: Search for "eraser" or "object removal". Some work without masks.
  • Background Change: Search for "background" or "kontext". Look for models that preserve subject identity.
  • Inpainting: Search for "inpainting" or "fill". Requires binary mask (white = edit area).

Mask Tips

For inpainting and some removal tasks:

  • White pixels = areas to edit
  • Black pixels = areas to preserve
  • Use PNG format with transparency or solid colors
  • Feathered edges create smoother transitions

Troubleshooting

Edit Too Subtle

The edit is barely visible.

Increase the strength parameter:
--strength 0.85

Edit Too Dramatic

The edit changed too much of the image.

Decrease the strength parameter:
--strength 0.3

Object Not Removed

The object wasn't fully removed.

Tips:
1. Be more specific in the prompt
2. Try using an explicit mask
3. Use the inpainting model for precise control

Background Artifacts

The new background has artifacts around the subject.

Tips:
1. Use a cleaner source image
2. Try FLUX Kontext which handles edges better
3. Adjust the strength for smoother blending

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.37%
按下载量换算120

Gemini CLI

22.4%
按下载量换算99

OpenCode

20.25%
按下载量换算89

Codex

14.48%
按下载量换算64

Cursor

7.96%
按下载量换算35

Antigravity

3.38%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

external-service

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills