---
title: "Image Generation"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/gemini/image/imagegeneration
markdown: https://docs.nodetool.ai/nodes/gemini/image/imagegeneration.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/gemini/image/imagegeneration.md
---

# Image Generation

**Type:** `gemini.image.ImageGeneration`

**Namespace:** `gemini.image`

## Description

Generate an image using Google's Imagen model via the Gemini API.
    google, image generation, ai, imagen

    Use cases:
    - Create images from text descriptions
    - Generate assets for creative projects
    - Explore AI-powered image synthesis

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| prompt | `str` | The text prompt describing the image to generate. | `` |
| model | `enum` | The image generation model to use | `gemini-3.1-flash-image` |
| image | `image` | The image to use as a base for the generation. | `{"type":"image","uri":"","asset_id":null,"data"...` |
| aspect_ratio | `enum` | The aspect ratio of the generated image | `1:1` |
| resolution | `enum` | The output image resolution | `1K` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `image` |  |

## Related Nodes

Browse other nodes in the [gemini.image](./) namespace.
