{"uid":"cap_sOHIUeoCHNwxxrgHjjw1X","slug":"three-ws-3d-mesh-remesh-pipeline-1e60e0cf","name":"three.ws 3D Mesh Remesh Pipeline","description":"Make a 3D AI agent from a selfie in 60 seconds. Drop one HTML tag to embed it on any website. Agents think on IBM watsonx.ai (Granite); optionally charge per chat with built-in micropayments.","url":"https://three.ws/api/x402/pipeline-remesh?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"glb_url":{"type":"string","format":"uri","description":"Public HTTPS URL of the source binary glTF (.glb) mesh."},"operation":{"enum":["full","simplify","repair","convert"],"type":"string","default":"full","description":"triangle-mode only: full remesh, simplify (decimate), repair (fix holes/non-manifold), or convert."},"remesh_mode":{"enum":["triangle","quad","lowpoly"],"type":"string","default":"triangle","description":"triangle = clean triangulation; quad = QuadriFlow quad retopology; lowpoly = aggressive decimation."},"target_faces":{"type":"integer","default":50000,"maximum":500000,"minimum":1000,"description":"Target triangle count for the output mesh."},"texture_size":{"enum":[512,1024,2048],"type":"integer","default":1024,"description":"Resolution of the re-baked texture atlas."}}},"responseSchema":{"type":"json","example":{"bytes":812044,"stage":"remesh","textured":true,"input_url":"https://three.ws/avatars/mannequin.glb","operation":"full","persisted":true,"face_count":20000,"output_url":"https://three.ws/cdn/x402-pipeline/remesh/abc123.glb","quad_ratio":0.98,"remesh_mode":"quad"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r6ZPTNa04DlPjwoXioJ7N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Remeshes, simplifies, repairs, or converts a 3D GLB mesh with optional texture rebaking, returning a cleaned and optimized GLB file URL.","exampleAgentPrompt":"Take this GLB file at https://three.ws/avatars/mannequin.glb and do a full quad remesh targeting 20,000 faces with a 1024 texture atlas, then give me the download URL for the cleaned mesh.","exampleUseCases":[{"title":"Optimize high-poly avatar for web embedding","prompt":"I have a high-resolution scanned avatar GLB at https://cdn.example.com/scan.glb — can you remesh it to quads with a target of 15,000 faces and a 1024 texture size so it loads fast in a browser?"},{"title":"Repair broken mesh from 3D scan","prompt":"My 3D scan GLB at https://myassets.com/broken_scan.glb has holes and non-manifold edges — can you run a repair operation on it targeting 50,000 triangles so it's watertight?"},{"title":"Aggressive lowpoly decimation for mobile","prompt":"I need a super lightweight version of my 3D model at https://three.ws/models/character.glb — please do a lowpoly remesh down to 3,000 faces with a 512 texture atlas for a mobile app."}],"resultDescription":"A JSON object containing the CDN URL of the remeshed GLB file, the output face count, quad ratio (for quad mode), whether the mesh is textured, the byte size, the remesh mode and operation used, and whether the file was persisted to CDN storage.","failureModes":["Invalid or inaccessible GLB URL returns an error — the source URL must be a publicly reachable HTTPS .glb file","Target face count outside 1,000–500,000 range returns a validation error","Unsupported remesh_mode/operation combination may return a 400 bad request","Non-manifold or severely corrupted input meshes may fail even the repair operation","Payment failure (x402) results in 402 Payment Required before processing begins","Large meshes may time out if processing exceeds server limits"],"whenToPreferThis":"Use this endpoint when you need to automatically optimize, clean, repair, or retopologize a 3D GLB mesh via API — especially for pipelines preparing avatars or scanned meshes for real-time web embedding, mobile rendering, or 3D agent platforms. It is particularly useful when you need quad retopology (QuadriFlow), integrated texture rebaking, and CDN-hosted output in a single pay-per-call step, rather than running local Blender scripts or offline tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:20.495Z","isFirstParty":false,"canonicalSlug":"three-ws-3d-mesh-remesh-pipeline-1e60e0cf"}