Give your AI agent a deterministic way to turn X posts into images
Description and use
xpostplate is a CLI that turns X posts into deterministic PNGs, enabling agents to embed consistent images without browser automation, useful for documents, slides, videos, and print.
Problem
Agents often struggle to reliably embed X posts into documents, relying on browsers, screenshots, or incomplete APIs.
Outcome
Agents can now embed X posts as consistent PNGs, improving reliability, caching, and integration into documents, slides, videos, and print materials.
Workflow
- 1. Install xpostplate via Homebrew or npm.
2. Run
xpostplate <url> > post.pngto render a post. 3. Use flags like--scale,--width,--view,--theme,--json, or--fabricatefor custom outputs. 4. Pipe output to other tools or redirect to a file. - 5. For batch jobs, loop over URLs and output images to a folder.
- 6. Integrate the provided SKILL.md into an agent’s skills folder to let the agent invoke the command automatically.
Evidence
xpostplate is a CLI that turns an X post into a PNG that looks like x.com, built so an agent (or you) can do it in one command and get the same result every time.
Deterministic: same input, same PNG. Byte for byte. I rendered the same post repeatedly and got identical SHA-256 hashes every time.
An offline render takes about a quarter of a second, start to finish. A live post with four photos takes about a second, most of it spent fetching the post and its images.
Use --scale 2 for retina slides, --scale 3 or higher for print, and --scale 4 or 5 for a card that fills a 4K video frame.
- Record date: 2026-10-09T16:40:52.529Z