Skip to main content

Yating TTS SDK

Project description

Yating TTS SDK - Python version

Install

Initial Install

pip install Yating-TTS-SDK

Upgrade existed package

pip install Yating-TTS-SDK --upgrade

PyPI Link

Yating-TTS-SDK

Available Key

  • Please contact Yating TTS

Input

{
    "input": {
        "text": "sentence, the text that you want to generate audio",
        "type": "text"
    },
    "voice": {
        "model": "zh_en_female_1",
        "speed": 1,
        "pitch": 1,
        "energy": 1
    },
    "audioConfig": {
        "encoding": "LINEAR16",
        "sampleRate": "16K"
    }
}

Available Variable

Input Type

Name Description
text Recognize input.text as pure text.
ssml Recognize input.text in ssml format.

Voice Setting

Name Type Value Limit Description
model string Table bellow Voice Model
speed float 0.5 - 1.5 Voice Speed, faster slower
pitch float 0.5 - 1.5 Voice Pitch, higher or lower
energy float 0.5 - 1.5 Voice Energy, stronger or weaker

Voice Model

Name Sample Rate Description
zh_en_female_1 16k,22k Yating speak Mandarin and English
zh_en_female_2 16k,22k Yiqing speak Mandarin and English
zh_en_male_1 16k,22k Jiahao speak Mandarin and English
zh_en_male_2 22k Zhiming speak Mandarin and English
tai_female_1 16k Yating speak Taiwanese
tai_female_2 16k Yiqing speak Taiwanese
tai_male_1 16k Jiahao speak Taiwanese

Encoding Format

Name File Extension Description
MP3 .mp3 Compressed audio
LINEAR16 .wav Uncompromised audio quality

Sampling Rate

Name Description
16K Sampling rate in 16khz
22K Sampling rate in 22khz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Yating_TTS_SDK-0.2.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file Yating_TTS_SDK-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: Yating_TTS_SDK-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for Yating_TTS_SDK-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f96b695a37e4a7418f4aa280bc6e9f6316bcb40809e4a93be736e4e705b0f273
MD5 574d08f2bd217e493344b15c86e9372c
BLAKE2b-256 037985925976aed104ff8b4c22d96bd5bf1a578223764f4411fbf69cf90ae6aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page