image

Render SVG and PNG images from JSON render specs using Satori.

1|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/pch007/json-render --skill image-pch007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image
Source: https://github.com/pch007/json-render/tree/main/skills/image
Command: npx skills add https://github.com/pch007/json-render --skill image-pch007

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Image renderer converts JSON specs into SVG and PNG images, enabling easy generation of social cards, OG images, and AI-generated visuals for apps built with json-render.

Core Features & Use Cases

  • Converts JSON specs into scalable vector (SVG) and raster (PNG) images using Satori.
  • Supports rendering social cards, OG images, and dynamic previews from UI specs.
  • Real-world use: generate a 1200x630 OG image from a spec to share on social platforms.

Quick Start

Call renderToPng with your Spec to generate a PNG image from your JSON description.

Frequently Asked Questions about image

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

FAQPage Schema
How do I generate OG images from JSON data for social sharing?

You can generate social cards and OG images by converting JSON render specs into SVG and PNG images using Satori. This approach renders dynamic UI previews directly from your data.

Can I render SVG images from a JSON specification for UI previews?

Yes, you can render SVG and PNG images from JSON render specs for UI previews. It uses Satori to ensure deterministic results when generating your scalable vector graphics.

What is the best way to convert a JSON render spec into a PNG file?

The best way to convert a JSON render spec into a PNG file is to call the renderToPng function with your spec. This integrates with the image catalog to produce a deterministic PNG output.

Does Satori support rendering dynamic social cards from JSON?

Satori supports rendering dynamic social cards from JSON by converting the specs into SVG and PNG images. It integrates with the image catalog to produce deterministic visual results for your apps.

What are the limitations when using JSON specs to generate PNG images?

When using JSON specs to generate PNG images, the rendering relies on the json-render spec format and Satori for deterministic results. Outputs are limited to SVG and PNG formats for UI previews and social cards.