Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
Amazon Polly to S3 Directly

Is there anyway to tell Amazon's Polly service to dump the audio file to S3 directly?

Using the SDK you can get a stream of the response, which I can then upload to S3, but I was hoping to skip the step and do it directly.

I've tried sending Polly S3-presigned post url as the file location but haven't gotten it to work.

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Update: This became possible since the question was asked. See Amazon Polly Now Supports Input Character Limit of 100K and Stores Output Files in S3.

about 4 years ago · Santiago Trujillo Report

0

Hey you can have a look in startSpeechSynthesisTask

about 4 years ago · Santiago Trujillo Report

0

This is possible as of July 17, 2018, per https://aws.amazon.com/about-aws/whats-new/2018/07/amazon-polly-now-supports-input-character-limit-of-100k-and-stores-output-files-in-s3/:

Starting today, you can...store the output files in S3.

@Mohit is correct - while I do not know if there is native support in the AWS Polly Ruby SDK, it is certainly supported via the REST API. Per the docs for the StartSpeechSynthesisTask action, StartSpeechSynthesisTask:

...This operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn).

Request syntax is:

POST /v1/synthesisTasks HTTP/1.1
Content-type: application/json

{
   "Engine": "string",
   "LanguageCode": "string",
   "LexiconNames": [ "string" ],
   "OutputFormat": "string",
   "OutputS3BucketName": "string",
   "OutputS3KeyPrefix": "string",
   "SampleRate": "string",
   "SnsTopicArn": "string",
   "SpeechMarkTypes": [ "string" ],
   "Text": "string",
   "TextType": "string",
   "VoiceId": "string"
}
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!