Amazon Polly: “Hello World”… literally!

Today, AWS announced a new text-to-speech service, called Polly. Well… I had to try it :D

Here’s a *very* basic example in Python. There is much more to Polly, but this should get you started. You can list all available voices with ‘aws polly describe-voices’.

And yes, I’m sure there are more clever ways to play sound files in Python, but they’re beyond my weak skills, so there ;)

Very fun service. I see a lot of chatty build servers on the horizon, yelling in German at careless developers. Oh yes, pure bliss :D

Till next time, keep rockin’.


Originally published at blog.julien.org on December 1, 2016.


About the Author

Julien Simon is the Chief Evangelist at Arcee AI , specializing in Small Language Models and enterprise AI solutions. Recognized as the #1 AI Evangelist globally by AI Magazine in 2021, he brings over 30 years of technology leadership experience to his role.

With 650+ speaking engagements worldwide and 350+ technical blog posts, Julien is a leading voice in practical AI implementation, cost-effective AI solutions, and the democratization of artificial intelligence. His expertise spans open-source AI, Small Language Models, enterprise AI strategy, and edge computing optimization.

Previously serving as Principal Evangelist at AWS and Chief Evangelist at Hugging Face, Julien has authored books on Amazon SageMaker and contributed to the open-source AI ecosystem. His mission is to make AI accessible, understandable, and controllable for everyone.