Portuguese (Portugal) Text-to-Speech API in PHP
You need to turn Portuguese (Portugal) text into speech from a PHP backend. By the end of this guide you will be able to POST text to Woord’s Text-to-Speech endpoint, authenticate with a Bearer token, and programmatically retrieve an MP3 URL for playback or storage—using curl, PHP, and JavaScript.
What you will build
This tutorial shows how to call the Woord Text-to-Speech convert endpoint for Portuguese (Portugal) using PHP. You will send form-encoded fields (not JSON), authorize with a Bearer token, and parse the JSON envelope to extract the audio URL. Examples include:
A copy-pasteable curl request
A PHP example (curl_init)
A JavaScript example (fetch w...
Continue Reading
