generate_image
Create custom images using Google Gemini AI from text descriptions, with options for aspect ratios, visual references, styles, and watermark overlays to produce tailored visual content.
Instructions
Create a new image using Google Gemini AI from a text description, optionally providing reference images to guide the result. Use the edit_image
tool when you need to modify an existing asset.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aspectRatio | No | Aspect ratio preset (square/landscape/portrait). | square |
description | Yes | Detailed description of the image to generate. For better social media results, include details about colors, style and composition. | |
images | No | Optional array of image file paths to use as visual context (absolute or relative). | |
outputPath | No | Path where to save the image (optional). If not specified, saves in current directory. Can be a folder or complete path with filename. | |
style | No | Additional style for the image (optional). Examples: "minimalist", "colorful", "professional", "artistic" | |
watermarkPath | No | Path to watermark image file to overlay in a corner (optional) | |
watermarkPosition | No | Optional watermark position when using `watermarkPath`. | bottom-right |
Input Schema (JSON Schema)
{
"properties": {
"aspectRatio": {
"default": "square",
"description": "Aspect ratio preset (square/landscape/portrait).",
"enum": [
"square",
"landscape",
"portrait"
],
"type": "string"
},
"description": {
"description": "Detailed description of the image to generate. For better social media results, include details about colors, style and composition.",
"type": "string"
},
"images": {
"description": "Optional array of image file paths to use as visual context (absolute or relative).",
"items": {
"type": "string"
},
"type": "array"
},
"outputPath": {
"description": "Path where to save the image (optional). If not specified, saves in current directory. Can be a folder or complete path with filename.",
"type": "string"
},
"style": {
"description": "Additional style for the image (optional). Examples: \"minimalist\", \"colorful\", \"professional\", \"artistic\"",
"type": "string"
},
"watermarkPath": {
"description": "Path to watermark image file to overlay in a corner (optional)",
"type": "string"
},
"watermarkPosition": {
"default": "bottom-right",
"description": "Optional watermark position when using `watermarkPath`.",
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
],
"type": "string"
}
},
"required": [
"description"
],
"type": "object"
}