@umituz/react-native-ai-gemini-provider 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Available Gemini models
|
|
8
|
+
* Updated: 2025-12 with latest stable and preview models
|
|
8
9
|
*/
|
|
9
10
|
export const GEMINI_MODELS = {
|
|
10
11
|
// Text generation models
|
|
11
12
|
TEXT: {
|
|
12
|
-
FLASH: "gemini-2.
|
|
13
|
-
FLASH_LITE: "gemini-2.
|
|
14
|
-
PRO: "gemini-
|
|
13
|
+
FLASH: "gemini-2.5-flash",
|
|
14
|
+
FLASH_LITE: "gemini-2.5-flash-lite",
|
|
15
|
+
PRO: "gemini-2.5-pro",
|
|
15
16
|
},
|
|
16
17
|
|
|
17
18
|
// Text-to-Image models (Imagen 4.0) - generates images from text only
|
|
@@ -19,14 +20,17 @@ export const GEMINI_MODELS = {
|
|
|
19
20
|
DEFAULT: "imagen-4.0-generate-001",
|
|
20
21
|
},
|
|
21
22
|
|
|
22
|
-
// Image editing models
|
|
23
|
+
// Image editing models - transforms/edits images with input image + prompt
|
|
24
|
+
// gemini-3-pro-image-preview is the highest quality for identity preservation
|
|
23
25
|
IMAGE_EDIT: {
|
|
24
|
-
DEFAULT: "gemini-
|
|
26
|
+
DEFAULT: "gemini-3-pro-image-preview",
|
|
27
|
+
FAST: "gemini-2.5-flash-image",
|
|
28
|
+
LEGACY: "gemini-2.0-flash-preview-image-generation",
|
|
25
29
|
},
|
|
26
30
|
|
|
27
31
|
// Video understanding models
|
|
28
32
|
VIDEO: {
|
|
29
|
-
FLASH: "gemini-2.
|
|
33
|
+
FLASH: "gemini-2.5-flash",
|
|
30
34
|
},
|
|
31
35
|
} as const;
|
|
32
36
|
|
|
@@ -50,3 +54,5 @@ export const RESPONSE_MODALITIES = {
|
|
|
50
54
|
} as const;
|
|
51
55
|
|
|
52
56
|
export type ResponseModality = "TEXT" | "IMAGE";
|
|
57
|
+
|
|
58
|
+
|