# three.ws 3D Mesh Stylization Pipeline

> three.ws 3D Mesh Stylization Pipeline is a paid API for AI agents from three.ws, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11).

Applies a geometric style filter (voxel, brick, voronoi, or lowpoly) to a 3D GLB mesh and returns a stylized GLB file URL

## Facts

- Endpoint: POST https://three.ws/api/x402/pipeline-stylize?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/three-ws-3d-mesh-stylization-pipeline-cc5ffceb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rwde4qpQpZ3vtS1WFhUmm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability three-ws-3d-mesh-stylization-pipeline-cc5ffceb -d '<json body>'
```

Example prompt: Take this 3D model at https://three.ws/avatars/mannequin.glb and apply the lowpoly style to it at resolution 64 — I want a clean low-polygon version of the mesh.

## When to prefer this

Choose this endpoint when you need to apply a specific geometric style filter (voxel, brick, voronoi, lowpoly) to an existing GLB mesh — particularly for stylizing 3D avatars or models for embedding on websites, games, or AI agent interfaces. Prefer this over generic 3D conversion tools when you need deterministic artistic styles with a persisted CDN-hosted output URL.

## Known failure modes

- Invalid or inaccessible glb_url returns an error (URL must be public HTTPS)
- Unsupported style value returns validation error (must be voxel, brick, voronoi, or lowpoly)
- Resolution outside the filter's allowed range is clamped silently rather than failing
- Payment of $0.03 USDC via x402 not completed results in 402 Payment Required
- Large or complex GLB meshes may time out during processing
- Non-GLB file formats at the provided URL will fail

## How this service works

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.

## Output

A JSON response containing the URL of the stylized GLB file (output_url), the style applied, face count of the resulting mesh, file size in bytes, resolution used, and a boolean confirming the file was persisted to CDN.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "style": {
   "enum": [
    "voxel",
    "brick",
    "voronoi",
    "lowpoly"
   ],
   "type": "string",
   "default": "voxel",
   "description": "Geometric filter to apply — voxel, brick, voronoi, or lowpoly."
  },
  "glb_url": {
   "type": "string",
   "format": "uri",
   "description": "Public HTTPS URL of the source binary glTF (.glb) mesh."
  },
  "resolution": {
   "type": "integer",
   "description": "Style density (clamped to each filter's range). Higher = finer detail."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 512880,
  "stage": "stylize",
  "style": "voxel",
  "input_url": "https://three.ws/avatars/mannequin.glb",
  "persisted": true,
  "face_count": 18240,
  "output_url": "https://three.ws/cdn/x402-pipeline/stylize/abc123.glb",
  "resolution": 48
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/three-ws-3d-mesh-stylization-pipeline-cc5ffceb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from three.ws](https://www.zero.xyz/host/three.ws/llms.txt)
