An open API service indexing awesome lists of open source software.

https://github.com/nature1995/text2audio-baidu

It a project for text2audio though Baidu API
https://github.com/nature1995/text2audio-baidu

Last synced: 8 months ago
JSON representation

It a project for text2audio though Baidu API

Awesome Lists containing this project

README

          

# Text to Audio-Baidu

## How to run it
* Sign up and get Baidu voice api-key
https://login.bce.baidu.com/

* Install SDK
```
pip install baidu-aip
```

* Install ffmpeg
http://ffmpeg.org/

* Sign up and get turing robot api
http://www.tuling123.com/sso-web/register?ReturnURL=http%3A%2F%2Fwww.tuling123.com%2F

* Change the API key .
```python
test.py
apiKey = "YOUR-APIKEY" # YOUR-APIKEY
```

```python
third.py
APP_ID = 'YOUR-APP_ID' # 'YOUR-APP_ID'
API_KEY = 'YOUR-API_KEY' # 'YOUR-API_KEY'
SECRET_KEY = 'YOUR-SECRET_KEY' # 'YOUR-SECRET_KEY'
```

* Run it
```
python test.py
```