v1

latestOpenAPI 3.1.02026-07-2671117149.2 KB
APIs
Text-to-Speech

Fetch Text-to-Speech Results

post/tts-results

Request body

run_idsinteger[] required

An array of unique positive integers, each representing the ID of a specific run. You must provide between 2 and 5 IDs, and all IDs must correspond to the same run type (e.g., all text-to-speech or all dubbing runs).

Example request

{
  "run_ids": [
    12345,
    6789
  ]
}

Response

Successful Response

BulkTTSRunsResults required

An object containing the results of one to five text-to-speech (TTS) runs. Each key in the object is a unique identifier for a run, and the corresponding value is the Text-to-Speech run details.

Example response

{
  "1234": {
    "output_url": "https://audio-storage.camb.ai/files/audio_1234.flac"
  },
  "5678": {
    "output_url": "https://audio-storage.camb.ai/files/audio_5678.flac"
  }
}