gemini-image
Generate images from text descriptions, choose the aspect ratio and output resolution, and optionally save the result directly into your project.
Instructions
Generate images from text descriptions through the Antigravity CLI's image generation tool. Supports aspect ratio and output size selection, plus optional export directly into your project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Optional output resolution ('512', '1K', '2K' or '4K'). Omit to let Gemini pick. | |
| prompt | Yes | Detailed visual description of the image to create (subject, environment, lighting, artistic style, colors). | |
| outputPath | No | Optional path, relative to the project root, where the generated image should be copied (e.g., 'assets/hero.jpg'). A path escaping the project root is refused. | |
| aspectRatio | No | Aspect ratio of the generated image (default: '1:1'). | 1:1 |