From c122129b55fbf5c235e22e258c9b21052cd8c214 Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Thu, 30 Oct 2025 12:29:09 +0700 Subject: [PATCH] wip --- lib/synth-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 13972c4..dbf5740 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -1345,7 +1345,7 @@ const synthCartesia = async(logger, { ...(model_id === 'sonic-2' && (opts.speed || opts.emotion) && { experimentalControls: { ...(opts.speed !== null && opts.speed !== undefined && {speed: opts.speed}), - ...(opts.emotion && {emotion: opts.emotion}), + ...(opts.emotion && {emotion: [opts.emotion]}), } }), },