generate_image
Create a new image from a text prompt using Google's Gemini multimodal APIs. Provide a detailed description of the image you want to generate.
Instructions
Generate a NEW image from text prompt. Use this ONLY when creating a completely new image, not when modifying an existing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text prompt describing the NEW image to create from scratch | |
| model | No | Optional model name to use for image generation (e.g., 'gemini-3.1-flash-image' or 'gemini-3-pro-image'). Defaults to the value of environment variable GEMINI_IMAGE_MODEL, or 'gemini-3.1-flash-image' if unset. |