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

Advanced AI Prompt for Next.js 15 Image Optimization API

Customize the variables below to instantly engineer your prompt.

Required Variables

nextjs-15-image-optimization-api.txt
Act as a Next.js Core Performance Contributor. Dissect and optimize the Next.js 15 `<Image />` component architecture for a massive e-commerce site pulling hundreds of high-res product photos from the [IMAGE_SOURCE_DOMAIN]. You must write a custom [LOADER_CONFIGURATION] function that completely bypasses the default Vercel Image Optimization API, securely routing the image transformations (resizing, WebP/AVIF conversion, quality compression) directly through a dedicated CDN like Cloudinary or Imgix to slash compute costs. Provide the exact code implementation for explicitly prioritizing the 'above-the-fold' hero image using `fetchPriority='high'` and `priority={true}` to mathematically guarantee the strict [LCP_TARGET_MS] (Largest Contentful Paint) SLA is met.

Example Text Output

"A highly optimized custom image loader script for Next.js that offloads costly image transformations to a specialized CDN, brutally optimizing Core Web Vitals."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Next.js 15 Image Optimization API" prompt used for?

A highly optimized custom image loader script for Next.js that offloads costly image transformations to a specialized CDN, brutally optimizing Core Web Vitals.

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.