Edit images using Gemini's imagen-3.0 editor (inpainting/outpainting).
/plugin marketplace add b-open-io/gemskills/plugin install gemskills@b-open-ioThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/edit.tsEdit images using Gemini's imagen-3.0 editor (inpainting/outpainting).
Use this skill when the user asks to:
bun run scripts/edit.ts <input-image> "edit prompt" [options]
--mask <path> - Mask image (white = edit area, black = keep)--mode <inpaint|outpaint> - Edit mode--format <png|jpeg|webp> - Output format--quality <n> - JPEG quality (1-100)--negative <prompt> - Negative prompt--count <n> - Number of variations--guidance <n> - Guidance scale--seed <n> - Random seed--output <path> - Output path# Inpaint with mask
bun run scripts/edit.ts photo.jpg "add a sunset sky" --mask sky_mask.png --mode inpaint
# Outpaint to extend image
bun run scripts/edit.ts photo.jpg "extend the landscape" --mode outpaint
# Replace object with multiple variations
bun run scripts/edit.ts scene.jpg "replace the car with a bicycle" --mask car_mask.png --count 3
Uses imagen-3.0-generate-001 with editing configuration.