Generate Image
generate_imageCreate images from text prompts using your logged-in Google AI Pro quota, with selectable aspect ratios and custom output paths.
Instructions
Generate an image using the logged-in Google AI Pro quota (Antigravity), by calling the image generation endpoint directly instead of running the agy agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Detailed description of the image to generate. | |
| output_path | No | Destination path (e.g. "./assets/logo.png"). Empty = generated_image.<ext> in cwd. | |
| aspect_ratio | No | Image aspect ratio. One of: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. | 1:1 |