Give your AI agent a deterministic way to turn X posts into images
说明与用途
xpostplate 是一个 CLI 工具,可将 X 帖子转换为确定性 PNG 图像,使代理无需浏览器即可嵌入一致的图像,适用于文档、幻灯片、视频和印刷品。
问题
Agents often struggle to reliably embed X posts into documents, relying on browsers, screenshots, or incomplete APIs.
结果
Agents can now embed X posts as consistent PNGs, improving reliability, caching, and integration into documents, slides, videos, and print materials.
工作流
- 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.
证据
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.
- 记录日期: 2026-10-09T16:40:52.529Z