support inworld tts (#1262)

* support inworld tts

* wip

* wip
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2025-06-27 10:05:18 -04:00
1 parent f18b62e165
commit ab83b21979
6 files changed
+28 -5

No files matched your search

+6
View File
@@ -120,6 +120,12 @@ const speechMapper = (cred) => {
obj.model_id = o.model_id;
obj.options = o.options;
}
else if ('inworld' === obj.vendor) {
const o = JSON.parse(decrypt(credential));
obj.api_key = o.api_key;
obj.model_id = o.model_id;
obj.options = o.options;
}
else if ('assemblyai' === obj.vendor) {
const o = JSON.parse(decrypt(credential));
obj.api_key = o.api_key;