generate_image
Create images from text prompts using Google's Gemini 2.5 Flash Image technology. Generate photorealistic visuals with detailed scene descriptions and optional file saving.
Instructions
Generate an image from a text prompt using Gemini 2.5 Flash Image
Input Schema
Name | Required | Description | Default |
---|---|---|---|
prompt | Yes | Detailed scene description. Use photographic terms for photorealism. | |
saveToFilePath | No | Optional path to save the image (png/jpeg by extension) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"prompt": {
"description": "Detailed scene description. Use photographic terms for photorealism.",
"type": "string"
},
"saveToFilePath": {
"description": "Optional path to save the image (png/jpeg by extension)",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}