tongflow 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.
@@ -0,0 +1,2590 @@
1
+ {
2
+ "version": 1,
3
+ "$defs": {
4
+ "Asset": {
5
+ "type": "object",
6
+ "required": ["bytesBase64"],
7
+ "properties": {
8
+ "bytesBase64": {
9
+ "type": "string",
10
+ "minLength": 1
11
+ },
12
+ "filename": {
13
+ "type": "string"
14
+ },
15
+ "mime": {
16
+ "type": "string"
17
+ }
18
+ },
19
+ "additionalProperties": false
20
+ },
21
+ "FileRef": {
22
+ "type": "object",
23
+ "required": ["file_key"],
24
+ "properties": {
25
+ "file_key": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "mime": {
30
+ "type": "string"
31
+ },
32
+ "filename": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "additionalProperties": false
37
+ },
38
+ "VideoRef": {
39
+ "type": "object",
40
+ "required": ["file_key"],
41
+ "properties": {
42
+ "file_key": {
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "mime": {
47
+ "type": "string"
48
+ },
49
+ "filename": {
50
+ "type": "string"
51
+ }
52
+ },
53
+ "additionalProperties": false
54
+ },
55
+ "AudioRef": {
56
+ "type": "object",
57
+ "required": ["file_key"],
58
+ "properties": {
59
+ "file_key": {
60
+ "type": "string",
61
+ "minLength": 1
62
+ },
63
+ "mime": {
64
+ "type": "string"
65
+ },
66
+ "filename": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ "additionalProperties": false
71
+ },
72
+ "ImageRef": {
73
+ "type": "object",
74
+ "required": ["file_key"],
75
+ "properties": {
76
+ "file_key": {
77
+ "type": "string",
78
+ "minLength": 1
79
+ },
80
+ "mime": {
81
+ "type": "string"
82
+ },
83
+ "filename": {
84
+ "type": "string"
85
+ }
86
+ },
87
+ "additionalProperties": false
88
+ },
89
+ "ModelRef": {
90
+ "type": "object",
91
+ "required": ["file_key"],
92
+ "properties": {
93
+ "file_key": {
94
+ "type": "string",
95
+ "minLength": 1
96
+ },
97
+ "mime": {
98
+ "type": "string"
99
+ },
100
+ "filename": {
101
+ "type": "string"
102
+ }
103
+ },
104
+ "additionalProperties": false
105
+ }
106
+ },
107
+ "nodes": [
108
+ {
109
+ "nodeSlot": "gen-text",
110
+ "inputs": {
111
+ "type": "object",
112
+ "required": ["text"],
113
+ "properties": {
114
+ "text": {
115
+ "type": "string",
116
+ "minLength": 1
117
+ },
118
+ "userPrompt": {
119
+ "type": "string"
120
+ }
121
+ },
122
+ "additionalProperties": false
123
+ },
124
+ "outputs": {
125
+ "type": "object",
126
+ "required": ["success"],
127
+ "properties": {
128
+ "success": {
129
+ "type": "boolean"
130
+ },
131
+ "error": {
132
+ "type": "string"
133
+ },
134
+ "text": {
135
+ "type": "string"
136
+ }
137
+ },
138
+ "additionalProperties": false
139
+ }
140
+ },
141
+ {
142
+ "nodeSlot": "split-text",
143
+ "inputs": {
144
+ "type": "object",
145
+ "required": ["text"],
146
+ "properties": {
147
+ "text": {
148
+ "type": "string",
149
+ "minLength": 1
150
+ },
151
+ "userPrompt": {
152
+ "type": "string"
153
+ }
154
+ },
155
+ "additionalProperties": false
156
+ },
157
+ "outputs": {
158
+ "type": "object",
159
+ "required": ["success"],
160
+ "properties": {
161
+ "success": {
162
+ "type": "boolean"
163
+ },
164
+ "error": {
165
+ "type": "string"
166
+ },
167
+ "texts": {
168
+ "type": "array",
169
+ "items": {
170
+ "type": "string"
171
+ },
172
+ "x-expand-each": true
173
+ }
174
+ },
175
+ "additionalProperties": false
176
+ }
177
+ },
178
+ {
179
+ "nodeSlot": "combine-text",
180
+ "inputs": {
181
+ "type": "object",
182
+ "required": ["texts"],
183
+ "properties": {
184
+ "texts": {
185
+ "type": "array",
186
+ "items": {
187
+ "type": "string",
188
+ "minLength": 1
189
+ }
190
+ },
191
+ "userPrompt": {
192
+ "type": "string"
193
+ }
194
+ },
195
+ "additionalProperties": false
196
+ },
197
+ "outputs": {
198
+ "type": "object",
199
+ "required": ["success"],
200
+ "properties": {
201
+ "success": {
202
+ "type": "boolean"
203
+ },
204
+ "error": {
205
+ "type": "string"
206
+ },
207
+ "text": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ "additionalProperties": false
212
+ }
213
+ },
214
+ {
215
+ "nodeSlot": "image-fusion",
216
+ "inputs": {
217
+ "type": "object",
218
+ "required": ["text"],
219
+ "properties": {
220
+ "text": {
221
+ "type": "string",
222
+ "minLength": 1
223
+ },
224
+ "images": {
225
+ "type": "array",
226
+ "items": {
227
+ "$ref": "#/$defs/Asset"
228
+ }
229
+ },
230
+ "seed": {
231
+ "type": "integer"
232
+ },
233
+ "width": {
234
+ "type": "integer"
235
+ },
236
+ "height": {
237
+ "type": "integer"
238
+ }
239
+ },
240
+ "additionalProperties": false
241
+ },
242
+ "outputs": {
243
+ "type": "object",
244
+ "required": ["success"],
245
+ "properties": {
246
+ "success": {
247
+ "type": "boolean"
248
+ },
249
+ "error": {
250
+ "type": "string"
251
+ },
252
+ "image": {
253
+ "$ref": "#/$defs/ImageRef"
254
+ }
255
+ },
256
+ "additionalProperties": false
257
+ }
258
+ },
259
+ {
260
+ "nodeSlot": "images-gen-video",
261
+ "inputs": {
262
+ "type": "object",
263
+ "required": ["text"],
264
+ "properties": {
265
+ "text": {
266
+ "type": "string",
267
+ "minLength": 1
268
+ },
269
+ "images": {
270
+ "type": "array",
271
+ "items": {
272
+ "$ref": "#/$defs/Asset"
273
+ }
274
+ },
275
+ "duration": {
276
+ "type": "number"
277
+ },
278
+ "seed": {
279
+ "type": "integer"
280
+ },
281
+ "width": {
282
+ "type": "integer"
283
+ },
284
+ "height": {
285
+ "type": "integer"
286
+ }
287
+ },
288
+ "additionalProperties": false
289
+ },
290
+ "outputs": {
291
+ "type": "object",
292
+ "required": ["success"],
293
+ "properties": {
294
+ "success": {
295
+ "type": "boolean"
296
+ },
297
+ "error": {
298
+ "type": "string"
299
+ },
300
+ "video": {
301
+ "$ref": "#/$defs/VideoRef"
302
+ }
303
+ },
304
+ "additionalProperties": false
305
+ }
306
+ },
307
+ {
308
+ "nodeSlot": "refs-gen-video",
309
+ "inputs": {
310
+ "type": "object",
311
+ "required": ["text"],
312
+ "properties": {
313
+ "text": {
314
+ "type": "string",
315
+ "minLength": 1
316
+ },
317
+ "images": {
318
+ "type": "array",
319
+ "items": {
320
+ "$ref": "#/$defs/Asset"
321
+ }
322
+ },
323
+ "videos": {
324
+ "type": "array",
325
+ "items": {
326
+ "$ref": "#/$defs/Asset"
327
+ }
328
+ },
329
+ "audios": {
330
+ "type": "array",
331
+ "items": {
332
+ "$ref": "#/$defs/Asset"
333
+ }
334
+ },
335
+ "duration": {
336
+ "type": "number"
337
+ },
338
+ "seed": {
339
+ "type": "integer"
340
+ },
341
+ "width": {
342
+ "type": "integer"
343
+ },
344
+ "height": {
345
+ "type": "integer"
346
+ }
347
+ },
348
+ "additionalProperties": false
349
+ },
350
+ "outputs": {
351
+ "type": "object",
352
+ "required": ["success"],
353
+ "properties": {
354
+ "success": {
355
+ "type": "boolean"
356
+ },
357
+ "error": {
358
+ "type": "string"
359
+ },
360
+ "video": {
361
+ "$ref": "#/$defs/VideoRef"
362
+ }
363
+ },
364
+ "additionalProperties": false
365
+ }
366
+ },
367
+ {
368
+ "nodeSlot": "image-gen-text",
369
+ "inputs": {
370
+ "type": "object",
371
+ "required": ["text"],
372
+ "properties": {
373
+ "text": {
374
+ "type": "string"
375
+ },
376
+ "system": {
377
+ "type": "string"
378
+ },
379
+ "max_new_tokens": {
380
+ "type": "integer"
381
+ },
382
+ "enable_thinking": {
383
+ "type": "boolean"
384
+ },
385
+ "temperature": {
386
+ "type": "number"
387
+ },
388
+ "top_p": {
389
+ "type": "number"
390
+ },
391
+ "top_k": {
392
+ "type": "integer"
393
+ },
394
+ "image": {
395
+ "$ref": "#/$defs/Asset"
396
+ }
397
+ },
398
+ "additionalProperties": false
399
+ },
400
+ "outputs": {
401
+ "type": "object",
402
+ "required": ["success"],
403
+ "properties": {
404
+ "success": {
405
+ "type": "boolean"
406
+ },
407
+ "error": {
408
+ "type": "string"
409
+ },
410
+ "text": {
411
+ "type": "string"
412
+ }
413
+ },
414
+ "additionalProperties": false
415
+ }
416
+ },
417
+ {
418
+ "nodeSlot": "video-gen-text",
419
+ "inputs": {
420
+ "type": "object",
421
+ "required": ["text", "video"],
422
+ "properties": {
423
+ "text": {
424
+ "type": "string"
425
+ },
426
+ "system": {
427
+ "type": "string"
428
+ },
429
+ "max_new_tokens": {
430
+ "type": "integer"
431
+ },
432
+ "enable_thinking": {
433
+ "type": "boolean"
434
+ },
435
+ "temperature": {
436
+ "type": "number"
437
+ },
438
+ "top_p": {
439
+ "type": "number"
440
+ },
441
+ "top_k": {
442
+ "type": "integer"
443
+ },
444
+ "video": {
445
+ "$ref": "#/$defs/Asset"
446
+ }
447
+ },
448
+ "additionalProperties": false
449
+ },
450
+ "outputs": {
451
+ "type": "object",
452
+ "required": ["success"],
453
+ "properties": {
454
+ "success": {
455
+ "type": "boolean"
456
+ },
457
+ "error": {
458
+ "type": "string"
459
+ },
460
+ "text": {
461
+ "type": "string"
462
+ }
463
+ },
464
+ "additionalProperties": false
465
+ }
466
+ },
467
+ {
468
+ "nodeSlot": "transcribe",
469
+ "inputs": {
470
+ "type": "object",
471
+ "required": ["audio"],
472
+ "properties": {
473
+ "context": {
474
+ "type": "string"
475
+ },
476
+ "language": {
477
+ "type": "string"
478
+ },
479
+ "max_new_tokens": {
480
+ "type": "number"
481
+ },
482
+ "audio": {
483
+ "$ref": "#/$defs/Asset"
484
+ }
485
+ },
486
+ "additionalProperties": false
487
+ },
488
+ "outputs": {
489
+ "type": "object",
490
+ "required": ["success"],
491
+ "properties": {
492
+ "success": {
493
+ "type": "boolean"
494
+ },
495
+ "error": {
496
+ "type": "string"
497
+ },
498
+ "text": {
499
+ "type": "string"
500
+ }
501
+ },
502
+ "additionalProperties": false
503
+ }
504
+ },
505
+ {
506
+ "nodeSlot": "concat-videos",
507
+ "inputs": {
508
+ "type": "object",
509
+ "required": ["videos"],
510
+ "properties": {
511
+ "videos": {
512
+ "type": "array",
513
+ "items": {
514
+ "$ref": "#/$defs/Asset"
515
+ }
516
+ }
517
+ },
518
+ "additionalProperties": false
519
+ },
520
+ "outputs": {
521
+ "type": "object",
522
+ "required": ["success"],
523
+ "properties": {
524
+ "success": {
525
+ "type": "boolean"
526
+ },
527
+ "error": {
528
+ "type": "string"
529
+ },
530
+ "video": {
531
+ "$ref": "#/$defs/VideoRef"
532
+ }
533
+ },
534
+ "additionalProperties": false
535
+ }
536
+ },
537
+ {
538
+ "nodeSlot": "extract-audio",
539
+ "inputs": {
540
+ "type": "object",
541
+ "required": ["video"],
542
+ "properties": {
543
+ "video": {
544
+ "$ref": "#/$defs/Asset"
545
+ }
546
+ },
547
+ "additionalProperties": false
548
+ },
549
+ "outputs": {
550
+ "type": "object",
551
+ "required": ["success"],
552
+ "properties": {
553
+ "success": {
554
+ "type": "boolean"
555
+ },
556
+ "error": {
557
+ "type": "string"
558
+ },
559
+ "audio": {
560
+ "$ref": "#/$defs/AudioRef"
561
+ }
562
+ },
563
+ "additionalProperties": false
564
+ }
565
+ },
566
+ {
567
+ "nodeSlot": "remove-video-audio",
568
+ "inputs": {
569
+ "type": "object",
570
+ "required": ["video"],
571
+ "properties": {
572
+ "video": {
573
+ "$ref": "#/$defs/Asset"
574
+ }
575
+ },
576
+ "additionalProperties": false
577
+ },
578
+ "outputs": {
579
+ "type": "object",
580
+ "required": ["success"],
581
+ "properties": {
582
+ "success": {
583
+ "type": "boolean"
584
+ },
585
+ "error": {
586
+ "type": "string"
587
+ },
588
+ "video": {
589
+ "$ref": "#/$defs/VideoRef"
590
+ }
591
+ },
592
+ "additionalProperties": false
593
+ }
594
+ },
595
+ {
596
+ "nodeSlot": "merge-video-audio",
597
+ "inputs": {
598
+ "type": "object",
599
+ "required": ["video", "audio"],
600
+ "properties": {
601
+ "video": {
602
+ "$ref": "#/$defs/Asset"
603
+ },
604
+ "audio": {
605
+ "$ref": "#/$defs/Asset"
606
+ }
607
+ },
608
+ "additionalProperties": false
609
+ },
610
+ "outputs": {
611
+ "type": "object",
612
+ "required": ["success"],
613
+ "properties": {
614
+ "success": {
615
+ "type": "boolean"
616
+ },
617
+ "error": {
618
+ "type": "string"
619
+ },
620
+ "video": {
621
+ "$ref": "#/$defs/VideoRef"
622
+ }
623
+ },
624
+ "additionalProperties": false
625
+ }
626
+ },
627
+ {
628
+ "nodeSlot": "audio-video-lip-sync",
629
+ "inputs": {
630
+ "type": "object",
631
+ "required": ["video", "audio"],
632
+ "properties": {
633
+ "audio": {
634
+ "$ref": "#/$defs/Asset"
635
+ },
636
+ "text": {
637
+ "type": "string"
638
+ },
639
+ "seed": {
640
+ "type": "number"
641
+ },
642
+ "video": {
643
+ "$ref": "#/$defs/Asset"
644
+ }
645
+ },
646
+ "additionalProperties": false
647
+ },
648
+ "outputs": {
649
+ "type": "object",
650
+ "required": ["success"],
651
+ "properties": {
652
+ "success": {
653
+ "type": "boolean"
654
+ },
655
+ "error": {
656
+ "type": "string"
657
+ },
658
+ "video": {
659
+ "$ref": "#/$defs/VideoRef"
660
+ }
661
+ },
662
+ "additionalProperties": false
663
+ }
664
+ },
665
+ {
666
+ "nodeSlot": "get-first-frame",
667
+ "inputs": {
668
+ "type": "object",
669
+ "required": ["video"],
670
+ "properties": {
671
+ "video": {
672
+ "$ref": "#/$defs/Asset"
673
+ }
674
+ },
675
+ "additionalProperties": false
676
+ },
677
+ "outputs": {
678
+ "type": "object",
679
+ "required": ["success"],
680
+ "properties": {
681
+ "success": {
682
+ "type": "boolean"
683
+ },
684
+ "error": {
685
+ "type": "string"
686
+ },
687
+ "image": {
688
+ "$ref": "#/$defs/ImageRef"
689
+ }
690
+ },
691
+ "additionalProperties": false
692
+ }
693
+ },
694
+ {
695
+ "nodeSlot": "get-last-frame",
696
+ "inputs": {
697
+ "type": "object",
698
+ "required": ["video"],
699
+ "properties": {
700
+ "video": {
701
+ "$ref": "#/$defs/Asset"
702
+ }
703
+ },
704
+ "additionalProperties": false
705
+ },
706
+ "outputs": {
707
+ "type": "object",
708
+ "required": ["success"],
709
+ "properties": {
710
+ "success": {
711
+ "type": "boolean"
712
+ },
713
+ "error": {
714
+ "type": "string"
715
+ },
716
+ "image": {
717
+ "$ref": "#/$defs/ImageRef"
718
+ }
719
+ },
720
+ "additionalProperties": false
721
+ }
722
+ },
723
+ {
724
+ "nodeSlot": "parse-document",
725
+ "inputs": {
726
+ "type": "object",
727
+ "required": ["document"],
728
+ "properties": {
729
+ "document": {
730
+ "$ref": "#/$defs/Asset"
731
+ }
732
+ },
733
+ "additionalProperties": false
734
+ },
735
+ "outputs": {
736
+ "type": "object",
737
+ "required": ["success"],
738
+ "properties": {
739
+ "success": {
740
+ "type": "boolean"
741
+ },
742
+ "error": {
743
+ "type": "string"
744
+ },
745
+ "text": {
746
+ "type": "string"
747
+ }
748
+ },
749
+ "additionalProperties": false
750
+ }
751
+ },
752
+ {
753
+ "nodeSlot": "split-video",
754
+ "inputs": {
755
+ "type": "object",
756
+ "required": ["video"],
757
+ "properties": {
758
+ "video": {
759
+ "$ref": "#/$defs/Asset"
760
+ },
761
+ "threshold": {
762
+ "type": "number"
763
+ }
764
+ },
765
+ "additionalProperties": false
766
+ },
767
+ "outputs": {
768
+ "type": "object",
769
+ "required": ["success"],
770
+ "properties": {
771
+ "success": {
772
+ "type": "boolean"
773
+ },
774
+ "error": {
775
+ "type": "string"
776
+ },
777
+ "video_parts": {
778
+ "type": "array",
779
+ "items": {
780
+ "$ref": "#/$defs/VideoRef"
781
+ }
782
+ }
783
+ },
784
+ "additionalProperties": false
785
+ }
786
+ },
787
+ {
788
+ "nodeSlot": "link",
789
+ "inputs": {
790
+ "type": "object",
791
+ "required": ["url"],
792
+ "properties": {
793
+ "url": {
794
+ "type": "string",
795
+ "minLength": 1
796
+ }
797
+ },
798
+ "additionalProperties": false
799
+ },
800
+ "outputs": {
801
+ "type": "object",
802
+ "required": ["success"],
803
+ "properties": {
804
+ "success": {
805
+ "type": "boolean"
806
+ },
807
+ "error": {
808
+ "type": "string"
809
+ },
810
+ "mainText": {
811
+ "type": "string"
812
+ },
813
+ "thinking": {
814
+ "type": "string"
815
+ },
816
+ "image": {
817
+ "$ref": "#/$defs/ImageRef"
818
+ },
819
+ "video": {
820
+ "$ref": "#/$defs/VideoRef"
821
+ },
822
+ "audio": {
823
+ "$ref": "#/$defs/AudioRef"
824
+ },
825
+ "extractedTexts": {
826
+ "type": "array",
827
+ "items": {
828
+ "type": "string"
829
+ }
830
+ }
831
+ },
832
+ "additionalProperties": false
833
+ }
834
+ },
835
+ {
836
+ "nodeSlot": "image-gen",
837
+ "inputs": {
838
+ "type": "object",
839
+ "required": [],
840
+ "properties": {
841
+ "text": {
842
+ "type": "string",
843
+ "minLength": 1
844
+ },
845
+ "width": {
846
+ "type": "integer"
847
+ },
848
+ "height": {
849
+ "type": "integer"
850
+ },
851
+ "seed": {
852
+ "type": "integer"
853
+ }
854
+ },
855
+ "additionalProperties": false
856
+ },
857
+ "outputs": {
858
+ "type": "object",
859
+ "required": ["success"],
860
+ "properties": {
861
+ "success": {
862
+ "type": "boolean"
863
+ },
864
+ "error": {
865
+ "type": "string"
866
+ },
867
+ "image": {
868
+ "$ref": "#/$defs/ImageRef"
869
+ }
870
+ },
871
+ "additionalProperties": false
872
+ }
873
+ },
874
+ {
875
+ "nodeSlot": "gen-music",
876
+ "inputs": {
877
+ "type": "object",
878
+ "required": [],
879
+ "properties": {
880
+ "text": {
881
+ "type": "string",
882
+ "minLength": 1
883
+ },
884
+ "lyrics": {
885
+ "type": "string"
886
+ },
887
+ "tags": {
888
+ "type": "string"
889
+ },
890
+ "language": {
891
+ "type": "string"
892
+ },
893
+ "keyscale": {
894
+ "type": "string"
895
+ },
896
+ "bpm": {
897
+ "type": "number"
898
+ },
899
+ "songTitle": {
900
+ "type": "string"
901
+ },
902
+ "duration": {
903
+ "type": "number"
904
+ },
905
+ "seed": {
906
+ "type": "integer"
907
+ },
908
+ "ref_audio": {
909
+ "$ref": "#/$defs/Asset"
910
+ }
911
+ },
912
+ "additionalProperties": false
913
+ },
914
+ "outputs": {
915
+ "type": "object",
916
+ "required": ["success"],
917
+ "properties": {
918
+ "success": {
919
+ "type": "boolean"
920
+ },
921
+ "error": {
922
+ "type": "string"
923
+ },
924
+ "audio": {
925
+ "$ref": "#/$defs/AudioRef"
926
+ }
927
+ },
928
+ "additionalProperties": false
929
+ }
930
+ },
931
+ {
932
+ "nodeSlot": "text-gen-speech-preset",
933
+ "inputs": {
934
+ "type": "object",
935
+ "required": ["text"],
936
+ "properties": {
937
+ "text": {
938
+ "type": "string",
939
+ "minLength": 1
940
+ },
941
+ "language": {
942
+ "type": "string"
943
+ },
944
+ "speaker": {
945
+ "type": "string"
946
+ },
947
+ "instruct": {
948
+ "type": "string"
949
+ },
950
+ "max_new_tokens": {
951
+ "type": "integer"
952
+ }
953
+ },
954
+ "additionalProperties": false
955
+ },
956
+ "outputs": {
957
+ "type": "object",
958
+ "required": ["success"],
959
+ "properties": {
960
+ "success": {
961
+ "type": "boolean"
962
+ },
963
+ "error": {
964
+ "type": "string"
965
+ },
966
+ "audio": {
967
+ "$ref": "#/$defs/AudioRef"
968
+ }
969
+ },
970
+ "additionalProperties": false
971
+ }
972
+ },
973
+ {
974
+ "nodeSlot": "image-gen-video",
975
+ "inputs": {
976
+ "type": "object",
977
+ "required": ["text", "image", "duration"],
978
+ "properties": {
979
+ "duration": {
980
+ "type": "number"
981
+ },
982
+ "text": {
983
+ "type": "string"
984
+ },
985
+ "seed": {
986
+ "type": "number"
987
+ },
988
+ "height": {
989
+ "type": "integer"
990
+ },
991
+ "width": {
992
+ "type": "integer"
993
+ },
994
+ "enhance_prompt": {
995
+ "type": "boolean"
996
+ },
997
+ "image": {
998
+ "$ref": "#/$defs/Asset"
999
+ },
1000
+ "image_frame_idx": {
1001
+ "type": "integer"
1002
+ },
1003
+ "image_strength": {
1004
+ "type": "number"
1005
+ }
1006
+ },
1007
+ "additionalProperties": false
1008
+ },
1009
+ "outputs": {
1010
+ "type": "object",
1011
+ "required": ["success"],
1012
+ "properties": {
1013
+ "success": {
1014
+ "type": "boolean"
1015
+ },
1016
+ "error": {
1017
+ "type": "string"
1018
+ },
1019
+ "video": {
1020
+ "$ref": "#/$defs/VideoRef"
1021
+ }
1022
+ },
1023
+ "additionalProperties": false
1024
+ }
1025
+ },
1026
+ {
1027
+ "nodeSlot": "image-edit",
1028
+ "inputs": {
1029
+ "type": "object",
1030
+ "required": ["text", "image"],
1031
+ "properties": {
1032
+ "text": {
1033
+ "type": "string",
1034
+ "minLength": 1
1035
+ },
1036
+ "image": {
1037
+ "$ref": "#/$defs/Asset"
1038
+ },
1039
+ "seed": {
1040
+ "type": "integer"
1041
+ },
1042
+ "match_input_size": {
1043
+ "type": "boolean"
1044
+ },
1045
+ "width": {
1046
+ "type": "integer"
1047
+ },
1048
+ "height": {
1049
+ "type": "integer"
1050
+ }
1051
+ },
1052
+ "additionalProperties": false
1053
+ },
1054
+ "outputs": {
1055
+ "type": "object",
1056
+ "required": ["success"],
1057
+ "properties": {
1058
+ "success": {
1059
+ "type": "boolean"
1060
+ },
1061
+ "error": {
1062
+ "type": "string"
1063
+ },
1064
+ "image": {
1065
+ "$ref": "#/$defs/ImageRef"
1066
+ }
1067
+ },
1068
+ "additionalProperties": false
1069
+ }
1070
+ },
1071
+ {
1072
+ "nodeSlot": "image-upscale",
1073
+ "inputs": {
1074
+ "type": "object",
1075
+ "required": ["image"],
1076
+ "properties": {
1077
+ "image": {
1078
+ "$ref": "#/$defs/Asset"
1079
+ },
1080
+ "resolution": {
1081
+ "type": "string"
1082
+ },
1083
+ "seed": {
1084
+ "type": "integer"
1085
+ }
1086
+ },
1087
+ "additionalProperties": false
1088
+ },
1089
+ "outputs": {
1090
+ "type": "object",
1091
+ "required": ["success"],
1092
+ "properties": {
1093
+ "success": {
1094
+ "type": "boolean"
1095
+ },
1096
+ "error": {
1097
+ "type": "string"
1098
+ },
1099
+ "image": {
1100
+ "$ref": "#/$defs/ImageRef"
1101
+ }
1102
+ },
1103
+ "additionalProperties": false
1104
+ }
1105
+ },
1106
+ {
1107
+ "nodeSlot": "video-upscale",
1108
+ "inputs": {
1109
+ "type": "object",
1110
+ "required": ["video"],
1111
+ "properties": {
1112
+ "video": {
1113
+ "$ref": "#/$defs/Asset"
1114
+ },
1115
+ "resolution": {
1116
+ "type": "string"
1117
+ },
1118
+ "seed": {
1119
+ "type": "integer"
1120
+ }
1121
+ },
1122
+ "additionalProperties": false
1123
+ },
1124
+ "outputs": {
1125
+ "type": "object",
1126
+ "required": ["success"],
1127
+ "properties": {
1128
+ "success": {
1129
+ "type": "boolean"
1130
+ },
1131
+ "error": {
1132
+ "type": "string"
1133
+ },
1134
+ "video": {
1135
+ "$ref": "#/$defs/VideoRef"
1136
+ }
1137
+ },
1138
+ "additionalProperties": false
1139
+ }
1140
+ },
1141
+ {
1142
+ "nodeSlot": "video-edit",
1143
+ "inputs": {
1144
+ "type": "object",
1145
+ "required": ["text", "video"],
1146
+ "properties": {
1147
+ "text": {
1148
+ "type": "string",
1149
+ "minLength": 1
1150
+ },
1151
+ "video": {
1152
+ "$ref": "#/$defs/Asset"
1153
+ },
1154
+ "seed": {
1155
+ "type": "integer"
1156
+ },
1157
+ "width": {
1158
+ "type": "integer"
1159
+ },
1160
+ "height": {
1161
+ "type": "integer"
1162
+ }
1163
+ },
1164
+ "additionalProperties": false
1165
+ },
1166
+ "outputs": {
1167
+ "type": "object",
1168
+ "required": ["success"],
1169
+ "properties": {
1170
+ "success": {
1171
+ "type": "boolean"
1172
+ },
1173
+ "error": {
1174
+ "type": "string"
1175
+ },
1176
+ "video": {
1177
+ "$ref": "#/$defs/VideoRef"
1178
+ }
1179
+ },
1180
+ "additionalProperties": false
1181
+ }
1182
+ },
1183
+ {
1184
+ "nodeSlot": "image-describe",
1185
+ "inputs": {
1186
+ "type": "object",
1187
+ "required": ["image"],
1188
+ "properties": {
1189
+ "text": {
1190
+ "type": "string"
1191
+ },
1192
+ "userPrompt": {
1193
+ "type": "string"
1194
+ },
1195
+ "image": {
1196
+ "$ref": "#/$defs/Asset"
1197
+ }
1198
+ },
1199
+ "additionalProperties": false
1200
+ },
1201
+ "outputs": {
1202
+ "type": "object",
1203
+ "required": ["success"],
1204
+ "properties": {
1205
+ "success": {
1206
+ "type": "boolean"
1207
+ },
1208
+ "error": {
1209
+ "type": "string"
1210
+ },
1211
+ "text": {
1212
+ "type": "string"
1213
+ }
1214
+ },
1215
+ "additionalProperties": false
1216
+ }
1217
+ },
1218
+ {
1219
+ "nodeSlot": "video-describe",
1220
+ "inputs": {
1221
+ "type": "object",
1222
+ "required": ["video"],
1223
+ "properties": {
1224
+ "text": {
1225
+ "type": "string"
1226
+ },
1227
+ "userPrompt": {
1228
+ "type": "string"
1229
+ },
1230
+ "video": {
1231
+ "$ref": "#/$defs/Asset"
1232
+ }
1233
+ },
1234
+ "additionalProperties": false
1235
+ },
1236
+ "outputs": {
1237
+ "type": "object",
1238
+ "required": ["success"],
1239
+ "properties": {
1240
+ "success": {
1241
+ "type": "boolean"
1242
+ },
1243
+ "error": {
1244
+ "type": "string"
1245
+ },
1246
+ "text": {
1247
+ "type": "string"
1248
+ }
1249
+ },
1250
+ "additionalProperties": false
1251
+ }
1252
+ },
1253
+ {
1254
+ "nodeSlot": "audio-describe",
1255
+ "inputs": {
1256
+ "type": "object",
1257
+ "required": ["audio"],
1258
+ "properties": {
1259
+ "text": {
1260
+ "type": "string"
1261
+ },
1262
+ "userPrompt": {
1263
+ "type": "string"
1264
+ },
1265
+ "audio": {
1266
+ "$ref": "#/$defs/Asset"
1267
+ }
1268
+ },
1269
+ "additionalProperties": false
1270
+ },
1271
+ "outputs": {
1272
+ "type": "object",
1273
+ "required": ["success"],
1274
+ "properties": {
1275
+ "success": {
1276
+ "type": "boolean"
1277
+ },
1278
+ "error": {
1279
+ "type": "string"
1280
+ },
1281
+ "text": {
1282
+ "type": "string"
1283
+ }
1284
+ },
1285
+ "additionalProperties": false
1286
+ }
1287
+ },
1288
+ {
1289
+ "nodeSlot": "music-repaint",
1290
+ "inputs": {
1291
+ "type": "object",
1292
+ "required": ["audio", "start_time", "end_time"],
1293
+ "properties": {
1294
+ "audio": {
1295
+ "$ref": "#/$defs/Asset"
1296
+ },
1297
+ "text": {
1298
+ "type": "string"
1299
+ },
1300
+ "lyrics": {
1301
+ "type": "string"
1302
+ },
1303
+ "start_time": {
1304
+ "type": "number"
1305
+ },
1306
+ "end_time": {
1307
+ "type": "number"
1308
+ },
1309
+ "strength": {
1310
+ "type": "number"
1311
+ },
1312
+ "seed": {
1313
+ "type": "integer"
1314
+ }
1315
+ },
1316
+ "additionalProperties": false
1317
+ },
1318
+ "outputs": {
1319
+ "type": "object",
1320
+ "required": ["success"],
1321
+ "properties": {
1322
+ "success": {
1323
+ "type": "boolean"
1324
+ },
1325
+ "error": {
1326
+ "type": "string"
1327
+ },
1328
+ "audio": {
1329
+ "$ref": "#/$defs/AudioRef"
1330
+ }
1331
+ },
1332
+ "additionalProperties": false
1333
+ }
1334
+ },
1335
+ {
1336
+ "nodeSlot": "music-cover",
1337
+ "inputs": {
1338
+ "type": "object",
1339
+ "required": ["audio"],
1340
+ "properties": {
1341
+ "audio": {
1342
+ "$ref": "#/$defs/Asset"
1343
+ },
1344
+ "ref_audio": {
1345
+ "$ref": "#/$defs/Asset"
1346
+ },
1347
+ "text": {
1348
+ "type": "string"
1349
+ },
1350
+ "lyrics": {
1351
+ "type": "string"
1352
+ },
1353
+ "strength": {
1354
+ "type": "number"
1355
+ },
1356
+ "seed": {
1357
+ "type": "integer"
1358
+ }
1359
+ },
1360
+ "additionalProperties": false
1361
+ },
1362
+ "outputs": {
1363
+ "type": "object",
1364
+ "required": ["success"],
1365
+ "properties": {
1366
+ "success": {
1367
+ "type": "boolean"
1368
+ },
1369
+ "error": {
1370
+ "type": "string"
1371
+ },
1372
+ "audio": {
1373
+ "$ref": "#/$defs/AudioRef"
1374
+ }
1375
+ },
1376
+ "additionalProperties": false
1377
+ }
1378
+ },
1379
+ {
1380
+ "nodeSlot": "music-extract",
1381
+ "inputs": {
1382
+ "type": "object",
1383
+ "required": ["audio", "track"],
1384
+ "properties": {
1385
+ "audio": {
1386
+ "$ref": "#/$defs/Asset"
1387
+ },
1388
+ "track": {
1389
+ "type": "string"
1390
+ },
1391
+ "seed": {
1392
+ "type": "integer"
1393
+ }
1394
+ },
1395
+ "additionalProperties": false
1396
+ },
1397
+ "outputs": {
1398
+ "type": "object",
1399
+ "required": ["success"],
1400
+ "properties": {
1401
+ "success": {
1402
+ "type": "boolean"
1403
+ },
1404
+ "error": {
1405
+ "type": "string"
1406
+ },
1407
+ "audio": {
1408
+ "$ref": "#/$defs/AudioRef"
1409
+ }
1410
+ },
1411
+ "additionalProperties": false
1412
+ }
1413
+ },
1414
+ {
1415
+ "nodeSlot": "separate-sound",
1416
+ "inputs": {
1417
+ "type": "object",
1418
+ "required": ["audio", "text"],
1419
+ "properties": {
1420
+ "audio": {
1421
+ "$ref": "#/$defs/Asset"
1422
+ },
1423
+ "text": {
1424
+ "type": "string"
1425
+ },
1426
+ "spans": {
1427
+ "type": "array",
1428
+ "items": {
1429
+ "type": "object",
1430
+ "required": ["start", "end"],
1431
+ "properties": {
1432
+ "start": {
1433
+ "type": "number"
1434
+ },
1435
+ "end": {
1436
+ "type": "number"
1437
+ }
1438
+ },
1439
+ "additionalProperties": false
1440
+ }
1441
+ }
1442
+ },
1443
+ "additionalProperties": false
1444
+ },
1445
+ "outputs": {
1446
+ "type": "object",
1447
+ "required": ["success"],
1448
+ "properties": {
1449
+ "success": {
1450
+ "type": "boolean"
1451
+ },
1452
+ "error": {
1453
+ "type": "string"
1454
+ },
1455
+ "target": {
1456
+ "$ref": "#/$defs/AudioRef"
1457
+ },
1458
+ "residual": {
1459
+ "$ref": "#/$defs/AudioRef"
1460
+ }
1461
+ },
1462
+ "additionalProperties": false
1463
+ }
1464
+ },
1465
+ {
1466
+ "nodeSlot": "music-lego",
1467
+ "inputs": {
1468
+ "type": "object",
1469
+ "required": ["audio", "track"],
1470
+ "properties": {
1471
+ "audio": {
1472
+ "$ref": "#/$defs/Asset"
1473
+ },
1474
+ "track": {
1475
+ "type": "string"
1476
+ },
1477
+ "text": {
1478
+ "type": "string"
1479
+ },
1480
+ "lyrics": {
1481
+ "type": "string"
1482
+ },
1483
+ "seed": {
1484
+ "type": "integer"
1485
+ }
1486
+ },
1487
+ "additionalProperties": false
1488
+ },
1489
+ "outputs": {
1490
+ "type": "object",
1491
+ "required": ["success"],
1492
+ "properties": {
1493
+ "success": {
1494
+ "type": "boolean"
1495
+ },
1496
+ "error": {
1497
+ "type": "string"
1498
+ },
1499
+ "audio": {
1500
+ "$ref": "#/$defs/AudioRef"
1501
+ }
1502
+ },
1503
+ "additionalProperties": false
1504
+ }
1505
+ },
1506
+ {
1507
+ "nodeSlot": "music-complete",
1508
+ "inputs": {
1509
+ "type": "object",
1510
+ "required": ["audio"],
1511
+ "properties": {
1512
+ "audio": {
1513
+ "$ref": "#/$defs/Asset"
1514
+ },
1515
+ "tracks": {
1516
+ "type": "array",
1517
+ "items": {
1518
+ "type": "string"
1519
+ }
1520
+ },
1521
+ "text": {
1522
+ "type": "string"
1523
+ },
1524
+ "seed": {
1525
+ "type": "integer"
1526
+ }
1527
+ },
1528
+ "additionalProperties": false
1529
+ },
1530
+ "outputs": {
1531
+ "type": "object",
1532
+ "required": ["success"],
1533
+ "properties": {
1534
+ "success": {
1535
+ "type": "boolean"
1536
+ },
1537
+ "error": {
1538
+ "type": "string"
1539
+ },
1540
+ "audio": {
1541
+ "$ref": "#/$defs/AudioRef"
1542
+ }
1543
+ },
1544
+ "additionalProperties": false
1545
+ }
1546
+ },
1547
+ {
1548
+ "nodeSlot": "music-brief",
1549
+ "inputs": {
1550
+ "type": "object",
1551
+ "required": ["text"],
1552
+ "properties": {
1553
+ "text": {
1554
+ "type": "string",
1555
+ "minLength": 1
1556
+ },
1557
+ "instrumental": {
1558
+ "type": "boolean"
1559
+ },
1560
+ "language": {
1561
+ "type": "string"
1562
+ }
1563
+ },
1564
+ "additionalProperties": false
1565
+ },
1566
+ "outputs": {
1567
+ "type": "object",
1568
+ "required": ["success"],
1569
+ "properties": {
1570
+ "success": {
1571
+ "type": "boolean"
1572
+ },
1573
+ "error": {
1574
+ "type": "string"
1575
+ },
1576
+ "lyrics": {
1577
+ "type": "string"
1578
+ },
1579
+ "tags": {
1580
+ "type": "string"
1581
+ },
1582
+ "bpm": {
1583
+ "type": "number"
1584
+ },
1585
+ "keyscale": {
1586
+ "type": "string"
1587
+ },
1588
+ "duration": {
1589
+ "type": "number"
1590
+ },
1591
+ "language": {
1592
+ "type": "string"
1593
+ }
1594
+ },
1595
+ "additionalProperties": false
1596
+ }
1597
+ },
1598
+ {
1599
+ "nodeSlot": "audio-image-gen-video",
1600
+ "inputs": {
1601
+ "type": "object",
1602
+ "required": ["image", "audio"],
1603
+ "properties": {
1604
+ "text": {
1605
+ "type": "string"
1606
+ },
1607
+ "height": {
1608
+ "type": "integer"
1609
+ },
1610
+ "width": {
1611
+ "type": "integer"
1612
+ },
1613
+ "image": {
1614
+ "$ref": "#/$defs/Asset"
1615
+ },
1616
+ "audio": {
1617
+ "$ref": "#/$defs/Asset"
1618
+ }
1619
+ },
1620
+ "additionalProperties": false
1621
+ },
1622
+ "outputs": {
1623
+ "type": "object",
1624
+ "required": ["success"],
1625
+ "properties": {
1626
+ "success": {
1627
+ "type": "boolean"
1628
+ },
1629
+ "error": {
1630
+ "type": "string"
1631
+ },
1632
+ "video": {
1633
+ "$ref": "#/$defs/VideoRef"
1634
+ }
1635
+ },
1636
+ "additionalProperties": false
1637
+ }
1638
+ },
1639
+ {
1640
+ "nodeSlot": "speech-text-gen-video",
1641
+ "inputs": {
1642
+ "type": "object",
1643
+ "required": ["text", "audio"],
1644
+ "properties": {
1645
+ "text": {
1646
+ "type": "string"
1647
+ },
1648
+ "seed": {
1649
+ "type": "number"
1650
+ },
1651
+ "height": {
1652
+ "type": "integer"
1653
+ },
1654
+ "width": {
1655
+ "type": "integer"
1656
+ },
1657
+ "enhance_prompt": {
1658
+ "type": "boolean"
1659
+ },
1660
+ "image": {
1661
+ "$ref": "#/$defs/Asset"
1662
+ },
1663
+ "image_frame_idx": {
1664
+ "type": "integer"
1665
+ },
1666
+ "image_strength": {
1667
+ "type": "number"
1668
+ },
1669
+ "audio": {
1670
+ "$ref": "#/$defs/Asset"
1671
+ },
1672
+ "audio_start_time": {
1673
+ "type": "number"
1674
+ },
1675
+ "duration": {
1676
+ "type": "number"
1677
+ }
1678
+ },
1679
+ "additionalProperties": false
1680
+ },
1681
+ "outputs": {
1682
+ "type": "object",
1683
+ "required": ["success"],
1684
+ "properties": {
1685
+ "success": {
1686
+ "type": "boolean"
1687
+ },
1688
+ "error": {
1689
+ "type": "string"
1690
+ },
1691
+ "video": {
1692
+ "$ref": "#/$defs/VideoRef"
1693
+ }
1694
+ },
1695
+ "additionalProperties": false
1696
+ }
1697
+ },
1698
+ {
1699
+ "nodeSlot": "video-image-gen-video-mix",
1700
+ "inputs": {
1701
+ "type": "object",
1702
+ "required": ["image", "video"],
1703
+ "properties": {
1704
+ "text": {
1705
+ "type": "string"
1706
+ },
1707
+ "image": {
1708
+ "$ref": "#/$defs/Asset"
1709
+ },
1710
+ "video": {
1711
+ "$ref": "#/$defs/Asset"
1712
+ }
1713
+ },
1714
+ "additionalProperties": false
1715
+ },
1716
+ "outputs": {
1717
+ "type": "object",
1718
+ "required": ["success"],
1719
+ "properties": {
1720
+ "success": {
1721
+ "type": "boolean"
1722
+ },
1723
+ "error": {
1724
+ "type": "string"
1725
+ },
1726
+ "video": {
1727
+ "$ref": "#/$defs/VideoRef"
1728
+ }
1729
+ },
1730
+ "additionalProperties": false
1731
+ }
1732
+ },
1733
+ {
1734
+ "nodeSlot": "video-image-gen-video-move",
1735
+ "inputs": {
1736
+ "type": "object",
1737
+ "required": ["image", "video"],
1738
+ "properties": {
1739
+ "text": {
1740
+ "type": "string"
1741
+ },
1742
+ "duration": {
1743
+ "type": "number"
1744
+ },
1745
+ "seed": {
1746
+ "type": "number"
1747
+ },
1748
+ "height": {
1749
+ "type": "integer"
1750
+ },
1751
+ "width": {
1752
+ "type": "integer"
1753
+ },
1754
+ "enhance_prompt": {
1755
+ "type": "boolean"
1756
+ },
1757
+ "image": {
1758
+ "$ref": "#/$defs/Asset"
1759
+ },
1760
+ "video": {
1761
+ "$ref": "#/$defs/Asset"
1762
+ },
1763
+ "attention_strength": {
1764
+ "type": "number"
1765
+ }
1766
+ },
1767
+ "additionalProperties": false
1768
+ },
1769
+ "outputs": {
1770
+ "type": "object",
1771
+ "required": ["success"],
1772
+ "properties": {
1773
+ "success": {
1774
+ "type": "boolean"
1775
+ },
1776
+ "error": {
1777
+ "type": "string"
1778
+ },
1779
+ "video": {
1780
+ "$ref": "#/$defs/VideoRef"
1781
+ }
1782
+ },
1783
+ "additionalProperties": false
1784
+ }
1785
+ },
1786
+ {
1787
+ "nodeSlot": "image-image-gen-video",
1788
+ "inputs": {
1789
+ "type": "object",
1790
+ "required": ["text", "image", "end_image"],
1791
+ "properties": {
1792
+ "text": {
1793
+ "type": "string"
1794
+ },
1795
+ "duration": {
1796
+ "type": "number"
1797
+ },
1798
+ "seed": {
1799
+ "type": "number"
1800
+ },
1801
+ "height": {
1802
+ "type": "integer"
1803
+ },
1804
+ "width": {
1805
+ "type": "integer"
1806
+ },
1807
+ "enhance_prompt": {
1808
+ "type": "boolean"
1809
+ },
1810
+ "image": {
1811
+ "$ref": "#/$defs/Asset"
1812
+ },
1813
+ "image_strength": {
1814
+ "type": "number"
1815
+ },
1816
+ "end_image": {
1817
+ "$ref": "#/$defs/Asset"
1818
+ }
1819
+ },
1820
+ "additionalProperties": false
1821
+ },
1822
+ "outputs": {
1823
+ "type": "object",
1824
+ "required": ["success"],
1825
+ "properties": {
1826
+ "success": {
1827
+ "type": "boolean"
1828
+ },
1829
+ "error": {
1830
+ "type": "string"
1831
+ },
1832
+ "video": {
1833
+ "$ref": "#/$defs/VideoRef"
1834
+ }
1835
+ },
1836
+ "additionalProperties": false
1837
+ }
1838
+ },
1839
+ {
1840
+ "nodeSlot": "text-gen-video",
1841
+ "inputs": {
1842
+ "type": "object",
1843
+ "required": ["text", "duration"],
1844
+ "properties": {
1845
+ "text": {
1846
+ "type": "string"
1847
+ },
1848
+ "duration": {
1849
+ "type": "number"
1850
+ },
1851
+ "seed": {
1852
+ "type": "number"
1853
+ },
1854
+ "height": {
1855
+ "type": "integer"
1856
+ },
1857
+ "width": {
1858
+ "type": "integer"
1859
+ },
1860
+ "enhance_prompt": {
1861
+ "type": "boolean"
1862
+ }
1863
+ },
1864
+ "additionalProperties": false
1865
+ },
1866
+ "outputs": {
1867
+ "type": "object",
1868
+ "required": ["success"],
1869
+ "properties": {
1870
+ "success": {
1871
+ "type": "boolean"
1872
+ },
1873
+ "error": {
1874
+ "type": "string"
1875
+ },
1876
+ "video": {
1877
+ "$ref": "#/$defs/VideoRef"
1878
+ }
1879
+ },
1880
+ "additionalProperties": false
1881
+ }
1882
+ },
1883
+ {
1884
+ "nodeSlot": "image-gen-model",
1885
+ "inputs": {
1886
+ "type": "object",
1887
+ "required": ["image"],
1888
+ "properties": {
1889
+ "text": {
1890
+ "type": "string",
1891
+ "minLength": 1
1892
+ },
1893
+ "width": {
1894
+ "type": "integer"
1895
+ },
1896
+ "height": {
1897
+ "type": "integer"
1898
+ },
1899
+ "seed": {
1900
+ "type": "integer"
1901
+ },
1902
+ "image": {
1903
+ "$ref": "#/$defs/Asset"
1904
+ }
1905
+ },
1906
+ "additionalProperties": false
1907
+ },
1908
+ "outputs": {
1909
+ "type": "object",
1910
+ "required": ["success"],
1911
+ "properties": {
1912
+ "success": {
1913
+ "type": "boolean"
1914
+ },
1915
+ "error": {
1916
+ "type": "string"
1917
+ },
1918
+ "model": {
1919
+ "$ref": "#/$defs/ModelRef"
1920
+ }
1921
+ },
1922
+ "additionalProperties": false
1923
+ }
1924
+ },
1925
+ {
1926
+ "nodeSlot": "speech-video-gen-video",
1927
+ "inputs": {
1928
+ "type": "object",
1929
+ "required": ["video", "text"],
1930
+ "properties": {
1931
+ "text": {
1932
+ "type": "string",
1933
+ "minLength": 1
1934
+ },
1935
+ "video": {
1936
+ "$ref": "#/$defs/Asset"
1937
+ },
1938
+ "enhance_prompt": {
1939
+ "type": "boolean"
1940
+ },
1941
+ "reference_strength": {
1942
+ "type": "number"
1943
+ },
1944
+ "seed": {
1945
+ "type": "number"
1946
+ }
1947
+ },
1948
+ "additionalProperties": false
1949
+ },
1950
+ "outputs": {
1951
+ "type": "object",
1952
+ "required": ["success"],
1953
+ "properties": {
1954
+ "success": {
1955
+ "type": "boolean"
1956
+ },
1957
+ "error": {
1958
+ "type": "string"
1959
+ },
1960
+ "video": {
1961
+ "$ref": "#/$defs/VideoRef"
1962
+ }
1963
+ },
1964
+ "additionalProperties": false
1965
+ }
1966
+ },
1967
+ {
1968
+ "nodeSlot": "text-gen-speech-clone",
1969
+ "inputs": {
1970
+ "type": "object",
1971
+ "required": ["text", "ref_audio"],
1972
+ "properties": {
1973
+ "text": {
1974
+ "type": "string",
1975
+ "minLength": 1
1976
+ },
1977
+ "ref_audio": {
1978
+ "$ref": "#/$defs/Asset"
1979
+ },
1980
+ "language": {
1981
+ "type": "string"
1982
+ },
1983
+ "ref_text": {
1984
+ "type": "string"
1985
+ },
1986
+ "x_vector_only": {
1987
+ "type": "boolean"
1988
+ },
1989
+ "max_new_tokens": {
1990
+ "type": "integer"
1991
+ }
1992
+ },
1993
+ "additionalProperties": false
1994
+ },
1995
+ "outputs": {
1996
+ "type": "object",
1997
+ "required": ["success"],
1998
+ "properties": {
1999
+ "success": {
2000
+ "type": "boolean"
2001
+ },
2002
+ "error": {
2003
+ "type": "string"
2004
+ },
2005
+ "audio": {
2006
+ "$ref": "#/$defs/AudioRef"
2007
+ }
2008
+ },
2009
+ "additionalProperties": false
2010
+ }
2011
+ },
2012
+ {
2013
+ "nodeSlot": "transcribe-timestamp",
2014
+ "inputs": {
2015
+ "type": "object",
2016
+ "required": ["audio"],
2017
+ "properties": {
2018
+ "context": {
2019
+ "type": "string"
2020
+ },
2021
+ "language": {
2022
+ "type": "string"
2023
+ },
2024
+ "max_new_tokens": {
2025
+ "type": "number"
2026
+ },
2027
+ "audio": {
2028
+ "$ref": "#/$defs/Asset"
2029
+ }
2030
+ },
2031
+ "additionalProperties": false
2032
+ },
2033
+ "outputs": {
2034
+ "type": "object",
2035
+ "required": ["success"],
2036
+ "properties": {
2037
+ "success": {
2038
+ "type": "boolean"
2039
+ },
2040
+ "error": {
2041
+ "type": "string"
2042
+ },
2043
+ "text": {
2044
+ "type": "string"
2045
+ },
2046
+ "time_stamps": {
2047
+ "type": "array",
2048
+ "items": {
2049
+ "type": "object",
2050
+ "required": ["start", "end", "text"],
2051
+ "properties": {
2052
+ "start": {
2053
+ "type": "number"
2054
+ },
2055
+ "end": {
2056
+ "type": "number"
2057
+ },
2058
+ "text": {
2059
+ "type": "string"
2060
+ }
2061
+ },
2062
+ "additionalProperties": false
2063
+ }
2064
+ }
2065
+ },
2066
+ "additionalProperties": false
2067
+ }
2068
+ },
2069
+ {
2070
+ "nodeSlot": "text-gen-speech-instruct",
2071
+ "inputs": {
2072
+ "type": "object",
2073
+ "required": ["text"],
2074
+ "properties": {
2075
+ "text": {
2076
+ "type": "string",
2077
+ "minLength": 1
2078
+ },
2079
+ "language": {
2080
+ "type": "string"
2081
+ },
2082
+ "instruct": {
2083
+ "type": "string"
2084
+ },
2085
+ "max_new_tokens": {
2086
+ "type": "integer"
2087
+ }
2088
+ },
2089
+ "additionalProperties": false
2090
+ },
2091
+ "outputs": {
2092
+ "type": "object",
2093
+ "required": ["success"],
2094
+ "properties": {
2095
+ "success": {
2096
+ "type": "boolean"
2097
+ },
2098
+ "error": {
2099
+ "type": "string"
2100
+ },
2101
+ "audio": {
2102
+ "$ref": "#/$defs/AudioRef"
2103
+ }
2104
+ },
2105
+ "additionalProperties": false
2106
+ }
2107
+ },
2108
+ {
2109
+ "nodeSlot": "drop-video",
2110
+ "inputs": {
2111
+ "type": "object",
2112
+ "required": ["videos"],
2113
+ "properties": {
2114
+ "query": {
2115
+ "type": "string"
2116
+ },
2117
+ "videos": {
2118
+ "type": "array",
2119
+ "items": {
2120
+ "$ref": "#/$defs/Asset"
2121
+ }
2122
+ }
2123
+ },
2124
+ "additionalProperties": false
2125
+ },
2126
+ "outputs": {
2127
+ "type": "object",
2128
+ "required": ["success"],
2129
+ "properties": {
2130
+ "success": {
2131
+ "type": "boolean"
2132
+ },
2133
+ "error": {
2134
+ "type": "string"
2135
+ },
2136
+ "clips": {
2137
+ "type": "array",
2138
+ "items": {
2139
+ "$ref": "#/$defs/VideoRef"
2140
+ }
2141
+ }
2142
+ },
2143
+ "additionalProperties": false
2144
+ }
2145
+ },
2146
+ {
2147
+ "nodeSlot": "arrange-group",
2148
+ "inputs": {
2149
+ "type": "object",
2150
+ "required": [],
2151
+ "properties": {
2152
+ "items": {
2153
+ "type": "array",
2154
+ "items": {
2155
+ "type": "object",
2156
+ "required": [],
2157
+ "properties": {
2158
+ "text": {
2159
+ "type": "string"
2160
+ },
2161
+ "id": {
2162
+ "type": "string"
2163
+ }
2164
+ },
2165
+ "additionalProperties": false
2166
+ }
2167
+ },
2168
+ "infos": {
2169
+ "type": "array",
2170
+ "items": {
2171
+ "type": "object",
2172
+ "properties": {},
2173
+ "additionalProperties": true
2174
+ }
2175
+ },
2176
+ "query": {
2177
+ "type": "string"
2178
+ },
2179
+ "groupCount": {
2180
+ "type": "integer"
2181
+ },
2182
+ "duplicatable": {
2183
+ "type": "boolean"
2184
+ },
2185
+ "images": {
2186
+ "type": "array",
2187
+ "items": {
2188
+ "$ref": "#/$defs/Asset"
2189
+ }
2190
+ },
2191
+ "fileKeys": {
2192
+ "type": "array",
2193
+ "items": {
2194
+ "$ref": "#/$defs/Asset"
2195
+ }
2196
+ }
2197
+ },
2198
+ "additionalProperties": false
2199
+ },
2200
+ "outputs": {
2201
+ "type": "object",
2202
+ "required": ["success"],
2203
+ "properties": {
2204
+ "success": {
2205
+ "type": "boolean"
2206
+ },
2207
+ "error": {
2208
+ "type": "string"
2209
+ },
2210
+ "groups": {
2211
+ "type": "array",
2212
+ "items": {
2213
+ "type": "array",
2214
+ "items": {
2215
+ "$ref": "#/$defs/VideoRef"
2216
+ }
2217
+ },
2218
+ "x-expand-each": true
2219
+ }
2220
+ },
2221
+ "additionalProperties": false
2222
+ }
2223
+ },
2224
+ {
2225
+ "nodeSlot": "separate_speaker",
2226
+ "inputs": {
2227
+ "type": "object",
2228
+ "required": ["audio"],
2229
+ "properties": {
2230
+ "audio": {
2231
+ "$ref": "#/$defs/Asset"
2232
+ }
2233
+ },
2234
+ "additionalProperties": false
2235
+ },
2236
+ "outputs": {
2237
+ "type": "object",
2238
+ "required": ["success"],
2239
+ "properties": {
2240
+ "success": {
2241
+ "type": "boolean"
2242
+ },
2243
+ "error": {
2244
+ "type": "string"
2245
+ },
2246
+ "outputKeys": {
2247
+ "type": "array",
2248
+ "items": {
2249
+ "$ref": "#/$defs/AudioRef"
2250
+ },
2251
+ "x-expand-each": true
2252
+ }
2253
+ },
2254
+ "additionalProperties": false
2255
+ }
2256
+ },
2257
+ {
2258
+ "nodeSlot": "separate_audio_track",
2259
+ "inputs": {
2260
+ "type": "object",
2261
+ "required": ["audio"],
2262
+ "properties": {
2263
+ "audio": {
2264
+ "$ref": "#/$defs/Asset"
2265
+ }
2266
+ },
2267
+ "additionalProperties": false
2268
+ },
2269
+ "outputs": {
2270
+ "type": "object",
2271
+ "required": ["success"],
2272
+ "properties": {
2273
+ "success": {
2274
+ "type": "boolean"
2275
+ },
2276
+ "error": {
2277
+ "type": "string"
2278
+ },
2279
+ "file_key": {
2280
+ "$ref": "#/$defs/AudioRef"
2281
+ }
2282
+ },
2283
+ "additionalProperties": false
2284
+ }
2285
+ },
2286
+ {
2287
+ "nodeSlot": "denoise_audio",
2288
+ "inputs": {
2289
+ "type": "object",
2290
+ "required": ["fileKey"],
2291
+ "properties": {
2292
+ "fileKey": {
2293
+ "$ref": "#/$defs/Asset"
2294
+ }
2295
+ },
2296
+ "additionalProperties": false
2297
+ },
2298
+ "outputs": {
2299
+ "type": "object",
2300
+ "required": ["success"],
2301
+ "properties": {
2302
+ "success": {
2303
+ "type": "boolean"
2304
+ },
2305
+ "error": {
2306
+ "type": "string"
2307
+ },
2308
+ "audio": {
2309
+ "$ref": "#/$defs/AudioRef"
2310
+ }
2311
+ },
2312
+ "additionalProperties": false
2313
+ }
2314
+ },
2315
+ {
2316
+ "nodeSlot": "convert_voice",
2317
+ "inputs": {
2318
+ "type": "object",
2319
+ "required": ["sourceKey", "targetKey"],
2320
+ "properties": {
2321
+ "sourceKey": {
2322
+ "$ref": "#/$defs/Asset"
2323
+ },
2324
+ "targetKey": {
2325
+ "type": "string"
2326
+ }
2327
+ },
2328
+ "additionalProperties": false
2329
+ },
2330
+ "outputs": {
2331
+ "type": "object",
2332
+ "required": ["success"],
2333
+ "properties": {
2334
+ "success": {
2335
+ "type": "boolean"
2336
+ },
2337
+ "error": {
2338
+ "type": "string"
2339
+ },
2340
+ "audio": {
2341
+ "$ref": "#/$defs/AudioRef"
2342
+ }
2343
+ },
2344
+ "additionalProperties": false
2345
+ }
2346
+ },
2347
+ {
2348
+ "nodeSlot": "remove_watermark",
2349
+ "inputs": {
2350
+ "type": "object",
2351
+ "required": ["fileKey"],
2352
+ "properties": {
2353
+ "fileKey": {
2354
+ "$ref": "#/$defs/Asset"
2355
+ }
2356
+ },
2357
+ "additionalProperties": false
2358
+ },
2359
+ "outputs": {
2360
+ "type": "object",
2361
+ "required": ["success"],
2362
+ "properties": {
2363
+ "success": {
2364
+ "type": "boolean"
2365
+ },
2366
+ "error": {
2367
+ "type": "string"
2368
+ },
2369
+ "video": {
2370
+ "$ref": "#/$defs/VideoRef"
2371
+ }
2372
+ },
2373
+ "additionalProperties": false
2374
+ }
2375
+ },
2376
+ {
2377
+ "nodeSlot": "subtitle_remove",
2378
+ "inputs": {
2379
+ "type": "object",
2380
+ "required": ["fileKey"],
2381
+ "properties": {
2382
+ "fileKey": {
2383
+ "$ref": "#/$defs/Asset"
2384
+ }
2385
+ },
2386
+ "additionalProperties": false
2387
+ },
2388
+ "outputs": {
2389
+ "type": "object",
2390
+ "required": ["success"],
2391
+ "properties": {
2392
+ "success": {
2393
+ "type": "boolean"
2394
+ },
2395
+ "error": {
2396
+ "type": "string"
2397
+ },
2398
+ "video": {
2399
+ "$ref": "#/$defs/VideoRef"
2400
+ }
2401
+ },
2402
+ "additionalProperties": false
2403
+ }
2404
+ },
2405
+ {
2406
+ "nodeSlot": "text-audio-gen-speech",
2407
+ "inputs": {
2408
+ "type": "object",
2409
+ "required": ["text", "audio"],
2410
+ "properties": {
2411
+ "text": {
2412
+ "type": "string",
2413
+ "minLength": 1
2414
+ },
2415
+ "audio": {
2416
+ "$ref": "#/$defs/Asset"
2417
+ },
2418
+ "emotion": {
2419
+ "type": "string"
2420
+ },
2421
+ "style": {
2422
+ "type": "string"
2423
+ }
2424
+ },
2425
+ "additionalProperties": false
2426
+ },
2427
+ "outputs": {
2428
+ "type": "object",
2429
+ "required": ["success"],
2430
+ "properties": {
2431
+ "success": {
2432
+ "type": "boolean"
2433
+ },
2434
+ "error": {
2435
+ "type": "string"
2436
+ },
2437
+ "audio": {
2438
+ "$ref": "#/$defs/AudioRef"
2439
+ }
2440
+ },
2441
+ "additionalProperties": false
2442
+ }
2443
+ },
2444
+ {
2445
+ "nodeSlot": "image-pose",
2446
+ "inputs": {
2447
+ "type": "object",
2448
+ "required": ["image"],
2449
+ "properties": {
2450
+ "image": {
2451
+ "$ref": "#/$defs/Asset"
2452
+ }
2453
+ },
2454
+ "additionalProperties": false
2455
+ },
2456
+ "outputs": {
2457
+ "type": "object",
2458
+ "required": ["success"],
2459
+ "properties": {
2460
+ "success": {
2461
+ "type": "boolean"
2462
+ },
2463
+ "error": {
2464
+ "type": "string"
2465
+ },
2466
+ "image": {
2467
+ "$ref": "#/$defs/ImageRef"
2468
+ }
2469
+ },
2470
+ "additionalProperties": false
2471
+ }
2472
+ },
2473
+ {
2474
+ "nodeSlot": "image-body-seg",
2475
+ "inputs": {
2476
+ "type": "object",
2477
+ "required": ["image"],
2478
+ "properties": {
2479
+ "image": {
2480
+ "$ref": "#/$defs/Asset"
2481
+ }
2482
+ },
2483
+ "additionalProperties": false
2484
+ },
2485
+ "outputs": {
2486
+ "type": "object",
2487
+ "required": ["success"],
2488
+ "properties": {
2489
+ "success": {
2490
+ "type": "boolean"
2491
+ },
2492
+ "error": {
2493
+ "type": "string"
2494
+ },
2495
+ "image": {
2496
+ "$ref": "#/$defs/ImageRef"
2497
+ }
2498
+ },
2499
+ "additionalProperties": false
2500
+ }
2501
+ },
2502
+ {
2503
+ "nodeSlot": "image-normal",
2504
+ "inputs": {
2505
+ "type": "object",
2506
+ "required": ["image"],
2507
+ "properties": {
2508
+ "image": {
2509
+ "$ref": "#/$defs/Asset"
2510
+ }
2511
+ },
2512
+ "additionalProperties": false
2513
+ },
2514
+ "outputs": {
2515
+ "type": "object",
2516
+ "required": ["success"],
2517
+ "properties": {
2518
+ "success": {
2519
+ "type": "boolean"
2520
+ },
2521
+ "error": {
2522
+ "type": "string"
2523
+ },
2524
+ "image": {
2525
+ "$ref": "#/$defs/ImageRef"
2526
+ }
2527
+ },
2528
+ "additionalProperties": false
2529
+ }
2530
+ },
2531
+ {
2532
+ "nodeSlot": "image-matting",
2533
+ "inputs": {
2534
+ "type": "object",
2535
+ "required": ["image"],
2536
+ "properties": {
2537
+ "image": {
2538
+ "$ref": "#/$defs/Asset"
2539
+ }
2540
+ },
2541
+ "additionalProperties": false
2542
+ },
2543
+ "outputs": {
2544
+ "type": "object",
2545
+ "required": ["success"],
2546
+ "properties": {
2547
+ "success": {
2548
+ "type": "boolean"
2549
+ },
2550
+ "error": {
2551
+ "type": "string"
2552
+ },
2553
+ "image": {
2554
+ "$ref": "#/$defs/ImageRef"
2555
+ }
2556
+ },
2557
+ "additionalProperties": false
2558
+ }
2559
+ },
2560
+ {
2561
+ "nodeSlot": "video-gen-model",
2562
+ "inputs": {
2563
+ "type": "object",
2564
+ "required": ["video"],
2565
+ "properties": {
2566
+ "video": {
2567
+ "$ref": "#/$defs/Asset"
2568
+ }
2569
+ },
2570
+ "additionalProperties": false
2571
+ },
2572
+ "outputs": {
2573
+ "type": "object",
2574
+ "required": ["success"],
2575
+ "properties": {
2576
+ "success": {
2577
+ "type": "boolean"
2578
+ },
2579
+ "error": {
2580
+ "type": "string"
2581
+ },
2582
+ "model": {
2583
+ "$ref": "#/$defs/ModelRef"
2584
+ }
2585
+ },
2586
+ "additionalProperties": false
2587
+ }
2588
+ }
2589
+ ]
2590
+ }