Using a voice
Pass thevoiceId from any card above into a synthesis request.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Built to sound like Pakistan. 82 native voices — every accent, every walk of life.
voiceId from any card above into a synthesis request.
await fetch("https://api.upliftai.org/v1/synthesis/text-to-speech", {
method: "POST",
headers: {
"Authorization": "Bearer sk_api_your_key_here",
"Content-Type": "application/json"
},
body: JSON.stringify({
voiceId: "jinn",
text: "میں نے تمہیں پکارا تھا، صدیوں پہلے۔",
outputFormat: "MP3_22050_128"
})
})
