---
name: og-image-generation
description: Generate dynamic social preview images using Next.js file conventions and the next/og library. Server-rendered JSX images cached at build time.
---

# OG Image Generation

Generate dynamic social preview images using Next.js file conventions and the next/og library. Server-rendered JSX images cached at build time.

```bash
curl https://fullstackrecipes.com/recipes/og-image-generation.md
```
