{"uid":"cap_h_cm8GYaHrylihc3wRNkA","slug":"rengi-forge-glb-optimizer-43a32892","name":"Rengi Forge GLB Optimizer","description":"GLB optimizer: Shrink a GLB (up to 10 MB) for web or mobile: dedup, join draw calls, gentle simplify, textures to WebP at a max size, meshopt or Draco compression; before/after renders, size report and loader notes for three.js and Unity. Full schema: https://rengi.dev/v1/glb-optimizer/schema","url":"https://rengi.dev/v1/glb-optimizer/optimize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"glb":{"type":"string","description":"Base64 GLB."},"glbUrl":{"type":"string","format":"uri"},"preset":{"enum":["web","mobile","preview"],"type":"string","default":"web"},"compression":{"enum":["meshopt","draco","none"],"type":"string","default":"meshopt"},"simplifyRatio":{"type":"number","maximum":1,"minimum":0,"description":"Target share of triangles to keep (0 = only the error bound decides)."},"textureFormat":{"enum":["webp","png","keep"],"type":"string","default":"webp"},"maxTextureSize":{"type":"integer","maximum":8192,"minimum":64}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R28sh36XOnaHHlxboBZ7m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Optimizes GLB 3D model files for web or mobile by deduplicating geometry, merging draw calls, simplifying meshes, converting textures to WebP, and applying meshopt or Draco compression, with before/after renders and a size report.","exampleAgentPrompt":"Can you optimize this GLB model for web using the 'web' preset with meshopt compression, convert textures to WebP at a max size of 1024, and keep 80% of the triangles? Here's the URL: https://cdn.example.com/model.glb","exampleUseCases":[{"title":"Shrink a product 3D model for e-commerce","prompt":"I have a product GLB at https://assets.myshop.com/chair.glb that's 8 MB — way too big for the web viewer. Can you optimize it with the web preset, meshopt compression, WebP textures capped at 2048, and keep about 70% of the triangles?"},{"title":"Prepare a game asset for mobile","prompt":"Optimize this GLB for mobile: glbUrl is https://cdn.mygame.com/character.glb, use the mobile preset, Draco compression, WebP textures at max 512 pixels, and simplify down to 50% of the triangles so it runs well on phones."},{"title":"Quick preview mesh for a three.js scene","prompt":"I need a lightweight preview version of my GLB at https://storage.example.com/environment.glb — use the preview preset, no compression, keep textures as-is, and give me the loader notes for three.js."}],"resultDescription":"Returns an optimized GLB file, before/after render images showing the visual difference, a size report detailing the reduction achieved, and integration notes for loading the result in three.js and Unity.","failureModes":["GLB exceeds 10 MB size limit — request rejected","Invalid or unreachable glbUrl — download fails","Malformed base64 GLB data — parse error","simplifyRatio causes unacceptable mesh degradation — may produce visual artifacts","Unsupported GLB features (e.g. morph targets with aggressive simplify) — partial optimization","Network timeout fetching remote GLB URL"],"whenToPreferThis":"Choose this endpoint when you need to reduce the file size of an existing GLB asset for web or mobile delivery, especially when you want automatic texture conversion to WebP, mesh simplification, and draw call merging in a single pipeline with visual validation renders. Prefer it over generic mesh tools when you need three.js or Unity loader guidance alongside the optimized output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:18.902Z","isFirstParty":false,"canonicalSlug":"rengi-forge-glb-optimizer-43a32892"}