Make your
own hero

A recipe is one command. It takes your files and writes the exact assets a hero loads, plus a preset that points at them. Everything runs on your machine, except the one recipe marked paid.

  1. 1

    Bring your files

    A photo, a video or a 3D model. Each recipe below lists what it takes.

  2. 2

    Run the recipe

    Pass --preset and it also writes preset.json pointed at your output folder.

  3. 3

    Get a folder

    Web-ready assets, recipe.json listing every file, and a report of anything to check.

  4. 4

    Add it to your site

    Call hero_add with from set to that folder, or serve the folder and point the tag at preset.json.

Use your agent

hero_make {
  "recipe": "dots",
  "inputs": ["/site/portrait.jpg"],
  "out": "/site/.hero/dots",
  "options": { "preset": "dots" }
}
hero_add {
  "hero": "dots",
  "target": "/site",
  "from": "/site/.hero/dots"
}

Use your own files

python tools/recipes dots portrait.jpg --out my-hero --preset dots

<hero-kit preset="/my-hero/preset.json"></hero-kit>
<script type="module" src="/tools/hero-kit/vendor/src/hero-kit.js"></script>

Commands run from the kit's folder, with Python. python tools/recipes <recipe> --help lists every option. Download the kit for the source, the recipes and the MCP server. Notice and ASCII also need the head frames, a second zip that unpacks into the same folder. Free and open source, MIT licence.

Recipes

One for each hero that needs assets.

Helpers

Smaller jobs around the recipes. Your key, your credits: the only one that spends anything says so.