Text to voice
Convert any language text to suitable voice mp3 file and directly download.
Endpoint
GET
https://text-voice.lmnx9.workers.dev/tts?voice=nova&text=
Code Examples
cURL
curl -X GET "https://text-voice.lmnx9.workers.dev/tts?voice=nova&text=" -H "Content-Type: application/json"JavaScript
fetch("https://text-voice.lmnx9.workers.dev/tts?voice=nova&text=")
.then(function(r){return r.json()})
.then(function(d){console.log(d)});Python
import requests
r = requests.get("https://text-voice.lmnx9.workers.dev/tts?voice=nova&text=")
print(r.json())PHP
<?php
$d = file_get_contents("https://text-voice.lmnx9.workers.dev/tts?voice=nova&text=");
print_r(json_decode($d, true));Example Response
{
"success": "true"
}