Support resemble tts (#1322)

* support resemble tts

* update speech utils version
This commit is contained in:
Hoan Luu Huu
2025-08-13 19:15:29 +07:00
committed by GitHub
parent 73c77bea71
commit 44f69fa76d
5 changed files with 23 additions and 5 deletions

View File

@@ -124,6 +124,12 @@ const speechMapper = (cred) => {
obj.model_id = o.model_id;
obj.options = o.options;
}
else if ('resemble' === obj.vendor) {
const o = JSON.parse(decrypt(credential));
obj.api_key = o.api_key;
obj.resemble_tts_use_tls = o.resemble_tts_use_tls;
obj.resemble_tts_uri = o.resemble_tts_uri;
}
else if ('inworld' === obj.vendor) {
const o = JSON.parse(decrypt(credential));
obj.api_key = o.api_key;