mirror of
https://github.com/jambonz/speech-utils.git
synced 2025-12-19 03:37:49 +00:00
wip
This commit is contained in:
@@ -1345,7 +1345,7 @@ const synthCartesia = async(logger, {
|
|||||||
...(model_id === 'sonic-2' && (opts.speed || opts.emotion) && {
|
...(model_id === 'sonic-2' && (opts.speed || opts.emotion) && {
|
||||||
experimentalControls: {
|
experimentalControls: {
|
||||||
...(opts.speed !== null && opts.speed !== undefined && {speed: opts.speed}),
|
...(opts.speed !== null && opts.speed !== undefined && {speed: opts.speed}),
|
||||||
...(opts.emotion && {emotion: opts.emotion}),
|
...(opts.emotion && {emotion: [opts.emotion]}),
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user