Skip to content

Recipes

Vitor edited this page Dec 3, 2026 · 1 revision

English · Português

botticelli

Recipes

Status: built (M3b, #4). Every recipe uses the eight built tools. The tool calls and results shown were captured from the real server against live Pinterest on 2026-12-02. Your results will differ, because Pinterest changes.

In one minute

Each recipe gives you a prompt to paste to your agent and says what the agent does with botticelli's tools. You do not name the tools in your prompt. The agent picks them. Naming them is fine when you want a specific step. The reference for every param is Tools.

  1. Brief to Moodboard
  2. Match a brand palette
  3. More like this
  4. Import a Pinterest board into the Library
  5. Filter presets in the config file
  6. Compare two directions side by side
  7. Credit your references

Brief to Moodboard

You have a brief and want a page you can send to a client or a designer.

Prompt

Find visual references for "brutalist poster typography". Portrait images only, at least 600 px wide, no shops. Show me a contact sheet. I will pick the ones I like, then save them to a Board called "poster typography" and build the moodboard.

What happens

  1. search with sheet: true, minWidth: 600 and orientation: "portrait". The agent gets numbered Refs and one Sheet. The exact call and Sheet are in Tools.
  2. You look at the Sheet and say "1, 2 and 4". The agent can call look first if you want a bigger view of them.
  3. save with those Handles and the Board name ({"refs": ["#1", "#2", "#4"], "board": "poster typography"}).
  4. moodboard for that Board. The agent gives you the path of refs/poster-typography/moodboard.html. Open it in a browser.
{
  "path": "/home/you/project/refs/poster-typography/moodboard.html",
  "refs": 3,
  "palette": ["#e8eeea", "#1e1d1e", "#5b5b5b", "#96968b", "#fc719b"]
}

A Moodboard page for the poster typography Board

The same steps, as a first session, are in Getting started.

Match a brand palette

You have brand colours and want references that sit close to them. No tool searches by colour. The agent compares palettes for you.

Prompt

My brand colours are #3a2a1c, #efe3c8, #c47b6c, #62809b and #d2a653. Search for "editorial poster, warm paper" with 12 results, get the palette of every result, and tell me which five are closest to my colours. Show those five on a sheet.

What happens

  1. search for 12 Refs. Each Ref already carries a palette in the result (up to 5 colours), because the server reads every thumbnail.
  2. palette on the Handles when the agent wants the merged palette of a set, or the palette of a Ref it only has by URL. One call takes up to 36 refs.

For two Refs of an earlier search, {"refs": ["#1", "#2"]} gave:

{
  "refs": [
    {
      "input": "#1",
      "stable": "p:9dc1",
      "palette": ["#5b5b5b", "#ebebeb", "#282828", "#808080", "#b4b4b4"]
    },
    {
      "input": "#2",
      "stable": "p:e37c",
      "palette": ["#1b191b", "#96968b", "#c0c0b2", "#6c6d66", "#40403e"]
    }
  ],
  "set": ["#1e1d1e", "#5b5b5b", "#96968b", "#ebebeb", "#c0c0b2"],
  "failed": []
}
  1. The agent compares your colours with each palette, and chooses.
  2. look on the five Handles shows them side by side.

The comparison is the agent's own judgement. palette gives it the numbers: palette per ref, and set for the group. The colours come from the 236 px thumbnail, so they are close, not exact.

More like this

You found one pin you like and want more.

Prompt

I like this pin: https://www.pinterest.com/pin/1128714725389331478/ . Show me details, then find 8 more like it and put them on a sheet.

What happens

  1. get with the URL. The result has the full details and a stable Handle. The call is {"ref": "https://www.pinterest.com/pin/1128714725389331478/"} (result in get).

  2. related with that Handle (or the URL again). Add sheet: true to get a Sheet too. The call here was {"ref": "p:7dd2", "limit": 8}. The result, shortened to a few fields per Ref:

{
  "refs": [
    {
      "handle": "#1",
      "stable": "p:55dd",
      "title": "Ui ux for the time management app",
      "width": 571,
      "height": 793,
      "sourceDomain": "behance.net",
      "author": "interfacehub"
    },
    {
      "handle": "#2",
      "stable": "p:0a3b",
      "width": 1600,
      "height": 1200,
      "author": "luke463450038"
    },
    "…"
  ],
  "dropped": [
    {
      "key": "4b0ec42974b1124d",
      "reason": "blocked domain: payhip.com"
    }
  ],
  "next": "eyJza2lwIjo4fQ"
}
  1. You pick, and the agent calls save or look.

Two limits to know. First, related needs a real pin, so you start from a pin link you copied in your browser. Refs that came from search or collection have no pin id, so related refuses them. Second, the Refs related returns have no pin id either, so you cannot chain it: it is one hop. See Troubleshooting.

Import a Pinterest board into the Library

You have a board you like (yours or anyone's, if it is public) and want its images, with credit, on disk.

Prompt

Import the first 12 pins of https://www.pinterest.com/candidasintbk/magazine-typography/ into a Board called "magazine typography". Show me the sheet first and skip anything that is not typography.

What happens

  1. collection with the board URL (<user>/<board> works too), limit: 12 and sheet: true. The result also says what the board is:

{"url": "https://www.pinterest.com/candidasintbk/magazine-typography/", "limit": 12, "sheet": true}. The Refs are shortened here:

{
  "refs": [
    {
      "handle": "#1",
      "stable": "p:4b90",
      "title": "Minimal Gothic Fonts for Elegant Poster Designs and Branding🔺",
      "width": 1143,
      "height": 2048,
      "sourceDomain": "trimrly.com",
      "author": "candidasintbk"
    },
    {
      "handle": "#2",
      "stable": "p:cceb",
      "title": "Minimal Business Logo Ideas: Create Modern, Geometric Lines Fonts for Impact🔺",
      "width": 1000,
      "height": 1500,
      "sourceDomain": "trimrly.com",
      "author": "candidasintbk"
    },
    "…"
  ],
  "dropped": [],
  "collection": {
    "url": "https://www.pinterest.com/candidasintbk/magazine-typography/",
    "name": "Magazine Typography",
    "count": 805,
    "owner": "candidasintbk"
  },
  "next": "eyJza2lwIjoxMn0"
}

The result also has a collection object with the board's name, count and owner (see collection).

  1. The agent looks at the Sheet and picks. Then save with the Handles. This is a real call for #1, #2 and #3:
{
  "board": "magazine typography",
  "saved": [
    {
      "input": "#1",
      "stable": "p:4b90",
      "path": "/home/you/project/refs/magazine-typography/01_db588f9a73c418d0.png",
      "sidecarPath": "/home/you/project/refs/magazine-typography/01_db588f9a73c418d0.png.json",
      "bytes": 1008924
    },
    {
      "input": "#2",
      "stable": "p:cceb",
      "path": "/home/you/project/refs/magazine-typography/02_2cd81cc327734db2.png",
      "sidecarPath": "/home/you/project/refs/magazine-typography/02_2cd81cc327734db2.png.json",
      "bytes": 177228
    },
    "…"
  ],
  "failed": []
}

Each saved image gets a Sidecar, and the Sidecar keeps the board it came from in ref.collection. See Library and moodboards.

collection takes at most 100 Refs, and save takes at most 36 per call. For a big board the agent saves in batches. The board URL must be public. A private board gives Pinterest board_info failed on every known endpoint: BoardResource: Board not found. and needs a login, which is planned.

Filter presets in the config file

You always want the same kind of result: no shops, portrait only, wide enough to print. Put it in botticelli.config.json in your project folder once.

{
  "filters": {
    "minWidth": 1000,
    "orientation": "portrait",
    "media": "image"
  },
  "search": { "limit": 6 }
}
  • The shop and stock-photo sites are blocked by default. To use your own list, set filters.blockDomains. It replaces the built-in list, so include every domain you still want blocked. An empty list [] blocks nothing.
  • minWidth drops Refs narrower than this. A Ref whose width is unknown passes.
  • orientation is one of any, portrait, landscape, square.
  • search.limit is how many Refs search, related and collection ask for when the call gives no limit.

Restart the server after you edit the file. It is read once, at start.

Prompt

Search for "editorial photography warm light".

What happens. search with only a query. The file's filters apply. This is the real result, trimmed, from a project with the file above:

{
  "refs": [
    {
      "handle": "#1",
      "stable": "p:42c0",
      "title": "The Scent of Light 03",
      "width": 1792,
      "height": 2688,
      "sourceDomain": "instagram.com",
      "author": "fromunilog"
    },
    "…"
  ],
  "dropped": [
    {
      "key": "617382b5359d822e",
      "reason": "min-width: 810 < 1000"
    },
    "…"
  ],
  "next": "eyJza2lwIjo2fQ"
}

Five of the six Refs were narrower than 1000 px, so one is left. A tight filter plus a small limit returns few Refs. Raise limit or ask the agent for the next page.

To override the file for one search, say so in the prompt: "search again with no minimum width". The agent passes filters: {"minWidth": 1} (the value must be a whole number above zero). Every key is in Configuration.

Compare two directions side by side

You have two ideas and want to see them next to each other.

Prompt

Search "swiss international style poster" and "brutalist poster", 6 results each. Pick the best three of each, and show all six together with look so I can compare.

What happens

  1. search for the first direction. The agent notes the stable Handles of its three picks, such as p:96aa.
  2. search for the second direction. This renumbers: #1 now means a Ref of the second search. The stable Handles from step 1 still work. This is why the agent uses them.
  3. look with the six stable Handles in one list:
{
  "refs": [
    {
      "input": "p:96aa",
      "stable": "p:96aa"
    },
    {
      "input": "p:d1da",
      "stable": "p:d1da"
    },
    {
      "input": "p:ca95",
      "stable": "p:ca95"
    },
    {
      "input": "p:9dc1",
      "stable": "p:9dc1"
    },
    {
      "input": "p:c512",
      "stable": "p:c512"
    },
    {
      "input": "p:3b5f",
      "stable": "p:3b5f"
    }
  ],
  "failed": []
}

look answers with one Sheet of the six images, and each cell is labelled with its stable Handle, so you can tell the two directions apart: the first three came from the first search. look does not renumber, so #1…#n still points at the second search.

Credit your references

Pinterest images belong to their creators. You keep the origin with each image so you can credit them (Privacy and terms).

Prompt

Save these three to the Board "poster typography" and build the moodboard. Then give me the credit line for each one.

What happens

  1. save. Next to each image, a Sidecar (01_….png.json) records the origin: ref.pageUrl, ref.sourceLink, ref.sourceDomain, ref.author and ref.collection.
  2. moodboard. The page lists a number, the title, the author and a link on each picture, and a credits list at the foot. This is the credits list of the Board saved in the first recipe, trimmed (the rel attribute is left out):
<ol class="credits">
<li value="1">candidasintbk · source <a href="https://trimrly.com/tajqH">https://trimrly.com/tajqH</a></li>
<li value="2">moonsight_agency · source <a href="https://www.behance.net/gallery/229732641/Poster-Expo-Vol-I">https://www.behance.net/gallery/229732641/Poster-Expo-Vol-I</a></li>
…
</ol>
  1. The agent reads the Sidecars (they are plain JSON files in your project) and writes the credit lines.

Read the credits with care. author is the Pinterest account that pinned the image. It is often a collector, not the creator. sourceLink is where the pin points, and it can be a link shortener, as the first line shows. For work you publish, follow sourceLink to the real creator and ask permission.

Clone this wiki locally