Turn an image-to-3D model into a game asset

Image-to-3D tools turn one picture into a textured model in a minute. Spatial Compiler finishes the job: real size in meters, a lighter mesh with the same texture, collision pieces and a report your agent reads.

The concept image of an archer, inset over the TRELLIS model generated from it
The same archer after a hosted compile, 1.8 m tall, with its original texture

Generated from one image, 149,867 triangles

Compiled, 62,706 triangles, 1.8 m

  • 58% fewertriangles, with the texture still in place
  • 1.8 mtall, set from a model that came out in a 1-unit box
  • 64collision pieces for your physics engine
  • Under 2 minfrom upload to download on the hosted API

Concept image from the TRELLIS.2 examples. Model generated by TRELLIS.2 and compiled on the hosted API on 3 December 2026.

Game-ready models from a picture

An image-to-3D model looks finished in the viewer, but it arrives at an arbitrary size with about 150,000 triangles and nothing for physics to touch.

Before it works in a level, someone has to scale it, thin it out and build collision by hand. Your agent can send it for one compile instead.

What the terms mean

  • Image-to-3D

    A generator that builds a textured 3D model from a single picture.

    The texture comes out well. The size, triangle count and collision do not.

  • Triangle count

    How many flat triangles make up the surface.

    The archer dropped from 149,867 to 62,706, so it costs less to draw.

  • Real-world size

    The model's height in meters.

    The archer stands 1.8 m tall, so it lines up with your characters and doors.

  • Collision pieces

    Simple convex shapes that wrap the model for physics.

    Characters and projectiles hit the archer without testing every triangle.

How it works

  1. Generate and send

    Make the model from your image in any image-to-3D tool, then your agent uploads the GLB over MCP or the REST API.

  2. See the price, then compile

    A Draft compile already includes the real size and collision pieces. Your first 50 mesh Drafts are free with the $5 signup credit.

  3. Load the result

    You get a GLB with its texture, a layout file and a report of every change and the measured triangle count.

See the full GLB cleanup job

Questions

Which image-to-3D tools does this work with?

Any tool that exports GLB, OBJ, STL or PLY, such as TRELLIS, Hunyuan3D, Meshy, Tripo or Rodin. The archer came from TRELLIS.2.

Do I need to send the original image?

No. Spatial Compiler works on the model file. Your agent tells it the real height, for example 1.8 m for a character.

Will the texture still fit?

Yes. Spatial Compiler keeps the model's UV layout, so the texture the generator painted lands on the same parts of the lighter mesh.

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 game-ready GLB at its real size, with its texture, collision pieces and a report of every change.

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 turn the GLB my image-to-3D tool made into a game asset: set it to its real height in meters, make it lighter while keeping its texture and add convex collision pieces. 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.