satori

Convert JSX-based HTML and CSS into SVG or PNG images for Open Graph metadata.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill satori-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: satori
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/vercel/skills/satori
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill satori-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires satori, @vercel/og.

What problem does it solve?

This Skill solves the complexity of generating dynamic, high-quality Open Graph images for social media sharing by converting JSX-like HTML and CSS directly into SVG or PNG formats.

Core Features & Use Cases

  • Dynamic OG Image Generation: Create personalized social media preview images based on page content or URL parameters.
  • Edge-Ready Rendering: Utilize the ImageResponse class for high-performance rendering within Vercel Edge Functions.
  • Use Case: Automatically generate unique, branded OG images for every blog post or product page in a Next.js application without needing a headless browser.

Quick Start

Use the satori skill to generate a dynamic Open Graph image route for my Next.js application using the ImageResponse API.

Frequently Asked Questions about satori

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate dynamic Open Graph images in Next.js without a headless browser?

Generate dynamic Open Graph images by converting JSX-based HTML and CSS directly into SVG or PNG formats. This approach uses the ImageResponse API to render social media preview images on the fly without needing a headless browser.

Can I use satori for OG image generation in Vercel Edge Functions?

Yes, you can use satori for OG image generation in Vercel Edge Functions. It is specifically designed to utilize the ImageResponse class for high-performance, real-time social image rendering within serverless deployment environments.

What is the best way to create personalized social media preview images for blog posts?

The best way to create personalized social media preview images is converting JSX-like HTML and CSS into SVG or PNG formats. This allows you to automatically generate unique, branded OG images for every blog post or product page based on URL parameters.

Does dynamic OG image generation with @vercel/og support CSS layout styling?

Dynamic OG image generation with @vercel/og supports CSS layout styling by converting JSX-based HTML and CSS directly into SVG or PNG images. The library handles layout and font rendering to produce high-quality social media visuals.

Why use SVG or PNG conversion for Open Graph metadata instead of pre-rendered images?

SVG or PNG conversion for Open Graph metadata solves the complexity of generating dynamic, high-quality social sharing images. It allows real-time image generation based on page content, eliminating the need to manually pre-render assets for every page.