File size: 395 Bytes
a44ca9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Inflect-Nano-v2 TTS Python SDK

AX650 NPU3 U16-量化的文本转语音 SDK。

## 安装

```bash
pip install -r requirements.txt
```

## 使用

```python
from inflect_tts_sdk import InflectTTSEngine
engine = InflectTTSEngine()
sr, wav = engine.synthesize("Hello world!")
engine.save("Hello!", "output.wav")
```

## CLI

```bash
python -m inflect_tts_sdk --text "Hello" --output out.wav
```