---
title: tts
description: List speech models and voices and create speech generation jobs.
canonical_url: https://orchestor.io/docs/en/cli/tts
markdown_url: https://orchestor.io/docs/en/cli/tts.md
contentType: reference
---

# tts

`orc tts` lists speech synthesis models and voices and creates speech generation jobs. Voices are grouped by the model's `voice_family`; pass an `id` from `tts voices list --family <family>` as the request's `voice.id`.

`tts generate` reads its JSON input from `--stdin`. `model`, `transcript` and `voice` are the basic combination.

## Usage

```bash title="terminal"
echo '{"model":"sonic-3","transcript":"Hello.","voice":{"id":"<voice-id>"}}' | orc tts generate --stdin --wait --json
```

*Generate speech from a transcript and a voice, and wait for it.*

## Subcommands

### `models list`

音声モデルを一覧表示

```bash title="terminal"
orc tts models list [options]
```

### `models get`

音声モデルを取得

```bash title="terminal"
orc tts models get <model-id> [options]
```

### `voices list`

声の候補を一覧表示

```bash title="terminal"
orc tts voices list [options]
```

#### Unique options

##### `--family`

モデルと声を組み合わせる系列。別系列の ID を混在させないでください。; enum: sonic|eleven|seed_audio|qwen|minimax|seed_speech

Type: `string`. Required.

```bash title="terminal"
orc tts voices list --family <value>
```

##### `--purpose`

voice_change と family=eleven を指定すると、アカウントで利用できる ElevenLabs の既定ボイスを返します。; enum: voice_change

Type: `string`. Optional.

```bash title="terminal"
orc tts voices list --purpose <value>
```

### `generate`

モデルを選んで音声を生成

```bash title="terminal"
orc tts generate [options]
```

#### Unique options

##### `--idempotency-key`

同じ入力の再送で同じジョブを返すキー。1〜255 文字の印字可能 ASCII。同じキーで異なる入力を送ると 409 です。

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --idempotency-key <value>
```

##### `--model`

(required) 生成で使用するカタログ ID。対応する入力・設定をモデル一覧で確認してください。; enum: sonic-3.6|sonic-3.5|sonic-3|sonic-latest|sonic-preview|sonic-2|sonic-turbo|eleven-v4|eleven-v4-turbo|eleven-v3|eleven-multilingual-v2|eleven-turbo-v2.5|seed-audio-1.0|qwen-audio-3.0-tts|minimax-speech-2.8-hd|seed-speech

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --model <value>
```

##### `--dialogue`

ElevenLabs v4 または v3 で読み上げる話者と文章の配列。文章の合計にモデルの文字数上限を適用します。; JSON array of objects (use --stdin for large resources)

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --dialogue <value>
```

##### `--transcript-source`

受理済み原稿の版と文 ID による入力。transcript、transcript_source、dialogue のうち 1 つを指定します。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --transcript-source <value>
```

##### `--transcript`

読み上げる文章。transcript、transcript_source、dialogue のうち 1 つを指定し、モデルの文字数上限も守ります。; max 20000 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --transcript <value>
```

##### `--avatar-id`

同じワークスペース内のアバターから声を選ぶ ID。voice.id と併記する場合は同じ声である必要があります。

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --avatar-id <value>
```

##### `--avatar-handle`

アバターのハンドルで声を選びます。avatar_id も指定するときは同じアバターを指す必要があります。; max 31 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --avatar-handle <value>
```

##### `--voice`

使用する声の指定。モデルの voice_family に一致する一覧から ID を選びます。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --voice <value>
```

##### `--confirm-language-mismatch`

声と言語の不一致を利用者が確認した後だけ true にします。初回は省略します。

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --confirm-language-mismatch <value>
```

##### `--language`

読み上げる言語の BCP-47 または ISO 639 コード。日本語なら ja を明示します。; max 16 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --language <value>
```

##### `--style-instruction`

Qwen の話し方や声の雰囲気を指定します。; max 128 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --style-instruction <value>
```

##### `--text-normalization`

MiniMax で英語の数字などを読み上げ用に正規化します。

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --text-normalization <value>
```

##### `--reference-audios`

Seed Audio の参照音声の公開 HTTPS URL。原稿中では @Audio1、@Audio2、@Audio3 で参照します。; csv

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --reference-audios <value>
```

##### `--reference-image`

Seed Audio の参照画像の公開 HTTPS URL。参照音声とは併用できません。; max 2048 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --reference-image <value>
```

##### `--output-format`

出力音声の形式。モデルの capabilities.output_formats にある組み合わせを指定します。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --output-format <value>
```

##### `--pronunciation-dict-id`

読み方を補正する既存の発音辞書の ID。; max 128 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --pronunciation-dict-id <value>
```

##### `--generation-config`

