---
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, nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2024-03-22** `ef4da11d01e0` — 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-01-28** `2e8475c446af` — 1 info
  - endpoint reactivated
- **2024-01-22** `ba5021ec9a6d` — 1 info
  - endpoint deprecated
- **2024-01-20** `2a8c9cc0823a` — 1 info
  - endpoint reactivated
- **2024-01-17** `1bed97d41915` — 2 warning, 4 info
  - 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
  - api operation id `initialize_speaker` removed and replaced with `initialize_speaker_initialize_speaker_post`
  - api tag `その他` added
  - …2 more

[Change 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/aeea77ff108d/schema)
