Class ControlReferenceImage

  • All Implemented Interfaces:
    com.google.genai.types.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.