Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

116
Visualizações
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.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

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.

over 4 years ago · Santiago Trujillo Relatório

0

Hey you can have a look in startSpeechSynthesisTask

over 4 years ago · Santiago Trujillo Relatório

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"
}
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda