> ## Documentation Index
> Fetch the complete documentation index at: https://typecast.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 설정

> 플래그, 환경 변수, 로컬 설정으로 CLI 기본값을 구성합니다.

## 기본값 설정

매번 플래그를 전달하지 않도록 기본값을 저장할 수 있습니다:

```bash theme={null}
cast config set voice-id tc_xxx
cast config set model ssfm-v21
cast config set volume 120

cast config list
cast config unset volume
```

사용 가능한 키: `voice-id`, `model`, `language`, `emotion`, `emotion-preset`, `emotion-intensity`, `volume`, `pitch`, `tempo`, `format`

## 우선순위

설정은 다음 우선순위로 적용됩니다:

```text theme={null}
--flag  >  환경 변수  >  ~/.typecast/config.yaml  >  기본값
```

## 환경 변수

`TYPECAST_` 접두사를 사용하여 모든 옵션을 환경 변수로 설정할 수 있습니다:

| 변수                           | 플래그                   |
| ---------------------------- | --------------------- |
| `TYPECAST_API_KEY`           | `--api-key`           |
| `TYPECAST_VOICE_ID`          | `--voice-id`          |
| `TYPECAST_MODEL`             | `--model`             |
| `TYPECAST_LANGUAGE`          | `--language`          |
| `TYPECAST_EMOTION`           | `--emotion`           |
| `TYPECAST_EMOTION_PRESET`    | `--emotion-preset`    |
| `TYPECAST_EMOTION_INTENSITY` | `--emotion-intensity` |
| `TYPECAST_FORMAT`            | `--format`            |
| `TYPECAST_VOLUME`            | `--volume`            |
| `TYPECAST_PITCH`             | `--pitch`             |
| `TYPECAST_TEMPO`             | `--tempo`             |
