Understanding Bulk Dubbing Results
When you request the results of multiple completed dubbing tasks, our system returns a comprehensive collection of results, with each entry containing:- Dubbed Video: A complete video file with the original visuals and newly generated voiceover in your target language.
- Dubbed Audio: An isolated audio track containing only the synthesized speech in your target language.
- Complete Transcript: A detailed, time-coded transcript of the dubbed content with speaker identification.
Accessing Multiple Dubbed Results
To retrieve results for multiple dubbing tasks, you’ll need to provide an array ofrun_id
values in the request payload. Each run_id
uniquely identifies a specific dubbing task that was created through our dubbing pipeline.
Request Payload Structure
The request body should contain an array of run IDs:Example Request with Python
Here’s how to fetch multiple dubbing results using Python:Response Handling
The bulk endpoint returns results for all requested run IDs, including those that may still be processing or have failed. Each result in the response includes:video_url
: URL to the dubbed video (if completed)audio_url
: URL to the dubbed audio (if completed)transcript
: Complete transcript with timing information (if completed)
Best Practices
When using the bulk dubbing results endpoint:- Batch Size: Limit your requests to reasonable batch sizes (recommended: 50-100 run IDs per request) to ensure optimal performance
- Status Checking: Always check the status of each result before attempting to access media URLs or transcripts
- Error Handling: Implement proper error handling for individual failed runs within the bulk response
Authorizations
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.
Body
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).
2 - 5
elements[12345, 6789]
Response
Successful Response
An object containing the results of one to five dubbing runs. Each key in the object is a unique identifier for a run, and the corresponding value is the result of the dubbing run.