Text To Speech

FREEMIUM
Par HiVoicy | Mise à jour 5 дней назад | Artificial Intelligence/Machine Learning
Popularité

0.3 / 10

Latence

211ms

Niveau de service

0%

Health Check

N/A

LISEZ-MOI

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.

Abonnés : 45
Ressources :
Site Web du produit
Créateur d'API :
Rapid account: Hi Voicy
HiVoicy
hivoicy-vxmKOG2vl
Connectez-vous pour évaluer l'API
Note : 5 - Votes : 1