替换原图
apply_compressionReplace original images with the compressed results from a prepared plan, but only after the user reviews the preview and explicitly approves; optionally back up originals first.
Instructions
用 prepare_compression 的结果替换原图。只能在用户看过预览表并明确同意后调用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | 替换前把原图备份到同目录的 .image-backup/ | |
| plan_id | Yes | prepare_compression 返回的 plan_id |