@imgly/plugin-ai-video-generation-web 0.2.15 → 0.2.17

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/CHANGELOG.md CHANGED
@@ -2,6 +2,35 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.2.17] - 2026-01-26
6
+
7
+ ### Fixed
8
+
9
+ - [image-generation] **Runware NanoBanana2Pro Dimensions**: Fixed API errors when using non-square aspect ratios (16:9, 9:16, 4:3, 3:4) with Nano Banana 2 Pro provider. The model requires specific dimension combinations (e.g., 1376×768 for 16:9) that differ from the generic aspect ratio map.
10
+ - [image-generation] **Runware Seedream 4.0 Dimensions**: Fixed API errors when using non-square aspect ratios with Seedream 4.0 provider. At 1K resolution, only 1:1 is supported; now using 2K dimensions for all aspect ratios to ensure compatibility.
11
+
12
+ ### Improvements
13
+
14
+ - [image-generation] **Runware Async Delivery**: Switched from synchronous requests to async delivery with polling to avoid timeouts on slower image generation models.
15
+ - [image-generation] **Runware NanoBanana2Pro I2I**: Added `resolution: '2k'` parameter to image-to-image generation for automatic aspect ratio detection from reference images.
16
+
17
+ ## [0.2.16] - 2026-01-16
18
+
19
+ ### New Features
20
+
21
+ - [all] **Translatable Action Labels**: AI plugin action labels now support full i18n through `labelKey` property, enabling dynamic translation resolution based on the current locale.
22
+ - [generation-web] **setDefaultTranslations Utility**: Added `setDefaultTranslations()` function that only sets translation keys that don't already exist, allowing integrators to customize translations before plugins load without being overwritten.
23
+ - [all] **External Translation Files**: Plugin translations are now loaded from external `translations.json` files, making it easier to review and customize available translation keys.
24
+
25
+ ### Improvements
26
+
27
+ - [all] **Translation Override Pattern**: All AI plugins now use `setDefaultTranslations()` instead of `setTranslations()`, ensuring integrator-provided translations take priority over plugin defaults.
28
+ - [apps-web] **Dynamic Card Labels**: AI Apps panel now resolves card labels dynamically using `labelKey` from action metadata, enabling proper i18n for app cards.
29
+
30
+ ### Documentation
31
+
32
+ - [all] Added comprehensive i18n documentation to README files explaining how to customize translations before plugin initialization.
33
+
5
34
  ## [0.2.15] - 2026-01-12
6
35
 
7
36
  ### New Features
package/README.md CHANGED
@@ -1255,9 +1255,27 @@ currentOrder.splice(2, 0, 'ly.img.ai.video-generation.dock');
1255
1255
  cesdk.ui.setDockOrder(currentOrder);
1256
1256
  ```
1257
1257
 
1258
- ## Translations
1258
+ ## Internationalization (i18n)
1259
1259
 
1260
- For customization and localization, see the [translations.json](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-video-generation-web/translations.json) file which contains provider-specific translation keys for video generation interfaces.
1260
+ The Video Generation plugin supports full internationalization. To customize translations, set them **before** adding the plugin:
1261
+
1262
+ ```typescript
1263
+ cesdk.i18n.setTranslations({
1264
+ en: {
1265
+ '@imgly/plugin-ai-video-generation-web.action.label': 'Create Video'
1266
+ },
1267
+ de: {
1268
+ '@imgly/plugin-ai-video-generation-web.action.label': 'Video erstellen'
1269
+ }
1270
+ });
1271
+
1272
+ // Then add the plugins - they won't override your custom translations
1273
+ await cesdk.addPlugin(AiApps({ providers: { /* ... */ } }));
1274
+ ```
1275
+
1276
+ For detailed documentation on the translation system, see the [Internationalization section](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-generation-web#internationalization-i18n) in the core AI generation package.
1277
+
1278
+ For all available translation keys, see the [translations.json](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-video-generation-web/translations.json) file.
1261
1279
 
1262
1280
  ## Related Packages
1263
1281