generate Images
public GenerateImagesResponse generateImages(String model, String prompt, GenerateImagesConfig config)
Generates images given a GenAI model and a prompt.
Return
a com.google.genai.types.GenerateImagesResponse instance that contains the generated images.
Parameters
model
the name of the GenAI model to use for generating images
prompt
the prompt to generate images
config
a com.google.genai.types.GenerateImagesConfig instance that specifies the optional configurations