image_editing
SKILL.md
Image Editing Skill
When to use this skill
Use this skill when the user provides an image (or refers to a previous image) and asks to modify it. Common intents include:
- "Make the background blue"
- "Remove the background"
- "Add a shadow"
- "Change the shoe to red"
- "Make it look cinematic"
Instructions
- Identify the image: Ensure you have the URL or ID of the image to be edited. If not provided, ask the user to upload or select one.
- Analyze the request: Determine the specific editing operation (mask-based edit, global style transfer, background removal).
- Construct the tool call:
- Call the
editImagetool. prompt: A clear description of the desired output (e.g., "a red shoe on a white background").image: The source image data or URL.mask_description: If editing a specific part, describe what to mask (e.g., "the shoe").
- Call the
Examples
Input
User: "Change the background to a sunny beach" (attached image of a bottle)
Execution
- Tool:
editImage - Arguments:
prompt: "bottle on a sunny beach"image: [Image Data]editType: "background-replacement"
Input
User: "Make it a sketch"
Execution
- Tool:
editImage - Arguments:
prompt: "sketch of the bottle"editType: "style-transfer"