クエリ作成

音声合成用のクエリをプリセットを用いて作成する

音声合成用のクエリの初期値を得ます。ここで得られたクエリはそのまま音声合成に利用できます。各値の意味はSchemasを参照してください。

post/audio_query_from_preset

Query parameters

textstring required
preset_idinteger required
enable_katakana_englishboolean
core_versionstring

Response

Successful Response

speedScalenumber required

全体の話速

pitchScalenumber required

全体の音高

intonationScalenumber required

全体の抑揚

volumeScalenumber required

全体の音量

prePhonemeLengthnumber required

音声の前の無音時間

postPhonemeLengthnumber required

音声の後の無音時間

pauseLengthnumber nullable

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

pauseLengthScalenumber

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

outputSamplingRateinteger required

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

outputStereoboolean required

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

kanastring

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

Changes

Changed in 12 of the 36 revisions of this API.4216

    • added the new optional query request parameter enable_katakana_english

      new-optional-request-parameter

    • api operation id audio_query_from_preset_audio_query_from_preset_post removed and replaced with audio_query_from_preset

      api-operation-id-removed

    • the // response's property type changed from no type to object for status

      response-property-type-changed

    • added the optional property /// to the response with the status

      response-optional-property-added

    • added the optional property /// to the response with the status

      response-optional-property-added

    • removed from the // response property allOf list for the response status

      response-property-all-of-removed

    • added the required property /// to the response with the status

      response-required-property-added

    • added the required property /// to the response with the status

      response-required-property-added

    • added the required property /// to the response with the status

      response-required-property-added

    • added the required property /// to the response with the status

      response-required-property-added

    • response property pauseLength list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 98b1b5ed5d8311See the full diff
    • response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

      response-property-list-of-types-widened

    • removed the optional property from the response with the status

      response-optional-property-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property to the response with the status

      response-optional-property-added

    • added the new optional query request parameter core_version

      new-optional-request-parameter

    • deleted the query request parameter enable_interrogative

      request-parameter-removed

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the new optional query request parameter enable_interrogative

      new-optional-request-parameter