agnify file
agnify file frame
Section titled “agnify file frame”Download the first-frame PNG for an upload and print its local path.
Follows the presigned redirect emitted by GET /api/v1/files/{id}/frame;
no Authorization header is sent to the presigned S3 URL itself.
Usage
agnify file frame [OPTIONS] FILE_IDArguments
| Name | Description |
|---|---|
FILE_ID | File id, or a unique id prefix (≥4 chars). |
Options
| Flag | Description |
|---|---|
--out-dir | Directory to write the frame into. Defaults to a temp dir. |
agnify file ls
Section titled “agnify file ls”List the active org’s uploaded files, newest first.
Wraps GET /api/v1/vms/uploads. Feed a printed file_id to
agnify run create --file-id <id> to run a pipeline against an
already-uploaded video without re-uploading it. --type image lists the
images available as reference images on a node or a State Classifier
category.
Usage
agnify file ls [OPTIONS]Options
| Flag | Description |
|---|---|
--limit, -n | Max rows to render (default 50; server caps at 200). (default: 50) |
--offset | Skip N rows (default 0). |
--type | Only list one kind: ‘video’ or ‘image’. |
agnify file upload
Section titled “agnify file upload”Upload a local file. Prints the file_id other commands reference.
Usage
agnify file upload PATHArguments
| Name | Description |
|---|---|
PATH | Local path to a video or image to upload. |