Upload asset
immich_upload_assetUpload a new asset to an Immich server by providing file data plus creation and modification timestamps.
Instructions
Upload asset
Uploads a new asset to the server.
Immich operation: POST /assets · tag: Assets
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| slug | No | ||
| duration | No | duration (request body) | |
| filename | No | filename (request body) | |
| metadata | No | metadata (request body) | |
| assetData | Yes | assetData (request body) | |
| isFavorite | No | isFavorite (request body) | |
| visibility | No | visibility (request body) | |
| sidecarData | No | sidecarData (request body) | |
| fileCreatedAt | Yes | fileCreatedAt (request body) | |
| fileModifiedAt | Yes | fileModifiedAt (request body) | |
| livePhotoVideoId | No | livePhotoVideoId (request body) | |
| x-immich-checksum | No | sha1 checksum that can be used for duplicate detection before the file is uploaded |