backgrounds
v0.1.3Deterministic procedural SVG/PNG backgrounds: 58 generators, curated palettes, brand kits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_backgrounds List backgrounds
Browse the catalog of background structures. Optionally filter by a free-text query, tag or mood word. Returns name, one-line summary, mood, use cases and a preview URL for each.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results (default 100). |
mood | string | A mood word, e.g. dark, playful, minimal, retro. |
query | string | Free text, e.g. "calm waves" or "geometric poster". |
tag | string | A style tag, e.g. geometric, organic, grid, gradient. |
suggest_backgrounds Suggest backgrounds for a brief
Rank structures for a natural-language brief ("dark aurora glow for an AI landing page"). Returns why each matched, matching built-in palettes, and a ready-to-run example request for generate_background.
| Parameter | Type | Description |
|---|---|---|
brief * | string | What the background is for, in plain words: subject, mood, colours, where it goes. |
limit | integer | How many suggestions to return (default 5). |
describe_background Describe a background
Full style card for one structure: what it looks like, mood, where text can go, tips, and every parameter it honours with ranges, defaults and the visual effect of low/high values. Also returns the JSON Schema for a generate request.
| Parameter | Type | Description |
|---|---|---|
name * | string | Structure name from list_backgrounds, e.g. "wave". |
format | string | markdown (default) is best for reading; json includes the JSON Schema. |
list_palettes List palettes
Built-in curated colour palettes with their hex colours and derived mood tags (dark, pastel, vivid, warm, cool…). Pass the id as palette.palette to generate_background.
| Parameter | Type | Description |
|---|---|---|
mood | string | Filter by a mood tag, e.g. "dark" or "pastel". |
generate_background Generate a background
Render a background as SVG or PNG. Deterministic: the same structure, options and seed always give the same image, so store the returned seed. Returns the image inline (PNG previews are visible to you); pass saveTo to also write the file to disk. Call describe_background first to learn which shape options the structure honours.
| Parameter | Type | Description |
|---|---|---|
structure * | string | Structure name, e.g. "wave". |
format | string | png (default) returns a viewable image; svg returns the vector source. |
height | integer | Frame height in px. Defaults to the native size. |
palette | object | Colour choices: explicit hex colours, a built-in palette id, or a primary colour to derive from. |
pngWidth | integer | Raster width for PNG output/preview. Defaults to the render width, capped for inline previews. |
saveTo | string | Local file path to write the result to (extension decides svg/png if format is omitted). |
seed | string | Any string. Omit for a fresh random seed (returned in the result). |
shape | object | Structure-specific options; call describe_background for the exact keys, ranges and what they do. |
width | integer | Frame width in px. Defaults to the structure's native size (see describe_background). |