@imgly/plugin-ai-image-generation-web 0.2.5 → 0.2.6

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,12 +2,22 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.2.6] - 2025-09-09
6
+
7
+ ### New Features
8
+
9
+ - [all] **Feature API Integration**: Added comprehensive Feature API support across all AI plugins to control visibility and availability of features through feature flags. Core features include `providerSelect`, `quickAction`, `quickAction.providerSelect`, `fromText`, and `fromImage` flags.
10
+ - [all] **Quick Action Feature Flags**: Each quick action now automatically registers and respects its own feature flag (e.g., `ly.img.plugin-ai-image-generation-web.quickAction.editImage`), allowing fine-grained control over which quick actions are available to users.
11
+ - [image-generation] **Provider Style Group Control**: Added Feature API support for Recraft providers to control style group visibility. RecraftV3 supports `style.image` and `style.vector` flags, while Recraft20b adds `style.icon` flag for controlling icon style availability.
12
+ - [all] **Provider Selection Feature Flags**: Added support for controlling provider selection UI in both panels (`providerSelect`) and quick actions (`quickAction.providerSelect`), with proper handling when multiple providers are configured.
13
+
5
14
  ## [0.2.5] - 2025-09-03
6
15
 
7
16
  ### New Features
8
17
 
9
18
  - [image-generation] **NanoBanana Provider**: Added NanoBanana text-to-image provider via fal.ai with fast generation times, 1024×1024 resolution, support for multiple output formats (JPEG, PNG), configurable number of images (1-4), and remixPageWithPrompt quick action
10
19
  - [image-generation] **NanoBananaEdit Provider**: Added NanoBananaEdit image-to-image provider via fal.ai for editing existing images with text prompts, supporting all standard quick actions (editImage, swapBackground, styleTransfer, artistTransfer, createVariant, combineImages with up to 10 images, remixPage, remixPageWithPrompt)
20
+ - [all] **AI Style Asset Library Translations**: AI style presets in asset libraries now automatically use localized names and descriptions from provider translation files, eliminating the need for manual translation configuration
11
21
 
12
22
  ### Bug Fixes
13
23
 
package/README.md CHANGED
@@ -187,6 +187,17 @@ Key features:
187
187
  - Adjustable quality settings
188
188
  - Custom headers support for API requests
189
189
 
190
+ **Style Group Control:**
191
+ You can control which style groups (image/vector) are available using the Feature API:
192
+
193
+ ```typescript
194
+ // Disable vector styles, only allow image styles
195
+ cesdk.feature.enable('ly.img.plugin-ai-image-generation-web.fal-ai/recraft-v3.style.vector', false);
196
+
197
+ // Or disable image styles, only allow vector styles
198
+ cesdk.feature.enable('ly.img.plugin-ai-image-generation-web.fal-ai/recraft-v3.style.image', false);
199
+ ```
200
+
190
201
  **Custom Translations:**
191
202
  ```typescript
192
203
  cesdk.i18n.setTranslations({
@@ -221,6 +232,20 @@ Key features:
221
232
  - Same image size presets and custom dimensions support
222
233
  - Cost-effective alternative to RecraftV3
223
234
 
235
+ **Style Group Control:**
236
+ You can control which style groups (image/vector/icon) are available using the Feature API:
237
+
238
+ ```typescript
239
+ // Only allow icon styles
240
+ cesdk.feature.enable('ly.img.plugin-ai-image-generation-web.fal-ai/recraft/v2/text-to-image.style.image', false);
241
+ cesdk.feature.enable('ly.img.plugin-ai-image-generation-web.fal-ai/recraft/v2/text-to-image.style.vector', false);
242
+
243
+ // Only allow image and vector styles (disable icon)
244
+ cesdk.feature.enable('ly.img.plugin-ai-image-generation-web.fal-ai/recraft/v2/text-to-image.style.icon', false);
245
+ ```
246
+
247
+ Note: When all style groups are disabled, the provider automatically falls back to the 'any' style.
248
+
224
249
  **Custom Translations:**
225
250
  ```typescript
226
251
  cesdk.i18n.setTranslations({
@@ -0,0 +1 @@
1
+ export {};