diff --git a/alexa-api/server.js b/alexa-api/server.js index d458e58..67ba5b8 100644 --- a/alexa-api/server.js +++ b/alexa-api/server.js @@ -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 }, }, };