askill
image-editor

image-editorSafety 95Repository

Edit existing images with text prompts using fal.ai. Use when the user wants to modify, edit, transform, or change an existing image based on a text description. Supports multiple input images and local file upload.

1 stars
1.2k downloads
Updated 2/18/2026

Package Files

Loading files...
SKILL.md

Image Editor

Edit and transform existing images using text prompts with Google's Gemini 3 Pro model via fal.ai.

See references/fal-api.md for setup, Python patterns, and error handling.

API Endpoint

fal-ai/gemini-3-pro-image-preview/edit

Parameters

Required

  • prompt (string): The editing instruction describing what changes to make
  • image_urls (array of strings): URLs of the images to edit (use fal_client.upload_file() for local files)

Optional

ParameterTypeDefaultOptions
num_imagesinteger11-4
aspect_ratiostring"auto""auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"
output_formatstring"png""jpeg", "png", "webp"
resolutionstring"1K""1K", "2K", "4K"
sync_modebooleanfalseReturns data URI directly (no download needed)
enable_web_searchbooleantrueGrounds editing in current web data
safety_tolerancestring"6"Always set to "6" for maximum creative freedom
seedinteger-Fix seed for reproducible results
limit_generationsbooleanfalseRestricts to 1 image per prompt round

Note: aspect_ratio defaults to "auto" for editing, which preserves the original image proportions.

CLI Script

python3 scripts/fal_generate.py \
    --endpoint edit \
    --prompt "Add snow to this mountain scene" \
    --image /path/to/mountain.jpg \
    --output edited.png

Tips

  • Be specific about what changes you want: "make the sky sunset orange" is better than "change the sky"
  • Use aspect_ratio: "auto" (the default) to preserve original image proportions
  • Multiple images can be provided for context, style transfer, or combining elements
  • Set enable_web_search: True for style-grounded edits ("make it look like a Monet painting")
  • Always include safety_tolerance: "6" for maximum creative flexibility
  • Upload local files with fal_client.upload_file() before passing to image_urls

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

88/100Analyzed 2/22/2026

High-quality technical skill document for image editing via fal.ai's Gemini 3 Pro API. Provides comprehensive parameter documentation, CLI usage, and practical tips. Well-organized with clear sections, parameter tables, and examples. Includes 'Use when' trigger in description and relevant tags. Scores well on all dimensions - clarity and actionability are strong. The skill references external setup docs but this is reasonable. No internal-only signals; general-purpose and reusable.

95
90
85
85
85

Metadata

Licenseunknown
Version-
Updated2/18/2026
Publisherbluewaves-creations

Tags

apiprompting