We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d2663 commit a90c93fCopy full SHA for a90c93f
packages/firebase_ai/firebase_ai/lib/src/imagen_api.dart
@@ -197,7 +197,7 @@ final class ImagenGenerationConfig {
197
if (numberOfImages != null) 'numberOfImages': numberOfImages,
198
if (aspectRatio != null) 'aspectRatio': aspectRatio!.toJson(),
199
if (addWatermark != null) 'addWatermark': addWatermark,
200
- if (imageFormat != null) 'outputOption': imageFormat!.toJson(),
+ if (imageFormat != null) 'outputOptions': imageFormat!.toJson(),
201
};
202
}
203
0 commit comments