Text To Speech (ElevenLabs)

Hello everyone !

I Made a Text To Speech Script in Fivem that uses ElevenLabs API.

For those who don’t know what Text-to-Speech is, artificial intelligence freezes the text you write into sound in a quality direction.

Preview

Github

Usage:

 exports['torpak-tts']:Speech(text, voice ID)

Important:

You need to get an ElevenLabs API to use it, it’s completely free.

I put the list of Voice IDs on github.

|--------------------------|---------- ----------- -------|
| Code accessible | Yes |
| Requirements | None |
| Support | Yes |

1 Like

The way this is written, the API key is exposed to the client allowing anyone to take it and misuse it.