@imgly/plugin-ai-apps-web 0.1.9 → 0.2.0
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 +34 -0
- package/README.md +422 -60
- package/dist/ActiveAssetSource.d.ts +11 -7
- package/dist/index.mjs +401 -38
- package/dist/index.mjs.map +4 -4
- package/dist/types.d.ts +11 -7
- package/package.json +7 -3
package/dist/types.d.ts
CHANGED
|
@@ -11,31 +11,35 @@ export interface Providers {
|
|
|
11
11
|
/**
|
|
12
12
|
* Provider for text generation on text blocks.
|
|
13
13
|
*/
|
|
14
|
-
text2text?: GetProvider<'text'
|
|
14
|
+
text2text?: GetProvider<'text'> | GetProvider<'text'>[];
|
|
15
15
|
/**
|
|
16
16
|
* Provider for image generation based on a prompt alone.
|
|
17
17
|
*/
|
|
18
|
-
text2image?: GetProvider<'image'
|
|
18
|
+
text2image?: GetProvider<'image'> | GetProvider<'image'>[];
|
|
19
19
|
/**
|
|
20
20
|
* Provider for image generation based on a prompt and an image.
|
|
21
21
|
*/
|
|
22
|
-
image2image?: GetProvider<'image'
|
|
22
|
+
image2image?: GetProvider<'image'> | GetProvider<'image'>[];
|
|
23
23
|
/**
|
|
24
24
|
* Provider for video generation based on a prompt alone.
|
|
25
25
|
*/
|
|
26
|
-
text2video?: GetProvider<'video'
|
|
26
|
+
text2video?: GetProvider<'video'> | GetProvider<'video'>[];
|
|
27
27
|
/**
|
|
28
28
|
* Provider for video generation based on a prompt and an image.
|
|
29
29
|
*/
|
|
30
|
-
image2video?: GetProvider<'video'
|
|
30
|
+
image2video?: GetProvider<'video'> | GetProvider<'video'>[];
|
|
31
31
|
/**
|
|
32
32
|
* Provider for speech generation based on a prompt alone.
|
|
33
33
|
*/
|
|
34
|
-
text2speech?: GetProvider<'audio'
|
|
34
|
+
text2speech?: GetProvider<'audio'> | GetProvider<'audio'>[];
|
|
35
35
|
/**
|
|
36
36
|
* Provider for sound effect generation based on a prompt alone.
|
|
37
37
|
*/
|
|
38
|
-
text2sound?: GetProvider<'audio'
|
|
38
|
+
text2sound?: GetProvider<'audio'> | GetProvider<'audio'>[];
|
|
39
|
+
/**
|
|
40
|
+
* Provider for sticker generation based on a prompt alone.
|
|
41
|
+
*/
|
|
42
|
+
text2sticker?: any | any[];
|
|
39
43
|
}
|
|
40
44
|
export interface PluginConfiguration {
|
|
41
45
|
providers: Providers;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/plugin-ai-apps-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "AI apps orchestration plugin for the CE.SDK editor",
|
|
5
5
|
"keywords": ["CE.SDK", "plugin", "AI", "ai apps"],
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"publish:next": "pnpm run build && npm publish --tag next --access public",
|
|
37
37
|
"test": "echo No tests",
|
|
38
38
|
"dev": "pnpm --filter \"${npm_package_name}^...\" --parallel run dev:wait && node scripts/watch.mjs",
|
|
39
|
-
"dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --window 250 --timeout
|
|
39
|
+
"dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --window 250 --timeout 60000",
|
|
40
40
|
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
|
|
41
41
|
"check:all": "concurrently -n lint,type,pretty \"pnpm run check:lint\" \"pnpm run check:types\" \"pnpm run check:pretty\"",
|
|
42
42
|
"check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"@imgly/plugin-ai-image-generation-web": "workspace:*",
|
|
60
60
|
"@imgly/plugin-ai-video-generation-web": "workspace:*",
|
|
61
61
|
"@imgly/plugin-ai-audio-generation-web": "workspace:*",
|
|
62
|
-
"@imgly/plugin-ai-text-generation-web": "workspace:*"
|
|
62
|
+
"@imgly/plugin-ai-text-generation-web": "workspace:*",
|
|
63
|
+
"@imgly/plugin-ai-sticker-generation-web": "workspace:*"
|
|
63
64
|
},
|
|
64
65
|
"dependencies": {},
|
|
65
66
|
"dependenciesMeta": {
|
|
@@ -80,6 +81,9 @@
|
|
|
80
81
|
},
|
|
81
82
|
"@imgly/plugin-ai-text-generation-web": {
|
|
82
83
|
"injected": true
|
|
84
|
+
},
|
|
85
|
+
"@imgly/plugin-ai-sticker-generation-web": {
|
|
86
|
+
"injected": true
|
|
83
87
|
}
|
|
84
88
|
},
|
|
85
89
|
"peerDependencies": {
|