Advertisement
cdtoad

Untitled

Jun 28th, 2025
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1.     $result = $pollyClient->startSpeechSynthesisTask([
  2.         'OutputFormat' => 'mp3',
  3.         'OutputS3BucketName' => AWS_S3BUCKET,
  4.         'SampleRate' => '24000',
  5.         'Text' => $testText,
  6.         'TextType' => 'text',
  7.         'VoiceId' => 'Ruth',
  8.         'Engine' => 'long-form',
  9.     ]);
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement