Hello, I’m looking to set up my own AI to where I can use my voice to talk to it and it will talk back to me with a generated voice. Is there free and open-source project out there where I can do this easily? It would be cool to see something like GPT4All implement something like this. I’m on Arch Linux using a 7900 XTX.

  • L_Acacia@lemmy.one
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    Scrubbles’s comment outlined what would likely be the best workflow. Having done something similar myself, here are my recommendations:

    In my opinion, the best way to do STT with Whisper is by using Whisper Writer, I use it to write most most messages and texts.

    For the LLM part, I recommend Koboldcpp. It’s built on top of llama.cpp and has a simple GUI that saves you from looking for the name of each poorly documented llama.cpp launch flag (cli is still available if you prefer). Plus, it offers more sampling options.

    If you want a chat frontend for the text generated by the LLM, SillyTavern is a great choice. Despite its poor naming and branding, it’s the most feature-rich and extensible frontend. They even have an official extension to integrate TTS.

    For the TTS backend, I recommend Alltalk_tts. It provides multiple model options (xttsv2, coqui, T5, …) and has an okay UI if you need it. It also offers a unified API to use with the different models. If you pick SillyTavern, it can be accessed by their TTS extension. For the models, T5 will give you the best quality but is more resource-hungry. Xtts and coqui will give you decent results and are easier to run.

    There are also STS models emerging, like GLM4-V, but I still haven’t tried them, so I can’t judge the quality.