transform_image_from_file
Modify existing images using text prompts with Google's Gemini model. Input an image file and a descriptive prompt to generate and save a transformed version locally.
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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image_file_path | Yes | ||
prompt | Yes |
Input Schema (JSON Schema)
{
"properties": {
"image_file_path": {
"title": "Image File Path",
"type": "string"
},
"prompt": {
"title": "Prompt",
"type": "string"
}
},
"required": [
"image_file_path",
"prompt"
],
"title": "transform_image_from_fileArguments",
"type": "object"
}