Beta
Class for Imagen model APIs that execute on a server-side template.
This class should only be instantiated with getTemplateImagenModel.
Makes a single call to the model and returns an object containing a single ImagenGenerationResponse.
The ID of the server-side template to execute.
A key-value map of variables to populate the template with.
Internal
Optional
Additional options to use when making requests.
Class for Imagen model APIs that execute on a server-side template.
This class should only be instantiated with getTemplateImagenModel.