Amazon Polly is a text-to-speech service which turns text into life-like speech, allowing you to create applications that talk in a human voice. The human voice could be selected appropriately while configuring the service based on the region/location where the speech needs to be delivered. For example, for India, it supports voice with Name as Aditi and Raveena. The complete list can be found on this page, AWS Polly Available Voices.
There could be many applications which could be built around Amazon/AWS Polly by integrating Polly with other AWS services or telephony services such as Twilio. For example, phone alerts/notifications, reminders, feedback, results etc.
In this post, you would learn about how to get set up with Amazon/AWS Polly using AWS CLI.
In order to get setup with AWS CLI, it is recommended to use PIP. Recall that PIP is a package management system used to install and manage software packages written in Python. Before proceeding ahead, make sure you meet the minimum requirements for Polly to work:
The following are instructions to set up AWS CLI:
pip install awscli --upgrade --user
The –upgrade option is for upgrading any requirements which are already installed. The –user option is for installing the program to a subdirectory of your user directory to avoid modifying libraries used by your operating system.
aws --version
aws configure
aws polly help
aws configure add-model --service-model file:///home/ajitesh/downloads/service-2.json --service-name polly
aws polly help
In this post, you learned about how to get started with or set up or access Amazon Polly using AWS CLI.
Did you find this article useful? Do you have any questions or suggestions about this article in relation to getting set up Amazon Polly with AWS CLI? Leave a comment and ask your questions and I shall do my best to address your queries.
Artificial Intelligence (AI) agents have started becoming an integral part of our lives. Imagine asking…
In the ever-evolving landscape of agentic AI workflows and applications, understanding and leveraging design patterns…
In this blog, I aim to provide a comprehensive list of valuable resources for learning…
Have you ever wondered how systems determine whether to grant or deny access, and how…
What revolutionary technologies and industries will define the future of business in 2025? As we…
For data scientists and machine learning researchers, 2024 has been a landmark year in AI…