@imgly/plugin-ai-video-generation-web 0.2.9 → 0.2.11

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.
@@ -0,0 +1,21 @@
1
+ import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
2
+ import CreativeEditorSDK from '@cesdk/cesdk-js';
3
+ interface Veo31FastFirstLastFrameToVideoInput {
4
+ prompt: string;
5
+ first_frame_url: string;
6
+ last_frame_url: string;
7
+ aspect_ratio?: 'auto' | '9:16' | '16:9' | '1:1';
8
+ resolution?: '720p' | '1080p';
9
+ duration?: '8s';
10
+ generate_audio?: boolean;
11
+ }
12
+ interface ProviderConfiguration extends CommonProviderConfiguration<Veo31FastFirstLastFrameToVideoInput, VideoOutput> {
13
+ }
14
+ export declare function Veo31FastFirstLastFrameToVideo(config: ProviderConfiguration): (context: {
15
+ cesdk: CreativeEditorSDK;
16
+ }) => Promise<Provider<'video', Veo31FastFirstLastFrameToVideoInput, VideoOutput>>;
17
+ declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', Veo31FastFirstLastFrameToVideoInput, {
18
+ kind: 'video';
19
+ url: string;
20
+ }>;
21
+ export default getProvider;
@@ -0,0 +1,24 @@
1
+ import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
2
+ import CreativeEditorSDK from '@cesdk/cesdk-js';
3
+ type Veo31FastImageToVideoInput = {
4
+ prompt: string;
5
+ image_url: string;
6
+ aspect_ratio?: '9:16' | '16:9' | '1:1';
7
+ resolution?: '720p' | '1080p';
8
+ duration?: '8s';
9
+ generate_audio?: boolean;
10
+ negative_prompt?: string;
11
+ enhance_prompt?: boolean;
12
+ seed?: number;
13
+ auto_fix?: boolean;
14
+ };
15
+ interface ProviderConfiguration extends CommonProviderConfiguration<Veo31FastImageToVideoInput, VideoOutput> {
16
+ }
17
+ export declare function Veo31FastImageToVideo(config: ProviderConfiguration): (context: {
18
+ cesdk: CreativeEditorSDK;
19
+ }) => Promise<Provider<'video', Veo31FastImageToVideoInput, VideoOutput>>;
20
+ declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', Veo31FastImageToVideoInput, {
21
+ kind: 'video';
22
+ url: string;
23
+ }>;
24
+ export default getProvider;
@@ -0,0 +1,23 @@
1
+ import { CommonProviderConfiguration, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
2
+ import CreativeEditorSDK from '@cesdk/cesdk-js';
3
+ interface ProviderConfiguration extends CommonProviderConfiguration<Veo31FastTextToVideoInput, VideoOutput> {
4
+ }
5
+ type Veo31FastTextToVideoInput = {
6
+ prompt: string;
7
+ aspect_ratio?: '16:9' | '9:16' | '1:1';
8
+ duration?: '4s' | '6s' | '8s';
9
+ resolution?: '720p' | '1080p';
10
+ generate_audio?: boolean;
11
+ negative_prompt?: string;
12
+ enhance_prompt?: boolean;
13
+ seed?: number;
14
+ auto_fix?: boolean;
15
+ };
16
+ export declare function Veo31FastTextToVideo(config: ProviderConfiguration): (context: {
17
+ cesdk: CreativeEditorSDK;
18
+ }) => Promise<Provider<'video', Veo31FastTextToVideoInput, VideoOutput>>;
19
+ declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', Veo31FastTextToVideoInput, {
20
+ kind: 'video';
21
+ url: string;
22
+ }>;
23
+ export default getProvider;
@@ -0,0 +1,21 @@
1
+ import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
2
+ import CreativeEditorSDK from '@cesdk/cesdk-js';
3
+ interface Veo31FirstLastFrameToVideoInput {
4
+ prompt: string;
5
+ first_frame_url: string;
6
+ last_frame_url: string;
7
+ aspect_ratio?: 'auto' | '9:16' | '16:9' | '1:1';
8
+ resolution?: '720p' | '1080p';
9
+ duration?: '8s' | '16s';
10
+ generate_audio?: boolean;
11
+ }
12
+ interface ProviderConfiguration extends CommonProviderConfiguration<Veo31FirstLastFrameToVideoInput, VideoOutput> {
13
+ }
14
+ export declare function Veo31FirstLastFrameToVideo(config: ProviderConfiguration): (context: {
15
+ cesdk: CreativeEditorSDK;
16
+ }) => Promise<Provider<'video', Veo31FirstLastFrameToVideoInput, VideoOutput>>;
17
+ declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', Veo31FirstLastFrameToVideoInput, {
18
+ kind: 'video';
19
+ url: string;
20
+ }>;
21
+ export default getProvider;
@@ -0,0 +1,20 @@
1
+ import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
2
+ import CreativeEditorSDK from '@cesdk/cesdk-js';
3
+ type Veo31ImageToVideoInput = {
4
+ prompt: string;
5
+ image_url: string;
6
+ aspect_ratio?: '9:16' | '16:9' | '1:1';
7
+ resolution?: '720p' | '1080p';
8
+ duration?: '8s';
9
+ generate_audio?: boolean;
10
+ };
11
+ interface ProviderConfiguration extends CommonProviderConfiguration<Veo31ImageToVideoInput, VideoOutput> {
12
+ }
13
+ export declare function Veo31ImageToVideo(config: ProviderConfiguration): (context: {
14
+ cesdk: CreativeEditorSDK;
15
+ }) => Promise<Provider<'video', Veo31ImageToVideoInput, VideoOutput>>;
16
+ declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', Veo31ImageToVideoInput, {
17
+ kind: 'video';
18
+ url: string;
19
+ }>;
20
+ export default getProvider;
@@ -0,0 +1,23 @@
1
+ import { CommonProviderConfiguration, VideoOutput, type Provider } from '@imgly/plugin-ai-generation-web';
2
+ import CreativeEditorSDK from '@cesdk/cesdk-js';
3
+ interface ProviderConfiguration extends CommonProviderConfiguration<Veo31TextToVideoInput, VideoOutput> {
4
+ }
5
+ type Veo31TextToVideoInput = {
6
+ prompt: string;
7
+ aspect_ratio?: '16:9' | '9:16' | '1:1';
8
+ duration?: '4s' | '6s' | '8s';
9
+ resolution?: '720p' | '1080p';
10
+ generate_audio?: boolean;
11
+ negative_prompt?: string;
12
+ enhance_prompt?: boolean;
13
+ seed?: number;
14
+ auto_fix?: boolean;
15
+ };
16
+ export declare function Veo31TextToVideo(config: ProviderConfiguration): (context: {
17
+ cesdk: CreativeEditorSDK;
18
+ }) => Promise<Provider<'video', Veo31TextToVideoInput, VideoOutput>>;
19
+ declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', Veo31TextToVideoInput, {
20
+ kind: 'video';
21
+ url: string;
22
+ }>;
23
+ export default getProvider;
@@ -5,8 +5,14 @@ import { KlingVideoV21MasterImageToVideo } from './KlingVideoV21MasterImageToVid
5
5
  import { PixverseV35TextToVideo } from './PixverseV35TextToVideo';
