Text To Speech

フリーミアム
よって HiVoicy | 更新済み vor 15 Tagen | 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