Skip to content

Commit a90c93f

Browse files
authored
fix(firebaseai): Fix Imagen image format requests (#17478)
1 parent 96d2663 commit a90c93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase_ai/firebase_ai/lib/src/imagen_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ final class ImagenGenerationConfig {
197197
if (numberOfImages != null) 'numberOfImages': numberOfImages,
198198
if (aspectRatio != null) 'aspectRatio': aspectRatio!.toJson(),
199199
if (addWatermark != null) 'addWatermark': addWatermark,
200-
if (imageFormat != null) 'outputOption': imageFormat!.toJson(),
200+
if (imageFormat != null) 'outputOptions': imageFormat!.toJson(),
201201
};
202202
}
203203

0 commit comments

Comments
 (0)