> [!CAUTION]
> **Caution:** The following table describes image generation endpoints that are deprecated and their replacements. We recommend updating your model endpoints before June 30, 2026, to avoid service disruption.
>
> | Discontinued endpoints | Recommended endpoint migration |
> |---|---|
> | `imagegeneration@002` | `gemini-2.5-flash-image` |
> | `imagegeneration@003` | `gemini-2.5-flash-image` |
> | `imagegeneration@004` | `gemini-2.5-flash-image` |
> | `imagegeneration@005` | `gemini-2.5-flash-image` |
> | `imagegeneration@006` | `gemini-2.5-flash-image` |
> | `imagetext@001` | `gemini-2.5-flash-image` |
> | `imagen-3.0-capability-001` | `gemini-2.5-flash-image` |
> | `imagen-3.0-capability-002` | `gemini-2.5-flash-image` |
> | `imagen-3.0-fast-generate-001` | `gemini-2.5-flash-image` |
> | `imagen-3.0-generate-001` | `gemini-2.5-flash-image` |
> | `imagen-3.0-generate-002` | `gemini-2.5-flash-image` |
> | `imagen-4.0-fast-generate-001` | `gemini-2.5-flash-image` |
> | `imagen-4.0-generate-001` | `gemini-2.5-flash-image` |
> | `imagen-4.0-ultra-generate-001` | `gemini-2.5-flash-image` |
>
<br />

Imagen on Vertex AI lets you edit Imagen-generated or existing
images. You can specify part of the image to modify in addition to a text
description of the updates (mask-base editing).

Advanced multi-turn editing is a key strength of Gemini models. For
more information, see [Edit images with
Gemini](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/gemini-edit-images).

## Types of available editing tools

Imagen supports mask-based editing. Mask-based editing lets you
specify a targeted area to apply edits to. This method of editing is good for
edits that apply to only parts of an image. Mask-based editing is useful for the
following types of image edits:

- [Insert objects into an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-insert-objects.md.txt)
- [Remove objects from an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-remove-objects.md.txt)
- [Expand the content of an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-outpainting.md.txt)
- [Replace the background of an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-product-image)

## Locations

A location is a [region](https://docs.cloud.google.com/about/locations) you can specify in a request to
control where data is stored at rest. For a list of available regions, see [Generative AI on Vertex AI locations](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/learn/locations-genai).

## Safety filtering

Both input data and output content are checked for offensive material when you
send an image editing request to Imagen. This means offensive
input data from a text prompt or from a base image you provide can be blocked. Similarly, offensive output images might also be blocked, affecting the number of generated images you get in a response.

For more information about safety filtering and blocked content handling, see
[Responsible AI and usage guidelines for
Imagen](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/responsible-ai-imagen#safety-filters).

## Model versions

There are multiple image generation models that you can use. Each model may have
limits that are specific to that model. For more
information, see [Imagen
models](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models#imagen-models).

## What's next

- [Insert objects into an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-insert-objects.md.txt)
- [Remove objects from an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-remove-objects.md.txt)
- [Expand the content of an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-outpainting.md.txt)
- [Edit product images](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/image/edit-product-image)