glb_optimizer_optimize
Optimize a GLB up to 10 MB with a preset (web, mobile, preview). Price: $0.20 USDC via x402, charged only on success. Part of GLB optimizer: Make a GLB small and fast for the web or mobile: dedup, instance, join, weld, simplify, resize and re-encode textures, meshopt or draco compression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glb | No | Base64 GLB. | |
| glbUrl | No | ||
| preset | No | web | |
| compression | No | meshopt | |
| simplifyRatio | No | Target share of triangles to keep (0 = only the error bound decides). | |
| textureFormat | No | webp | |
| maxTextureSize | No |