ImagenEditingConfig

@PublicPreviewAPI
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

ImagenEditingConfig(editMode: ImagenEditMode?, editSteps: Int?)

Public constructors

ImagenEditingConfig

ImagenEditingConfig(editMode: ImagenEditMode? = null, editSteps: Int? = null)
Parameters
editMode: ImagenEditMode? = null

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

editSteps: Int? = null

the number of intermediate steps to include in the editing process