I am working on a small project. For now I want to convert text to speech using Elevanlabs API. It's free for text to speech. Get it here: https://elevenlabs.io
Anyone who worked or knows how to make text to speech API work in FF API module?
Help would be appreciated.
Elevanlabs text to speech API
Database & APIs
Header has:
xi-api-key: "Your_API_Key" // please use your api key here
Content-Type: application/json; charset=UTF-8
Body type is of json:
{
"text": "Hi",
"model_id": "eleven_multilingual_v2",
"voice_settings": {
"stability": 0.5,
"similarity_boost": 0.8,
"style": 0,
"use_speaker_boost": true
}
}
I tested the API and it works except the it give me a raw body something like this:
ÿûÄ$ `*®5 E&y)Z ɽºV0õà4`xx`þøá÷{ÃÃÿÿæ<<<Fð3çÿO3ßÿ0ó̤2r×gßà ÙÿÜ8
xüúó þ¸Ñ6¼É^Puü¦Ô¯=-
I tried turning ON streaming response but then no data at all.
I created a custom action and works fine and i can play the speech/audio but that wasn't my goal.
Yes
4
5 replies