@ai-sdk/google
Advanced tools
+6
-0
| # @ai-sdk/google | ||
| ## 2.0.56 | ||
| ### Patch Changes | ||
| - a1c0208: feat(provider/google): add support for new Google image model aspect ratios and sizes | ||
| ## 2.0.55 | ||
@@ -4,0 +10,0 @@ |
+2
-2
@@ -33,4 +33,4 @@ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils'; | ||
| imageConfig?: { | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | undefined; | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | "1:8" | "8:1" | "1:4" | "4:1" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | "512" | undefined; | ||
| } | undefined; | ||
@@ -37,0 +37,0 @@ retrievalConfig?: { |
+2
-2
@@ -33,4 +33,4 @@ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils'; | ||
| imageConfig?: { | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | undefined; | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | "1:8" | "8:1" | "1:4" | "4:1" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | "512" | undefined; | ||
| } | undefined; | ||
@@ -37,0 +37,0 @@ retrievalConfig?: { |
@@ -443,5 +443,9 @@ "use strict"; | ||
| "16:9", | ||
| "21:9" | ||
| "21:9", | ||
| "1:8", | ||
| "8:1", | ||
| "1:4", | ||
| "4:1" | ||
| ]).optional(), | ||
| imageSize: import_v42.z.enum(["1K", "2K", "4K"]).optional() | ||
| imageSize: import_v42.z.enum(["1K", "2K", "4K", "512"]).optional() | ||
| }).optional(), | ||
@@ -448,0 +452,0 @@ /** |
@@ -433,5 +433,9 @@ // src/google-generative-ai-language-model.ts | ||
| "16:9", | ||
| "21:9" | ||
| "21:9", | ||
| "1:8", | ||
| "8:1", | ||
| "1:4", | ||
| "4:1" | ||
| ]).optional(), | ||
| imageSize: z2.enum(["1K", "2K", "4K"]).optional() | ||
| imageSize: z2.enum(["1K", "2K", "4K", "512"]).optional() | ||
| }).optional(), | ||
@@ -438,0 +442,0 @@ /** |
+1
-1
| { | ||
| "name": "@ai-sdk/google", | ||
| "version": "2.0.55", | ||
| "version": "2.0.56", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
804435
0.13%7529
0.21%