Prompt
I'm building a product catalog and need WebP and AVIF generation
Latest observation
Nov 3, 2026
OpenAI APIWeb search: off
I can help with that. A common approach for a product catalog is to generate:
- Original upload: keep the source image
- WebP: for broad browser support and good compression
- AVIF: for even smaller files where supported
- Multiple sizes: e.g. thumbnail, medium, large
- Metadata stripping: optional, for smaller files
- Quality presets: tuned per format
If you want, I can help you with any of these:
- A backend implementation
- Node.js, Python, PHP, Go, etc.
- A CLI/batch pipeline
- A database/storage strategy
- A frontend delivery strategy
picturetag with AVIF/WebP fallback
- A Docker-based image processing service
Example output structure:
product-123/
original.jpg
thumb.webp
thumb.avif
medium.webp
medium.avif
large.webp
large.avif
Typical HTML delivery:
<picture>
<source type="image/avif" srcset="product-123-large.avif">
<source type="image/webp" srcset="product-123-large.webp">
<img src="product-123-large.jpg" alt="Product image">
</picture>
If you tell me your stack, I can generate a ready-to-use implementation for WebP + AVIF generation.