| # 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 | |
| ``` | |