neatviz docs
neatviz turns words into on-brand images. You send blocks (a title, a kicker, a visual), pick a layout and a format, and get back a PNG drawn in your brand kit, with a fit report your agent can act on.
Quickstart
- Sign in with your email. Your first organization gets 25 free credits and a starter brand kit.
- Set your colours, fonts and logos under Brand kits.
- Make an API key under API keys and MCP.
- Render:
curl https://neatviz.com/v1/renders \
-H "Authorization: Bearer $NEATVIZ_KEY" \
-H "Content-Type: application/json" \
-d '{ "layout": "side", "format": "1.91:1",
"blocks": { "kicker": "Field notes", "title": "Why AI never quotes your blog" } }'
The answer has the image URL. Images are public at that URL and cached for a year; the id is long and random.
Connect an agent (MCP)
The MCP server is at https://neatviz.com/mcp (Streamable HTTP).
Claude Code, Cursor, Windsurf and scripts
Send an API key in the Authorization header. The key decides the organization.
claude mcp add --transport http neatviz https://neatviz.com/mcp \ --header "Authorization: Bearer nv_live_…"
{ "mcpServers": { "neatviz": { "url": "https://neatviz.com/mcp",
"headers": { "Authorization": "Bearer nv_live_…" } } } }
Claude.ai and ChatGPT
Add a custom connector with the URL https://neatviz.com/mcp. The client opens a neatviz page: sign in, pick the organization, allow. No key is needed; you can revoke access by removing the connector.
Tools
| Tool | What it does | Cost |
|---|---|---|
list_layouts | List layouts, formats with their grids, text blocks, elements for custom layouts, and visual kinds. | Free |
list_brands | List this organization's brand kits: colours, fonts, logos, backgrounds (by index, and whether they rotate), people (for quote cards) and whether stock photos are on. | Free |
render_frame | Render one on-brand image: a ready layout with blocks, or layout custom with your own elements on the grid. | 1 credit, with 2 free revisions |
revise_frame | Render a new version of an earlier render with some changes (any render_frame field; null removes a block). | Free twice per image, then 1 credit |
view_render | Look at an earlier render again. | Free |
upload_image | Store a picture (a screenshot, a chart, a product shot) to use as a visual: { kind: 'image', image: <id> }. | Free |
create_upload_link | When the person has a picture you cannot send (for example one pasted in chat), give them this link. | Free |
list_images | List recently uploaded pictures with their ids. | Free |
get_credits | The organization's credit balance. | Free |
A good loop: list_layouts and list_brands once, then render_frame, look at the image and its report, and revise_frame until nothing shrank or dropped. render_frame and revise_frame return the image itself, so the agent sees it.
MCP tool reference
The server speaks MCP over Streamable HTTP: one JSON-RPC message per POST to https://neatviz.com/mcp, answered as JSON. It supports protocol versions 2024-11-05 to 2026-07-28. A client starts with initialize, then calls tools/list and tools/call.
{ "jsonrpc": "2.0", "id": 0, "method": "initialize",
"params": { "protocolVersion": "2025-06-18", "capabilities": {}, "clientInfo": { "name": "my-agent", "version": "1.0" } } }
Tool errors come back as a result with isError: true and a plain message, so the agent can read it and fix its call. Rendering tools return the image itself (a JPEG, as MCP image content) and the same data as structuredContent.
list_layouts
List layouts, formats with their grids, text blocks, elements for custom layouts, and visual kinds. Call this first. Cost: free.
No arguments.
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_layouts",
"arguments": {}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"layouts": [
{
"id": "side",
"name": "Side",
"description": "Words on the left, visual on the right.",
"blocks": [
"kicker",
"title",
"dek"
],
"visuals": [
"visual"
]
},
"…"
],
"formats": [
{
"id": "1.91:1",
"width": 1200,
"height": 628,
"cols": 12,
"rows": 6,
"use_for": "Blog covers, Open Graph and link previews"
},
"…"
],
"elements": [
{
"type": "stat",
"description": "A big number with a label under it.",
"needs": [
"value"
],
"takes": [
"label",
"size"
]
},
"…"
],
"custom": {
"how": "Set layout to custom and send elements…",
"example": "…"
},
"visual_kinds": [
"…"
]
},
"isError": false
}
}
list_brands
List this organization's brand kits: colours, fonts, logos, backgrounds (by index, and whether they rotate), people (for quote cards) and whether stock photos are on. Cost: free.
No arguments.
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_brands",
"arguments": {}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"brands": [
{
"id": "brand_35r9K9zvVPFI2Lj17nkI",
"name": "Contentpeter",
"default": true,
"mode": "light",
"fonts": {
"title": "Geist",
"body": "Geist",
"label": "Geist Mono",
"titleWeight": 600
},
"art": "ridge",
"stock": true,
"has_logo": true,
"people": [
{
"id": "mira-takeda",
"name": "Mira Takeda",
"role": "Head of Operations",
"has_photo": true
}
]
}
]
},
"isError": false
}
}
render_frame
Render one on-brand image: a ready layout with blocks, or layout custom with your own elements on the grid. Costs 1 credit and includes 2 free revisions. Returns the image and a fit report: if the title shrank a lot or the dek was dropped, shorten the words and call revise_frame. Cost: 1 credit, with 2 free revisions.
| Argument | Type | Notes |
|---|---|---|
layout (required) | hero side split statement poster picture quote custom | A ready layout, or custom: place your own elements on the grid. |
elements | array of object | layout custom only: the elements, drawn in order. Each sits on the format's grid (list_layouts gives cols and rows per format). |
format (required) | 1:1 4:5 1.91:1 16:9 9:16 | 1.91:1 blog cover and link preview, 1:1 and 4:5 social posts, 16:9 slides and thumbnails, 9:16 stories. |
brand | string | Brand kit id (brand_...). Omit for the organization's default kit. |
mode | light dark | |
blocks | object | Text blocks. Which ones a layout uses is in list_layouts. |
visual | object | A picture for a visual slot. Omit for art in the brand kit's style. |
visual2 | object | A picture for a visual slot. Omit for art in the brand kit's style. |
seed | integer | Changes the generated art. Same seed, same pixels. |
scale | 1 2 | 2 doubles the pixel size. |
person | string | Quote layout: which person of the brand kit (name or id, see list_brands). Default: the kit's first person. |
background | integer | Which of the kit's backgrounds, by index (see list_brands). Default: the first, or one picked by seed when the kit rotates. |
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "render_frame",
"arguments": {
"layout": "side",
"format": "1.91:1",
"blocks": {
"kicker": "Field notes",
"title": "Why AI never quotes your blog",
"dek": "Three structural fixes you can ship this week."
},
"visual": {
"kind": "stock",
"query": "editor at a desk"
}
}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "image",
"mimeType": "image/jpeg",
"data": "<base64 JPEG of the render>"
},
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"id": "rnd_1ZB7J5otvN9n2SWg",
"url": "https://neatviz.com/i/rnd_1ZB7J5otvN9n2SWg.png",
"width": 1200,
"height": 628,
"layout": "side",
"format": "1.91:1",
"brand": "brand_35r9K9zvVPFI2Lj17nkI",
"report": {
"fits": {
"kicker": 1,
"title": 0.85,
"dek": 0.88
},
"dropped": [],
"unused": [],
"hints": []
},
"credits": {
"used": 1,
"left": 24,
"free_revisions_left": 2
},
"photo_credits": [
"Photo by … on Pexels (https://www.pexels.com/photo/…)"
],
"parent_id": null
},
"isError": false
}
}
revise_frame
Render a new version of an earlier render with some changes (any render_frame field; null removes a block). The first 2 revisions of a render are free, then 1 credit each. credits.free_revisions_left says how many are left. Cost: Free twice per image, then 1 credit.
| Argument | Type | Notes |
|---|---|---|
id (required) | string | The render to revise (rnd_...). |
layout | hero side split statement poster picture quote custom | A ready layout, or custom: place your own elements on the grid. |
elements | array of object | layout custom only: the elements, drawn in order. Each sits on the format's grid (list_layouts gives cols and rows per format). |
format | 1:1 4:5 1.91:1 16:9 9:16 | 1.91:1 blog cover and link preview, 1:1 and 4:5 social posts, 16:9 slides and thumbnails, 9:16 stories. |
brand | string | Brand kit id (brand_...). Omit for the organization's default kit. |
mode | light dark | |
blocks | object | Text blocks. Which ones a layout uses is in list_layouts. |
visual | object | A picture for a visual slot. Omit for art in the brand kit's style. |
visual2 | object | A picture for a visual slot. Omit for art in the brand kit's style. |
seed | integer | Changes the generated art. Same seed, same pixels. |
scale | 1 2 | 2 doubles the pixel size. |
person | string | Quote layout: which person of the brand kit (name or id, see list_brands). Default: the kit's first person. |
background | integer | Which of the kit's backgrounds, by index (see list_brands). Default: the first, or one picked by seed when the kit rotates. |
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "revise_frame",
"arguments": {
"id": "rnd_1ZB7J5otvN9n2SWg",
"blocks": {
"title": "Why AI never quotes you",
"dek": null
}
}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "image",
"mimeType": "image/jpeg",
"data": "<base64 JPEG of the render>"
},
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"id": "rnd_fubOlatz4jZhjpR2",
"report": {
"fits": {
"kicker": 1,
"title": 1
},
"dropped": [],
"unused": [
"dek"
],
"hints": []
},
"credits": {
"used": 0,
"left": 24,
"free_revisions_left": 1
},
"parent_id": "rnd_1ZB7J5otvN9n2SWg"
},
"isError": false
}
}
view_render
Look at an earlier render again. Free. Cost: free.
| Argument | Type | Notes |
|---|---|---|
id (required) | string |
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "view_render",
"arguments": {
"id": "rnd_fubOlatz4jZhjpR2"
}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "image",
"mimeType": "image/jpeg",
"data": "<base64 JPEG of the render>"
},
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"id": "rnd_fubOlatz4jZhjpR2",
"url": "https://neatviz.com/i/rnd_fubOlatz4jZhjpR2.png",
"report": {
"fits": {
"title": 1
}
}
},
"isError": false
}
}
upload_image
Store a picture (a screenshot, a chart, a product shot) to use as a visual: { kind: 'image', image: <id> }. Send base64 data or a public URL. Cost: free.
| Argument | Type | Notes |
|---|---|---|
data | string | Base64 PNG, JPEG, WebP or GIF. |
url | string | |
name | string |
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "upload_image",
"arguments": {
"url": "https://example.com/dashboard.png",
"name": "dashboard"
}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"id": "img_okdoBPFgq5DoSvkUk8jZ",
"kind": "image",
"content_type": "image/png",
"bytes": 62810,
"width": 1440,
"height": 900,
"use_as": {
"kind": "image",
"image": "img_okdoBPFgq5DoSvkUk8jZ"
}
},
"isError": false
}
}
create_upload_link
When the person has a picture you cannot send (for example one pasted in chat), give them this link. They drop the file there; then call list_images to get its id. Cost: free.
No arguments.
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_upload_link",
"arguments": {}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"url": "https://neatviz.com/u/KkMN7aCVYCYQrYuCgsyM4mp6cCzIWdyx",
"expires_in_minutes": 30,
"next": "Ask the person to open the link and drop the picture. Then call list_images."
},
"isError": false
}
}
list_images
List recently uploaded pictures with their ids. Cost: free.
| Argument | Type | Notes |
|---|---|---|
limit | integer |
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_images",
"arguments": {
"limit": 5
}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"images": [
{
"id": "img_okdoBPFgq5DoSvkUk8jZ",
"kind": "image",
"name": "screenshot.png",
"content_type": "image/png",
"width": 1440,
"height": 900,
"created_at": "2026-11-30T09:12:00.000Z"
}
]
},
"isError": false
}
}
get_credits
The organization's credit balance. Cost: free.
No arguments.
Request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_credits",
"arguments": {}
}
}Answer:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "<the same JSON as structuredContent>"
}
],
"structuredContent": {
"credits": 22
},
"isError": false
}
}
REST API
Base URL https://neatviz.com/v1. Send Authorization: Bearer nv_live_… on every call except GET /v1/layouts. Bodies are JSON.
| Method and path | What it does |
|---|---|
GET /v1/layouts | Layouts, formats, blocks and visual kinds. |
GET /v1/brands | The organization’s brand kits. |
POST /v1/renders | Render one image. 1 credit. Answers 201 with the render. |
POST /v1/renders/{id}/revise | Render a new version with changes. The first two are free, then 1 credit. |
GET /v1/renders/{id} | One render, with its stored input and report. |
GET /v1/renders?limit=20 | Recent renders. |
POST /v1/images | Upload a picture (a screenshot, a chart). Multipart file, raw bytes, or JSON { "data": "<base64>" }. Answers with an img_ id. |
GET /v1/credits | The balance. |
A render answer
{
"id": "rnd_8Kq3vT0wL2mN4pQ1",
"url": "https://neatviz.com/i/rnd_8Kq3vT0wL2mN4pQ1.png",
"width": 1200, "height": 628,
"layout": "side", "format": "1.91:1", "brand": "brand_…",
"report": { "fits": { "kicker": 1, "title": 0.92, "dek": 1 }, "dropped": [], "unused": [], "hints": [] },
"credits": { "used": 1, "left": 23, "free_revisions_left": 2 },
"photo_credits": [],
"parent_id": null
}
Render input
| Field | Type | Notes |
|---|---|---|
layout | string | One of the layouts below, or custom with elements. Default hero. |
elements | array | Custom layouts only. See Elements. |
format | string | 1:1, 4:5, 1.91:1, 16:9 or 9:16. Default 1.91:1. |
blocks | object | Text blocks; see the limits below. Layouts with a title need one. |
brand | string | A brand kit id. Default: the organization’s default kit. |
mode | string | light or dark. Default: the kit’s mode. |
visual, visual2 | object | Pictures for the visual slots. See Visuals. Default: art in the kit’s style. |
person | string | Quote cards: a person of the brand kit, by name or id. Default: the kit’s first person. list_brands lists them. |
seed | integer | Changes the generated art. Same input and seed, same image. |
scale | 1 or 2 | 2 doubles the pixel size, for retina screens. |
Blocks
| Block | Max characters | Notes |
|---|---|---|
kicker | 60 | One short line above the title. |
title | 200 | Shrinks to fit. Shorter reads bigger. |
dek | 240 | One supporting sentence. Dropped first. |
caption | 160 | A source or credit line. |
cta | 40 | Button text, statement layout. |
name | 80 | Quote layout: who said it. |
role | 80 | Quote layout: their role. |
Layouts and formats
Every layout places its blocks on the format’s grid of cells. Wide formats and tall formats each have their own arrangement, so one layout works at every size.
| Layout | What it is | Blocks | Visuals |
|---|---|---|---|
hero | Big title, one strong visual. | kicker, title, dek | visual |
side | Words on the left, visual on the right. | kicker, title, dek | visual |
split | Words, then two visuals side by side. Good for before and after. | kicker, title, dek | visual, visual2 |
statement | One line that lands. No visual. | kicker, title, cta | none |
poster | A picture fills the frame, the words sit at the foot. | kicker, title, dek | visual |
picture | The picture large, a short caption under it. Good for screenshots and charts. | caption | visual |
quote | A quote in large type, with the person's photo, name and role. | kicker, title, name, role | none |
| Format | Pixels | Grid | Use it for |
|---|---|---|---|
1:1 | 1080×1080 | 8×8 | LinkedIn, Instagram and X posts |
4:5 | 1080×1350 | 8×10 | LinkedIn and Instagram feed posts |
1.91:1 | 1200×628 | 12×6 | Blog covers, Open Graph and link previews |
16:9 | 1200×675 | 12×7 | Slides, video thumbnails, newsletter headers |
9:16 | 1080×1920 | 8×14 | Stories and reels covers |
Elements (custom layouts)
The ready layouts cover most images. When an agent wants its own composition, it sets "layout": "custom" and places elements itself. Each element sits on the format’s grid: x and y are the cells from the top left (from 0), w and h the cells it spans. The grids are in the format table above. Later elements draw on top of earlier ones, text shrinks to fit its cells, and the fit report names each element by its id or by type and place, for example title#2.
| Element | What it is | Needs | Takes |
|---|---|---|---|
kicker | A short line in the label font, above a title. | text | n/a |
title | A headline in the title font. Shrinks to fit its cells. | text | size |
text | Body text: a sentence or a short paragraph. | text | size |
caption | A small, quiet line: a source or a credit. | text | n/a |
quote | A quote in the title font, with quote marks. | text | size |
button | A call to action on the accent colour. | text | n/a |
tag | A small pill, for a label like New or Case study. | text | color |
stat | A big number with a label under it. | value | label, size |
list | Two to six short points with square bullets. | items | n/a |
chart | A bar, line, area, pie or donut chart from Chart.js-shaped JSON, in the kit colours. | chart | n/a |
logo | The kit's logo for the frame's ground. | nothing | n/a |
person | A person of the kit: photo, name and role. | nothing | person |
avatar | A person's photo in a circle. | nothing | person |
image | A picture: art, a stock photo, your image or a page screenshot. | nothing | visual |
shape | A flat colour block, or a block of art. | nothing | color, art |
divider | A thin line, across or down its cells. | nothing | n/a |
Charts
A chart element takes Chart.js-shaped JSON in chart: a type (bar, line, area, pie, donut), data.labels (1 to 24) and data.datasets (1 to 4, each with one number per label; pie and donut take one). options takes horizontal, stacked, prefix, suffix, values (numbers on the chart, on by default) and pixel (pixel-square bars, the neatviz look). neatviz draws the chart itself, in the kit’s colours and fonts, so it matches the rest of the frame and renders the same every time.
{
"layout": "custom",
"format": "1:1",
"elements": [
{
"type": "kicker",
"x": 0,
"y": 0,
"w": 6,
"h": 1,
"align": "end",
"text": "Signups per month"
},
{
"type": "title",
"x": 0,
"y": 1,
"w": 8,
"h": 2,
"text": "Self-serve doubled in one quarter"
},
{
"type": "chart",
"x": 0,
"y": 3,
"w": 8,
"h": 4,
"chart": {
"type": "bar",
"data": {
"labels": [
"Jul",
"Aug",
"Sep",
"Oct"
],
"datasets": [
{
"label": "Signups",
"data": [
120,
165,
210,
248
]
}
]
},
"options": {
"pixel": true
}
}
},
{
"type": "logo",
"x": 0,
"y": 7,
"w": 3,
"h": 1,
"align": "end"
}
]
}
Every element also takes align (start, center, end: up and down) and halign (left, center, right). size is s, m or l. color is accent, accent2, ink or ground.
{
"layout": "custom", "format": "1:1",
"elements": [
{ "type": "kicker", "x": 0, "y": 0, "w": 6, "h": 1, "align": "end", "text": "Q3 results" },
{ "type": "stat", "x": 0, "y": 1, "w": 5, "h": 3, "value": "41%", "label": "fewer support tickets" },
{ "type": "list", "x": 0, "y": 4, "w": 5, "h": 3, "items": ["Self-serve onboarding", "Templates in the app", "Faster replies"] },
{ "type": "shape", "x": 5, "y": 1, "w": 3, "h": 6, "color": "accent2", "art": "rings" },
{ "type": "logo", "x": 0, "y": 7, "w": 3, "h": 1, "align": "end" }
]
}
Visuals, photos and screenshots
| Visual | Example | Notes |
|---|---|---|
| Art | { "kind": "art", "style": "bauhaus" } | Art in the brand colours. The default. The 16 styles are in the art styles table below. Without style, the kit’s style. |
| Stock photo | { "kind": "stock", "query": "warehouse workers" } | Searched on Pexels, then Unsplash, in the frame’s orientation. The credit line comes back in photo_credits. When the kit has stock off, you get art and a hint. |
| Your image | { "kind": "image", "image": "img_…" } | An upload from POST /v1/images, the app’s Images page, or an MCP upload. |
| Image by URL | { "kind": "image", "url": "https://…" } | A public PNG, JPEG, WebP or GIF up to 8 MB. |
| Page screenshot | { "kind": "screenshot", "url": "https://…" } | neatviz captures the public page at 1440×900 and frames it in a browser bar. |
| Art style | What it draws |
|---|---|
ridge | A dithered pixel ridge, the neatviz house look. |
riso | Two halftone screens overprinted, a little out of register. |
dotfield | A dot matrix whose dots grow with a hidden field. |
glitch | A stepped gradient cut by shifted bands and scanlines. |
aurora | Soft colour orbs melting together, with film grain. |
grain | A warped gradient with heavy print grain. |
fluted | Soft colour seen through reeded glass. |
bauhaus | A grid of flat circles, arcs and triangles. |
blueprint | A technical drawing: grid, nodes, arcs and connector lines. |
arcs | Quarter-circle tiles that join into winding bands. |
stripes | Stripes that bulge around invisible lenses. |
iso | A field of isometric blocks at different heights. |
forms | Spheres, arches and capsules shaded with dither. |
contour | Topographic lines, one band filled in the accent. |
flow | Fine strokes following an invisible current. |
cells | Flat Voronoi cells with thin gaps. |
Pictures take fit (cover fills and crops, contain shows all of it) and chrome (browser adds a browser bar, good for screenshots). The picture layout shows the picture alone with a short caption.
Pictures from a chat
An agent in a chat app often cannot send the bytes of a picture you pasted. It calls create_upload_link and gives you a link. Drop or paste the picture there, then the agent calls list_images and uses the id.
Faces on quote cards
A brand kit holds up to 20 people, each with a photo, a name and a role. The quote layout shows one of them next to the quote: pick it with "person": "Mira Takeda" (or the person’s id). Without person, the kit’s first person is used. blocks.name and blocks.role override the text for one render.
Fit report and revisions
Text never gets cut off. Each text block starts at its full size and shrinks until it fits its cells. The report says how far:
fits: the scale each block was drawn at. 1 is full size. Under about 0.75 the words are too long for the frame.dropped: blocks left out. The dek goes first, when it would fall under 0.7.unused: blocks you sent that this layout does not show.hints: plain advice, for example how many words to cut.
To revise, send only the changes to POST /v1/renders/{id}/revise (or revise_frame). null removes a block or a visual. The new render keeps the old one as parent_id. The first two revisions of an image are free, so an agent can look and improve without paying for each try.
Brand kits
A kit holds ground and ink colours for light and dark frames, two accents, a default mode, three fonts from all of Google Fonts (title with its weight, body for the dek, caption, button and names, and label for the kicker), the corner radius, an art style for generated pictures, up to 12 backgrounds (flat, noise, a pattern in any art style, or your image) with a switch to rotate them, a logo for light grounds and one for dark grounds, people with a photo, name and role for quote cards, and whether stock photos are allowed. Edit kits in the app; the preview there is drawn by the same engine as the API.
Backgrounds have numbers, from 0. The first is the default. With rotate on, each render gets one picked by its words (or its seed), so a revision keeps the same background. To ask for one, send "background": 2. list_brands lists each kit's backgrounds and whether they rotate.
Organizations and keys
An organization holds brand kits, images, API keys, credits, members and usage. Run one per client or product. A person can belong to several and switch in the app.
| Role | Can |
|---|---|
| Owner | Everything, including deleting the organization. |
| Admin | Everything else: keys, billing, members. |
| Member | Render, edit brand kits, see usage. |
The Usage page breaks renders and credits down by day, API key, brand kit, source (REST, MCP, app) and format.
Credits and billing
One render costs one credit. Its first two revisions are free; after that a revision costs one credit. A chain of revisions shares the two free ones, and the answer says how many are left in credits.free_revisions_left. A failed render gives back its credit or its free revision. view_render and every list call are free. Credits belong to the organization and do not expire.
| Pack | Credits | Per render |
|---|---|---|
| Free, on sign up | 25 | Free |
| $10 | 200 | 5¢ |
| $20 | 450 | 4.4¢ |
| $50 | 1250 | 4¢ |
Stripe takes the payment and saves the card for auto top up. Turn auto top up on in the app: when the balance falls under your limit, neatviz charges the pack you chose. If a charge fails, auto top up turns off. Every purchase gets an invoice by email.
Errors and limits
Errors come back as { "error": { "code", "message" } }. The message is written for the agent to act on.
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_input | The input did not pass. errors lists each problem. |
| 401 | unauthenticated | No key, or the key is revoked. |
| 402 | insufficient_credits | Add credits or turn on auto top up. |
| 404 | brand_not_found, image_not_found, render_not_found | The id is not in this organization. |
| 413, 415, 422 | too_large, bad_type, bad_url | A picture was over 8 MB, not an image, or not a public URL. |
| 502 | render_failed | The render failed and the credit was returned. Try again. |
Images up to 8 MB. SVG is accepted for logos only. Machine-readable summary: /llms.txt.