transform_image_from_file
Modify an existing image by applying changes described in a text prompt using Gemini's AI model.
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 output_image_path: Optional path to save the transformed image. If not provided, uses default path.
Returns: Path to the transformed image file saved on the server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| image_file_path | Yes | ||
| output_image_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |