str
required
The id of a video template, for example
tpl_xxx.list[dict]
The values to put into the template’s layers. A video layer takes a
src, and the modification named music changes the music. Modifications lists the fields each layer accepts.Render and wait for the URL
render_and_wait_video returns {"result": url} or {"error": {...}}.
Follow the progress
render_video yields event dicts. The last event is done or error.
A refused request, such as an invalid API key or a used-up quota, gives one
error event. The client timeout applies only to the connection, because a video can wait in line for minutes.