photo_album
Create, rename, or modify personal Synology Photos albums, including smart albums with conditions. Add or remove items, set covers, or copy albums without moving photos.
Instructions
Create or change a Synology Photos album: create one (normal, or smart: filled automatically from a condition), rename it, add or remove items, set its cover, copy it, or replace a smart album's condition. The photos themselves never move. Personal space albums only. To delete albums use delete_photo_albums; to share one, photo_share_link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Personal space item IDs from list_photos, at most 1,000; exactly one for `set_cover`. | |
| name | No | Album name for `create`, `create_smart`, `rename` and `copy`. | |
| album | No | The album to change; not for creates. Album ID (list_photo_collections type=album) or unique name. | |
| action | Yes | `create` (`name`, optional `ids`), `create_smart` (`name`, `condition`), `rename` (`name`), `add` / `remove` (`ids`; normal albums), `set_cover` (one id in `ids`), `copy` (a normal album, into a new one named `name`) or `set_condition` (replaces a smart album's). | |
| condition | No | At least one of `folders` (IDs or paths), `people` (IDs or names), `tags` (names), `places` (place IDs), `start_date` / `end_date` (`YYYY-MM-DD`), `type` (`all`, `photo`, `video`), `ratings` (list of 0-5), `keywords`; `people_match`, `tags_match`, `keywords_match`: `any` (default) or `all`. Example: `{"tags": ["beach"], "start_date": "2024-01-01"}`. |