transform_image_from_file
Modify existing images using text prompts with Google's Gemini model. Provide an image file path and descriptive prompt to transform images.
Instructions
Transform an existing image file based on the given text prompt using Google's Gemini model.
Args:
image_file_path: Path to the image file to be transformed
prompt: Text prompt describing the desired transformation or modifications
Returns:
Path to the transformed image file saved on the server
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": {
"image_file_path": "<image_file_path>",
"prompt": "<prompt>"
},
"name": "transform_image_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_file_path | Yes | ||
| prompt | Yes |