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

  1. 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.
  2. Analyze the request: Determine the specific editing operation (mask-based edit, global style transfer, background removal).
  3. Construct the tool call:
    • Call the editImage tool.
    • 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").

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"
Weekly Installs
0
First Seen
Jan 1, 1970