revert_asset_edits
Reverts non-destructive edits like rotation, crop, and mirror from assets, restoring their original appearance. Provide asset IDs or album ID to apply.
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 |
|---|---|---|---|
| asset_ids | No | ||
| album_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |