O
Image Optimization - Compress Images and Convert to WebP or AVIF Media

Optimize on upload : Automatically optimizes images when

Optimize on upload : Automatically optimizes images when you upload them.

What it does

Optimize on upload : Automatically optimizes images when you upload them. It is one of the abilities the Image Optimization - Compress Images and Convert to WebP or AVIF plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ upload_files

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

image-optimization.optimize-on-upload-automatically-optimiz
{
  "ability": "image-optimization.optimize-on-upload-automatically-optimiz",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Image Optimization - Compress Images and Convert to WebP or AVIF abilities

All Image Optimization - Compress Images and Convert to WebP or AVIF abilities β†’
B
Backup original images : Ability to delete backups
Image Optimization - Compress Images and Convert to WebP or AVIF
Backup original images : Ability to delete backups permanently to save space. (We recommend backing up your website beforehand.)
C
Convert to WebP and AVIF : Get efficient and faster-loading
Image Optimization - Compress Images and Convert to WebP or AVIF
Convert to WebP and AVIF : Get efficient and faster-loading formats with WebP and AVIF for even better web performance.
B
Bulk or single image optimization
Image Optimization - Compress Images and Convert to WebP or AVIF
Bulk or single image optimization