Download Video
download_videoDownload the completed video file for a Kenari job ID and save it to the output directory. Use after rendering finishes to avoid still-rendering errors.
Instructions
Download finished video bytes via GET /v1/videos/{id}/content to KENARI_OUTPUT_DIR. Errors with still_rendering while the job renders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Kenari video job id whose finished bytes should be downloaded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Kenari video job id, when relevant to the result or error. | |
| op | No | Tool operation name the error occurred in. | |
| code | No | Machine-readable code: an error code (e.g. unauthorized, bad_request, upstream_error) or a state marker (e.g. rendering, done, still_rendering). | |
| hint | No | Human-readable remediation hint (e.g. set KENARI_API_KEY). | |
| paths | No | Absolute local paths of downloaded video files (when done and downloaded). | |
| status | No | HTTP status number (on API errors) or the Kenari job status string (on video status results). | |
| disabled | No | True when video tools are disabled via KENARI_ALLOW_VIDEO=0. |