モデルが capabilities.settings に公開している音量・速度・感情の設定だけを指定します。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --generation-config <value>
```

##### `--speed`

読み上げ速度。generation_config では数値倍率、直下では旧形式の slow・normal・fast です。; enum: slow|normal|fast

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --speed <value>
```

##### `--timestamps`

単語ごとの開始・終了時刻を音声の結果に含める設定。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --timestamps <value>
```

##### `--segmentation`

単語の時刻から文単位の区間を作る設定。TTS では timestamps.words も有効にします。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --segmentation <value>
```

##### `--metadata`

追跡用にジョブへ保存する値。生成先には送信されません。秘密や個人情報を含めないでください。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --metadata <value>
```

##### `--mode`

結果の受け取り方。async は即時受付、sync と subscribe は最大30秒の待機、webhook は終端通知です。; enum: async|sync|subscribe|webhook

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --mode <value>
```

##### `--webhook-url`

終端通知を受ける公開 HTTPS URL。単独指定時は webhook モードになります。; max 2048 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --webhook-url <value>
```

##### `--wait-timeout-seconds`

sync または subscribe で HTTP 応答を待つ秒数。時間切れ後も同じジョブを追跡します。

Type: `number`. Optional.

```bash title="terminal"
orc tts generate --wait-timeout-seconds <value>
```

##### `--project-id`

同じワークスペース内でジョブを保存するプロジェクト。存在しない場合は課金前に拒否されます。; max 200 chars

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --project-id <value>
```

##### `--voice-settings`

Eleven 系列が公開している声の設定。モデルの対応項目だけを指定します。; (JSON object, e.g. '{"custom_id":"x"}')

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --voice-settings <value>
```

##### `--apply-text-normalization`

数字や略語を読み上げ用に展開する設定。対応モデルだけで使います。; enum: auto|on|off

Type: `string`. Optional.

```bash title="terminal"
orc tts generate --apply-text-normalization <value>
```

##### `--seed`

音声の再現性を近づける乱数シード。対応する Eleven v4 系列で使い、完全一致は保証しません。

Type: `number`. Optional.

```bash title="terminal"
orc tts generate --seed <value>
```

## Examples

### List speech models.

```bash title="terminal"
orc tts models list --json
```

*List speech models.*

### Check a model's voice family.

```bash title="terminal"
orc tts models get sonic-3 --json
```

*Check a model's voice family.*

### Find a voice ID.

```bash title="terminal"
orc tts voices list --family sonic --json
```

*Find a voice ID.*

## Permissions

Requires CLI authentication (`orc auth login` or `ORCHESTOR_API_KEY`) and access to the target Workspace. Creating a job requires write access.

## Global Options

The following [global options](https://orchestor.io/docs/cli/global-flags.md) can be used with `orc tts`:

- [`--help`](https://orchestor.io/docs/cli/global-flags.md#help)
- [`--workspace`](https://orchestor.io/docs/cli/global-flags.md#workspace)
- [`--json`](https://orchestor.io/docs/cli/global-flags.md#json-output)
- [`--pretty`](https://orchestor.io/docs/cli/global-flags.md#json-output)
- [`--format`](https://orchestor.io/docs/cli/global-flags.md#output-format)
- [`--field`](https://orchestor.io/docs/cli/global-flags.md#field-selection)
- [`--fields`](https://orchestor.io/docs/cli/global-flags.md#field-selection)
- [`--raw`](https://orchestor.io/docs/cli/global-flags.md#raw-output)
- [`--output`](https://orchestor.io/docs/cli/global-flags.md#file-output)
- [`--no-pager`](https://orchestor.io/docs/cli/global-flags.md#pager)
- [`--dry-run`](https://orchestor.io/docs/cli/global-flags.md#dry-run)
- [`--yes`](https://orchestor.io/docs/cli/global-flags.md#confirmation)
- [`--stdin`](https://orchestor.io/docs/cli/global-flags.md#standard-input)
- [`--from-stdin`](https://orchestor.io/docs/cli/global-flags.md#standard-input)
- [`--page-all`](https://orchestor.io/docs/cli/global-flags.md#all-pages)
- [`--timing`](https://orchestor.io/docs/cli/global-flags.md#request-timing)
- [`--wait`](https://orchestor.io/docs/cli/global-flags.md)
- [`--timeout`](https://orchestor.io/docs/cli/global-flags.md)
- [`--poll-interval`](https://orchestor.io/docs/cli/global-flags.md)
- [`--readonly`](https://orchestor.io/docs/cli/global-flags.md#read-only-mode)
- [`--wrap-untrusted`](https://orchestor.io/docs/cli/global-flags.md#untrusted-content-wrapping)

For details and examples, see [global options](https://orchestor.io/docs/cli/global-flags.md).

---

[Documentation index](https://orchestor.io/docs/llms.txt)
