support elevenlabs different endpoint (#502)

* support elevenlabs different endpoint

* wip

* wip

* wip
This commit is contained in:
Hoan Luu Huu
2025-10-09 19:20:11 +07:00
committed by GitHub
parent c3d12fafee
commit 8267ddaffd
5 changed files with 26 additions and 15 deletions

View File

@@ -656,7 +656,8 @@ test('speech credentials tests', async(t) => {
use_for_stt: true,
use_for_tts: false,
api_key: 'asdasdasdasddsadasda',
model_id: 'eleven_multilingual_v2'
model_id: 'eleven_multilingual_v2',
api_uri: 'api.elevenlabs.io'
}
});
t.ok(result.statusCode === 201, 'successfully added speech credential for elevenlabs');