generate_image
Generate diagrams, charts, or visualizations from natural language descriptions. Auto-detects diagram type and asks clarifying questions when needed.
Instructions
Generate a diagram, chart, or visualization using Gemini. Intelligently detects type from prompt and asks clarifying questions when uncertain. Supports: chart, comparison, flow, architecture, timeline, hierarchy, matrix, hero, visualization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image resolution (1K, 2K, or 4K) | 2K |
| type | No | Type of image to generate (auto-detected if not specified) | auto |
| style | No | Style mode. 'professional' enforces clean SaaS aesthetic (white bg, standard palette). 'creative' removes aesthetic constraints so the prompt drives the look (vintage, retro, dark, artistic, etc.) | professional |
| output | No | Output filename (auto-generated if not provided). In server mode, this is treated as a filename only. | |
| prompt | Yes | Natural language description of the image to generate | |
| watermark | No | Watermark text rendered in the bottom-right corner of the image. Defaults to "arunsanna.com". | |
| aspect_ratio | No | Image aspect ratio (auto-selected based on type if not specified) | |
| user_approval | No | Set true when the requester explicitly approves using the supplied architecture information for diagram generation. This does not permit secrets or bypass provider safety filters. |