Class ControlReferenceImage

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ControlReferenceImage
All Implemented Interfaces:
ReferenceImage

public abstract class ControlReferenceImage extends JsonSerializable implements ReferenceImage
A control reference image.

The image of the control reference image is either a control image provided by the user, or a regular image which the backend will use to generate a control image of. In the case of the latter, the enable_control_image_computation field in the config should be set to True.

A control image is an image that represents a sketch image of areas for the model to fill in based on the prompt.

  • Constructor Details

    • ControlReferenceImage

      public ControlReferenceImage()
  • Method Details