---
title: "NICT 音声合成を行う"
method: POST
path: "/synthesis/nict"
---

# NICT 音声合成を行う

`POST /synthesis/nict`

## Request

- Base URL: `https://tts.mimi.fd.ai/v1`
- URL: `https://tts.mimi.fd.ai/v1/synthesis/nict`
- Auth: none required

## Headers

- `Authorization` string, required
- `Content-Type` string

## Request body `application/x-www-form-urlencoded`

- object
  - `text` string, required: 音声合成の入力テキスト（UTF-8）。上限 1000 文字。
  - `lang` string, required: 音声合成対象の言語。ja (日本語), en (英語), zh (中国語[簡体字]), zh-TW (中国語[繁体字]), ko (韓国語), es (スペイン語), fil(フィリピン語), fr (フランス語), id (インドネシア語), my (ミャンマー語), pt-BR (ブラジルポルトガル語), th (タイ語), vi (ベトナム語) から選択。
  - `audio_format` string: 出力ファイルの音声フォーマット。WAV, RAW から選択。
  - `audio_endian` string: 出力ファイルの音声エンディアン。Little, Big のいずれかを指定。
  - `gender` string: 性別。female, male, unknownから選択。unknown は male か female のどちらかがシステムにより自動で選択される。ただし、どちらが選択されるかは不定期に変更される可能性がある。デフォルトは "unknown"。

## Response `200`

200

## Other responses

- `400`: 400
- `401`: 401
- `429`: 429

---

[API](https://skmtc.dev/fd/apis/synthesis-nict-api.md) - [All operations](https://skmtc.dev/fd/apis/synthesis-nict-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fd/apis/synthesis-nict-api/revisions/d1e5bb39f14d?raw)
