Library API
Inspect and verify recipes
Recipe functions use the same offline path as the CLI:
import { installRecipe, listBundledRecipes, verifyRecipe } from "pixelkiln"
const available = await listBundledRecipes()
const installed = await installRecipe("comfyui/pixel-art-xl-environment@1.0.0")
const verification = await verifyRecipe(installed.destination, {
modelRoot: "/path/to/ComfyUI/models",
})
if (!verification.ok) console.error(verification)
RecipeSchema validates the public v1 format. recipeDigest computes its
canonical metadata digest, and resolveRecipe accepts either a bundled selector
or local path. Installation is transactional and protects changed destination
files unless force is explicit. These calls never download dependencies or
contact a provider.