Skip to main content
GET
/
tts
/
retroactive
/
{id}
Get audio for a retroactive TTS request
curl --request GET \
  --url https://restapi.deepdub.ai/api/v1/tts/retroactive/{id} \
  --header 'x-api-key: <api-key>'
{
  "success": false,
  "message": "Invalid generation ID"
}

Polling for completion

The endpoint returns the generated audio as raw MP3 bytes once it’s ready. If the generation is still in progress, the request returns 404. Retry with backoff until the audio is available — typical generations complete within a few seconds, but longer scripts may take longer. File extensions like .mp3 in the id are stripped automatically, so both abc123 and abc123.mp3 resolve to the same generation.

Authorizations

x-api-key
string
header
required

API key for authentication. Must start with dd- prefix.

Headers

x-api-key
string
default:dd-00000000000000000000000065c9cbfe
required

API Key

Path Parameters

id
string
required

Generation ID returned by the retroactive TTS submission. File extensions like .mp3 are stripped automatically.

Response

Audio stream (MP3). The response body is raw audio bytes.