support elevenlabs options (#553)

* support elevenlabs options

* elevenlabs options from synthezier

* wip

* fix
This commit is contained in:
Hoan Luu Huu
2023-11-30 21:28:12 +07:00
committed by GitHub
parent eb2d90ffaa
commit 0a0cbd57ba
5 changed files with 2250 additions and 23 deletions

View File

@@ -91,6 +91,7 @@ const speechMapper = (cred) => {
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;