---
title: "Turn a generated model into a mesh you can load"
description: "Send meshfx a generated model. It repairs faults, writes levels of detail and collision, and returns a GLB your engine can load, plus a report."
canonical: https://appliedmanifold.com/use-cases/generated-models/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Use cases](https://appliedmanifold.com/use-cases/)
3.  Generated models

# Turn a generated model into a mesh you can load

Send meshfx a generated GLB, OBJ, STL or surface PLY. It repairs faults, writes levels of detail and collision, and returns a GLB plus a report of what it fixed.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Give this to your agent](https://appliedmanifold.com/use-cases/generated-models/#get-started)

[![A generated wagon before and after meshfx repair. Flipped faces on the source are marked in red.](/use-cases/heroes/generated-models.webp)](https://appliedmanifold.com/use-cases/heroes/generated-models.webp)

-   [![A generated wagon before and after meshfx repair. Flipped faces on the source are marked in red.](/shots/meshfx/meshfx-wagon-repair-faces/three-still_800.webp)](https://appliedmanifold.com/shots/meshfx/meshfx-wagon-repair-faces/three-still.webp)

    ## [Clean up a generated model](https://appliedmanifold.com/mesh/clean-up-ai-generated-model/)

    meshfx measures faults in a generated model, repairs what it can, and returns a GLB plus a report.

    -   repair
    -   GLB
    -   report

-   [![A compiled generated model, shown in Godot 4.](/shots/meshfx/meshfx-archer/godot-still_800.webp)](https://appliedmanifold.com/shots/meshfx/meshfx-archer/godot-still.webp)

    ## [Import a generated model into Godot](https://appliedmanifold.com/mesh/ai-generated-model-to-godot/)

    Repair the model, write levels of detail and collision, and drop the GLB into Godot 4.

    -   Godot 4
    -   levels of detail
    -   collision

-   [![Four levels of detail of a compiled mesh, from 10,000 triangles down to 1,248.](/shots/meshfx/meshfx-blob-lod-chain/three-still_800.webp)](https://appliedmanifold.com/shots/meshfx/meshfx-blob-lod-chain/three-still.webp)

    ## [Write levels of detail and collision](https://appliedmanifold.com/modules/mesh/)

    meshfx writes lighter levels and collision into the GLB. Collider import is checked in Godot only.

    -   levels of detail
    -   collision
    -   report

## Questions

### Which 3D file formats can meshfx read for generated models?

meshfx reads glTF, GLB, OBJ, STL and PLY files with PNG and JPEG textures.

### How do I check if a reduced model meets quality targets?

Read the JSON report. It records measured distance and geometry faults for every output level.

### What else can I compile for generated scenes?

You can also compile geofx terrain maps and hosted pyrofx fire, smoke and dust effects.

[All use cases](https://appliedmanifold.com/use-cases/)

## Let your agent clean up a generated model

Paste this prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a repaired GLB with levels of detail, collision and a report of the faults it fixed.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Try it in the Playground →](https://appliedmanifold.com/playground/?module=meshfx&cookbook=namaqualand_rocks&spec=f859915a7f50a91eae432dfc1ac89e53babb309217d7682863c22430312d12ad)

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

Give this to your agent

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to repair my generated model, write levels of detail and collision, and give me a GLB I can drop into Godot, Unity or Unreal. Show me the price before it runs.

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](https://appliedmanifold.com/docs/mcp/)
