support cartesia tts (#1008)

* support cartesia tts

* update speech util version

* update speech utils version
This commit is contained in:
Hoan Luu Huu
2024-12-19 19:35:47 +07:00
committed by GitHub
parent ba3f46df64
commit 17250f8386
5 changed files with 226 additions and 8 deletions

View File

@@ -1048,6 +1048,14 @@ class CallSession extends Emitter {
options: credential.options
};
}
else if ('cartesia' === vendor) {
return {
api_key: credential.api_key,
model_id: credential.model_id,
embedding: credential.embedding,
options: credential.options
};
}
else if ('rimelabs' === vendor) {
return {
api_key: credential.api_key,