@umituz/react-native-ai-generation-content 1.83.45 → 1.83.46

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.83.45",
3
+ "version": "1.83.46",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -75,11 +75,8 @@ export async function executeImageGeneration(
75
75
  enable_safety_checker: MODEL_INPUT_DEFAULTS.enableSafetyChecker,
76
76
  };
77
77
 
78
- // Single image: use image_url (singular) for edit-style models (e.g. xai/grok-imagine-image/edit)
79
- // Multiple images: use image_urls (array) for multi-reference models
80
- if (imageUrls.length === 1) {
81
- modelInput.image_url = imageUrls[0];
82
- } else if (imageUrls.length > 1) {
78
+ // nano-banana/edit uses image_urls (array) for both single and multi-image
79
+ if (imageUrls.length > 0) {
83
80
  modelInput.image_urls = imageUrls;
84
81
  }
85
82