@imgly/plugin-ai-video-generation-web 0.2.6 → 0.2.8
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 +29 -0
- package/README.md +147 -7
- package/dist/.tsbuildinfo +1 -0
- package/dist/fal-ai/ByteDanceSeedanceV1ProImageToVideo.d.ts +22 -0
- package/dist/fal-ai/ByteDanceSeedanceV1ProTextToVideo.d.ts +21 -0
- package/dist/fal-ai/MinimaxHailuo02StandardImageToVideo.d.ts +18 -0
- package/dist/fal-ai/index.d.ts +6 -0
- package/dist/fal-ai/index.mjs +20 -43
- package/dist/fal-ai/index.mjs.map +4 -4
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +18 -41
- package/dist/index.mjs.map +4 -4
- package/package.json +7 -15
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
|
|
2
|
+
import CreativeEditorSDK from '@cesdk/cesdk-js';
|
|
3
|
+
interface ByteDanceSeedanceV1ProImageToVideoInput {
|
|
4
|
+
prompt: string;
|
|
5
|
+
image_url: string;
|
|
6
|
+
aspect_ratio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16' | 'auto';
|
|
7
|
+
resolution?: '480p' | '720p' | '1080p';
|
|
8
|
+
duration?: number;
|
|
9
|
+
camera_fixed?: boolean;
|
|
10
|
+
seed?: number;
|
|
11
|
+
enable_safety_checker?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface ProviderConfiguration extends CommonProviderConfiguration<ByteDanceSeedanceV1ProImageToVideoInput, VideoOutput> {
|
|
14
|
+
}
|
|
15
|
+
export declare function ByteDanceSeedanceV1ProImageToVideo(config: ProviderConfiguration): (context: {
|
|
16
|
+
cesdk: CreativeEditorSDK;
|
|
17
|
+
}) => Promise<Provider<'video', ByteDanceSeedanceV1ProImageToVideoInput, VideoOutput>>;
|
|
18
|
+
declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', ByteDanceSeedanceV1ProImageToVideoInput, {
|
|
19
|
+
kind: 'video';
|
|
20
|
+
url: string;
|
|
21
|
+
}>;
|
|
22
|
+
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 ByteDanceSeedanceV1ProTextToVideoInput {
|
|
4
|
+
prompt: string;
|
|
5
|
+
aspect_ratio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
6
|
+
resolution?: '480p' | '720p' | '1080p';
|
|
7
|
+
duration?: number;
|
|
8
|
+
camera_fixed?: boolean;
|
|
9
|
+
seed?: number;
|
|
10
|
+
enable_safety_checker?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ProviderConfiguration extends CommonProviderConfiguration<ByteDanceSeedanceV1ProTextToVideoInput, VideoOutput> {
|
|
13
|
+
}
|
|
14
|
+
export declare function ByteDanceSeedanceV1ProTextToVideo(config: ProviderConfiguration): (context: {
|
|
15
|
+
cesdk: CreativeEditorSDK;
|
|
16
|
+
}) => Promise<Provider<'video', ByteDanceSeedanceV1ProTextToVideoInput, VideoOutput>>;
|
|
17
|
+
declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', ByteDanceSeedanceV1ProTextToVideoInput, {
|
|
18
|
+
kind: 'video';
|
|
19
|
+
url: string;
|
|
20
|
+
}>;
|
|
21
|
+
export default getProvider;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VideoOutput, type Provider, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
|
|
2
|
+
import CreativeEditorSDK from '@cesdk/cesdk-js';
|
|
3
|
+
interface MinimaxHailuo02StandardImageToVideoInput {
|
|
4
|
+
prompt: string;
|
|
5
|
+
image_url: string;
|
|
6
|
+
duration?: '6' | '10';
|
|
7
|
+
resolution?: '512P' | '768P';
|
|
8
|
+
}
|
|
9
|
+
interface ProviderConfiguration extends CommonProviderConfiguration<MinimaxHailuo02StandardImageToVideoInput, VideoOutput> {
|
|
10
|
+
}
|
|
11
|
+
export declare function MinimaxHailuo02StandardImageToVideo(config: ProviderConfiguration): (context: {
|
|
12
|
+
cesdk: CreativeEditorSDK;
|
|
13
|
+
}) => Promise<Provider<'video', MinimaxHailuo02StandardImageToVideoInput, VideoOutput>>;
|
|
14
|
+
declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'video', MinimaxHailuo02StandardImageToVideoInput, {
|
|
15
|
+
kind: 'video';
|
|
16
|
+
url: string;
|
|
17
|
+
}>;
|
|
18
|
+
export default getProvider;
|
package/dist/fal-ai/index.d.ts
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { MinimaxVideo01Live } from './MinimaxVideo01Live';
|
|
2
2
|
import { MinimaxVideo01LiveImageToVideo } from './MinimaxVideo01LiveImageToVideo';
|
|
3
|
+
import { MinimaxHailuo02StandardImageToVideo } from './MinimaxHailuo02StandardImageToVideo';
|
|
3
4
|
import { KlingVideoV21MasterImageToVideo } from './KlingVideoV21MasterImageToVideo';
|
|
4
5
|
import { PixverseV35TextToVideo } from './PixverseV35TextToVideo';
|
|
5
6
|
import { KlingVideoV21MasterTextToVideo } from './KlingVideoV21MasterTextToVideo';
|
|
6
7
|
import { Veo3TextToVideo } from './Veo3TextToVideo';
|
|
8
|
+
import { ByteDanceSeedanceV1ProImageToVideo } from './ByteDanceSeedanceV1ProImageToVideo';
|
|
9
|
+
import { ByteDanceSeedanceV1ProTextToVideo } from './ByteDanceSeedanceV1ProTextToVideo';
|
|
7
10
|
declare const FalAi: {
|
|
8
11
|
MinimaxVideo01Live: typeof MinimaxVideo01Live;
|
|
9
12
|
MinimaxVideo01LiveImageToVideo: typeof MinimaxVideo01LiveImageToVideo;
|
|
13
|
+
MinimaxHailuo02StandardImageToVideo: typeof MinimaxHailuo02StandardImageToVideo;
|
|
10
14
|
KlingVideoV21MasterImageToVideo: typeof KlingVideoV21MasterImageToVideo;
|
|
11
15
|
PixverseV35TextToVideo: typeof PixverseV35TextToVideo;
|
|
12
16
|
KlingVideoV21MasterTextToVideo: typeof KlingVideoV21MasterTextToVideo;
|
|
13
17
|
Veo3TextToVideo: typeof Veo3TextToVideo;
|
|
18
|
+
ByteDanceSeedanceV1ProImageToVideo: typeof ByteDanceSeedanceV1ProImageToVideo;
|
|
19
|
+
ByteDanceSeedanceV1ProTextToVideo: typeof ByteDanceSeedanceV1ProTextToVideo;
|
|
14
20
|
};
|
|
15
21
|
export default FalAi;
|