Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates code screenshots as PNG images through the ray.tinte.dev API and saves the result.
57% 91%+35 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 13 of 23 without it.
3 of 3 safety checks passed
Not used yet
Generate code screenshots by calling the ray.tinte.dev API.
POST https://ray.tinte.dev/api/v1/screenshot
Content-Type: application/json
| Param | Type | Default | Notes |
|---|---|---|---|
code | string | required | 1-10,000 chars |
language | string | "typescript" | typescript, javascript, python, rust, go, java, cpp, c, html, css, json, bash, sql, markdown, toml |
theme | string or TinteBlock | "one-hunter" | Slug from tinte.dev or inline object |
mode | "dark" | "light" | "dark" | |
padding | number | 32 | 0-256 |
fontSize | number | 14 | 8-32 |
lineNumbers | boolean | true | |
title | string | "" | Window chrome title (max 100) |
background | string | "midnight" | One of: midnight, sunset, ocean, forest, ember, steel, aurora, none. Hex colors are not accepted. |
format | "png" | "png" | PNG only |
scale | number | 2 | 1-4 (retina) |
background: "none" returns a transparent RGBA PNG. Useful when you want to composite the screenshot onto a custom background.padding: 0. If you're compositing the result, trim that halo first (e.g. magick input.png -trim +repage output.png).Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.