日本語が発話されない件の2

This commit is contained in:
Akira
2026-03-03 10:47:59 +09:00
parent 0d9b2758e9
commit 9eb3c41584

View File

@@ -132,14 +132,13 @@ app.post('/speak', async function(req, res) {
'@type': 'com.amazon.alexa.behaviors.model.Sequence',
startNode: {
'@type': 'com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode',
type: 'Alexa.Speak',
type: 'Alexa.SpeakSsml', // ← ここ変更
operationPayload: {
deviceType: target.deviceType,
deviceSerialNumber: target.serialNumber,
customerId: customerId,
locale: 'ja-JP',
textToSpeak: text,
speakType: 'ssml'
textToSpeak: text
},
},
};