Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#Agents

Advanced AI Prompt for Automated Image Optimization and Next-Gen Format Scripting

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-image-optimization-script.txt
Act as a Web Performance Specialist. Script an agent to process [IMAGE_INVENTORY_CSV] for optimization. The agent must: 1. Identify images larger than 200KB and suggest 'WebP' or 'AVIF' conversions. 2. Detect missing 'Width' and 'Height' attributes to prevent CLS. 3. Analyze [CDN_CAPABILITIES] to recommend 'Auto-Resizing' or 'Lazy-Loading' strategies. 4. Flag images missing 'Alt Text' based on surrounding context. Output a bash or Python script that uses 'ImageMagick' or a cloud API to batch-convert and compress the identified images while maintaining [PERFORMANCE_TARGETS].

Example Text Output

"The AI provides a Python script that reduces total image payload by 65% by converting JPEGs to WebP and generating 'srcset' attributes for responsive loading."

More AI Portraits Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Automated Image Optimization and Next-Gen Format Scripting" prompt used for?

The AI provides a Python script that reduces total image payload by 65% by converting JPEGs to WebP and generating 'srcset' attributes for responsive loading.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.