6
6
  import { KlingVideoV21MasterTextToVideo } from './KlingVideoV21MasterTextToVideo';
7
7
  import { Veo3TextToVideo } from './Veo3TextToVideo';
8
+ import { Veo31TextToVideo } from './Veo31TextToVideo';
9
+ import { Veo31FastTextToVideo } from './Veo31FastTextToVideo';
8
10
  import { ByteDanceSeedanceV1ProImageToVideo } from './ByteDanceSeedanceV1ProImageToVideo';
9
11
  import { ByteDanceSeedanceV1ProTextToVideo } from './ByteDanceSeedanceV1ProTextToVideo';
12
+ import { Veo31FastFirstLastFrameToVideo } from './Veo31FastFirstLastFrameToVideo';
13
+ import { Veo31FirstLastFrameToVideo } from './Veo31FirstLastFrameToVideo';
14
+ import { Veo31ImageToVideo } from './Veo31ImageToVideo';
15
+ import { Veo31FastImageToVideo } from './Veo31FastImageToVideo';
10
16
  declare const FalAi: {
11
17
  MinimaxVideo01Live: typeof MinimaxVideo01Live;
12
18
  MinimaxVideo01LiveImageToVideo: typeof MinimaxVideo01LiveImageToVideo;
@@ -15,7 +21,13 @@ declare const FalAi: {
15
21
  PixverseV35TextToVideo: typeof PixverseV35TextToVideo;
16
22
  KlingVideoV21MasterTextToVideo: typeof KlingVideoV21MasterTextToVideo;
17
23
  Veo3TextToVideo: typeof Veo3TextToVideo;
24
+ Veo31TextToVideo: typeof Veo31TextToVideo;
25
+ Veo31FastTextToVideo: typeof Veo31FastTextToVideo;
18
26
  ByteDanceSeedanceV1ProImageToVideo: typeof ByteDanceSeedanceV1ProImageToVideo;
19
27
  ByteDanceSeedanceV1ProTextToVideo: typeof ByteDanceSeedanceV1ProTextToVideo;
28
+ Veo31FastFirstLastFrameToVideo: typeof Veo31FastFirstLastFrameToVideo;
29
+ Veo31FirstLastFrameToVideo: typeof Veo31FirstLastFrameToVideo;
30
+ Veo31ImageToVideo: typeof Veo31ImageToVideo;
31
+ Veo31FastImageToVideo: typeof Veo31FastImageToVideo;
20
32
  };
21
33
  export default FalAi;