POST
/
translated-tts
curl --request POST \
  --url https://client.camb.ai/apis/translated-tts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "text": "<string>",
  "voice_id": 123,
  "age": 123,
  "formality": 1,
  "gender": 0,
  "source_language": 1,
  "target_language": 1,
  "chosen_dictionaries": null
}'
"<any>"

Once the run is complete, the outputs can be retrieved using these endpoints:

This endpoint initiates a process to translate the provided input text and subsequently generate a text-to-speech voiceover. Upon successful request, a task_id is returned. The status of the task can be monitored by polling the /translated-tts/{task_id} endpoint.

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.

Query Parameters

run_id
integer | null

Body

application/json

Response

200
application/json
Successful Response

The response is of type any.