---
title: "歌唱音声合成用のクエリを作成する"
method: POST
path: "/sing_frame_audio_query"
tags: ["クエリ作成"]
---

# 歌唱音声合成用のクエリを作成する

`POST /sing_frame_audio_query`

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

## Query parameters

- `style_id` integer
- `speaker` integer
- `core_version` string

## Request body

- Score — 楽譜情報
  - `notes` Note[], required
    - `key` integer
    - `frame_length` integer, required
    - `lyric` string, required

## Response `200`

Successful Response

- FrameAudioQuery — フレームごとの音声合成用のクエリ
  - `f0` number[], required
  - `volume` number[], required
  - `phonemes` FramePhoneme[], required
    - `phoneme` string, required
    - `frame_length` integer, required
  - `volumeScale` number, required
  - `outputSamplingRate` integer, required
  - `outputStereo` boolean, required

## Other responses

- `422` — Validation Error

## Changes

- **2024-01-17** `1bed97d41915` — 4 warning, 4 info
  - removed the request property `notes/items/id`
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
  - removed the optional property `phonemes/items/note_id` from the response with the `200` status
  - …4 more

[Change history](https://skmtc.dev/aivis-project/apis/aivisspeech-engine/changes/sing_frame_audio_query/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-service-production.skmtc.workers.dev/v1/apis/aivis-project/aivisspeech-engine/revisions/1bed97d41915/schema)
