@apteva/integrations 0.3.34 → 0.3.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apteva/integrations",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.36",
|
|
4
4
|
"description": "Local integrations, connections, and webhooks for Apteva. Self-contained app templates, OAuth engine, and trigger provider.",
|
|
5
5
|
"author": "Apteva <hello@apteva.com>",
|
|
6
6
|
"license": "Elastic-2.0",
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
448
|
"name": "list_voices",
|
|
449
|
-
"description": "List available voices from the
|
|
449
|
+
"description": "List available voices from the voice library. If empty, run sync-voices first to populate with ElevenLabs premade voices. Returns voice ID, name, category, language, and preview URL.",
|
|
450
450
|
"method": "GET",
|
|
451
451
|
"path": "/ai/voices",
|
|
452
452
|
"input_schema": {
|
|
@@ -646,6 +646,240 @@
|
|
|
646
646
|
"messages"
|
|
647
647
|
]
|
|
648
648
|
}
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "create_script",
|
|
652
|
+
"description": "Create a new script for audio/speech generation. Write text content, assign a voice, and configure output settings. Use generate-script to produce the audio.",
|
|
653
|
+
"method": "POST",
|
|
654
|
+
"path": "/ai/scripts",
|
|
655
|
+
"input_schema": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"properties": {
|
|
658
|
+
"title": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"description": "Script title"
|
|
661
|
+
},
|
|
662
|
+
"content": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"description": "The text content to be converted to speech"
|
|
665
|
+
},
|
|
666
|
+
"voiceId": {
|
|
667
|
+
"type": "string",
|
|
668
|
+
"description": "Voice ID from list-voices (optional, can set later)"
|
|
669
|
+
},
|
|
670
|
+
"voiceSettings": {
|
|
671
|
+
"type": "object",
|
|
672
|
+
"description": "Voice settings: stability, similarity_boost, etc. (optional)"
|
|
673
|
+
},
|
|
674
|
+
"outputType": {
|
|
675
|
+
"type": "string",
|
|
676
|
+
"enum": [
|
|
677
|
+
"audio",
|
|
678
|
+
"video"
|
|
679
|
+
],
|
|
680
|
+
"default": "audio",
|
|
681
|
+
"description": "Output type"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"required": [
|
|
685
|
+
"title",
|
|
686
|
+
"content"
|
|
687
|
+
]
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "list_scripts",
|
|
692
|
+
"description": "List all scripts with optional filtering by status. Returns title, content preview, voice assignment, and generation status.",
|
|
693
|
+
"method": "GET",
|
|
694
|
+
"path": "/ai/scripts",
|
|
695
|
+
"input_schema": {
|
|
696
|
+
"type": "object",
|
|
697
|
+
"properties": {
|
|
698
|
+
"limit": {
|
|
699
|
+
"type": "integer",
|
|
700
|
+
"default": 50,
|
|
701
|
+
"description": "Max results"
|
|
702
|
+
},
|
|
703
|
+
"offset": {
|
|
704
|
+
"type": "integer",
|
|
705
|
+
"default": 0,
|
|
706
|
+
"description": "Pagination offset"
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "get_script",
|
|
713
|
+
"description": "Get a script by ID with full content, voice settings, and generation history.",
|
|
714
|
+
"method": "GET",
|
|
715
|
+
"path": "/ai/scripts/{id}",
|
|
716
|
+
"input_schema": {
|
|
717
|
+
"type": "object",
|
|
718
|
+
"properties": {
|
|
719
|
+
"id": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"description": "Script ID"
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"required": [
|
|
725
|
+
"id"
|
|
726
|
+
]
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "update_script",
|
|
731
|
+
"description": "Update a script's title, content, voice, or settings. Only provided fields are changed.",
|
|
732
|
+
"method": "PUT",
|
|
733
|
+
"path": "/ai/scripts/{id}",
|
|
734
|
+
"input_schema": {
|
|
735
|
+
"type": "object",
|
|
736
|
+
"properties": {
|
|
737
|
+
"id": {
|
|
738
|
+
"type": "string",
|
|
739
|
+
"description": "Script ID"
|
|
740
|
+
},
|
|
741
|
+
"title": {
|
|
742
|
+
"type": "string",
|
|
743
|
+
"description": "New title"
|
|
744
|
+
},
|
|
745
|
+
"content": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"description": "New text content"
|
|
748
|
+
},
|
|
749
|
+
"voiceId": {
|
|
750
|
+
"type": "string",
|
|
751
|
+
"description": "New voice ID"
|
|
752
|
+
},
|
|
753
|
+
"voiceSettings": {
|
|
754
|
+
"type": "object",
|
|
755
|
+
"description": "New voice settings"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"required": [
|
|
759
|
+
"id"
|
|
760
|
+
]
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"name": "delete_script",
|
|
765
|
+
"description": "Delete a script and its generated audio.",
|
|
766
|
+
"method": "DELETE",
|
|
767
|
+
"path": "/ai/scripts/{id}",
|
|
768
|
+
"input_schema": {
|
|
769
|
+
"type": "object",
|
|
770
|
+
"properties": {
|
|
771
|
+
"id": {
|
|
772
|
+
"type": "string",
|
|
773
|
+
"description": "Script ID"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"required": [
|
|
777
|
+
"id"
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "generate_script",
|
|
783
|
+
"description": "Generate audio from a script using text-to-speech. Uses the script's assigned voice or an override. Returns a job — check status with get-job-status.",
|
|
784
|
+
"method": "POST",
|
|
785
|
+
"path": "/ai/scripts/{id}/generate",
|
|
786
|
+
"input_schema": {
|
|
787
|
+
"type": "object",
|
|
788
|
+
"properties": {
|
|
789
|
+
"id": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"description": "Script ID to generate audio for"
|
|
792
|
+
},
|
|
793
|
+
"voiceId": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"description": "Override voice ID (optional, uses script's voice if not set)"
|
|
796
|
+
},
|
|
797
|
+
"model": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"description": "TTS model (optional)"
|
|
800
|
+
},
|
|
801
|
+
"outputFormat": {
|
|
802
|
+
"type": "string",
|
|
803
|
+
"enum": [
|
|
804
|
+
"mp3",
|
|
805
|
+
"wav",
|
|
806
|
+
"ogg"
|
|
807
|
+
],
|
|
808
|
+
"default": "mp3",
|
|
809
|
+
"description": "Audio format"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"required": [
|
|
813
|
+
"id"
|
|
814
|
+
]
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "sync_voices",
|
|
819
|
+
"description": "Sync premade voices from ElevenLabs into the local voice library. Run this first before listing voices — it populates the library with all available ElevenLabs voices. Only needs to be done once (or periodically to pick up new voices).",
|
|
820
|
+
"method": "POST",
|
|
821
|
+
"path": "/ai/voices/sync",
|
|
822
|
+
"input_schema": {
|
|
823
|
+
"type": "object",
|
|
824
|
+
"properties": {
|
|
825
|
+
"category": {
|
|
826
|
+
"type": "string",
|
|
827
|
+
"enum": [
|
|
828
|
+
"premade",
|
|
829
|
+
"cloned"
|
|
830
|
+
],
|
|
831
|
+
"description": "Filter by voice category (optional, syncs all by default)"
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "clone_voice",
|
|
838
|
+
"description": "Clone a voice from audio samples using ElevenLabs. Provide a name, description, and base64-encoded audio files. The cloned voice is added to the library and can be used in scripts and speech generation.",
|
|
839
|
+
"method": "POST",
|
|
840
|
+
"path": "/ai/voices/clone",
|
|
841
|
+
"input_schema": {
|
|
842
|
+
"type": "object",
|
|
843
|
+
"properties": {
|
|
844
|
+
"name": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"description": "Name for the cloned voice"
|
|
847
|
+
},
|
|
848
|
+
"description": {
|
|
849
|
+
"type": "string",
|
|
850
|
+
"description": "Description of the voice"
|
|
851
|
+
},
|
|
852
|
+
"audioFiles": {
|
|
853
|
+
"type": "array",
|
|
854
|
+
"description": "Audio samples for cloning (base64-encoded)",
|
|
855
|
+
"items": {
|
|
856
|
+
"type": "object",
|
|
857
|
+
"properties": {
|
|
858
|
+
"data": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"description": "Base64-encoded audio data"
|
|
861
|
+
},
|
|
862
|
+
"filename": {
|
|
863
|
+
"type": "string",
|
|
864
|
+
"description": "Filename (e.g., sample.mp3)"
|
|
865
|
+
},
|
|
866
|
+
"contentType": {
|
|
867
|
+
"type": "string",
|
|
868
|
+
"description": "MIME type (e.g., audio/mpeg)"
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"required": [
|
|
872
|
+
"data",
|
|
873
|
+
"filename"
|
|
874
|
+
]
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"required": [
|
|
879
|
+
"name",
|
|
880
|
+
"audioFiles"
|
|
881
|
+
]
|
|
882
|
+
}
|
|
649
883
|
}
|
|
650
884
|
]
|
|
651
885
|
}
|