fal-image-edit by fal-ai-community/skills
npx skills add https://github.com/fal-ai-community/skills --skill fal-image-edit使用 AI 编辑图像:风格迁移、对象移除、背景更换等。
要发现最佳和最新的图像编辑模型,请使用搜索 API:
# 搜索图像编辑模型
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --category "image-to-image"
# 搜索特定编辑功能
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"
或者使用带有相关关键词的 search_models MCP 工具。
| 操作 | 描述 |
|---|---|
| 风格迁移 | 将艺术风格应用于图像 |
| 对象移除 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 从图像中移除对象 |
| 背景更换 | 更改/替换背景 |
| 图像修复 | 填充遮罩区域 |
| 通用编辑 | 基于指令的编辑 |
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh [options]
参数:
--image-url - 要编辑图像的 URL(必需)--prompt - 期望编辑的描述(必需)--operation - 编辑操作:style、remove、background、inpaint(默认:style)--mask-url - 遮罩图像的 URL(修复/移除操作必需)--strength - 编辑强度 0.0-1.0(默认:0.75)示例:
# 风格迁移
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
--image-url "https://example.com/photo.jpg" \
--prompt "转换为动漫风格" \
--operation style
# 移除对象
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
--image-url "https://example.com/photo.jpg" \
--prompt "移除左边的人" \
--operation remove
# 更换背景
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh \
--image-url "https://example.com/portrait.jpg" \
--prompt "放置在热带海滩环境中" \
--operation background
# 使用遮罩进行图像修复
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 "用花朵填充" \
--operation inpaint
使用 search_models MCP 工具或 search-models.sh 为每个操作(风格迁移、对象移除、背景更换、图像修复)查找当前最佳模型,然后使用发现的 modelId 调用 mcp__fal-ai__generate。
正在编辑图像...
模型:fal-ai/flux/dev/image-to-image
操作:风格迁移
编辑完成!
图像 URL:https://v3.fal.media/files/abc123/edited.png
尺寸:1024x1024
JSON 输出:
{
"images": [
{
"url": "https://v3.fal.media/files/abc123/edited.png",
"width": 1024,
"height": 1024
}
]
}
这是您编辑后的图像:

• 1024×1024 | 操作:风格迁移
image-to-image 类别。调整强度:0.3-0.5 用于细微变化,0.7-0.9 用于显著变化。对于图像修复和一些移除任务:
编辑效果几乎不可见。
增加强度参数:
--strength 0.85
编辑改变了图像太多内容。
降低强度参数:
--strength 0.3
对象未被完全移除。
技巧:
1. 在提示中更具体
2. 尝试使用明确的遮罩
3. 使用图像修复模型以获得精确控制
新背景在主体周围有伪影。
技巧:
1. 使用更干净的源图像
2. 尝试 FLUX Kontext,它处理边缘效果更好
3. 调整强度以获得更平滑的混合效果
每周安装次数
521
代码仓库
GitHub 星标数
39
首次出现
2026年1月27日
安全审计
安装于
opencode474
gemini-cli465
codex462
github-copilot451
cursor445
kimi-cli432
Edit images using AI: style transfer, object removal, background changes, and more.
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.
| Operation | Description |
|---|---|
| Style Transfer | Apply artistic style to image |
| Object Removal | Remove objects from image |
| Background Change | Change/replace background |
| Inpainting | Fill in masked areas |
| General Edit | Instruction-based edits |
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
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.
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
}
]
}
Here's your edited image:

• 1024×1024 | Operation: Style Transfer
image-to-image category. Adjust strength: 0.3-0.5 for subtle, 0.7-0.9 for dramatic.For inpainting and some removal tasks:
The edit is barely visible.
Increase the strength parameter:
--strength 0.85
The edit changed too much of the image.
Decrease the strength parameter:
--strength 0.3
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
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
Weekly Installs
521
Repository
GitHub Stars
39
First Seen
Jan 27, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode474
gemini-cli465
codex462
github-copilot451
cursor445
kimi-cli432
头脑风暴技能:AI协作设计流程,将创意转化为完整规范与实施计划
77,000 周安装
云设计模式大全:构建可靠、高性能云应用的架构指南与最佳实践
501 周安装
Google Apps Script 自动化脚本教程 - 免费实现 Google Sheets 与 Workspace 自动化
502 周安装
Sensei:GitHub Copilot for Azure技能合规性自动化改进工具
502 周安装
Electron 跨平台桌面应用开发教程 - 从入门到精通
1,100 周安装
Monorepo 包链接指南:pnpm/npm/yarn/bun 工作区依赖管理详解
502 周安装
Flutter无障碍访问与自适应设计指南:实现WCAG标准与响应式布局
974 周安装