@imgly/plugin-ai-apps-web 0.2.6 → 0.2.7
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 +18 -0
- package/README.md +25 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +46 -46
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.2.7] - 2025-09-26
|
|
6
|
+
|
|
7
|
+
### New Features
|
|
8
|
+
|
|
9
|
+
- [image-generation] **QwenImageEdit Provider**: Added Qwen image editing provider via fal.ai for advanced image-to-image transformation with text prompts, supporting all standard quick actions
|
|
10
|
+
- [video-generation] **MinimaxHailuo02StandardImageToVideo Provider**: Added Minimax Hailuo-02 Standard image-to-video provider via fal.ai for transforming still images into videos with selectable resolutions (512P: 912×512, 768P: 1280×720) and adjustable durations (6 or 10 seconds)
|
|
11
|
+
- [video-generation] **ByteDance Seedance v1 Pro Providers**: Added ByteDance Seedance v1 Pro text-to-video and image-to-video providers via fal.ai with:
|
|
12
|
+
- Text-to-video generation from text descriptions with customizable aspect ratios
|
|
13
|
+
- Image-to-video transformation with dynamic motion generation from still images
|
|
14
|
+
- Multiple aspect ratio options (21:9, 16:9, 4:3, 1:1, 3:4, 9:16, or auto from image for i2v)
|
|
15
|
+
- Adjustable duration (3-12 seconds, default 5)
|
|
16
|
+
- Resolution options (480p, 720p, 1080p)
|
|
17
|
+
- Proper aspect ratio handling in placeholder blocks based on user selection
|
|
18
|
+
|
|
19
|
+
- [all] **Property Configuration System**: Providers can now define default values for their properties. Defaults can be static values or dynamic based on context (language, design state, etc.)
|
|
20
|
+
|
|
21
|
+
- [image-generation] **Recraft Provider Defaults**: Recraft providers (V3 and 20b) now support configurable default values for all properties, including dynamic style defaults based on the selected style type
|
|
22
|
+
|
|
5
23
|
## [0.2.6] - 2025-09-09
|
|
6
24
|
|
|
7
25
|
### New Features
|
package/README.md
CHANGED
|
@@ -180,6 +180,31 @@ cesdk.addPlugin(
|
|
|
180
180
|
);
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
+
### Property Configuration
|
|
184
|
+
|
|
185
|
+
Providers support configuring default values for their properties. These defaults can be static or dynamic based on context:
|
|
186
|
+
|
|
187
|
+
```typescript
|
|
188
|
+
cesdk.addPlugin(
|
|
189
|
+
AiApps({
|
|
190
|
+
providers: {
|
|
191
|
+
text2image: FalAiImage.RecraftV3({
|
|
192
|
+
proxyUrl: 'http://your-proxy-server.com/api/proxy',
|
|
193
|
+
properties: {
|
|
194
|
+
// Static default
|
|
195
|
+
image_size: 'square_hd',
|
|
196
|
+
|
|
197
|
+
// Dynamic default based on locale
|
|
198
|
+
style: (context) => {
|
|
199
|
+
return context.locale === 'ja' ? 'anime' : 'realistic';
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
})
|
|
203
|
+
}
|
|
204
|
+
})
|
|
205
|
+
);
|
|
206
|
+
```
|
|
207
|
+
|
|
183
208
|
## UI Integration
|
|
184
209
|
|
|
185
210
|
The plugin adds the following UI components to CreativeEditor SDK:
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { type PluginConfiguration } from './types';
|
|
2
2
|
declare const Plugin: (pluginConfiguration: PluginConfiguration) => {
|
|
3
|
-
initialize: (context: import("@cesdk/
|
|
4
|
-
cesdk?: import("@cesdk/cesdk-js").default;
|
|
5
|
-
}) => void;
|
|
3
|
+
initialize: (context: import("@cesdk/cesdk-js").EditorPluginContext) => void | Promise<void>;
|
|
6
4
|
name: string;
|
|
7
5
|
version: string;
|
|
8
6
|
};
|