Metadata-Version: 2.4
Name: otto-tts
Version: 0.1.2
Summary: A command line tool for otto's text-to-speech service from shuodedao.li
Project-URL: repository, https://github.com/lvlh2/otto-tts
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: audioop-lts>=0.2.2
Requires-Dist: click>=8.3.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydub>=0.25.1
Requires-Dist: tqdm>=4.67.1

# otto-tts

使用电棍otto活字印刷语音的中文文本转语音命令行工具

语音来自：<https://shuodedao.li/>

## 安装方式

### 从 PyPI 安装

```bash
pip install otto-tts
```

## 快速开始

### 基本使用

```bash
# 转换单个文本
otto-tts "你好，世界！"

# 转换多个文本
otto-tts "欧内的手" "好汉"
```

### 高级选项

```bash
# 指定输出目录和音频格式
otto-tts -O output -f wav "自定义文本"
```

## 完整用法

```bash
otto-tts [OPTIONS] TEXTS...
```

### 参数说明

- `TEXTS`：要转换的一个或多个中文文本（必需参数）

### 选项说明

| 选项 | 简写 | 默认值 | 说明 |
|------|------|--------|------|
| `--output-dir` | `-O` | 当前目录 | 音频文件输出目录 |
| `--format` | `-f` | mp3 | 音频格式|
