This commit is contained in:
Hoan HL
2026-01-14 15:46:29 +07:00
parent b91e6cc145
commit 490d23a703
2 changed files with 4 additions and 1 deletions

View File

@@ -435,7 +435,7 @@ const synthGoogle = async(logger, {
}
let params = '{';
params += `credentials=${JSON.stringify(credentials)}`;
params += `credentials=${Buffer.from(JSON.stringify(credentials)).toString('base64')}`;
params += `,playback_id=${key}`;
params += ',vendor=google';
params += `,voice=${voice}`;