Official guide to Metadata API and generating dynamic Open Graph images.
Next.js Metadata API provides powerful tools for improving SEO and web shareability through static and dynamic metadata generation. The API supports static metadata objects, dynamic generateMetadata functions, and special file conventions for favicons and Open Graph images. All metadata is automatically converted to appropriate HTML meta tags.