ImagenEditingConfig

@PublicPreviewAPI
public final class ImagenEditingConfig


Contains the editing settings which are not specific to a reference image

Deprecation Notice: All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the 'Nano Banana' models)

Summary

Public constructors

Public constructors

ImagenEditingConfig

public ImagenEditingConfig(ImagenEditMode editMode, Integer editSteps)
Parameters
ImagenEditMode editMode

holds the editing mode if the request is for inpainting or outpainting

Integer editSteps

the number of intermediate steps to include in the editing process