Send a public URL and get back an image of it, filmed in a real browser and set in a styled mockup. Use it for launch posts, changelogs and docs, or let your agent take them.
const res = await fetch("https://www.chirio.dev/api/v1/screenshots", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.CHIRIO_API_KEY}` },
body: JSON.stringify({
url: "https://acme.dev/changelog/dark-mode",
styleId, // any style from GET /screenshot-styles
}),
});
// "done" with the image, or "pending" to collect from GET /screenshots/:id