High-to-low baking in Marmoset Toolbag with AI
Baking transfers the detail of a high-poly model onto the textures of a low-poly one. In Toolbag that means a baker, bake groups with High and Low parts, a cage and the maps you want. MCP Pro for Toolbag lets an AI client do all of it, in one call or step by step, and look at the maps afterwards.

recipe_bake_high_to_low in the live test on Toolbag 5.03: a bumpy high-poly sphere baked onto a 16x32 low-poly sphere at 512 px. Unretouched.The one-call recipe
recipe_bake_high_to_low(high_path="D:/art/crate_high.fbx",
low_path="D:/art/crate_low.fbx",
folder="D:/art/bake", name="crate",
size=2048, samples=16)
It imports both models, creates a baker and a bake group, estimates the cage, enables the maps (default normal, AO, curvature, thickness, material ID), bakes and returns the files and a contact sheet. Options: maps=[...], cage="estimate" or "auto", bits, file_format (png, tga, psd, exr, tif, jpg), preview_material=true (puts the baked maps on the low-poly mesh). new_scene=true with confirm=true starts from an empty scene.
Prompt: "Bake crate_high.fbx onto crate_low.fbx at 2K with normal, AO, curvature and thickness, and show me the maps."
Step by step
import_model(path="D:/art/crate_high.fbx") # -> "#41"
import_model(path="D:/art/crate_low.fbx") # -> "#57"
create_baker(name="Baker", output_path="D:/art/bake/crate.png",
width=2048, height=2048, samples=16)
add_bake_group(name="Crate", high=["#41"], low=["#57"])
set_cage(group="#63", mode="estimate")
set_bake_maps(maps=["normal", "ao", "curve", "thickness"], exclusive=True)
bake() # job: maybe pending + job_id
wait_job(job_id="...")
Objects are addressed by #uid ids. That matters for baking: Toolbag names the parts of every group High and Low, so names repeat. assign_bake_meshes moves more objects into a group later; get_baker shows the settings, groups (with their meshes and cage) and all maps.
The cage
set_cage has three modes. estimate computes min / max offsets from the distance between the low and high geometry (nearest-vertex distances plus bounding boxes); in the live test it found a max offset of 0.047 for a 0.022 p95 distance. manual uses your min_offset / max_offset. auto leaves the offsets unset.
The estimate is a heuristic. Toolbag's own estimateOffset() had no visible effect from Python, which is why the bridge computes it. Check the result with bake_preview, and use set_cage(mode="manual") for difficult meshes.
Maps and settings
set_bake_maps(maps={"ao": {"rayCount": 256, "twoSided": True},
"normal": {"flipY": True},
"height": {"innerDistance": -0.1, "outerDistance": 0.1}})
set_baker_settings(settings={"outputBits": 16, "edgePadding": "Moderate",
"outputSamples": 16})
Maps are enabled by name or suffix (normal, ao, curve, thickness, position, height, matid, objid, uvisland, bentnormal, albedo, roughness, metalness and more), as a list or with per-map settings; exclusive=true disables all others. Baker settings cover output path and size, samples (1-64), bit depth (8 / 16 / 32), edge padding, soften, hidden meshes, transforms, smooth cage, back faces, mirrored tangents, tile mode and geometry mode (high to low, low to low, UV match).
Texture sets and presets
set_texture_sets sets size and enabled state per texture set (one per low-poly material) and switches the baker to multiple texture sets. save_baker_preset / load_baker_preset store and reuse a configuration as a named Toolbag preset.
Checking the bake

apply_bake_preview_material, then render_preview: the baked maps on the low-poly sphere.bake returns a contact sheet of the maps; bake_preview shows the last output again. apply_bake_preview_material puts Toolbag's bake preview material on the low-poly meshes so a render_preview shows the result in context. In the live test the normal map had a blue mean of 0.98 and visible detail (red channel range over 60 levels).
Limits
- Toolbag is blocked while it bakes; long bakes come back as a job id for
wait_job. - Imports for baking: FBX, OBJ and USDC were verified; Toolbag cannot import glTF / GLB.
- Toolbag adds a map suffix to the output names (
crate_normal.png,crate_ao.png...). - No undo: save the scene before you replace it with
new_scene=true.
Get MCP Pro for Toolbag
$15 once on itch.io (Early Access), updates included.