From 9eb3c41584a8af1e9a96627b15a67a9c43f7ceb7 Mon Sep 17 00:00:00 2001 From: Akira Date: Tue, 3 Mar 2026 10:47:59 +0900 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=AC=E8=AA=9E=E3=81=8C=E7=99=BA?= =?UTF-8?q?=E8=A9=B1=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E4=BB=B6=E3=81=AE?= =?UTF-8?q?=EF=BC=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alexa-api/server.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }, }, };