GET
/
text-to-voice-result
/
{run_id}
curl --request GET \
  --url https://client.camb.ai/apis/text-to-voice-result/{run_id} \
  --header 'x-api-key: <api-key>'
{
  "previews": [
    "<string>"
  ]
}

This endpoint retrieves your completed voice generation results. Once processing is complete, you will receive a collection of audio file links, each offering a unique preview voice created from your text prompt. These preview voices let you hear different interpretations of your given text, helping you choose the perfect voice.

Authorizations

x-api-key
string
header
required

The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.

Path Parameters

run_id
integer
required

The unique identifier for the run, which was generated during the text to voice creation process and returned upon task completion.

Response

200
application/json
Successful Response

The response is of type object.