How to Use OpenAI's TTS API in Python - Quick Overview and Implementation

Поделиться
HTML-код
  • Опубликовано: 28 окт 2024

Комментарии • 18

  • @UnderGradPlayers
    @UnderGradPlayers 7 месяцев назад +1

    00:01 Guide on setting up OpenAI TTS API in Python
    01:43 Setting up a virtual environment for isolating packages and avoiding global issues.
    03:50 Store the API key in a YAML file for security.
    06:18 Set up OpenAI API key and account correctly for TTS functionality
    08:24 Implement OpenAI's TTS API in Python for audio file processing.
    10:49 Utilizing OpenAI's TTS API in Python
    13:04 Creating a system personality for OpenAI's TTS API
    15:20 Appending user input and bot responses to messages list.
    17:44 Creating a chatbot using OpenAI's TTS API in Python
    20:02 The TTS API can be expanded with user voice input and chatbot generation using GPT.
    Crafted by Merlin AI.

  • @Mowgi
    @Mowgi 11 месяцев назад +2

    You know it'll be a good day when there's a new JJ video drop 🥳

  • @IS-kz2go
    @IS-kz2go 10 месяцев назад

    You've made my day! Your instructions were perfectly clear! I don't know Python, but following along with you was a breeze. I found another one of your videos that helped me install vs code and everything else I would need before attempting this one. I will definitely be subscribing to your channel! Thank You!

  • @DyschoCat
    @DyschoCat 11 месяцев назад

    I have never coded anything in my life.
    Thanks to this tutorial I have my own sarcastic 12 year old AI assistant. That's cool as hell. Thanks man!

  • @jayhu6075
    @jayhu6075 10 месяцев назад

    I am very glad to find your channel. For a beginner you make it understandable to following this topic.
    Hopefully more tutor about TTS. Many thanks.

  • @Vergeliking
    @Vergeliking 5 месяцев назад

    awesome thank you so much! I got it to work.

  • @maxmustermann5063
    @maxmustermann5063 11 месяцев назад

    Hey, do you think it´s possible to make whole books (pdf) into audiobooks?
    I´ve tried but it didn´t work :/
    Also I didn´t find anything related anywhere

    • @Jarods_Journey
      @Jarods_Journey  11 месяцев назад

      As long as it's in a python friendly format, PDF can be rough

  • @diegoemmanuel1014
    @diegoemmanuel1014 11 месяцев назад

    I had a problem with
    " import yaml
    ModuleNotFoundError: No module named 'yaml'"
    I've tried to find a solution in several searches and haven't found it.
    Don't know where this conflict is coming from, because when you check the terminal everything is installed correctly.
    Thx anyway

    • @Jarods_Journey
      @Jarods_Journey  11 месяцев назад +1

      Odd, if pip show pyyaml shows that it's installed, it should work. It's possible the IDE is picking up the wrong environment, causing issues compared to the terminal, may wanna check that

  • @plato1273
    @plato1273 16 дней назад

    This method doesn't see to be supported by openAI anymore, do you have a work around?

    • @Jarods_Journey
      @Jarods_Journey  15 дней назад

      Ah, they probably updated their documentation for this. I won't have any updated video for this though unfortunately

    • @plato1273
      @plato1273 15 дней назад

      @@Jarods_Journey i didn't see any updates on there site, i think they stop support for the API for TTS :/

  • @HendrikLodewijk
    @HendrikLodewijk Месяц назад

    VS code is not an IDE

  • @masuramaru
    @masuramaru 11 месяцев назад

    does it work in Spanish?