v1

latestOpenAPI 3.1.02026-07-2671117149.2 KB
APIs
Stories

Get Stories Runs Results in Bulk

post/stories-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

BulkStoriesRunsResults required

An object containing the results of one to five story runs. Each key in the object is a unique identifier for a run, and the corresponding value is stories run output.

Example response

{
  "1234": {
    "dialogue_url": "https://example.com/run/1234/dialogue.flac",
    "audio_url": "https://example.com/run/1234/audio.flac",
    "transcript": [
      {
        "start": 0.4,
        "end": 14.97,
        "text": "Olympus Mons is the largest volcano in the solar system.",
        "speaker": "SPEAKER_0"
      },
      {
        "start": 15.37,
        "end": 27.27,
        "text": "Its average slope is only about 5%.",
        "speaker": "SPEAKER_0"
      },
      {
        "start": 27.67,
        "end": 38.24,
        "text": "It may have once been an island surrounded by oceans.",
        "speaker": "SPEAKER_0"
      },
      {
        "start": 38.64,
        "end": 49.59,
        "text": "Future eruptions could still occur due to mantle activity.",
        "speaker": "SPEAKER_0"
      }
    ]
  }
}