@mindstudio-ai/agent 0.0.5 → 0.0.6
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/dist/index.d.ts +1 -0
- package/dist/index.js +248 -124
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -494,11 +494,13 @@ function resolveToken(provided) {
|
|
|
494
494
|
var stepSnippets = {
|
|
495
495
|
"activeCampaignAddNote": {
|
|
496
496
|
method: "activeCampaignAddNote",
|
|
497
|
-
snippet: "{\n contactId: '',\n note: '',\n connectionId: '',\n}"
|
|
497
|
+
snippet: "{\n contactId: '',\n note: '',\n connectionId: '',\n}",
|
|
498
|
+
outputKeys: []
|
|
498
499
|
},
|
|
499
500
|
"activeCampaignCreateContact": {
|
|
500
501
|
method: "activeCampaignCreateContact",
|
|
501
|
-
snippet: "{\n email: '',\n firstName: '',\n lastName: '',\n phone: '',\n accountId: '',\n customFields: {},\n connectionId: '',\n}"
|
|
502
|
+
snippet: "{\n email: '',\n firstName: '',\n lastName: '',\n phone: '',\n accountId: '',\n customFields: {},\n connectionId: '',\n}",
|
|
503
|
+
outputKeys: ["contactId"]
|
|
502
504
|
},
|
|
503
505
|
"addSubtitlesToVideo": {
|
|
504
506
|
method: "addSubtitlesToVideo",
|
|
@@ -518,63 +520,78 @@ var stepSnippets = {
|
|
|
518
520
|
yOffset: 0,
|
|
519
521
|
wordsPerSubtitle: 0,
|
|
520
522
|
enableAnimation: false,
|
|
521
|
-
}
|
|
523
|
+
}`,
|
|
524
|
+
outputKeys: ["videoUrl"]
|
|
522
525
|
},
|
|
523
526
|
"airtableCreateUpdateRecord": {
|
|
524
527
|
method: "airtableCreateUpdateRecord",
|
|
525
|
-
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n fields: '',\n recordData: {},\n}"
|
|
528
|
+
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n fields: '',\n recordData: {},\n}",
|
|
529
|
+
outputKeys: ["recordId"]
|
|
526
530
|
},
|
|
527
531
|
"airtableDeleteRecord": {
|
|
528
532
|
method: "airtableDeleteRecord",
|
|
529
|
-
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n recordId: '',\n}"
|
|
533
|
+
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n recordId: '',\n}",
|
|
534
|
+
outputKeys: ["deleted"]
|
|
530
535
|
},
|
|
531
536
|
"airtableGetRecord": {
|
|
532
537
|
method: "airtableGetRecord",
|
|
533
|
-
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n recordId: '',\n}"
|
|
538
|
+
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n recordId: '',\n}",
|
|
539
|
+
outputKeys: ["record"]
|
|
534
540
|
},
|
|
535
541
|
"airtableGetTableRecords": {
|
|
536
542
|
method: "airtableGetTableRecords",
|
|
537
|
-
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n}"
|
|
543
|
+
snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n}",
|
|
544
|
+
outputKeys: ["records"]
|
|
538
545
|
},
|
|
539
546
|
"analyzeImage": {
|
|
540
547
|
method: "analyzeImage",
|
|
541
|
-
snippet: "{\n prompt: '',\n imageUrl: '',\n}"
|
|
548
|
+
snippet: "{\n prompt: '',\n imageUrl: '',\n}",
|
|
549
|
+
outputKeys: ["analysis"]
|
|
542
550
|
},
|
|
543
551
|
"analyzeVideo": {
|
|
544
552
|
method: "analyzeVideo",
|
|
545
|
-
snippet: "{\n prompt: '',\n videoUrl: '',\n}"
|
|
553
|
+
snippet: "{\n prompt: '',\n videoUrl: '',\n}",
|
|
554
|
+
outputKeys: ["analysis"]
|
|
546
555
|
},
|
|
547
556
|
"captureThumbnail": {
|
|
548
557
|
method: "captureThumbnail",
|
|
549
|
-
snippet: "{\n videoUrl: '',\n at: '',\n}"
|
|
558
|
+
snippet: "{\n videoUrl: '',\n at: '',\n}",
|
|
559
|
+
outputKeys: ["thumbnailUrl"]
|
|
550
560
|
},
|
|
551
561
|
"codaCreateUpdatePage": {
|
|
552
562
|
method: "codaCreateUpdatePage",
|
|
553
|
-
snippet: "{\n connectionId: '',\n pageData: {},\n}"
|
|
563
|
+
snippet: "{\n connectionId: '',\n pageData: {},\n}",
|
|
564
|
+
outputKeys: ["pageId"]
|
|
554
565
|
},
|
|
555
566
|
"codaCreateUpdateRow": {
|
|
556
567
|
method: "codaCreateUpdateRow",
|
|
557
|
-
snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n rowData: {},\n}"
|
|
568
|
+
snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n rowData: {},\n}",
|
|
569
|
+
outputKeys: ["rowId"]
|
|
558
570
|
},
|
|
559
571
|
"codaFindRow": {
|
|
560
572
|
method: "codaFindRow",
|
|
561
|
-
snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n rowData: {},\n}"
|
|
573
|
+
snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n rowData: {},\n}",
|
|
574
|
+
outputKeys: ["row"]
|
|
562
575
|
},
|
|
563
576
|
"codaGetPage": {
|
|
564
577
|
method: "codaGetPage",
|
|
565
|
-
snippet: "{\n connectionId: '',\n docId: '',\n pageId: '',\n}"
|
|
578
|
+
snippet: "{\n connectionId: '',\n docId: '',\n pageId: '',\n}",
|
|
579
|
+
outputKeys: ["content"]
|
|
566
580
|
},
|
|
567
581
|
"codaGetTableRows": {
|
|
568
582
|
method: "codaGetTableRows",
|
|
569
|
-
snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n}"
|
|
583
|
+
snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n}",
|
|
584
|
+
outputKeys: ["rows"]
|
|
570
585
|
},
|
|
571
586
|
"convertPdfToImages": {
|
|
572
587
|
method: "convertPdfToImages",
|
|
573
|
-
snippet: "{\n pdfUrl: '',\n}"
|
|
588
|
+
snippet: "{\n pdfUrl: '',\n}",
|
|
589
|
+
outputKeys: ["imageUrls"]
|
|
574
590
|
},
|
|
575
591
|
"createGoogleCalendarEvent": {
|
|
576
592
|
method: "createGoogleCalendarEvent",
|
|
577
|
-
snippet: "{\n connectionId: '',\n summary: '',\n startDateTime: '',\n endDateTime: '',\n}"
|
|
593
|
+
snippet: "{\n connectionId: '',\n summary: '',\n startDateTime: '',\n endDateTime: '',\n}",
|
|
594
|
+
outputKeys: ["eventId", "htmlLink"]
|
|
578
595
|
},
|
|
579
596
|
"createGoogleDoc": {
|
|
580
597
|
method: "createGoogleDoc",
|
|
@@ -583,46 +600,56 @@ var stepSnippets = {
|
|
|
583
600
|
text: '',
|
|
584
601
|
connectionId: '',
|
|
585
602
|
textType: "plain",
|
|
586
|
-
}
|
|
603
|
+
}`,
|
|
604
|
+
outputKeys: ["documentUrl"]
|
|
587
605
|
},
|
|
588
606
|
"createGoogleSheet": {
|
|
589
607
|
method: "createGoogleSheet",
|
|
590
|
-
snippet: "{\n title: '',\n text: '',\n connectionId: '',\n}"
|
|
608
|
+
snippet: "{\n title: '',\n text: '',\n connectionId: '',\n}",
|
|
609
|
+
outputKeys: ["spreadsheetUrl"]
|
|
591
610
|
},
|
|
592
611
|
"deleteGoogleCalendarEvent": {
|
|
593
612
|
method: "deleteGoogleCalendarEvent",
|
|
594
|
-
snippet: "{\n connectionId: '',\n eventId: '',\n}"
|
|
613
|
+
snippet: "{\n connectionId: '',\n eventId: '',\n}",
|
|
614
|
+
outputKeys: []
|
|
595
615
|
},
|
|
596
616
|
"detectPII": {
|
|
597
617
|
method: "detectPII",
|
|
598
|
-
snippet: "{\n input: '',\n language: '',\n entities: [],\n}"
|
|
618
|
+
snippet: "{\n input: '',\n language: '',\n entities: [],\n}",
|
|
619
|
+
outputKeys: ["detected", "detections"]
|
|
599
620
|
},
|
|
600
621
|
"downloadVideo": {
|
|
601
622
|
method: "downloadVideo",
|
|
602
623
|
snippet: `{
|
|
603
624
|
videoUrl: '',
|
|
604
625
|
format: "mp4",
|
|
605
|
-
}
|
|
626
|
+
}`,
|
|
627
|
+
outputKeys: ["videoUrl"]
|
|
606
628
|
},
|
|
607
629
|
"enhanceImageGenerationPrompt": {
|
|
608
630
|
method: "enhanceImageGenerationPrompt",
|
|
609
|
-
snippet: "{\n initialPrompt: '',\n includeNegativePrompt: false,\n systemPrompt: '',\n}"
|
|
631
|
+
snippet: "{\n initialPrompt: '',\n includeNegativePrompt: false,\n systemPrompt: '',\n}",
|
|
632
|
+
outputKeys: ["prompt"]
|
|
610
633
|
},
|
|
611
634
|
"enhanceVideoGenerationPrompt": {
|
|
612
635
|
method: "enhanceVideoGenerationPrompt",
|
|
613
|
-
snippet: "{\n initialPrompt: '',\n includeNegativePrompt: false,\n systemPrompt: '',\n}"
|
|
636
|
+
snippet: "{\n initialPrompt: '',\n includeNegativePrompt: false,\n systemPrompt: '',\n}",
|
|
637
|
+
outputKeys: ["prompt"]
|
|
614
638
|
},
|
|
615
639
|
"enrichPerson": {
|
|
616
640
|
method: "enrichPerson",
|
|
617
|
-
snippet: "{\n params: {},\n}"
|
|
641
|
+
snippet: "{\n params: {},\n}",
|
|
642
|
+
outputKeys: ["data"]
|
|
618
643
|
},
|
|
619
644
|
"extractAudioFromVideo": {
|
|
620
645
|
method: "extractAudioFromVideo",
|
|
621
|
-
snippet: "{\n videoUrl: '',\n}"
|
|
646
|
+
snippet: "{\n videoUrl: '',\n}",
|
|
647
|
+
outputKeys: ["audioUrl"]
|
|
622
648
|
},
|
|
623
649
|
"extractText": {
|
|
624
650
|
method: "extractText",
|
|
625
|
-
snippet: "{\n url: '',\n}"
|
|
651
|
+
snippet: "{\n url: '',\n}",
|
|
652
|
+
outputKeys: ["text"]
|
|
626
653
|
},
|
|
627
654
|
"fetchGoogleDoc": {
|
|
628
655
|
method: "fetchGoogleDoc",
|
|
@@ -630,7 +657,8 @@ var stepSnippets = {
|
|
|
630
657
|
documentId: '',
|
|
631
658
|
connectionId: '',
|
|
632
659
|
exportType: "html",
|
|
633
|
-
}
|
|
660
|
+
}`,
|
|
661
|
+
outputKeys: ["content"]
|
|
634
662
|
},
|
|
635
663
|
"fetchGoogleSheet": {
|
|
636
664
|
method: "fetchGoogleSheet",
|
|
@@ -639,11 +667,13 @@ var stepSnippets = {
|
|
|
639
667
|
range: '',
|
|
640
668
|
connectionId: '',
|
|
641
669
|
exportType: "csv",
|
|
642
|
-
}
|
|
670
|
+
}`,
|
|
671
|
+
outputKeys: ["content"]
|
|
643
672
|
},
|
|
644
673
|
"fetchSlackChannelHistory": {
|
|
645
674
|
method: "fetchSlackChannelHistory",
|
|
646
|
-
snippet: "{\n connectionId: '',\n channelId: '',\n}"
|
|
675
|
+
snippet: "{\n connectionId: '',\n channelId: '',\n}",
|
|
676
|
+
outputKeys: ["messages"]
|
|
647
677
|
},
|
|
648
678
|
"fetchYoutubeCaptions": {
|
|
649
679
|
method: "fetchYoutubeCaptions",
|
|
@@ -651,11 +681,13 @@ var stepSnippets = {
|
|
|
651
681
|
videoUrl: '',
|
|
652
682
|
exportType: "text",
|
|
653
683
|
language: '',
|
|
654
|
-
}
|
|
684
|
+
}`,
|
|
685
|
+
outputKeys: ["transcripts"]
|
|
655
686
|
},
|
|
656
687
|
"fetchYoutubeChannel": {
|
|
657
688
|
method: "fetchYoutubeChannel",
|
|
658
|
-
snippet: "{\n channelUrl: '',\n}"
|
|
689
|
+
snippet: "{\n channelUrl: '',\n}",
|
|
690
|
+
outputKeys: ["channel"]
|
|
659
691
|
},
|
|
660
692
|
"fetchYoutubeComments": {
|
|
661
693
|
method: "fetchYoutubeComments",
|
|
@@ -663,11 +695,13 @@ var stepSnippets = {
|
|
|
663
695
|
videoUrl: '',
|
|
664
696
|
exportType: "text",
|
|
665
697
|
limitPages: '',
|
|
666
|
-
}
|
|
698
|
+
}`,
|
|
699
|
+
outputKeys: ["comments"]
|
|
667
700
|
},
|
|
668
701
|
"fetchYoutubeVideo": {
|
|
669
702
|
method: "fetchYoutubeVideo",
|
|
670
|
-
snippet: "{\n videoUrl: '',\n}"
|
|
703
|
+
snippet: "{\n videoUrl: '',\n}",
|
|
704
|
+
outputKeys: ["video"]
|
|
671
705
|
},
|
|
672
706
|
"generateAsset": {
|
|
673
707
|
method: "generateAsset",
|
|
@@ -677,23 +711,28 @@ var stepSnippets = {
|
|
|
677
711
|
outputFormat: "pdf",
|
|
678
712
|
pageSize: "full",
|
|
679
713
|
testData: {},
|
|
680
|
-
}
|
|
714
|
+
}`,
|
|
715
|
+
outputKeys: ["url"]
|
|
681
716
|
},
|
|
682
717
|
"generateChart": {
|
|
683
718
|
method: "generateChart",
|
|
684
|
-
snippet: "{\n chart: {},\n}"
|
|
719
|
+
snippet: "{\n chart: {},\n}",
|
|
720
|
+
outputKeys: ["chartUrl"]
|
|
685
721
|
},
|
|
686
722
|
"generateImage": {
|
|
687
723
|
method: "generateImage",
|
|
688
|
-
snippet: "{\n prompt: '',\n}"
|
|
724
|
+
snippet: "{\n prompt: '',\n}",
|
|
725
|
+
outputKeys: ["imageUrl"]
|
|
689
726
|
},
|
|
690
727
|
"generateLipsync": {
|
|
691
728
|
method: "generateLipsync",
|
|
692
|
-
snippet: "{}"
|
|
729
|
+
snippet: "{}",
|
|
730
|
+
outputKeys: []
|
|
693
731
|
},
|
|
694
732
|
"generateMusic": {
|
|
695
733
|
method: "generateMusic",
|
|
696
|
-
snippet: "{\n text: '',\n}"
|
|
734
|
+
snippet: "{\n text: '',\n}",
|
|
735
|
+
outputKeys: []
|
|
697
736
|
},
|
|
698
737
|
"generatePdf": {
|
|
699
738
|
method: "generatePdf",
|
|
@@ -703,19 +742,23 @@ var stepSnippets = {
|
|
|
703
742
|
outputFormat: "pdf",
|
|
704
743
|
pageSize: "full",
|
|
705
744
|
testData: {},
|
|
706
|
-
}
|
|
745
|
+
}`,
|
|
746
|
+
outputKeys: ["url"]
|
|
707
747
|
},
|
|
708
748
|
"generateStaticVideoFromImage": {
|
|
709
749
|
method: "generateStaticVideoFromImage",
|
|
710
|
-
snippet: "{\n imageUrl: '',\n duration: '',\n}"
|
|
750
|
+
snippet: "{\n imageUrl: '',\n duration: '',\n}",
|
|
751
|
+
outputKeys: ["videoUrl"]
|
|
711
752
|
},
|
|
712
753
|
"generateText": {
|
|
713
754
|
method: "generateText",
|
|
714
|
-
snippet: "{\n message: '',\n}"
|
|
755
|
+
snippet: "{\n message: '',\n}",
|
|
756
|
+
outputKeys: ["content"]
|
|
715
757
|
},
|
|
716
758
|
"generateVideo": {
|
|
717
759
|
method: "generateVideo",
|
|
718
|
-
snippet: "{\n prompt: '',\n}"
|
|
760
|
+
snippet: "{\n prompt: '',\n}",
|
|
761
|
+
outputKeys: ["videoUrl"]
|
|
719
762
|
},
|
|
720
763
|
"getGoogleCalendarEvent": {
|
|
721
764
|
method: "getGoogleCalendarEvent",
|
|
@@ -723,11 +766,13 @@ var stepSnippets = {
|
|
|
723
766
|
connectionId: '',
|
|
724
767
|
eventId: '',
|
|
725
768
|
exportType: "json",
|
|
726
|
-
}
|
|
769
|
+
}`,
|
|
770
|
+
outputKeys: ["event"]
|
|
727
771
|
},
|
|
728
772
|
"getMediaMetadata": {
|
|
729
773
|
method: "getMediaMetadata",
|
|
730
|
-
snippet: "{\n mediaUrl: '',\n}"
|
|
774
|
+
snippet: "{\n mediaUrl: '',\n}",
|
|
775
|
+
outputKeys: ["metadata"]
|
|
731
776
|
},
|
|
732
777
|
"httpRequest": {
|
|
733
778
|
method: "httpRequest",
|
|
@@ -740,15 +785,18 @@ var stepSnippets = {
|
|
|
740
785
|
bodyItems: {},
|
|
741
786
|
contentType: "none",
|
|
742
787
|
customContentType: '',
|
|
743
|
-
}
|
|
788
|
+
}`,
|
|
789
|
+
outputKeys: ["ok", "status", "statusText", "response"]
|
|
744
790
|
},
|
|
745
791
|
"hubspotCreateCompany": {
|
|
746
792
|
method: "hubspotCreateCompany",
|
|
747
|
-
snippet: "{\n connectionId: '',\n company: {},\n enabledProperties: [],\n}"
|
|
793
|
+
snippet: "{\n connectionId: '',\n company: {},\n enabledProperties: [],\n}",
|
|
794
|
+
outputKeys: ["companyId"]
|
|
748
795
|
},
|
|
749
796
|
"hubspotCreateContact": {
|
|
750
797
|
method: "hubspotCreateContact",
|
|
751
|
-
snippet: "{\n connectionId: '',\n contact: {},\n enabledProperties: [],\n companyDomain: '',\n}"
|
|
798
|
+
snippet: "{\n connectionId: '',\n contact: {},\n enabledProperties: [],\n companyDomain: '',\n}",
|
|
799
|
+
outputKeys: ["contactId"]
|
|
752
800
|
},
|
|
753
801
|
"hubspotGetCompany": {
|
|
754
802
|
method: "hubspotGetCompany",
|
|
@@ -758,7 +806,8 @@ var stepSnippets = {
|
|
|
758
806
|
companyDomain: '',
|
|
759
807
|
companyId: '',
|
|
760
808
|
additionalProperties: [],
|
|
761
|
-
}
|
|
809
|
+
}`,
|
|
810
|
+
outputKeys: ["company"]
|
|
762
811
|
},
|
|
763
812
|
"hubspotGetContact": {
|
|
764
813
|
method: "hubspotGetContact",
|
|
@@ -768,39 +817,48 @@ var stepSnippets = {
|
|
|
768
817
|
contactEmail: '',
|
|
769
818
|
contactId: '',
|
|
770
819
|
additionalProperties: [],
|
|
771
|
-
}
|
|
820
|
+
}`,
|
|
821
|
+
outputKeys: ["contact"]
|
|
772
822
|
},
|
|
773
823
|
"hunterApiCompanyEnrichment": {
|
|
774
824
|
method: "hunterApiCompanyEnrichment",
|
|
775
|
-
snippet: "{\n domain: '',\n}"
|
|
825
|
+
snippet: "{\n domain: '',\n}",
|
|
826
|
+
outputKeys: ["data"]
|
|
776
827
|
},
|
|
777
828
|
"hunterApiDomainSearch": {
|
|
778
829
|
method: "hunterApiDomainSearch",
|
|
779
|
-
snippet: "{\n domain: '',\n}"
|
|
830
|
+
snippet: "{\n domain: '',\n}",
|
|
831
|
+
outputKeys: ["data"]
|
|
780
832
|
},
|
|
781
833
|
"hunterApiEmailFinder": {
|
|
782
834
|
method: "hunterApiEmailFinder",
|
|
783
|
-
snippet: "{\n domain: '',\n firstName: '',\n lastName: '',\n}"
|
|
835
|
+
snippet: "{\n domain: '',\n firstName: '',\n lastName: '',\n}",
|
|
836
|
+
outputKeys: ["data"]
|
|
784
837
|
},
|
|
785
838
|
"hunterApiEmailVerification": {
|
|
786
839
|
method: "hunterApiEmailVerification",
|
|
787
|
-
snippet: "{\n email: '',\n}"
|
|
840
|
+
snippet: "{\n email: '',\n}",
|
|
841
|
+
outputKeys: ["data"]
|
|
788
842
|
},
|
|
789
843
|
"hunterApiPersonEnrichment": {
|
|
790
844
|
method: "hunterApiPersonEnrichment",
|
|
791
|
-
snippet: "{\n email: '',\n}"
|
|
845
|
+
snippet: "{\n email: '',\n}",
|
|
846
|
+
outputKeys: ["data"]
|
|
792
847
|
},
|
|
793
848
|
"imageFaceSwap": {
|
|
794
849
|
method: "imageFaceSwap",
|
|
795
|
-
snippet: "{\n imageUrl: '',\n faceImageUrl: '',\n engine: '',\n}"
|
|
850
|
+
snippet: "{\n imageUrl: '',\n faceImageUrl: '',\n engine: '',\n}",
|
|
851
|
+
outputKeys: ["imageUrl"]
|
|
796
852
|
},
|
|
797
853
|
"imageRemoveWatermark": {
|
|
798
854
|
method: "imageRemoveWatermark",
|
|
799
|
-
snippet: "{\n imageUrl: '',\n engine: '',\n}"
|
|
855
|
+
snippet: "{\n imageUrl: '',\n engine: '',\n}",
|
|
856
|
+
outputKeys: ["imageUrl"]
|
|
800
857
|
},
|
|
801
858
|
"insertVideoClips": {
|
|
802
859
|
method: "insertVideoClips",
|
|
803
|
-
snippet: "{\n baseVideoUrl: '',\n overlayVideos: [],\n}"
|
|
860
|
+
snippet: "{\n baseVideoUrl: '',\n overlayVideos: [],\n}",
|
|
861
|
+
outputKeys: ["videoUrl"]
|
|
804
862
|
},
|
|
805
863
|
"listGoogleCalendarEvents": {
|
|
806
864
|
method: "listGoogleCalendarEvents",
|
|
@@ -808,31 +866,38 @@ var stepSnippets = {
|
|
|
808
866
|
connectionId: '',
|
|
809
867
|
limit: 0,
|
|
810
868
|
exportType: "json",
|
|
811
|
-
}
|
|
869
|
+
}`,
|
|
870
|
+
outputKeys: ["events"]
|
|
812
871
|
},
|
|
813
872
|
"logic": {
|
|
814
873
|
method: "logic",
|
|
815
|
-
snippet: "{\n context: '',\n cases: [],\n}"
|
|
874
|
+
snippet: "{\n context: '',\n cases: [],\n}",
|
|
875
|
+
outputKeys: ["selectedCase"]
|
|
816
876
|
},
|
|
817
877
|
"makeDotComRunScenario": {
|
|
818
878
|
method: "makeDotComRunScenario",
|
|
819
|
-
snippet: "{\n webhookUrl: '',\n input: {},\n}"
|
|
879
|
+
snippet: "{\n webhookUrl: '',\n input: {},\n}",
|
|
880
|
+
outputKeys: ["data"]
|
|
820
881
|
},
|
|
821
882
|
"mergeAudio": {
|
|
822
883
|
method: "mergeAudio",
|
|
823
|
-
snippet: "{\n mp3Urls: [],\n}"
|
|
884
|
+
snippet: "{\n mp3Urls: [],\n}",
|
|
885
|
+
outputKeys: ["audioUrl"]
|
|
824
886
|
},
|
|
825
887
|
"mergeVideos": {
|
|
826
888
|
method: "mergeVideos",
|
|
827
|
-
snippet: "{\n videoUrls: [],\n}"
|
|
889
|
+
snippet: "{\n videoUrls: [],\n}",
|
|
890
|
+
outputKeys: ["videoUrl"]
|
|
828
891
|
},
|
|
829
892
|
"mixAudioIntoVideo": {
|
|
830
893
|
method: "mixAudioIntoVideo",
|
|
831
|
-
snippet: "{\n videoUrl: '',\n audioUrl: '',\n options: {},\n}"
|
|
894
|
+
snippet: "{\n videoUrl: '',\n audioUrl: '',\n options: {},\n}",
|
|
895
|
+
outputKeys: ["videoUrl"]
|
|
832
896
|
},
|
|
833
897
|
"muteVideo": {
|
|
834
898
|
method: "muteVideo",
|
|
835
|
-
snippet: "{\n videoUrl: '',\n}"
|
|
899
|
+
snippet: "{\n videoUrl: '',\n}",
|
|
900
|
+
outputKeys: ["videoUrl"]
|
|
836
901
|
},
|
|
837
902
|
"n8nRunNode": {
|
|
838
903
|
method: "n8nRunNode",
|
|
@@ -843,11 +908,13 @@ var stepSnippets = {
|
|
|
843
908
|
password: '',
|
|
844
909
|
webhookUrl: '',
|
|
845
910
|
input: {},
|
|
846
|
-
}
|
|
911
|
+
}`,
|
|
912
|
+
outputKeys: ["data"]
|
|
847
913
|
},
|
|
848
914
|
"notionCreatePage": {
|
|
849
915
|
method: "notionCreatePage",
|
|
850
|
-
snippet: "{\n pageId: '',\n content: '',\n title: '',\n connectionId: '',\n}"
|
|
916
|
+
snippet: "{\n pageId: '',\n content: '',\n title: '',\n connectionId: '',\n}",
|
|
917
|
+
outputKeys: ["pageId", "pageUrl"]
|
|
851
918
|
},
|
|
852
919
|
"notionUpdatePage": {
|
|
853
920
|
method: "notionUpdatePage",
|
|
@@ -856,11 +923,13 @@ var stepSnippets = {
|
|
|
856
923
|
content: '',
|
|
857
924
|
mode: "append",
|
|
858
925
|
connectionId: '',
|
|
859
|
-
}
|
|
926
|
+
}`,
|
|
927
|
+
outputKeys: ["pageId", "pageUrl"]
|
|
860
928
|
},
|
|
861
929
|
"peopleSearch": {
|
|
862
930
|
method: "peopleSearch",
|
|
863
|
-
snippet: "{\n smartQuery: '',\n enrichPeople: false,\n enrichOrganizations: false,\n limit: '',\n page: '',\n params: {},\n}"
|
|
931
|
+
snippet: "{\n smartQuery: '',\n enrichPeople: false,\n enrichOrganizations: false,\n limit: '',\n page: '',\n params: {},\n}",
|
|
932
|
+
outputKeys: ["results"]
|
|
864
933
|
},
|
|
865
934
|
"postToLinkedIn": {
|
|
866
935
|
method: "postToLinkedIn",
|
|
@@ -868,7 +937,8 @@ var stepSnippets = {
|
|
|
868
937
|
message: '',
|
|
869
938
|
visibility: "PUBLIC",
|
|
870
939
|
connectionId: '',
|
|
871
|
-
}
|
|
940
|
+
}`,
|
|
941
|
+
outputKeys: []
|
|
872
942
|
},
|
|
873
943
|
"postToSlackChannel": {
|
|
874
944
|
method: "postToSlackChannel",
|
|
@@ -877,19 +947,23 @@ var stepSnippets = {
|
|
|
877
947
|
messageType: "string",
|
|
878
948
|
message: '',
|
|
879
949
|
connectionId: '',
|
|
880
|
-
}
|
|
950
|
+
}`,
|
|
951
|
+
outputKeys: []
|
|
881
952
|
},
|
|
882
953
|
"postToX": {
|
|
883
954
|
method: "postToX",
|
|
884
|
-
snippet: "{\n text: '',\n connectionId: '',\n}"
|
|
955
|
+
snippet: "{\n text: '',\n connectionId: '',\n}",
|
|
956
|
+
outputKeys: []
|
|
885
957
|
},
|
|
886
958
|
"postToZapier": {
|
|
887
959
|
method: "postToZapier",
|
|
888
|
-
snippet: "{\n webhookUrl: '',\n input: {},\n}"
|
|
960
|
+
snippet: "{\n webhookUrl: '',\n input: {},\n}",
|
|
961
|
+
outputKeys: ["data"]
|
|
889
962
|
},
|
|
890
963
|
"queryDataSource": {
|
|
891
964
|
method: "queryDataSource",
|
|
892
|
-
snippet: "{\n dataSourceId: '',\n query: '',\n maxResults: 0,\n}"
|
|
965
|
+
snippet: "{\n dataSourceId: '',\n query: '',\n maxResults: 0,\n}",
|
|
966
|
+
outputKeys: ["text", "chunks", "query", "citations", "latencyMs"]
|
|
893
967
|
},
|
|
894
968
|
"queryExternalDatabase": {
|
|
895
969
|
method: "queryExternalDatabase",
|
|
@@ -897,66 +971,81 @@ var stepSnippets = {
|
|
|
897
971
|
connectionId: '',
|
|
898
972
|
query: '',
|
|
899
973
|
outputFormat: "json",
|
|
900
|
-
}
|
|
974
|
+
}`,
|
|
975
|
+
outputKeys: ["data"]
|
|
901
976
|
},
|
|
902
977
|
"redactPII": {
|
|
903
978
|
method: "redactPII",
|
|
904
|
-
snippet: "{\n input: '',\n language: '',\n entities: [],\n}"
|
|
979
|
+
snippet: "{\n input: '',\n language: '',\n entities: [],\n}",
|
|
980
|
+
outputKeys: ["text"]
|
|
905
981
|
},
|
|
906
982
|
"removeBackgroundFromImage": {
|
|
907
983
|
method: "removeBackgroundFromImage",
|
|
908
|
-
snippet: "{\n imageUrl: '',\n}"
|
|
984
|
+
snippet: "{\n imageUrl: '',\n}",
|
|
985
|
+
outputKeys: ["imageUrl"]
|
|
909
986
|
},
|
|
910
987
|
"resizeVideo": {
|
|
911
988
|
method: "resizeVideo",
|
|
912
989
|
snippet: `{
|
|
913
990
|
videoUrl: '',
|
|
914
991
|
mode: "fit",
|
|
915
|
-
}
|
|
992
|
+
}`,
|
|
993
|
+
outputKeys: ["videoUrl"]
|
|
916
994
|
},
|
|
917
995
|
"runPackagedWorkflow": {
|
|
918
996
|
method: "runPackagedWorkflow",
|
|
919
|
-
snippet: "{\n appId: '',\n workflowId: '',\n inputVariables: {},\n outputVariables: {},\n name: '',\n}"
|
|
997
|
+
snippet: "{\n appId: '',\n workflowId: '',\n inputVariables: {},\n outputVariables: {},\n name: '',\n}",
|
|
998
|
+
outputKeys: ["data"]
|
|
920
999
|
},
|
|
921
1000
|
"scrapeFacebookPage": {
|
|
922
1001
|
method: "scrapeFacebookPage",
|
|
923
|
-
snippet: "{\n pageUrl: '',\n}"
|
|
1002
|
+
snippet: "{\n pageUrl: '',\n}",
|
|
1003
|
+
outputKeys: ["data"]
|
|
924
1004
|
},
|
|
925
1005
|
"scrapeFacebookPosts": {
|
|
926
1006
|
method: "scrapeFacebookPosts",
|
|
927
|
-
snippet: "{\n pageUrl: '',\n}"
|
|
1007
|
+
snippet: "{\n pageUrl: '',\n}",
|
|
1008
|
+
outputKeys: ["data"]
|
|
928
1009
|
},
|
|
929
1010
|
"scrapeInstagramComments": {
|
|
930
1011
|
method: "scrapeInstagramComments",
|
|
931
|
-
snippet: "{\n postUrl: '',\n resultsLimit: '',\n}"
|
|
1012
|
+
snippet: "{\n postUrl: '',\n resultsLimit: '',\n}",
|
|
1013
|
+
outputKeys: ["data"]
|
|
932
1014
|
},
|
|
933
1015
|
"scrapeInstagramMentions": {
|
|
934
1016
|
method: "scrapeInstagramMentions",
|
|
935
|
-
snippet: "{\n profileUrl: '',\n resultsLimit: '',\n}"
|
|
1017
|
+
snippet: "{\n profileUrl: '',\n resultsLimit: '',\n}",
|
|
1018
|
+
outputKeys: ["data"]
|
|
936
1019
|
},
|
|
937
1020
|
"scrapeInstagramPosts": {
|
|
938
1021
|
method: "scrapeInstagramPosts",
|
|
939
|
-
snippet: "{\n profileUrl: '',\n resultsLimit: '',\n onlyPostsNewerThan: '',\n}"
|
|
1022
|
+
snippet: "{\n profileUrl: '',\n resultsLimit: '',\n onlyPostsNewerThan: '',\n}",
|
|
1023
|
+
outputKeys: ["data"]
|
|
940
1024
|
},
|
|
941
1025
|
"scrapeInstagramProfile": {
|
|
942
1026
|
method: "scrapeInstagramProfile",
|
|
943
|
-
snippet: "{\n profileUrl: '',\n}"
|
|
1027
|
+
snippet: "{\n profileUrl: '',\n}",
|
|
1028
|
+
outputKeys: ["data"]
|
|
944
1029
|
},
|
|
945
1030
|
"scrapeInstagramReels": {
|
|
946
1031
|
method: "scrapeInstagramReels",
|
|
947
|
-
snippet: "{\n profileUrl: '',\n resultsLimit: '',\n}"
|
|
1032
|
+
snippet: "{\n profileUrl: '',\n resultsLimit: '',\n}",
|
|
1033
|
+
outputKeys: ["data"]
|
|
948
1034
|
},
|
|
949
1035
|
"scrapeLinkedInCompany": {
|
|
950
1036
|
method: "scrapeLinkedInCompany",
|
|
951
|
-
snippet: "{\n url: '',\n}"
|
|
1037
|
+
snippet: "{\n url: '',\n}",
|
|
1038
|
+
outputKeys: ["company"]
|
|
952
1039
|
},
|
|
953
1040
|
"scrapeLinkedInProfile": {
|
|
954
1041
|
method: "scrapeLinkedInProfile",
|
|
955
|
-
snippet: "{\n url: '',\n}"
|
|
1042
|
+
snippet: "{\n url: '',\n}",
|
|
1043
|
+
outputKeys: ["profile"]
|
|
956
1044
|
},
|
|
957
1045
|
"scrapeMetaThreadsProfile": {
|
|
958
1046
|
method: "scrapeMetaThreadsProfile",
|
|
959
|
-
snippet: "{\n profileUrl: '',\n}"
|
|
1047
|
+
snippet: "{\n profileUrl: '',\n}",
|
|
1048
|
+
outputKeys: ["data"]
|
|
960
1049
|
},
|
|
961
1050
|
"scrapeUrl": {
|
|
962
1051
|
method: "scrapeUrl",
|
|
@@ -966,36 +1055,42 @@ var stepSnippets = {
|
|
|
966
1055
|
autoEnhance: false,
|
|
967
1056
|
outputFormat: "text",
|
|
968
1057
|
pageOptions: {},
|
|
969
|
-
}
|
|
1058
|
+
}`,
|
|
1059
|
+
outputKeys: ["content"]
|
|
970
1060
|
},
|
|
971
1061
|
"scrapeXPost": {
|
|
972
1062
|
method: "scrapeXPost",
|
|
973
|
-
snippet: "{\n url: '',\n}"
|
|
1063
|
+
snippet: "{\n url: '',\n}",
|
|
1064
|
+
outputKeys: ["post"]
|
|
974
1065
|
},
|
|
975
1066
|
"scrapeXProfile": {
|
|
976
1067
|
method: "scrapeXProfile",
|
|
977
|
-
snippet: "{\n url: '',\n}"
|
|
1068
|
+
snippet: "{\n url: '',\n}",
|
|
1069
|
+
outputKeys: ["profile"]
|
|
978
1070
|
},
|
|
979
1071
|
"searchGoogle": {
|
|
980
1072
|
method: "searchGoogle",
|
|
981
1073
|
snippet: `{
|
|
982
1074
|
query: '',
|
|
983
1075
|
exportType: "text",
|
|
984
|
-
}
|
|
1076
|
+
}`,
|
|
1077
|
+
outputKeys: ["results"]
|
|
985
1078
|
},
|
|
986
1079
|
"searchGoogleImages": {
|
|
987
1080
|
method: "searchGoogleImages",
|
|
988
1081
|
snippet: `{
|
|
989
1082
|
query: '',
|
|
990
1083
|
exportType: "text",
|
|
991
|
-
}
|
|
1084
|
+
}`,
|
|
1085
|
+
outputKeys: ["images"]
|
|
992
1086
|
},
|
|
993
1087
|
"searchGoogleNews": {
|
|
994
1088
|
method: "searchGoogleNews",
|
|
995
1089
|
snippet: `{
|
|
996
1090
|
text: '',
|
|
997
1091
|
exportType: "text",
|
|
998
|
-
}
|
|
1092
|
+
}`,
|
|
1093
|
+
outputKeys: ["articles"]
|
|
999
1094
|
},
|
|
1000
1095
|
"searchGoogleTrends": {
|
|
1001
1096
|
method: "searchGoogleTrends",
|
|
@@ -1007,14 +1102,16 @@ var stepSnippets = {
|
|
|
1007
1102
|
cat: '',
|
|
1008
1103
|
date: '',
|
|
1009
1104
|
ts: '',
|
|
1010
|
-
}
|
|
1105
|
+
}`,
|
|
1106
|
+
outputKeys: ["trends"]
|
|
1011
1107
|
},
|
|
1012
1108
|
"searchPerplexity": {
|
|
1013
1109
|
method: "searchPerplexity",
|
|
1014
1110
|
snippet: `{
|
|
1015
1111
|
query: '',
|
|
1016
1112
|
exportType: "text",
|
|
1017
|
-
}
|
|
1113
|
+
}`,
|
|
1114
|
+
outputKeys: ["results"]
|
|
1018
1115
|
},
|
|
1019
1116
|
"searchXPosts": {
|
|
1020
1117
|
method: "searchXPosts",
|
|
@@ -1022,11 +1119,13 @@ var stepSnippets = {
|
|
|
1022
1119
|
query: '',
|
|
1023
1120
|
scope: "recent",
|
|
1024
1121
|
options: {},
|
|
1025
|
-
}
|
|
1122
|
+
}`,
|
|
1123
|
+
outputKeys: ["posts"]
|
|
1026
1124
|
},
|
|
1027
1125
|
"searchYoutube": {
|
|
1028
1126
|
method: "searchYoutube",
|
|
1029
|
-
snippet: "{\n query: '',\n limitPages: '',\n filter: '',\n filterType: '',\n}"
|
|
1127
|
+
snippet: "{\n query: '',\n limitPages: '',\n filter: '',\n filterType: '',\n}",
|
|
1128
|
+
outputKeys: ["results"]
|
|
1030
1129
|
},
|
|
1031
1130
|
"searchYoutubeTrends": {
|
|
1032
1131
|
method: "searchYoutubeTrends",
|
|
@@ -1034,26 +1133,31 @@ var stepSnippets = {
|
|
|
1034
1133
|
bp: "now",
|
|
1035
1134
|
hl: '',
|
|
1036
1135
|
gl: '',
|
|
1037
|
-
}
|
|
1136
|
+
}`,
|
|
1137
|
+
outputKeys: ["trends"]
|
|
1038
1138
|
},
|
|
1039
1139
|
"sendEmail": {
|
|
1040
1140
|
method: "sendEmail",
|
|
1041
|
-
snippet: "{\n subject: '',\n body: '',\n connectionId: '',\n}"
|
|
1141
|
+
snippet: "{\n subject: '',\n body: '',\n connectionId: '',\n}",
|
|
1142
|
+
outputKeys: ["recipients"]
|
|
1042
1143
|
},
|
|
1043
1144
|
"sendSMS": {
|
|
1044
1145
|
method: "sendSMS",
|
|
1045
|
-
snippet: "{\n body: '',\n connectionId: '',\n}"
|
|
1146
|
+
snippet: "{\n body: '',\n connectionId: '',\n}",
|
|
1147
|
+
outputKeys: []
|
|
1046
1148
|
},
|
|
1047
1149
|
"setRunTitle": {
|
|
1048
1150
|
method: "setRunTitle",
|
|
1049
|
-
snippet: "{\n title: '',\n}"
|
|
1151
|
+
snippet: "{\n title: '',\n}",
|
|
1152
|
+
outputKeys: []
|
|
1050
1153
|
},
|
|
1051
1154
|
"setVariable": {
|
|
1052
1155
|
method: "setVariable",
|
|
1053
1156
|
snippet: `{
|
|
1054
1157
|
value: '',
|
|
1055
1158
|
type: "imageUrl",
|
|
1056
|
-
}
|
|
1159
|
+
}`,
|
|
1160
|
+
outputKeys: ["variableName", "value"]
|
|
1057
1161
|
},
|
|
1058
1162
|
"telegramSendAudio": {
|
|
1059
1163
|
method: "telegramSendAudio",
|
|
@@ -1062,43 +1166,53 @@ var stepSnippets = {
|
|
|
1062
1166
|
chatId: '',
|
|
1063
1167
|
audioUrl: '',
|
|
1064
1168
|
mode: "audio",
|
|
1065
|
-
}
|
|
1169
|
+
}`,
|
|
1170
|
+
outputKeys: []
|
|
1066
1171
|
},
|
|
1067
1172
|
"telegramSendFile": {
|
|
1068
1173
|
method: "telegramSendFile",
|
|
1069
|
-
snippet: "{\n botToken: '',\n chatId: '',\n fileUrl: '',\n}"
|
|
1174
|
+
snippet: "{\n botToken: '',\n chatId: '',\n fileUrl: '',\n}",
|
|
1175
|
+
outputKeys: []
|
|
1070
1176
|
},
|
|
1071
1177
|
"telegramSendImage": {
|
|
1072
1178
|
method: "telegramSendImage",
|
|
1073
|
-
snippet: "{\n botToken: '',\n chatId: '',\n imageUrl: '',\n}"
|
|
1179
|
+
snippet: "{\n botToken: '',\n chatId: '',\n imageUrl: '',\n}",
|
|
1180
|
+
outputKeys: []
|
|
1074
1181
|
},
|
|
1075
1182
|
"telegramSendMessage": {
|
|
1076
1183
|
method: "telegramSendMessage",
|
|
1077
|
-
snippet: "{\n botToken: '',\n chatId: '',\n text: '',\n}"
|
|
1184
|
+
snippet: "{\n botToken: '',\n chatId: '',\n text: '',\n}",
|
|
1185
|
+
outputKeys: []
|
|
1078
1186
|
},
|
|
1079
1187
|
"telegramSendVideo": {
|
|
1080
1188
|
method: "telegramSendVideo",
|
|
1081
|
-
snippet: "{\n botToken: '',\n chatId: '',\n videoUrl: '',\n}"
|
|
1189
|
+
snippet: "{\n botToken: '',\n chatId: '',\n videoUrl: '',\n}",
|
|
1190
|
+
outputKeys: []
|
|
1082
1191
|
},
|
|
1083
1192
|
"telegramSetTyping": {
|
|
1084
1193
|
method: "telegramSetTyping",
|
|
1085
|
-
snippet: "{\n botToken: '',\n chatId: '',\n}"
|
|
1194
|
+
snippet: "{\n botToken: '',\n chatId: '',\n}",
|
|
1195
|
+
outputKeys: []
|
|
1086
1196
|
},
|
|
1087
1197
|
"textToSpeech": {
|
|
1088
1198
|
method: "textToSpeech",
|
|
1089
|
-
snippet: "{\n text: '',\n}"
|
|
1199
|
+
snippet: "{\n text: '',\n}",
|
|
1200
|
+
outputKeys: ["audioUrl"]
|
|
1090
1201
|
},
|
|
1091
1202
|
"transcribeAudio": {
|
|
1092
1203
|
method: "transcribeAudio",
|
|
1093
|
-
snippet: "{\n audioUrl: '',\n prompt: '',\n}"
|
|
1204
|
+
snippet: "{\n audioUrl: '',\n prompt: '',\n}",
|
|
1205
|
+
outputKeys: ["text"]
|
|
1094
1206
|
},
|
|
1095
1207
|
"trimMedia": {
|
|
1096
1208
|
method: "trimMedia",
|
|
1097
|
-
snippet: "{\n inputUrl: '',\n}"
|
|
1209
|
+
snippet: "{\n inputUrl: '',\n}",
|
|
1210
|
+
outputKeys: ["mediaUrl"]
|
|
1098
1211
|
},
|
|
1099
1212
|
"updateGoogleCalendarEvent": {
|
|
1100
1213
|
method: "updateGoogleCalendarEvent",
|
|
1101
|
-
snippet: "{\n connectionId: '',\n eventId: '',\n}"
|
|
1214
|
+
snippet: "{\n connectionId: '',\n eventId: '',\n}",
|
|
1215
|
+
outputKeys: ["eventId", "htmlLink"]
|
|
1102
1216
|
},
|
|
1103
1217
|
"updateGoogleDoc": {
|
|
1104
1218
|
method: "updateGoogleDoc",
|
|
@@ -1108,7 +1222,8 @@ var stepSnippets = {
|
|
|
1108
1222
|
text: '',
|
|
1109
1223
|
textType: "plain",
|
|
1110
1224
|
operationType: "addToTop",
|
|
1111
|
-
}
|
|
1225
|
+
}`,
|
|
1226
|
+
outputKeys: ["documentUrl"]
|
|
1112
1227
|
},
|
|
1113
1228
|
"updateGoogleSheet": {
|
|
1114
1229
|
method: "updateGoogleSheet",
|
|
@@ -1118,7 +1233,8 @@ var stepSnippets = {
|
|
|
1118
1233
|
spreadsheetId: '',
|
|
1119
1234
|
range: '',
|
|
1120
1235
|
operationType: "addToBottom",
|
|
1121
|
-
}
|
|
1236
|
+
}`,
|
|
1237
|
+
outputKeys: ["spreadsheetUrl"]
|
|
1122
1238
|
},
|
|
1123
1239
|
"upscaleImage": {
|
|
1124
1240
|
method: "upscaleImage",
|
|
@@ -1126,7 +1242,8 @@ var stepSnippets = {
|
|
|
1126
1242
|
imageUrl: '',
|
|
1127
1243
|
targetResolution: "2k",
|
|
1128
1244
|
engine: "standard",
|
|
1129
|
-
}
|
|
1245
|
+
}`,
|
|
1246
|
+
outputKeys: ["imageUrl"]
|
|
1130
1247
|
},
|
|
1131
1248
|
"upscaleVideo": {
|
|
1132
1249
|
method: "upscaleVideo",
|
|
@@ -1134,15 +1251,18 @@ var stepSnippets = {
|
|
|
1134
1251
|
videoUrl: '',
|
|
1135
1252
|
targetResolution: "720p",
|
|
1136
1253
|
engine: "standard",
|
|
1137
|
-
}
|
|
1254
|
+
}`,
|
|
1255
|
+
outputKeys: ["videoUrl"]
|
|
1138
1256
|
},
|
|
1139
1257
|
"userMessage": {
|
|
1140
1258
|
method: "userMessage",
|
|
1141
|
-
snippet: "{\n message: '',\n}"
|
|
1259
|
+
snippet: "{\n message: '',\n}",
|
|
1260
|
+
outputKeys: ["content"]
|
|
1142
1261
|
},
|
|
1143
1262
|
"videoFaceSwap": {
|
|
1144
1263
|
method: "videoFaceSwap",
|
|
1145
|
-
snippet: "{\n videoUrl: '',\n faceImageUrl: '',\n targetIndex: 0,\n engine: '',\n}"
|
|
1264
|
+
snippet: "{\n videoUrl: '',\n faceImageUrl: '',\n targetIndex: 0,\n engine: '',\n}",
|
|
1265
|
+
outputKeys: ["videoUrl"]
|
|
1146
1266
|
},
|
|
1147
1267
|
"videoRemoveBackground": {
|
|
1148
1268
|
method: "videoRemoveBackground",
|
|
@@ -1150,11 +1270,13 @@ var stepSnippets = {
|
|
|
1150
1270
|
videoUrl: '',
|
|
1151
1271
|
newBackground: "transparent",
|
|
1152
1272
|
engine: '',
|
|
1153
|
-
}
|
|
1273
|
+
}`,
|
|
1274
|
+
outputKeys: ["videoUrl"]
|
|
1154
1275
|
},
|
|
1155
1276
|
"videoRemoveWatermark": {
|
|
1156
1277
|
method: "videoRemoveWatermark",
|
|
1157
|
-
snippet: "{\n videoUrl: '',\n engine: '',\n}"
|
|
1278
|
+
snippet: "{\n videoUrl: '',\n engine: '',\n}",
|
|
1279
|
+
outputKeys: ["videoUrl"]
|
|
1158
1280
|
},
|
|
1159
1281
|
"watermarkImage": {
|
|
1160
1282
|
method: "watermarkImage",
|
|
@@ -1164,7 +1286,8 @@ var stepSnippets = {
|
|
|
1164
1286
|
corner: "top-left",
|
|
1165
1287
|
paddingPx: 0,
|
|
1166
1288
|
widthPx: 0,
|
|
1167
|
-
}
|
|
1289
|
+
}`,
|
|
1290
|
+
outputKeys: ["imageUrl"]
|
|
1168
1291
|
},
|
|
1169
1292
|
"watermarkVideo": {
|
|
1170
1293
|
method: "watermarkVideo",
|
|
@@ -1174,7 +1297,8 @@ var stepSnippets = {
|
|
|
1174
1297
|
corner: "top-left",
|
|
1175
1298
|
paddingPx: 0,
|
|
1176
1299
|
widthPx: 0,
|
|
1177
|
-
}
|
|
1300
|
+
}`,
|
|
1301
|
+
outputKeys: ["videoUrl"]
|
|
1178
1302
|
}
|
|
1179
1303
|
};
|
|
1180
1304
|
|