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

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

`POST /initialize_speaker`

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

## Query parameters

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

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

> 50 revisions in range; 1 could not be searched.

- **2026-03-31** `bd7182f25e54` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2025-03-11** `c5651c641b9a` — 2 info
  - api tag `音声合成モデル管理` added
  - api tag `その他` removed
- **2025-03-02** `d8b6a60f88af` — 3 info
  - api operation id `initialize_speaker_initialize_speaker_post` removed and replaced with `initialize_speaker`
  - api tag `その他` added
  - api tag `音声合成モデル管理` removed
- **2025-01-04** `df13668c123d` — 2 info
  - api tag `音声合成モデル管理` added
  - api tag `その他` removed
- **2025-01-03** `b7afc41080b3` — 2 info
  - api tag `その他` added
  - api tag `音声合成モデル管理` removed

[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/1d935a3e31b8/schema)
