lcode-cli 0.44.0__py3-none-any.whl → 0.46.0__py3-none-any.whl

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,78 @@
1
+ {
2
+ "source": "ComfyUI's template utility_video_frame_interpolation, in API format",
3
+ "defaults": {
4
+ "multiplier": 2,
5
+ "fps": 48
6
+ },
7
+ "labels": {
8
+ "1": "loading the clip",
9
+ "2": "reading its frames",
10
+ "3": "loading FILM",
11
+ "4": "making the in-between frames",
12
+ "5": "making the video",
13
+ "6": "saving"
14
+ },
15
+ "graph": {
16
+ "1": {
17
+ "class_type": "LoadVideo",
18
+ "inputs": {
19
+ "file": "$video"
20
+ }
21
+ },
22
+ "2": {
23
+ "class_type": "GetVideoComponents",
24
+ "inputs": {
25
+ "video": [
26
+ "1",
27
+ 0
28
+ ]
29
+ }
30
+ },
31
+ "3": {
32
+ "class_type": "FrameInterpolationModelLoader",
33
+ "inputs": {
34
+ "model_name": "$model"
35
+ }
36
+ },
37
+ "4": {
38
+ "class_type": "FrameInterpolate",
39
+ "inputs": {
40
+ "interp_model": [
41
+ "3",
42
+ 0
43
+ ],
44
+ "images": [
45
+ "2",
46
+ 0
47
+ ],
48
+ "multiplier": "$multiplier"
49
+ }
50
+ },
51
+ "5": {
52
+ "class_type": "CreateVideo",
53
+ "inputs": {
54
+ "images": [
55
+ "4",
56
+ 0
57
+ ],
58
+ "audio": [
59
+ "2",
60
+ 1
61
+ ],
62
+ "fps": "$fps"
63
+ }
64
+ },
65
+ "6": {
66
+ "class_type": "SaveVideo",
67
+ "inputs": {
68
+ "video": [
69
+ "5",
70
+ 0
71
+ ],
72
+ "filename_prefix": "lcode/video",
73
+ "format": "mp4",
74
+ "codec": "auto"
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "source": "ComfyUI's template audio_stable_audio_example, in API format, with the sound put on the clip",
3
+ "defaults": {
4
+ "seconds": 5.0,
5
+ "fps": 24,
6
+ "steps": 50,
7
+ "negative": ""
8
+ },
9
+ "labels": {
10
+ "1": "loading the clip",
11
+ "2": "reading its frames",
12
+ "3": "loading Stable Audio",
13
+ "4": "loading the text encoder",
14
+ "5": "reading the prompt",
15
+ "8": "making the sound",
16
+ "9": "decoding the sound",
17
+ "10": "putting it on the clip",
18
+ "11": "saving"
19
+ },
20
+ "graph": {
21
+ "1": {
22
+ "class_type": "LoadVideo",
23
+ "inputs": {
24
+ "file": "$video"
25
+ }
26
+ },
27
+ "2": {
28
+ "class_type": "GetVideoComponents",
29
+ "inputs": {
30
+ "video": [
31
+ "1",
32
+ 0
33
+ ]
34
+ }
35
+ },
36
+ "3": {
37
+ "class_type": "CheckpointLoaderSimple",
38
+ "inputs": {
39
+ "ckpt_name": "$model"
40
+ }
41
+ },
42
+ "4": {
43
+ "class_type": "CLIPLoader",
44
+ "inputs": {
45
+ "clip_name": "$text_encoder",
46
+ "type": "stable_audio",
47
+ "device": "default"
48
+ }
49
+ },
50
+ "5": {
51
+ "class_type": "CLIPTextEncode",
52
+ "inputs": {
53
+ "text": "$prompt",
54
+ "clip": [
55
+ "4",
56
+ 0
57
+ ]
58
+ }
59
+ },
60
+ "6": {
61
+ "class_type": "CLIPTextEncode",
62
+ "inputs": {
63
+ "text": "$negative",
64
+ "clip": [
65
+ "4",
66
+ 0
67
+ ]
68
+ }
69
+ },
70
+ "7": {
71
+ "class_type": "EmptyLatentAudio",
72
+ "inputs": {
73
+ "seconds": "$seconds",
74
+ "batch_size": 1
75
+ }
76
+ },
77
+ "8": {
78
+ "class_type": "KSampler",
79
+ "inputs": {
80
+ "model": [
81
+ "3",
82
+ 0
83
+ ],
84
+ "seed": "$seed",
85
+ "steps": "$steps",
86
+ "cfg": 4.98,
87
+ "sampler_name": "dpmpp_3m_sde_gpu",
88
+ "scheduler": "exponential",
89
+ "positive": [
90
+ "5",
91
+ 0
92
+ ],
93
+ "negative": [
94
+ "6",
95
+ 0
96
+ ],
97
+ "latent_image": [
98
+ "7",
99
+ 0
100
+ ],
101
+ "denoise": 1
102
+ }
103
+ },
104
+ "9": {
105
+ "class_type": "VAEDecodeAudio",
106
+ "inputs": {
107
+ "samples": [
108
+ "8",
109
+ 0
110
+ ],
111
+ "vae": [
112
+ "3",
113
+ 2
114
+ ]
115
+ }
116
+ },
117
+ "10": {
118
+ "class_type": "CreateVideo",
119
+ "inputs": {
120
+ "images": [
121
+ "2",
122
+ 0
123
+ ],
124
+ "audio": [
125
+ "9",
126
+ 0
127
+ ],
128
+ "fps": "$fps"
129
+ }
130
+ },
131
+ "11": {
132
+ "class_type": "SaveVideo",
133
+ "inputs": {
134
+ "video": [
135
+ "10",
136
+ 0
137
+ ],
138
+ "filename_prefix": "lcode/video",
139
+ "format": "mp4",
140
+ "codec": "auto"
141
+ }
142
+ }
143
+ }
144
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "source": "ComfyUI's template utility-gan_upscaler, in API format",
3
+ "defaults": {
4
+ "scale_by": 0.5,
5
+ "fps": 24
6
+ },
7
+ "labels": {
8
+ "1": "loading the clip",
9
+ "2": "reading its frames",
10
+ "3": "loading the upscaler",
11
+ "4": "upscaling the frames",
12
+ "5": "resizing",
13
+ "6": "making the video",
14
+ "7": "saving"
15
+ },
16
+ "graph": {
17
+ "1": {
18
+ "class_type": "LoadVideo",
19
+ "inputs": {
20
+ "file": "$video"
21
+ }
22
+ },
23
+ "2": {
24
+ "class_type": "GetVideoComponents",
25
+ "inputs": {
26
+ "video": [
27
+ "1",
28
+ 0
29
+ ]
30
+ }
31
+ },
32
+ "3": {
33
+ "class_type": "UpscaleModelLoader",
34
+ "inputs": {
35
+ "model_name": "$model"
36
+ }
37
+ },
38
+ "4": {
39
+ "class_type": "ImageUpscaleWithModel",
40
+ "inputs": {
41
+ "upscale_model": [
42
+ "3",
43
+ 0
44
+ ],
45
+ "image": [
46
+ "2",
47
+ 0
48
+ ]
49
+ }
50
+ },
51
+ "5": {
52
+ "class_type": "ImageScaleBy",
53
+ "inputs": {
54
+ "image": [
55
+ "4",
56
+ 0
57
+ ],
58
+ "upscale_method": "lanczos",
59
+ "scale_by": "$scale_by"
60
+ }
61
+ },
62
+ "6": {
63
+ "class_type": "CreateVideo",
64
+ "inputs": {
65
+ "images": [
66
+ "5",
67
+ 0
68
+ ],
69
+ "audio": [
70
+ "2",
71
+ 1
72
+ ],
73
+ "fps": "$fps"
74
+ }
75
+ },
76
+ "7": {
77
+ "class_type": "SaveVideo",
78
+ "inputs": {
79
+ "video": [
80
+ "6",
81
+ 0
82
+ ],
83
+ "filename_prefix": "lcode/video",
84
+ "format": "mp4",
85
+ "codec": "auto"
86
+ }
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,186 @@
1
+ {
2
+ "source": "ComfyUI's template video_wan2.1_fun_camera_v1.1_1.3B, in API format (lcode adds a start image when given)",
3
+ "defaults": {
4
+ "width": 832,
5
+ "height": 480,
6
+ "length": 81,
7
+ "fps": 16,
8
+ "steps": 20,
9
+ "negative": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
10
+ "camera": "Static",
11
+ "speed": 1.0
12
+ },
13
+ "labels": {
14
+ "1": "loading the model",
15
+ "2": "loading the text encoder",
16
+ "3": "loading the VAE",
17
+ "5": "reading the prompt",
18
+ "6": "reading the prompt",
19
+ "7": "planning the camera move",
20
+ "8": "preparing the frames",
21
+ "9": "drawing the frames",
22
+ "10": "decoding the frames",
23
+ "11": "making the video",
24
+ "12": "saving"
25
+ },
26
+ "graph": {
27
+ "1": {
28
+ "class_type": "UNETLoader",
29
+ "inputs": {
30
+ "unet_name": "$model",
31
+ "weight_dtype": "default"
32
+ }
33
+ },
34
+ "2": {
35
+ "class_type": "CLIPLoader",
36
+ "inputs": {
37
+ "clip_name": "$text_encoder",
38
+ "type": "wan",
39
+ "device": "default"
40
+ }
41
+ },
42
+ "3": {
43
+ "class_type": "VAELoader",
44
+ "inputs": {
45
+ "vae_name": "$vae"
46
+ }
47
+ },
48
+ "4": {
49
+ "class_type": "ModelSamplingSD3",
50
+ "inputs": {
51
+ "model": [
52
+ "1",
53
+ 0
54
+ ],
55
+ "shift": 8
56
+ }
57
+ },
58
+ "5": {
59
+ "class_type": "CLIPTextEncode",
60
+ "inputs": {
61
+ "text": "$prompt",
62
+ "clip": [
63
+ "2",
64
+ 0
65
+ ]
66
+ }
67
+ },
68
+ "6": {
69
+ "class_type": "CLIPTextEncode",
70
+ "inputs": {
71
+ "text": "$negative",
72
+ "clip": [
73
+ "2",
74
+ 0
75
+ ]
76
+ }
77
+ },
78
+ "7": {
79
+ "class_type": "WanCameraEmbedding",
80
+ "inputs": {
81
+ "camera_pose": "$camera",
82
+ "width": "$width",
83
+ "height": "$height",
84
+ "length": "$length",
85
+ "speed": "$speed",
86
+ "fx": 0.5,
87
+ "fy": 0.5,
88
+ "cx": 0.5,
89
+ "cy": 0.5
90
+ }
91
+ },
92
+ "8": {
93
+ "class_type": "WanCameraImageToVideo",
94
+ "inputs": {
95
+ "positive": [
96
+ "5",
97
+ 0
98
+ ],
99
+ "negative": [
100
+ "6",
101
+ 0
102
+ ],
103
+ "vae": [
104
+ "3",
105
+ 0
106
+ ],
107
+ "width": "$width",
108
+ "height": "$height",
109
+ "length": "$length",
110
+ "batch_size": 1,
111
+ "camera_conditions": [
112
+ "7",
113
+ 0
114
+ ]
115
+ }
116
+ },
117
+ "9": {
118
+ "class_type": "KSampler",
119
+ "inputs": {
120
+ "model": [
121
+ "4",
122
+ 0
123
+ ],
124
+ "seed": "$seed",
125
+ "steps": "$steps",
126
+ "cfg": 6,
127
+ "sampler_name": "uni_pc",
128
+ "scheduler": "simple",
129
+ "positive": [
130
+ "8",
131
+ 0
132
+ ],
133
+ "negative": [
134
+ "8",
135
+ 1
136
+ ],
137
+ "latent_image": [
138
+ "8",
139
+ 2
140
+ ],
141
+ "denoise": 1
142
+ }
143
+ },
144
+ "10": {
145
+ "class_type": "VAEDecode",
146
+ "inputs": {
147
+ "samples": [
148
+ "9",
149
+ 0
150
+ ],
151
+ "vae": [
152
+ "3",
153
+ 0
154
+ ]
155
+ }
156
+ },
157
+ "11": {
158
+ "class_type": "CreateVideo",
159
+ "inputs": {
160
+ "images": [
161
+ "10",
162
+ 0
163
+ ],
164
+ "fps": "$fps"
165
+ }
166
+ },
167
+ "12": {
168
+ "class_type": "SaveVideo",
169
+ "inputs": {
170
+ "video": [
171
+ "11",
172
+ 0
173
+ ],
174
+ "filename_prefix": "lcode/video",
175
+ "format": "mp4",
176
+ "codec": "auto"
177
+ }
178
+ },
179
+ "13": {
180
+ "class_type": "CLIPVisionLoader",
181
+ "inputs": {
182
+ "clip_name": "$clip_vision"
183
+ }
184
+ }
185
+ }
186
+ }
@@ -0,0 +1,173 @@
1
+ {
2
+ "source": "ComfyUI's template video_wan_vace_14B_ref2v (the 1.3B model, without the CausVid LoRA), in API format; lcode adds the reference picture or the control video",
3
+ "defaults": {
4
+ "width": 832,
5
+ "height": 480,
6
+ "length": 81,
7
+ "fps": 16,
8
+ "steps": 20,
9
+ "negative": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
10
+ },
11
+ "labels": {
12
+ "1": "loading the model",
13
+ "2": "loading the text encoder",
14
+ "3": "loading the VAE",
15
+ "5": "reading the prompt",
16
+ "6": "reading the prompt",
17
+ "7": "reading the references",
18
+ "8": "drawing the frames",
19
+ "10": "decoding the frames",
20
+ "11": "making the video",
21
+ "12": "saving"
22
+ },
23
+ "graph": {
24
+ "1": {
25
+ "class_type": "UNETLoader",
26
+ "inputs": {
27
+ "unet_name": "$model",
28
+ "weight_dtype": "default"
29
+ }
30
+ },
31
+ "2": {
32
+ "class_type": "CLIPLoader",
33
+ "inputs": {
34
+ "clip_name": "$text_encoder",
35
+ "type": "wan",
36
+ "device": "default"
37
+ }
38
+ },
39
+ "3": {
40
+ "class_type": "VAELoader",
41
+ "inputs": {
42
+ "vae_name": "$vae"
43
+ }
44
+ },
45
+ "4": {
46
+ "class_type": "ModelSamplingSD3",
47
+ "inputs": {
48
+ "model": [
49
+ "1",
50
+ 0
51
+ ],
52
+ "shift": 8
53
+ }
54
+ },
55
+ "5": {
56
+ "class_type": "CLIPTextEncode",
57
+ "inputs": {
58
+ "text": "$prompt",
59
+ "clip": [
60
+ "2",
61
+ 0
62
+ ]
63
+ }
64
+ },
65
+ "6": {
66
+ "class_type": "CLIPTextEncode",
67
+ "inputs": {
68
+ "text": "$negative",
69
+ "clip": [
70
+ "2",
71
+ 0
72
+ ]
73
+ }
74
+ },
75
+ "7": {
76
+ "class_type": "WanVaceToVideo",
77
+ "inputs": {
78
+ "positive": [
79
+ "5",
80
+ 0
81
+ ],
82
+ "negative": [
83
+ "6",
84
+ 0
85
+ ],
86
+ "vae": [
87
+ "3",
88
+ 0
89
+ ],
90
+ "width": "$width",
91
+ "height": "$height",
92
+ "length": "$length",
93
+ "batch_size": 1,
94
+ "strength": 1.0
95
+ }
96
+ },
97
+ "8": {
98
+ "class_type": "KSampler",
99
+ "inputs": {
100
+ "model": [
101
+ "4",
102
+ 0
103
+ ],
104
+ "seed": "$seed",
105
+ "steps": "$steps",
106
+ "cfg": 5,
107
+ "sampler_name": "uni_pc",
108
+ "scheduler": "simple",
109
+ "positive": [
110
+ "7",
111
+ 0
112
+ ],
113
+ "negative": [
114
+ "7",
115
+ 1
116
+ ],
117
+ "latent_image": [
118
+ "7",
119
+ 2
120
+ ],
121
+ "denoise": 1
122
+ }
123
+ },
124
+ "9": {
125
+ "class_type": "TrimVideoLatent",
126
+ "inputs": {
127
+ "samples": [
128
+ "8",
129
+ 0
130
+ ],
131
+ "trim_amount": [
132
+ "7",
133
+ 3
134
+ ]
135
+ }
136
+ },
137
+ "10": {
138
+ "class_type": "VAEDecode",
139
+ "inputs": {
140
+ "samples": [
141
+ "9",
142
+ 0
143
+ ],
144
+ "vae": [
145
+ "3",
146
+ 0
147
+ ]
148
+ }
149
+ },
150
+ "11": {
151
+ "class_type": "CreateVideo",
152
+ "inputs": {
153
+ "images": [
154
+ "10",
155
+ 0
156
+ ],
157
+ "fps": "$fps"
158
+ }
159
+ },
160
+ "12": {
161
+ "class_type": "SaveVideo",
162
+ "inputs": {
163
+ "video": [
164
+ "11",
165
+ 0
166
+ ],
167
+ "filename_prefix": "lcode/video",
168
+ "format": "mp4",
169
+ "codec": "auto"
170
+ }
171
+ }
172
+ }
173
+ }