editImage
Modify existing images using text prompts for precise edits. Adjust settings like width, height, and transparency, and save output in preferred formats. Ideal for custom image transformations.
Instructions
Edit or modify an existing image based on a text prompt. User-configured settings in MCP config will be used as defaults unless specifically overridden.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enhance | No | Whether to enhance the prompt using an LLM before generating (default: true) | |
fileName | No | Name of the file to save (without extension, default: generated from prompt) | |
format | No | Image format to save as (png, jpeg, jpg, webp - default: png) | |
height | No | Height of the generated image (default: 1024) | |
imageUrl | Yes | URL of the input image to edit | |
model | No | Model name to use for editing (default: user config or "gptimage"). Available: "gptimage", "kontext" | |
outputPath | No | Directory path where to save the image (default: user config or "./mcpollinations-output") | |
prompt | Yes | The text description of how to edit the image (e.g., "remove the cat and add a dog", "change background to mountains") | |
safe | No | Whether to apply content filtering (default: false) | |
seed | No | Seed for reproducible results (default: random) | |
transparent | No | Generate image with transparent background (gptimage model only, default: false) | |
width | No | Width of the generated image (default: 1024) |