How to create wav from short text, using text to speech (tts)

Use for example

Live demo:

To create wav:
-register for free
-check you api key under 'My profile'

-enter address in this format:"hello it's me"&hl=en-gb&c=WAV&f=44khz_16bit_mono
Save wav file from browser, either use save option, or right click on media and select 'save'.

You can change format or codec.
Check their documentation:

Basic version is free. 350 Daily Requests, limited to 100KB per request.

There are many other programs to create longer text to speech, or you can check, books read by people.