snaplab-dev · Schema
ImageOptions
Fixed-canvas rendering for social/OG cards. Requires `html` or `template`.
CompanyScreenshotPDFOpenGraphAPI
Properties
| Name | Type | Description |
|---|---|---|
| html | string | |
| template | string | HTML with `{{ placeholders }}`, substituted from `data` and HTML-escaped. |
| data | object | |
| css | string | |
| width | integer | |
| height | integer | |
| deviceScaleFactor | number | |
| format | string | |
| quality | integer | |
| googleFonts | string | |
| darkMode | object | `true`/`"force"` darken the card even without a dark theme; `"prefers"` is the media query only. |
| delayMs | integer | |
| cache | boolean | |
| responseType | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/snaplab-dev/json-schema/snaplab-dev-image-options-schema.json",
"title": "ImageOptions",
"description": "Fixed-canvas rendering for social/OG cards. Requires `html` or `template`.",
"x-generated": "2026-10-31",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/snaplab-dev-openapi.json#/components/schemas/ImageOptions",
"type": "object",
"properties": {
"html": {
"type": "string",
"maxLength": 2000000
},
"template": {
"type": "string",
"maxLength": 2000000,
"description": "HTML with `{{ placeholders }}`, substituted from `data` and HTML-escaped."
},
"data": {
"type": "object",
"additionalProperties": true
},
"css": {
"type": "string",
"maxLength": 500000
},
"width": {
"type": "integer",
"minimum": 120,
"maximum": 3840,
"default": 1200
},
"height": {
"type": "integer",
"minimum": 120,
"maximum": 4320,
"default": 630
},
"deviceScaleFactor": {
"type": "number",
"minimum": 0.5,
"maximum": 3,
"default": 2
},
"format": {
"type": "string",
"enum": [
"png",
"jpeg",
"webp"
],
"default": "png"
},
"quality": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"googleFonts": {
"type": "string",
"maxLength": 300
},
"darkMode": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": [
"prefers",
"force"
]
}
],
"description": "`true`/`\"force\"` darken the card even without a dark theme; `\"prefers\"` is the media query only."
},
"delayMs": {
"type": "integer",
"minimum": 0,
"maximum": 30000
},
"cache": {
"type": "boolean",
"default": true
},
"responseType": {
"type": "string",
"enum": [
"binary",
"json"
],
"default": "binary"
}
},
"additionalProperties": false
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/snaplab-dev-image-options"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.