wait_for_job
Wait for a dubbing job to finish, then return the final status and output URLs, eliminating the need to poll.
Instructions
Block until a dubbing job reaches a final state, then return its result.
Convenience wrapper around get_job_status for callers that just want the finished video. Dubbing typically takes a small multiple of the video's own length, so keep the timeout generous.
Args: job_id: The job_id returned by submit_dubbing_job. timeout_seconds: Give up after this long (default 1800, max 7200).
Returns: JSON with the final status and, when completed, the output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |