@imgly/plugin-ai-video-generation-web 0.1.7 → 0.1.9

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
@@ -1,6 +1,15 @@
1
- # Changelog
1
+ # Changelog - AI Plugins
2
2
 
3
- ## [0.1.0-rc.1] - 2025-03-20
3
+ ## [Unreleased]
4
4
 
5
- ### Added
6
- - Initial release
5
+ ## [0.1.9] - 2025-06-05
6
+
7
+ - [all] Add support for custom headers
8
+
9
+ ## [0.1.8] - 2025-05-26
10
+
11
+ - [ai-apps] Handle `sceneMode` change in upcoming CE.SDK version 1.52.0
12
+
13
+ ## [0.1.0] - 2025-04-17
14
+
15
+ - [all] Initial release
@@ -1,11 +1,8 @@
1
1
  import { type MinimaxVideo01LiveInput } from '@fal-ai/client/endpoints';
2
- import { Middleware, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
2
+ import { CommonProviderConfiguration, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
3
3
  import CreativeEditorSDK from '@cesdk/cesdk-js';
4
- type ProviderConfiguration = {
5
- proxyUrl: string;
6
- debug?: boolean;
7
- middleware?: Middleware<MinimaxVideo01LiveInput, VideoOutput>[];
8
- };
4
+ interface ProviderConfiguration extends CommonProviderConfiguration<MinimaxVideo01LiveInput, VideoOutput> {
5
+ }
9
6
  export declare function MinimaxVideo01Live(config: ProviderConfiguration): (context: {
10
7
  cesdk: CreativeEditorSDK;
11
8
  }) => Promise<Provider<'video', MinimaxVideo01LiveInput, VideoOutput>>;
@@ -1,11 +1,8 @@
1
1
  import { type MinimaxVideo01LiveImageToVideoInput } from '@fal-ai/client/endpoints';
2
- import { Middleware, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
2
+ import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
3
3
  import CreativeEditorSDK from '@cesdk/cesdk-js';
4
- type ProviderConfiguration = {
5
- proxyUrl: string;
6
- debug?: boolean;
7
- middleware?: Middleware<MinimaxVideo01LiveImageToVideoInput, VideoOutput>[];
8
- };
4
+ interface ProviderConfiguration extends CommonProviderConfiguration<MinimaxVideo01LiveImageToVideoInput, VideoOutput> {
5
+ }
9
6
  export declare function MinimaxVideo01LiveImageToVideo(config: ProviderConfiguration): (context: {
10
7
  cesdk: CreativeEditorSDK;
11
8
  }) => Promise<Provider<'video', MinimaxVideo01LiveImageToVideoInput, VideoOutput>>;
@@ -1,10 +1,7 @@
1
- import { Middleware, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
1
+ import { CommonProviderConfiguration, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
2
2
  import CreativeEditorSDK from '@cesdk/cesdk-js';
3
- type ProviderConfiguration = {
4
- proxyUrl: string;
5
- debug?: boolean;
6
- middleware?: Middleware<PixverseV35TextToVideoInput, VideoOutput>[];
7
- };
3
+ interface ProviderConfiguration extends CommonProviderConfiguration<PixverseV35TextToVideoInput, VideoOutput> {
4
+ }
8
5
  type PixverseV35TextToVideoInput = {
9
6
  prompt: string;
10
7
  aspect_ratio?: '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
@@ -22,6 +22,7 @@ declare function createVideoProvider<I extends Record<string, any>>(options: {
22
22
  getBlockInput: GetBlockInput<'video', I>;
23
23
  quickActions?: QuickAction<I, VideoOutput>[];
24
24
  middleware?: Middleware<I, VideoOutput>[];
25
+ headers?: Record<string, string>;
25
26
  cesdk?: CreativeEditorSDK;
26
27
  }, config: VideoProviderConfiguration): Provider<'video', I, {
27
28
  kind: 'video';