Amazon API Gateway to AWS Step Functions with Amazon Transcribe, Amazon Translate and Amazon Polly

Amazon API Gateway → AWS Lambda → AWS Step Functions → Amazon Transcribe → Amazon Translate → Amazon Polly

Start an AWS Step Functions workflow from Amazon API Gateway that transcribes speech, translates it and turns the result back into speech.

This patterns explains how to integrate API Gateway, Lambda, Step Functions, Transcribe, Translate, Polly and S3 to develop an audio language converter.
The API gateway exposes a websocket to keep the channel open for the process to complete and send response back.

< Back to all patterns

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-lambda-sfn-transcribe-translate-polly-sam

Deploy

sam deploy --guided --capabilities CAPABILITY_NAMED_IAM


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Additional resources

Created by:

Bubai Bal

Bubai Bal

Solution Architect, AWS

Follow on LinkedIn

Kaushal Bisht

Kaushal Bisht

Solutions Architect @ AWS

Aravind Kannan

Aravind Kannan

Solutions Architect @ AWS