image-creator

Render self-contained HTML and CSS into PNG images with Playwright.

Updated May 5, 2026
One-click install
npx skills add https://github.com/NicolasPadovam/Opensquad_Instagram --skill image-creator-nicolaspadovam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-creator
Source: https://github.com/NicolasPadovam/Opensquad_Instagram/tree/main/skills/image-creator
Command: npx skills add https://github.com/NicolasPadovam/Opensquad_Instagram --skill image-creator-nicolaspadovam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright.

What problem does it solve?

This skill solves the challenge of programmatically generating high-quality, pixel-perfect visual assets like social media graphics and carousels directly from web-standard HTML and CSS.

Core Features & Use Cases

  • Headless Rendering: Uses Playwright to capture precise screenshots of self-contained HTML templates.
  • Batch Processing: Efficiently handles multi-slide carousels and infographics with automated server management.
  • Use Case: Automatically generate a series of branded LinkedIn carousel slides by passing dynamic content into an HTML template and rendering them as PNGs.

Quick Start

Use the image-creator skill to render the file slide-01.html into a 1080x1080 PNG image.

Frequently Asked Questions about image-creator

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

FAQPage Schema
How do I render HTML and CSS into high-resolution PNG images?

To render HTML and CSS into PNG images, this skill uses a headless browser via Playwright to capture precise screenshots of self-contained HTML templates. It requires a local HTTP server to host the source HTML templates during the rendering process.

Can I automate batch processing for multi-slide social media carousels?

Yes, you can automate batch processing for multi-slide carousels. The skill efficiently handles multi-slide carousels and infographics with automated server management, allowing you to render multiple HTML templates into a sequence of PNG images.

Do I need Playwright to convert HTML templates into production-ready images?

Yes, you need Playwright installed for browser automation. The skill relies on Playwright's headless browser capabilities to capture high-resolution screenshots of your HTML and CSS content and convert them into production-ready images.

How do I generate social media graphics with custom viewport dimensions?

You generate social media graphics with custom viewport dimensions by specifying the desired size, such as 1080x1080, when rendering. The skill supports custom viewport dimensions to create pixel-perfect visual assets for various social media platforms.

What's the best way to programmatically generate branded infographics from web-standard code?

The best way to programmatically generate branded infographics from web-standard code is by passing dynamic content into self-contained HTML templates. This skill captures headless browser screenshots to produce pixel-perfect visual assets directly from HTML and CSS.

Why does rendering HTML to an image require a local HTTP server?

Rendering HTML to an image requires a local HTTP server to properly host and serve the source HTML templates. The headless browser needs a server environment to load the self-contained HTML and CSS content accurately before capturing the screenshot.