generate_image
Need an image? Describe style, aspect ratio, and composition in a prompt to generate it with Google Gemini, optionally saving the output locally.
Instructions
Generate images using Google Gemini API. Control image style, aspect ratio, and composition through descriptive text in your prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate. Include style details (e.g., "photorealistic", "oil painting"), aspect ratio (e.g., "square image", "landscape"), and composition details directly in the prompt. | |
| filename | No | Base filename for saved image (without extension) | |
| save_to_file | No | Save generated image to local file | |
| show_full_response | No | Show full response including base64 data (default: false) |