Loading...
Loading...
Edit images using AI on fal.ai. Style transfer, object removal, background changes, and more. Use when the user requests "Edit image", "Remove object", "Change background", "Apply style", or similar image editing tasks.
npx skill4agent add fal-ai-community/skills fal-image-edit| Model | Best For |
|---|---|
| Best overall - T2I and editing |
| Background change, context-aware editing |
| Style transfer |
| Object removal |
| Masked inpainting |
| Operation | Model | Description |
|---|---|---|
| General Edit | | Best quality edits |
| Style Transfer | | Apply style to image |
| Object Removal | | Remove objects from image |
| Background Change | | Change/replace background |
| Inpainting | | Fill in masked areas |
bash /mnt/skills/user/fal-image-edit/scripts/edit-image.sh [options]--image-url--prompt--operationstyleremovebackgroundinpaintstyle--mask-url--strength# 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 inpaintmcp__fal-ai__generate({
modelId: "fal-ai/nano-banana-pro",
input: {
image_url: "https://example.com/photo.jpg",
prompt: "Make the sky more dramatic with sunset colors"
}
})mcp__fal-ai__generate({
modelId: "fal-ai/flux/dev/image-to-image",
input: {
image_url: "https://example.com/photo.jpg",
prompt: "Convert to anime style",
strength: 0.75
}
})mcp__fal-ai__generate({
modelId: "bria/fibo-edit",
input: {
image_url: "https://example.com/photo.jpg",
prompt: "Remove the person on the left"
}
})mcp__fal-ai__generate({
modelId: "fal-ai/flux-kontext",
input: {
image_url: "https://example.com/portrait.jpg",
prompt: "Place the subject in a tropical beach setting"
}
})mcp__fal-ai__generate({
modelId: "fal-ai/flux/dev/inpainting",
input: {
image_url: "https://example.com/photo.jpg",
mask_url: "https://example.com/mask.png",
prompt: "Fill with flowers"
}
})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{
"images": [
{
"url": "https://v3.fal.media/files/abc123/edited.png",
"width": 1024,
"height": 1024
}
]
}Here's your edited image:

• 1024×1024 | Operation: Style Transferfal-ai/nano-banana-profal-ai/flux/dev/image-to-imagefal-ai/bria/fibo-editfal-ai/flux-kontextfal-ai/flux/dev/inpaintingThe edit is barely visible.
Increase the strength parameter:
--strength 0.85The edit changed too much of the image.
Decrease the strength parameter:
--strength 0.3The 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 controlThe 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