---
title: "指定されたスタイル ID に紐づく音声合成モデルをロードする"
method: POST
path: "/initialize_speaker"
tags: ["音声合成モデル管理"]
---

# 指定されたスタイル ID に紐づく音声合成モデルをロードする

`POST /initialize_speaker`

指定されたスタイル ID に紐づく音声合成モデルをロードします。
実行しなくても他の API は利用できますが、音声合成の初回実行時に時間がかかることがあります。

## Query parameters

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

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2025-01-04** `df13668c123d` — 2 info
  - api tag `音声合成モデル管理` added
  - api tag `その他` removed
- **2025-01-03** `b7afc41080b3` — 2 info
  - api tag `その他` added
  - api tag `音声合成モデル管理` removed
- **2024-12-02** `7cceffafa319` — 2 info
  - api tag `音声合成モデル管理` added
  - api tag `その他` removed
- **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 ``/``

[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/4e239a87b605/schema)
