0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Azure Speech Service

Posted at

Azure OpenAI Text to speech で今日の天気予報を読み上げる #logicapps - Qiita の補足メモ。

Azure Speech Service

Rest API

トークン取得

POST https://japaneast.api.cognitive.microsoft.com/sts/v1.0/issueToken
Ocp-Apim-Subscription-Key: <Key>

mp3 生成

POST https://japaneast.tts.speech.microsoft.com/cognitiveservices/v1
X-Microsoft-OutputFormat: riff-24khz-16bit-mono-pcm
Content-Type: application/ssml+xml
Authorization: Bearer <Token>

<speak version='1.0' xml:lang='ja-JP'><voice xml:lang='ja-JP' xml:gender='Male'
    name='ja-JP-AoiNeural'>
        こんにちは!
</voice></speak>

以上です~

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?