Skip to content

Script that is using OpenAI API for text to speech. Mainly made for speech impeded users so they could basically talk.

License

Notifications You must be signed in to change notification settings

4nn0nym05/crown-tts-openai-fivem-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

OpenAI API TTS Fivem script for speech impeded user

  • Script thats giving ability to speak for your speech impeded players *
- Text to speech using OPENAI
- changing volume
- changing range

Dependencies

- Paid OpenAI API its not that much it depends on how many users will be using TTS

- MM_RADIO https://github.com/SOH69/mm_radio only if you need functionality with radio, I might do more radios later if there is demand

How to Install

Download release and put it to your server resource folder and ensure it in server.cfg

Config

* Put your API KEY in config.lua (ApiKey = "Your Key HERE")

Optional : - change model (based on your plan), voice, speed to your liking (currently it is set for all clients , will make functionality for switching voice per user soon)

To-Do

- More API functionality (Google TTS, ElevenLabs and more based on what will be requested upon me)

- Adding functionality for user to choose voice

- Logging + webhooks

- Passing emotes to the text so character can perform emotes as they speak (so they are not just standing like a statues) Done

- Permission (since its billed by usage we want to disable this resource for ppl that dont need it)

About

Script that is using OpenAI API for text to speech. Mainly made for speech impeded users so they could basically talk.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published