Text To Speech

免费增值
通过 HiVoicy | 已更新 16 days ago | Artificial Intelligence/Machine Learning
人气

0.3 / 10

延迟

180ms

服务等级

0%

Health Check

N/A

README

Text To Speech (TTS)

  • HiVoicy Text To Speech (TTS) can convert any voice to text.
    **Support French, English & Persian (more languages soon)
    **The maximum length of a request can be 250 characters
    **Human-like natural sounding voices

Python Quick Start

  import requests

  api_url = 'https://text-to-speech5.p.rapidapi.com/api/tts'
  api_key = 'Your API Key'



  params= {"tech": "deep",    "text": "hello world.",    "language": "en"}
  header = {
      "x-rapidapi-host": "text-to-speech5.p.rapidapi.com",
      "x-rapidapi-key": api_key,
      "Content-Type": "application/x-www-form-urlencoded"
      }
  response = requests.post(api_url, params=params, headers=header)
#download and save mp3 file on disk
with open("test.mp3", "wb") as f:
    f.write(response.content)

####File output
If you get a http OK 200 message, you can download the audio file as a byte array.

关注者:45
资源:
产品网站
API 创建者:
Rapid account: Hi Voicy
HiVoicy
hivoicy-vxmKOG2vl
登录并给 API 打分
打分:5 - 投票:1