generate_image
Generate an image from a text prompt using Google Gemini or Imagen models. Supports multiple models; retry with a different model if quota limit is reached.
Instructions
Generate an image from a text prompt using Google Gemini or Imagen. Provider: ai-studio. Default model: gemini-3.1-flash-image. Available models: gemini-3.1-flash-image, gemini-3-pro-image, gemini-2.5-flash-image. Tip: if you hit a 429 quota error, retry with a different model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use (optional, default: gemini-3.1-flash-image). Available: gemini-3.1-flash-image, gemini-3-pro-image, gemini-2.5-flash-image | |
| prompt | Yes | The text prompt for image generation |