wait_for_result
Wait for a generation or a Cinematic Ads project that is still being made, instead of asking again and again: reads it every few seconds until it is done (or failed), at most 50 s per call, then answers what get_generation (jobId) or cinematic_ads_get_project (project_id) answers. Still being made when the time is up: call it again. Waiting makes and charges nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | A generation's job id (from render_*, render_effect, clone_template or get_generation). | |
| project_id | No | A Cinematic Ads project id, instead of jobId. | |
| timeout_seconds | No | At most this long; default 50. |