@genfeedai/workflows 0.1.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/README.md +96 -0
- package/dist/index.d.mts +185 -0
- package/dist/index.d.ts +185 -0
- package/dist/index.js +918 -0
- package/dist/index.mjs +865 -0
- package/metadata/catalog.json +76 -0
- package/package.json +44 -0
- package/workflows/full-pipeline.json +295 -0
- package/workflows/image-series.json +151 -0
- package/workflows/image-to-video.json +132 -0
- package/workflows/single-image.json +86 -0
- package/workflows/single-video.json +90 -0
- package/workflows/ugc-factory.json +143 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"name": "Single Image",
|
|
4
|
+
"description": "Generate an AI image from a source image (img2img)",
|
|
5
|
+
"edgeStyle": "smoothstep",
|
|
6
|
+
"createdAt": "2025-01-19T00:00:00.000Z",
|
|
7
|
+
"updatedAt": "2025-01-19T00:00:00.000Z",
|
|
8
|
+
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"id": "imageInput-1",
|
|
11
|
+
"type": "imageInput",
|
|
12
|
+
"position": { "x": 50, "y": 150 },
|
|
13
|
+
"data": {
|
|
14
|
+
"label": "Source Image",
|
|
15
|
+
"status": "idle",
|
|
16
|
+
"image": null,
|
|
17
|
+
"filename": null,
|
|
18
|
+
"dimensions": null,
|
|
19
|
+
"source": "upload"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "prompt-1",
|
|
24
|
+
"type": "prompt",
|
|
25
|
+
"position": { "x": 50, "y": 350 },
|
|
26
|
+
"data": {
|
|
27
|
+
"label": "Style Prompt",
|
|
28
|
+
"status": "idle",
|
|
29
|
+
"prompt": "A cinematic, detailed version of this image with enhanced lighting",
|
|
30
|
+
"variables": {}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "imageGen-1",
|
|
35
|
+
"type": "imageGen",
|
|
36
|
+
"position": { "x": 400, "y": 200 },
|
|
37
|
+
"data": {
|
|
38
|
+
"label": "Image Generator",
|
|
39
|
+
"status": "idle",
|
|
40
|
+
"inputImages": [],
|
|
41
|
+
"inputPrompt": null,
|
|
42
|
+
"outputImage": null,
|
|
43
|
+
"model": "nano-banana-pro",
|
|
44
|
+
"aspectRatio": "1:1",
|
|
45
|
+
"resolution": "2K",
|
|
46
|
+
"outputFormat": "jpg",
|
|
47
|
+
"jobId": null
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "output-1",
|
|
52
|
+
"type": "output",
|
|
53
|
+
"position": { "x": 750, "y": 200 },
|
|
54
|
+
"data": {
|
|
55
|
+
"label": "Final Output",
|
|
56
|
+
"status": "idle",
|
|
57
|
+
"inputMedia": null,
|
|
58
|
+
"inputType": "image",
|
|
59
|
+
"outputName": "generated-image"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"edges": [
|
|
64
|
+
{
|
|
65
|
+
"id": "e1",
|
|
66
|
+
"source": "imageInput-1",
|
|
67
|
+
"target": "imageGen-1",
|
|
68
|
+
"sourceHandle": "image",
|
|
69
|
+
"targetHandle": "images"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "e2",
|
|
73
|
+
"source": "prompt-1",
|
|
74
|
+
"target": "imageGen-1",
|
|
75
|
+
"sourceHandle": "text",
|
|
76
|
+
"targetHandle": "prompt"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "e3",
|
|
80
|
+
"source": "imageGen-1",
|
|
81
|
+
"target": "output-1",
|
|
82
|
+
"sourceHandle": "image",
|
|
83
|
+
"targetHandle": "media"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"name": "Single Video",
|
|
4
|
+
"description": "Generate an AI video from a source image (img2video)",
|
|
5
|
+
"edgeStyle": "smoothstep",
|
|
6
|
+
"createdAt": "2025-01-19T00:00:00.000Z",
|
|
7
|
+
"updatedAt": "2025-01-19T00:00:00.000Z",
|
|
8
|
+
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"id": "imageInput-1",
|
|
11
|
+
"type": "imageInput",
|
|
12
|
+
"position": { "x": 50, "y": 150 },
|
|
13
|
+
"data": {
|
|
14
|
+
"label": "Starting Frame",
|
|
15
|
+
"status": "idle",
|
|
16
|
+
"image": null,
|
|
17
|
+
"filename": null,
|
|
18
|
+
"dimensions": null,
|
|
19
|
+
"source": "upload"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "prompt-1",
|
|
24
|
+
"type": "prompt",
|
|
25
|
+
"position": { "x": 50, "y": 350 },
|
|
26
|
+
"data": {
|
|
27
|
+
"label": "Motion Prompt",
|
|
28
|
+
"status": "idle",
|
|
29
|
+
"prompt": "Cinematic slow motion with subtle camera movement",
|
|
30
|
+
"variables": {}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "videoGen-1",
|
|
35
|
+
"type": "videoGen",
|
|
36
|
+
"position": { "x": 400, "y": 200 },
|
|
37
|
+
"data": {
|
|
38
|
+
"label": "Video Generator",
|
|
39
|
+
"status": "idle",
|
|
40
|
+
"inputImage": null,
|
|
41
|
+
"lastFrame": null,
|
|
42
|
+
"referenceImages": [],
|
|
43
|
+
"inputPrompt": null,
|
|
44
|
+
"negativePrompt": "blurry, distorted, artifacts",
|
|
45
|
+
"outputVideo": null,
|
|
46
|
+
"model": "veo-3.1-fast",
|
|
47
|
+
"duration": 8,
|
|
48
|
+
"aspectRatio": "16:9",
|
|
49
|
+
"resolution": "1080p",
|
|
50
|
+
"generateAudio": false,
|
|
51
|
+
"jobId": null
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "output-1",
|
|
56
|
+
"type": "output",
|
|
57
|
+
"position": { "x": 750, "y": 200 },
|
|
58
|
+
"data": {
|
|
59
|
+
"label": "Final Output",
|
|
60
|
+
"status": "idle",
|
|
61
|
+
"inputMedia": null,
|
|
62
|
+
"inputType": "video",
|
|
63
|
+
"outputName": "generated-video"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"edges": [
|
|
68
|
+
{
|
|
69
|
+
"id": "e1",
|
|
70
|
+
"source": "imageInput-1",
|
|
71
|
+
"target": "videoGen-1",
|
|
72
|
+
"sourceHandle": "image",
|
|
73
|
+
"targetHandle": "image"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "e2",
|
|
77
|
+
"source": "prompt-1",
|
|
78
|
+
"target": "videoGen-1",
|
|
79
|
+
"sourceHandle": "text",
|
|
80
|
+
"targetHandle": "prompt"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "e3",
|
|
84
|
+
"source": "videoGen-1",
|
|
85
|
+
"target": "output-1",
|
|
86
|
+
"sourceHandle": "video",
|
|
87
|
+
"targetHandle": "media"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"name": "UGC Factory",
|
|
4
|
+
"description": "UGC pipeline: script → voice → motion → lip sync → download",
|
|
5
|
+
"edgeStyle": "smoothstep",
|
|
6
|
+
"createdAt": "2026-01-31T00:00:00.000Z",
|
|
7
|
+
"updatedAt": "2026-02-05T00:00:00.000Z",
|
|
8
|
+
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"id": "script-input",
|
|
11
|
+
"type": "prompt",
|
|
12
|
+
"position": { "x": 50, "y": 200 },
|
|
13
|
+
"data": {
|
|
14
|
+
"label": "UGC Script",
|
|
15
|
+
"status": "idle",
|
|
16
|
+
"prompt": "Hey everyone! I just discovered this amazing product and I had to share it with you. The quality is incredible and it's changed my daily routine completely. Trust me, you need to try this!",
|
|
17
|
+
"variables": {}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "avatar-input",
|
|
22
|
+
"type": "imageInput",
|
|
23
|
+
"position": { "x": 50, "y": 350 },
|
|
24
|
+
"data": {
|
|
25
|
+
"label": "Avatar Image",
|
|
26
|
+
"status": "idle",
|
|
27
|
+
"image": null,
|
|
28
|
+
"filename": null,
|
|
29
|
+
"dimensions": null,
|
|
30
|
+
"source": "upload"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "tts-voice",
|
|
35
|
+
"type": "textToSpeech",
|
|
36
|
+
"position": { "x": 300, "y": 200 },
|
|
37
|
+
"data": {
|
|
38
|
+
"label": "Voice Generation",
|
|
39
|
+
"status": "idle",
|
|
40
|
+
"inputText": null,
|
|
41
|
+
"outputAudio": null,
|
|
42
|
+
"provider": "elevenlabs",
|
|
43
|
+
"voice": "rachel",
|
|
44
|
+
"stability": 0.6,
|
|
45
|
+
"similarityBoost": 0.8,
|
|
46
|
+
"speed": 1.0,
|
|
47
|
+
"jobId": null
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "motion-control",
|
|
52
|
+
"type": "motionControl",
|
|
53
|
+
"position": { "x": 300, "y": 350 },
|
|
54
|
+
"data": {
|
|
55
|
+
"label": "Avatar Motion",
|
|
56
|
+
"status": "idle",
|
|
57
|
+
"inputImage": null,
|
|
58
|
+
"inputVideo": null,
|
|
59
|
+
"inputPrompt": null,
|
|
60
|
+
"outputVideo": null,
|
|
61
|
+
"mode": "video_transfer",
|
|
62
|
+
"duration": 5,
|
|
63
|
+
"aspectRatio": "16:9",
|
|
64
|
+
"trajectoryPoints": [
|
|
65
|
+
{"x": 0.5, "y": 0.5, "frame": 0},
|
|
66
|
+
{"x": 0.52, "y": 0.48, "frame": 30},
|
|
67
|
+
{"x": 0.48, "y": 0.52, "frame": 60},
|
|
68
|
+
{"x": 0.5, "y": 0.5, "frame": 90}
|
|
69
|
+
],
|
|
70
|
+
"motionStrength": 0.3,
|
|
71
|
+
"jobId": null
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "lip-sync",
|
|
76
|
+
"type": "lipSync",
|
|
77
|
+
"position": { "x": 550, "y": 275 },
|
|
78
|
+
"data": {
|
|
79
|
+
"label": "Lip Sync",
|
|
80
|
+
"status": "idle",
|
|
81
|
+
"inputImage": null,
|
|
82
|
+
"inputVideo": null,
|
|
83
|
+
"inputAudio": null,
|
|
84
|
+
"outputVideo": null,
|
|
85
|
+
"model": "sync/lipsync-2",
|
|
86
|
+
"syncMode": "loop",
|
|
87
|
+
"temperature": 0.5,
|
|
88
|
+
"activeSpeaker": false,
|
|
89
|
+
"jobId": null
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "output",
|
|
94
|
+
"type": "download",
|
|
95
|
+
"position": { "x": 750, "y": 275 },
|
|
96
|
+
"data": {
|
|
97
|
+
"label": "Download",
|
|
98
|
+
"status": "idle",
|
|
99
|
+
"inputImage": null,
|
|
100
|
+
"inputVideo": null,
|
|
101
|
+
"inputType": null,
|
|
102
|
+
"outputName": "ugc-video"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"edges": [
|
|
107
|
+
{
|
|
108
|
+
"id": "e1",
|
|
109
|
+
"source": "script-input",
|
|
110
|
+
"target": "tts-voice",
|
|
111
|
+
"sourceHandle": "text",
|
|
112
|
+
"targetHandle": "text"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "e2",
|
|
116
|
+
"source": "avatar-input",
|
|
117
|
+
"target": "motion-control",
|
|
118
|
+
"sourceHandle": "image",
|
|
119
|
+
"targetHandle": "image"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "e3",
|
|
123
|
+
"source": "motion-control",
|
|
124
|
+
"target": "lip-sync",
|
|
125
|
+
"sourceHandle": "video",
|
|
126
|
+
"targetHandle": "video"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "e4",
|
|
130
|
+
"source": "tts-voice",
|
|
131
|
+
"target": "lip-sync",
|
|
132
|
+
"sourceHandle": "audio",
|
|
133
|
+
"targetHandle": "audio"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "e5",
|
|
137
|
+
"source": "lip-sync",
|
|
138
|
+
"target": "output",
|
|
139
|
+
"sourceHandle": "video",
|
|
140
|
+
"targetHandle": "video"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|