> ## Documentation Index
> Fetch the complete documentation index at: https://help.withwoz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Imagen

> Learn how to generate high-quality images from text in your app.

## Introduction

Learn how to generate high-quality images from text in your app.

Imagen uses Google's image generation models via the Gemini API to create detailed, high-quality visuals from text descriptions. It supports aspect ratio control, upscaling, and photorealistic outputs without requiring Vertex AI.

This is ideal for building high-quality image generation tools and product visualization experiences.

***

## What You Can Build

With Imagen, your app can support:

* **High-Quality Text-to-Image Generation** – Generate detailed and realistic images from prompts.
* **Photorealistic Visuals** – Create images suitable for product showcases and marketing.
* **Product Visualization Tools** – Help users visualize ideas, designs, or products.
* **Image Upscaling** – Enhance resolution and quality of generated images.
* **Flexible Aspect Ratios** – Generate images tailored for different formats and platforms.

***

## How It Works

When Imagen is enabled, your app sends text prompts to Google's Imagen model through the Gemini API.

Your app can:

* accept user descriptions
* generate high-resolution images
* control aspect ratios (e.g., square, portrait, landscape)
* upscale images for better quality
* display or export generated visuals

This allows users to create polished, production-ready images directly from text input.

***

## Example Prompts

You can use prompts like these to implement features:

**Add high-quality image generation**

Add high-quality image generation to my app using Google Imagen where users describe what they want to create.

**Add product visualization**

Add AI-powered product visualization to my app that generates photorealistic images from text descriptions using Imagen.

***

## Common Use Cases

Imagen is commonly used for:

* product and e-commerce visuals
* marketing and advertising assets
* design and prototyping tools
* content creation platforms
* visual storytelling apps

***

## Best Practices

To get the best results:

* use detailed and specific prompts
* define aspect ratios based on use case
* leverage upscaling for higher quality outputs
* guide users with prompt examples
* allow regeneration and refinement
