Undo Robin’s Optimization on One Image with AI
One image put back to its original from Robin's backup, with a check first that there is one, then left alone by Robin or compressed again losslessly, as you choose.
Prerequisites
A site connected to WPVibe running Robin Image Optimizer 2.1 or newer (tested on 2.1.2, free) on WordPress 6.9 or newer, with an administrator account.
My WordPress site uses Robin Image Optimizer. The image [describe it or give its file name] looks worse since it was optimized. Put the original back. 1. Run discover_abilities with category robin-image-optimizer. If the abilities this needs are not there, stop and tell me to install or update the free Robin Image Optimizer plugin (2.1 or newer, on WordPress 6.9 or newer). 2. Find the image: run rest_api GET /wp/v2/media with search set to a word from its title, or its file name without the extension, and media_type image. If nothing matches, tell me and ask for another word. If several match, show me their titles, file names and upload dates, and ask which one. 3. Run robin/get-job with media_ids set to that image's ID. If status is not success, tell me Robin has not optimized this image, so there is nothing to undo here, and stop. Tell me its compression level and saved_percent (how much smaller the file visitors get is, counting its WebP copy when WebP is on). 4. If backed_up is false, stop and do not run robin/restore-originals: without a backup Robin only forgets that it optimized the image, and the file stays as it is. Tell me the way back is to upload the original again. 5. If backed_up is true, tell me what will happen (the original file and its sizes come back, and its WebP copy is removed) and wait for my yes. Then run robin/restore-originals with media_ids set to the ID, and run robin/get-job again to confirm the status is now unoptimized. 6. Run robin/get-optimization-policy. If convert_webp is true, tell me visitors get a WebP copy whenever Robin makes one, and compressing again would make a new WebP copy that can look like the one I undid; offer only to leave it unoptimized. If its level in step 3 was normal (already lossless), offer only to leave it unoptimized too. Otherwise ask me which I want: leave it unoptimized, or compress it again losslessly (if backup_originals is false, tell me there will be no backup this time). To leave it, run robin/update-media-options with the ID and exclude true, and tell me automatic and bulk runs skip it from now on (an explicit optimize still works). To compress it losslessly, run robin/optimize-media with the ID and profile normal, then report saved_percent. 7. Tell me a browser or page cache may show the old file for a while. List each change so I can spot-check it.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Undo Robin’s Optimization on One Image with AI” recipe from the WPVibe cookbook on my connected site.
A product photo came out blotchy, or a logo lost its crisp edges, after Robin compressed it. Finding the right image, checking there is a backup and putting the original back is a few clicks you rarely make, so the bad version stays up.
The AI finds the image, checks in Robin Image Optimizer that it was optimized and that its original was backed up, and after your yes restores it. It confirms the restore, then sets the image aside so Robin leaves it alone from now on, after your yes. Compressing it again losslessly is offered only when Robin makes no WebP copies: a new WebP copy can look like the one you undid.
A restore needs Robin’s backup. When there is none, Robin still answers restored but the file stays as it is, so the AI stops instead and tells you to upload the original again. Restoring also removes the image’s WebP copy. A browser or page cache may show the old file for a while.
Outcome
The image is back to its original file, and Robin leaves it alone, or, when it makes no WebP copies, has compressed it again losslessly, as you chose.