---
title: "複数まとめて音声合成する"
method: POST
path: "/multi_synthesis"
tags: ["音声合成"]
---

# 複数まとめて音声合成する

`POST /multi_synthesis`

## Query parameters

- `speaker` integer, required
- `core_version` string

## Request body

- AudioQuery[]
  - `accent_phrases` AccentPhrase[], required — アクセント句のリスト
    - `moras` Mora[], required — モーラのリスト
      - `text` string, required — 文字
      - `consonant` string — 子音の音素
      - `consonant_length` number — 子音の音長
      - `vowel` string, required — 母音の音素
      - `vowel_length` number, required — 母音の音長
      - `pitch` number, required — 音高
    - `accent` integer, required — アクセント箇所
    - `pause_mora` Mora — モーラ（子音＋母音）ごとの情報
      - `text` string, required — 文字
      - `consonant` string — 子音の音素
      - `consonant_length` number — 子音の音長
      - `vowel` string, required — 母音の音素
      - `vowel_length` number, required — 母音の音長
      - `pitch` number, required — 音高
    - `is_interrogative` boolean — 疑問系かどうか
  - `speedScale` number, required — 全体の話速
  - `pitchScale` number, required — 全体の音高
  - `intonationScale` number, required — 全体の抑揚
  - `volumeScale` number, required — 全体の音量
  - `prePhonemeLength` number, required — 音声の前の無音時間
  - `postPhonemeLength` number, required — 音声の後の無音時間
  - `pauseLength` number, nullable — 句読点などの無音時間。nullのときは無視される。デフォルト値はnull
  - `pauseLengthScale` number — 句読点などの無音時間（倍率）。デフォルト値は1
  - `outputSamplingRate` integer, required — 音声データの出力サンプリングレート
  - `outputStereo` boolean, required — 音声データをステレオ出力するか否か
  - `kana` string — [読み取り専用]AquesTalk 風記法によるテキスト。音声合成用のクエリとしては無視される

## Response `200`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2025-01-03** `b7afc41080b3` — 1 warning
  - removed the request property `items/tempoDynamicsScale`
- **2024-10-29** `54501f4624fd` — 5 breaking, 1 warning, 3 info
  - added the new required request property `items/accent_phrases/items/pause_mora/pitch`
  - added the new required request property `items/accent_phrases/items/pause_mora/text`
  - added the new required request property `items/accent_phrases/items/pause_mora/vowel`
  - added the new required request property `items/accent_phrases/items/pause_mora/vowel_length`
  - …5 more
- **2024-10-05** `e86c0159e1bd` — 2 breaking, 7 warning
  - added `#/components/schemas/Mora` to the `items/accent_phrases/items/pause_mora` request property `allOf` list
  - the `items/accent_phrases/items/pause_mora` request property type changed from `object` to no type
  - removed the request property `items/accent_phrases/items/pause_mora/consonant`
  - removed the request property `items/accent_phrases/items/pause_mora/consonant_length`
  - …5 more
- **2024-09-26** `179894d155aa` — 5 breaking, 1 warning, 2 info
  - added the new required request property `items/accent_phrases/items/pause_mora/pitch`
  - added the new required request property `items/accent_phrases/items/pause_mora/text`
  - added the new required request property `items/accent_phrases/items/pause_mora/vowel`
  - added the new required request property `items/accent_phrases/items/pause_mora/vowel_length`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/aivis-project/apis/aivisspeech-engine/changes/multi_synthesis/post.md)

---

[API](https://skmtc.dev/aivis-project/apis/aivisspeech-engine.md) · [All operations](https://skmtc.dev/aivis-project/apis/aivisspeech-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/aivis-project/apis/aivisspeech-engine/revisions/b7afc41080b3?raw)
