Make your product model load faster

Send the GLB of a product. You get back a lighter model that still wears its texture, set to its real size, plus a far version for thumbnails and a report your agent checks against your budget.

A generated pair of leather boots, 147,918 triangles, with its texture
The same boots after a hosted compile, 39,579 triangles, original texture

Generated, 147,918 triangles

Compiled, 39,579 triangles

  • 73% fewertriangles, with the original texture still in place
  • 39% smallerGLB file, 9.6 MB down to 5.9 MB with the far version included
  • 0.3 mtall, set to real-world size in meters
  • $5Free signup credit for 50 mesh Drafts

Compiled on the hosted API on 3 December 2026.

Faster product pages

Image-to-3D tools give a pair of boots the same 150,000 triangles they give a building. On a product page that means a long download before the viewer shows anything, and a phone that struggles to spin the model.

Shoppers leave while the spinner turns, and every product in the catalog has the same problem.

What the terms mean

  • Triangle budget

    The most triangles you want one product to use.

    A viewer on a phone stays smooth when every product fits the same budget.

  • Far version

    A much lighter copy for thumbnails and grid views.

    A catalog page full of products loads the small copies first.

  • Texture

    The image painted onto the model, such as leather, stitching and buckles.

    Spatial Compiler keeps the texture map, so the lighter boots still look like the product.

How it works

  1. Send the GLB

    Your agent uploads the product over MCP, or your code calls the REST API. GLB, FBX, OBJ, STL and PLY files up to 64 MB are accepted.

  2. See the price, then compile

    Your first 50 mesh Drafts are free with the $5 signup credit. The boots took about 2 minutes on the hosted API.

  3. Check the counts

    The report lists the measured triangles for each version. Dense models can stop above the budget, and your agent sees it there and tries another setting.

See product models

Questions

Will the product still look the same?

The texture map stays the same, so leather, stitching and buckles land where they did. The boots kept their look at 39,579 triangles, and you can compare both versions before you publish.

Which viewers can load the result?

The result is a standard GLB, so model-viewer, three.js, Babylon.js and most storefront 3D viewers load it as is.

Can my agent run a whole catalog?

Yes. Your agent sends one model per job over MCP or the API, sees each price first and reads the triangle counts in each report.

All use cases

Use with your agent

Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a lighter product GLB that keeps its texture, with a far version and the measured triangle counts.

New accounts start with $5 of usage, and you see the price of each job before it runs.

Agent prompt

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to make my product GLB lighter for a web viewer: keep its texture, set it to its real size in meters, write a far version for thumbnails and tell me the triangle count of each. Run a Draft first. Your first 50 mesh Drafts are free with the $5 signup credit. Ask before running a final compile.

Or add the server yourself in Claude Code:

claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp

Set it up in Cursor, Codex or another agent

Once connected, your agent can call the starter tool for a ready fire Draft spec and the exact call that runs it. Your first 100 fire Drafts are free with the $5 signup credit.