wait_for_completion
Method
This is a method of the VideoAgent class in the video_agent module.Wait for video generation to complete.
Signature
Parameters
The video ID to poll
Seconds between status checks (default: 10)
Maximum wait time in seconds (default: 600)
Returns
VideoObject with status “completed” or “failed”
Exceptions
TimeoutError
TimeoutError
If max_wait_time is exceeded

