Convert Text To Real Human Speech With Google Cloud Text-To-Speech API In Python

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 47

  • @melhoresofertasapp
    @melhoresofertasapp 10 місяців тому +4

    Great video, this is the best I have found!

    • @jiejenn
      @jiejenn  10 місяців тому

      Thanks for the comment!

  • @fabiolazza8182
    @fabiolazza8182 7 місяців тому +3

    I was lost when you started explaining the Python Env script.
    So how do you initialize it ? Could you please detail that step for me ?

  • @AlexRodriguez-vl1ec
    @AlexRodriguez-vl1ec 11 місяців тому

    My code works fine but whenever I try to change the speaking rate it does not work. I have tried to find more documentation on it but I cannot figure out why it will not register. If I go outside the range it will come up with an error, which means it does know what float number I am using. Does changing the speaking rate work for you?

  • @asdolabdol
    @asdolabdol 10 місяців тому

    hi. how long at most the desired text strings can be?
    i want to create mp3 for 10hour audiobook from a 85000 words text file as input. tnx

    • @jiejenn
      @jiejenn  10 місяців тому

      The limit is 5000 bytes per request. You will need to chunk the audio file individually. cloud.google.com/text-to-speech/quotas

  • @piyushborude6440
    @piyushborude6440 3 місяці тому

    It requires a billed account now.Does that i mean i do a one time payment and then use the free tier or there is no free tier now?

    • @jiejenn
      @jiejenn  3 місяці тому

      @@piyushborude6440 no. Google just your credit card info on file in case if you use any paid service or exceeds free usage of a service.

  • @BtwinUnW
    @BtwinUnW 4 місяці тому

    Very good Tutorial!

  • @dickiie9970
    @dickiie9970 8 місяців тому

    has the pricing changed? as of 1st of May 2024, it says that text to speech on-device per device USD XX.XX , this means that every device that use this API, have to pay x amount?

    • @jiejenn
      @jiejenn  8 місяців тому

      Can you share the source?

  • @EnderRobber101
    @EnderRobber101 4 місяці тому +1

    Does this require a billed account now?

  • @SportStory-c7e
    @SportStory-c7e 4 місяці тому

    excelent!! love it

  • @HideBuz
    @HideBuz 9 місяців тому

    Can you go into how to chunk so that sentences are not broken up?

    • @jiejenn
      @jiejenn  9 місяців тому

      Not sure if I understand your question.

    • @HideBuz
      @HideBuz 9 місяців тому

      @@jiejennMy bad: "Can you go into the chunking of texts, so that sentences are not broken up / split into the middle in order to solve the google api max chunk size problem?" Also how can we generate a single large audiofile instead of many small chunks the the google api returns? I would appreciate a version 2 of the video with improved code on how to deal with the api limit. Many thanks! You earned a sub!

  • @NeerajTangariya-o7b
    @NeerajTangariya-o7b 8 місяців тому

    hi does it work like you give the text and it converted to the mp3 then you play?
    If i give everytime new text so it will create that mp3????

    • @jiejenn
      @jiejenn  8 місяців тому

      You can. I have done it with most of TTS APIs.

  • @Legend.-.
    @Legend.-. 6 місяців тому

    Can we stream the response of google text to speech?

    • @jiejenn
      @jiejenn  6 місяців тому

      Yes, you can.

    • @Legend.-.
      @Legend.-. 6 місяців тому

      @@jiejenn ohh, can you share any resources for doing it? I am trying to accomplish it but its not working for me.

    • @jiejenn
      @jiejenn  6 місяців тому +1

      ​@@Legend.-. I need to check if I still have the script. I will let you know.

  • @Uncle_hurricane
    @Uncle_hurricane 5 місяців тому

    thanks bro, I did it!

  • @anavildidthasom6201
    @anavildidthasom6201 8 місяців тому

    Really good tutorial!

  • @rgb2647
    @rgb2647 2 місяці тому

    how not to understand the princings...hei let's change from characters to bytes...great, job done!

  • @sebastianrodriguez672
    @sebastianrodriguez672 9 місяців тому

    So useful, thanks

  • @engitix
    @engitix 11 місяців тому

    Which python version do you use?

    • @jiejenn
      @jiejenn  11 місяців тому

      Currently Python 3.10. Looking to upgrade to Python 3.12 soon.

  • @w.davidwilliams2544
    @w.davidwilliams2544 7 місяців тому

    I am not a Python expert. Can someone help me set it up?

  • @ribeiro4642
    @ribeiro4642 6 місяців тому

    Wouldn't it be easier to create an API key?
    05:45

    • @jiejenn
      @jiejenn  6 місяців тому

      @@ribeiro4642Only a limited services support API key, TTS is not one of them.

    • @ribeiro4642
      @ribeiro4642 6 місяців тому

      @@jiejenn I'm using Google's TTS via API.
      This made things much simpler.

  • @bringtolife9462
    @bringtolife9462 6 місяців тому

    This program is not working which every you showed in the video. Exactly did your code. but not working

    • @jiejenn
      @jiejenn  6 місяців тому

      @@bringtolife9462 okay.

  • @minhsenma
    @minhsenma 11 місяців тому

    Please makw video add drop shadow to around app

    • @jiejenn
      @jiejenn  11 місяців тому +1

      Can you be more specific? Not sure if I understand what you mean.

    • @minhsenma
      @minhsenma 11 місяців тому

      @@jiejenn yes add style specific to widget and add custom style to mainwindow drop shadow border ...

  • @dantesbytes
    @dantesbytes 9 місяців тому

    :(

  • @Grams79
    @Grams79 5 місяців тому

    Thank you again!