ComfyUI Node
arkennemasis Recipe Compile (validate + freeze)
Validate the Tier 0 model's JSON against the recipe schema, merge in the specifications resolved by the library, inject the two locks and the tolerances as constants, and hash the result. Validation failure is a hard error — an invalid recipe silently poisons every image in the run.
arkennemasis Recipe Compile (validate + freeze)
- recipe_json
- report
- needs_confirmation
- valid
◄llm_json{}►
◄intake_json{}►
◄recipe_dirvariation/recipes►
◄library_json►
◄plate_lock_json►
◄lock_productThe product in the output must be the identical physical object shown in the input image. Preserve exactly: its overall proportions and the ratio of every part to every other part; its silhouette and outline; the shape, curvature and edge profile of every component; the number of parts and how they join; material thickness; the size, shape and placement of any hardware, fittings or fixings; and the gauge, position and path of any visible cable. Do not redesign, restyle, re-proportion, simplify, embellish, modernise, straighten, tidy, or otherwise improve the product. Do not correct anything you perceive as a flaw or asymmetry. Do not add or remove any part or detail. Reproduce the object exactly as photographed.►
◄lock_sceneKeep every other aspect of the image identical to the input image: camera angle, camera distance, focal length, framing, crop, the subject's position within the frame, the subject's scale within the frame, the background, the surface it rests on, lighting direction, lighting intensity and colour temperature, and the shape, softness and position of the shadow. Change only what is explicitly named above.►
◄frame_tolerance0.020►
◄colour_tolerance_de5.0►
◄identity_tolerance0.060►
◄max_retries3►
Categoryarkennemasis/Variation
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| llm_json | STRING | {} | The Tier 0 model's raw answer. Code fences are stripped. |
| intake_json | STRING | {} | — |
| recipe_dir | STRING | variation/recipes | Where recipe.json is written. Relative paths resolve inside ComfyUI's output directory. |
| library_jsonopt | STRING | From Spec Library. Supplies each value's cached reference path and hash, so the recipe points at frozen local files rather than at URLs that can change. | |
| plate_lock_jsonopt | STRING | From Plate Lock. Supplies the frozen plate's hash and measurements. | |
| lock_productopt | STRING | The product in the output must be the identical physical object shown in the input image. Preserve exactly: its overall proportions and the ratio of every part to every other part; its silhouette and outline; the shape, curvature and edge profile of every component; the number of parts and how they join; material thickness; the size, shape and placement of any hardware, fittings or fixings; and the gauge, position and path of any visible cable. Do not redesign, restyle, re-proportion, simplify, embellish, modernise, straighten, tidy, or otherwise improve the product. Do not correct anything you perceive as a flaw or asymmetry. Do not add or remove any part or detail. Reproduce the object exactly as photographed. | Lock A — product identity. A constant appended verbatim to every prompt. The anti-improvement sentences are load-bearing: image models silently 'help' by straightening and idealising, and each such improvement is a catalogue defect. |
| lock_sceneopt | STRING | Keep every other aspect of the image identical to the input image: camera angle, camera distance, focal length, framing, crop, the subject's position within the frame, the subject's scale within the frame, the background, the surface it rests on, lighting direction, lighting intensity and colour temperature, and the shape, softness and position of the shadow. Change only what is explicitly named above. | Lock B — scene continuity. A constant appended verbatim to every prompt. |
| frame_toleranceopt | FLOAT | 0.0200–1 | Allowed subject box drift as a fraction of frame. CALIBRATE this against a labelled set with the Calibrate node — a number chosen by feel either passes drifted images or fails good ones. |
| colour_tolerance_deopt | FLOAT | 5.00–100 | Allowed CIEDE2000 difference from the specified hex. Commercially this is a contractual number as much as a technical one — agree it with the client in advance. |
| identity_toleranceopt | FLOAT | 0.0600–1 | Allowed relative drift in the proportion ratios that fingerprint this object. This is the check that catches a redesigned product, which colour checking cannot. |
| max_retriesopt | INT | 30–10 | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| recipe_json | STRING | — |
| report | STRING | — |
| needs_confirmation | STRING | — |
| valid | BOOLEAN | — |