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.
In recent years, artificial intelligence (AI) has evolved to include more sophisticated and capable agents,…
Adaptive learning helps in tailoring learning experiences to fit the unique needs of each student.…
With the increasing demand for more powerful machine learning (ML) systems that can handle diverse…
Anxiety is a common mental health condition that affects millions of people around the world.…
In machine learning, confounder features or variables can significantly affect the accuracy and validity of…
Last updated: 26 Sept, 2024 Credit card fraud detection is a major concern for credit…