text_to_image
Generate images from text descriptions with customizable aspect ratios and generation parameters using Gemini image models.
Instructions
Generate images from text using Gemini's Flash (Nano Banana) Image models.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| model | No | gemini-2.5-flash-image | |
| aspect_ratio | No | 1:1 | |
| temperature | No | Sampling temperature for image generation (default: 1.0) | |
| top_p | No | Nucleus sampling parameter for image generation (optional) |