{"by":"evan_ry","descendants":109,"id":40961385,"kids":[40962967,40962723,40962799,40963490,40962869,40962607,40962877,40962727,40962953,40965046,40964195,40964322,40962683,40962721,40963660,40962919,40963641,40962763,40963310,40968657,40962900,40962996,40964093,40961719,40962728,40961432,40962645,40962969],"score":140,"text":"Hey HN. I’m Ivan, hacker from Ukraine.<p>For about a year, I was working on Listenly — an app to listen to text content with OpenAI&#x27;s natural-sounding text-to-speech model.<p>At some moment, I realized that it would be cool to take all the public domain e-books and create audio versions for them.\nSo I did it... kind-of.<p>It would cost an immense amount of money to generate all the audio right away (OpenAI TTS costs approximately $0.84&#x2F;hour of audio; 11labs, for comparison, is 10 times more expensive).\nSo, I took a more gradual approach.<p>I took all the metadata from the Project Gutenberg catalog (it&#x27;s about 70GB of dirty XML), cleaned it, put it into my database, and created a browsable catalog.\nWhen the first user visits a book page on Listenly, I download the full text of the book, save it in my cloud storage, and calculate the price for audio generation based on the book&#x27;s length. Then, if the user decides to purchase it, we generate the audio.<p>I know it’s not perfect.<p>I&#x27;ve burned out a couple of times already while doing it.<p>But still, I need to show it to the world. And I’ll be glad to hear your feedback.<p>Peace.","time":1720969645,"title":"Show HN: I generated 70k audiobooks with OpenAI Text-to-Speech","type":"story","url":"https://listenly.io/gutenberg"}