How to curl your api?

Text To Speech

curl --request POST 'https://f.cluster.resemble.ai/synthesize' \ -H 'Authorization: Bearer YOUR_API_TOKEN' \

-H 'Content-Type: application/json' \

-H 'Accept-Encoding: gzip' \

--data '{

    "voice_uuid": "55592656",

    "data": "Hello from resemble!",

    "sample_rate": 48000,

    "output_format": "wav"

}'

 

If you'd like to use the example, make sure to make the following replacements:
  • Replace <your-api-key> with your account's api key

Further information can be found in Text To Speech API Docs.