Revert asset edits
revert_asset_editsRemove all non-destructive edits (rotation, crop, mirror) from specific assets or an album to restore original appearance and undo display transforms.
Instructions
Remove all non-destructive edits (rotation, crop, mirror) from assets, restoring original appearance. Use this to undo rotate_assets or any other display transforms. Provide EITHER asset_ids OR album_id. Side effect: deletes all edit records for the assets.
Args:
asset_ids: List of asset UUIDs to revert. Mutually exclusive with album_id.
album_id: Revert all assets in this album. Mutually exclusive with asset_ids.
Returns: JSON with reverted/failed counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album_id | No | ||
| asset_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |