---
title: "Initialize Speaker"
method: POST
path: "/initialize_speaker"
tags: ["その他"]
---

# Initialize Speaker

`POST /initialize_speaker`

指定されたスタイルを初期化します。
実行しなくても他のAPIは使用できますが、初回実行時に時間がかかることがあります。

## Query parameters

- `speaker` integer, required
- `skip_reinit` boolean — 既に初期化済みのスタイルの再初期化をスキップするかどうか
- `core_version` string — AivisSpeech Engine ではサポートされていないパラメータです (常に無視されます) 。

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2024-07-20** `eb97301b5bb3` — 1 breaking, 1 info
  - `query` request parameter `core_version` list-of-types was narrowed by removing types `null`
  - for the `query` request parameter `core_version`, the type/format was generalized from ``/`` to `string`/``
- **2024-07-09** `1d0fcadb80c5` — 2 info
  - `query` request parameter `core_version` list-of-types was widened by adding types `null`
  - for the `query` request parameter `core_version`, the type/format was generalized from `string`/`` to ``/``
- **2024-06-28** `3b94f9a50fd2` — 1 breaking, 1 info
  - `query` request parameter `core_version` list-of-types was narrowed by removing types `null`
  - for the `query` request parameter `core_version`, the type/format was generalized from ``/`` to `string`/``
- **2024-05-02** `7d46d11815c2` — 2 info
  - `query` request parameter `core_version` list-of-types was widened by adding types `null`
  - for the `query` request parameter `core_version`, the type/format was generalized from `string`/`` to ``/``
- **2024-04-26** `907e5011a1aa` — 1 breaking, 1 info
  - `query` request parameter `core_version` list-of-types was narrowed by removing types `null`
  - for the `query` request parameter `core_version`, the type/format was generalized from ``/`` to `string`/``

[Full history](https://skmtc.dev/aivis-project/apis/aivisspeech-engine/changes/initialize_speaker/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/45e8a7c82ffc/schema)
