# Blender: Mesh Stats

> Blender: Mesh Stats is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns vertex, edge, polygon, and triangle counts for a supplied mesh (JSON, GLB, or OBJ) processed locally in Blender, or uses a built-in demo mesh if no input is provided.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/studio3d-process-mesh-stats?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blender-mesh-stats-0b36b787
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RVO2WI4HdwlEiRNkFaJga

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 blender-mesh-stats-0b36b787 -d '<json body>'
```

Example prompt: Can you analyze this GLB file for me and tell me its vertex count, edge count, polygon count, and triangle count? Here's the base64-encoded GLB data — use OBJ format fallback isn't needed, it's a GLB.

## When to prefer this

Choose this endpoint when you need fast, Blender-native mesh statistics (vertex, edge, polygon, triangle counts) for small-to-medium meshes supplied as JSON, GLB, or OBJ, especially when you want authoritative Blender-computed topology data rather than a client-side estimate. Best for pre-pipeline validation, asset budget checks, or quick topology inspection at low cost ($0.02 USDC).

## Known failure modes

- Busy worker returns an error before payment settles if the service is under load
- Mesh exceeds 10,000 vertices or 20,000 faces — request rejected
- Base64 payload exceeds 512 KiB decoded limit
- Invalid mesh JSON missing required 'vertices' or 'faces' fields
- Unsupported model format or malformed GLB/OBJ data
- Processing exceeds 60-second timeout

## How this service works

Blender: Mesh Stats: Return vertex, edge, polygon and triangle counts with the processed model. Accepts mesh JSON, small GLB or OBJ; without input uses an explicitly labelled demo mesh. Runs locally in Blender. Bounded small-model processing, normally under 60 seconds; a busy worker returns an error before payment settlement.

## Output

Returns a structured report containing vertex count, edge count, polygon count, and triangle count for the processed mesh, along with identification of whether the demo mesh or a user-supplied mesh was used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mesh": {
   "type": "object",
   "required": [
    "vertices",
    "faces"
   ],
   "properties": {
    "faces": {
     "type": "array",
     "items": {
      "type": "array",
      "items": {
       "type": "integer",
       "minimum": 0
      },
      "maxItems": 16,
      "minItems": 3
     },
     "maxItems": 20000
    },
    "vertices": {
     "type": "array",
     "items": {
      "type": "array",
      "items": {
       "type": "number"
      },
      "maxItems": 3,
      "minItems": 3
     },
     "maxItems": 10000
    }
   },
   "description": "Optional mesh in Blender Z-up coordinates. Max 10,000 vertices and 20,000 faces; each face has 3..16 indices.",
   "additionalProperties": false
  },
  "seed": {
   "type": "integer",
   "default": 42,
   "maximum": 2147483647,
   "minimum": 0
  },
  "angle": {
   "type": "number",
   "default": 45,
   "maximum": 180,
   "minimum": -180
  },
  "color": {
   "type": "string",
   "default": "#6688bb",
   "pattern": "^#[0-9a-fA-F]{6}$"
  },
  "count": {
   "type": "integer",
   "default": 3,
   "maximum": 8,
   "minimum": 2
  },
  "amount": {
   "type": "number",
   "default": 0.05,
   "maximum": 0.5,
   "minimum": 0.001
  },
  "factor": {
   "type": "number",
   "default": 1,
   "maximum": 5,
   "minimum": 0.1
  },
  "sample": {
   "enum": [
    "demo"
   ],
   "type": "string",
   "default": "demo",
   "description": "If no model is supplied, process the included demonstration mesh; response identifies this explicitly."
  },
  "metallic": {
   "type": "number",
   "default": 0,
   "maximum": 1,
   "minimum": 0
  },
  "roughness": {
   "type": "number",
   "default": 0.5,
   "maximum": 1,
   "minimum": 0
  },
  "resolution": {
   "type": "integer",
   "default": 256,
   "maximum": 512,
   "minimum": 128
  },
  "model_base64": {
   "type": "string",
   "maxLength": 699052,
   "description": "Optional base64 GLB (geometry and PBR values, without images/animations) or OBJ geometry, at most 512 KiB decoded. Mutually exclusive with mesh. No URLs or local paths."
  },
  "model_format": {
   "enum": [
    "glb",
    "obj"
   ],
   "type": "string",
   "default": "glb"
  },
  "target_faces": {
   "type": "integer",
   "default": 500,
   "maximum": 20000,
   "minimum": 20
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blender-mesh-stats-0b36b787/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
