メインコンテンツへスキップ
POST
/
synthesis_morphing
2種類のスタイルでモーフィングした音声を合成する
curl --request POST \
  --url https://api.example.com/synthesis_morphing \
  --header 'Content-Type: application/json' \
  --data '
{
  "accent_phrases": [
    {
      "moras": [
        {
          "text": "<string>",
          "vowel": "<string>",
          "vowel_length": 123,
          "pitch": 123,
          "consonant": "<string>",
          "consonant_length": 123
        }
      ],
      "accent": 123,
      "is_interrogative": false
    }
  ],
  "speedScale": 123,
  "pitchScale": 123,
  "intonationScale": 123,
  "volumeScale": 123,
  "prePhonemeLength": 123,
  "postPhonemeLength": 123,
  "outputSamplingRate": 123,
  "outputStereo": true,
  "pauseLength": 123,
  "pauseLengthScale": 1,
  "kana": "<string>"
}
'
"<string>"

クエリパラメータ

base_speaker
integer
必須
target_speaker
integer
必須
morph_rate
number
必須
必須範囲: 0 <= x <= 1
enable_interrogative_upspeak
boolean
デフォルト:true

疑問系のテキストが与えられたら語尾を自動調整する

core_version
string

ボディ

application/json

音声合成用のクエリ。

accent_phrases
AccentPhrase · object[]
必須

アクセント句のリスト

speedScale
number
必須

全体の話速

pitchScale
number
必須

全体の音高

intonationScale
number
必須

全体の抑揚

volumeScale
number
必須

全体の音量

prePhonemeLength
number
必須

音声の前の無音時間

postPhonemeLength
number
必須

音声の後の無音時間

outputSamplingRate
integer
必須

音声データの出力サンプリングレート

outputStereo
boolean
必須

音声データをステレオ出力するか否か

pauseLength
number | null

句読点などの無音時間。nullのときは無視される。デフォルト値はnull

pauseLengthScale
number
デフォルト:1

句読点などの無音時間(倍率)。デフォルト値は1

kana
string

[読み取り専用]AquesTalk 風記法によるテキスト。音声合成用のクエリとしては無視される

レスポンス

Successful Response

The response is of type file.

最終更新日 2026年5月27日