imagenModel method
ImagenModel
imagenModel({
- required String model,
- ImagenGenerationConfig? generationConfig,
- ImagenSafetySettings? safetySettings,
Create a ImagenModel.
The optional safetySettings can be used to control and guide the
generation. See ImagenSafetySettings for details.
Implementation
ImagenModel imagenModel(
{required String model,
ImagenGenerationConfig? generationConfig,
ImagenSafetySettings? safetySettings}) {
return createImagenModel(
app: app,
location: location,
model: model,
useVertexBackend: _useVertexBackend,
generationConfig: generationConfig,
safetySettings: safetySettings,
appCheck: appCheck,
auth: auth,
useLimitedUseAppCheckTokens: useLimitedUseAppCheckTokens);
}