generate_image_from_image
Transform or edit an existing image by specifying its path and a prompt. Returns the file path of the generated image.
Instructions
Transform or edit an existing image using Gemini 2.5 Flash. Returns only the file path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_image_path": "<input_image_path>",
"prompt": "<prompt>"
},
"name": "generate_image_from_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Instruction for how to transform or edit the image | |
| input_image_path | Yes | Path to the input image file (supports ~/ expansion) |