# StableMesh Remesh

> StableMesh Remesh is a paid API for AI agents from stablemesh.dev, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-14).

Generates a 3D model from input using AI, billed per-request at $0.20 USDC with no API key or subscription required

## Facts

- Endpoint: POST https://stablemesh.dev/api/remesh
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablemesh-remesh-cc771495
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HQ64-RSORQi6PMiYDd9Mu

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 stablemesh-remesh-cc771495 -d '<json body>'
```

Example prompt: Generate a 3D model of a low-poly wooden chair using StableMesh — I just need the remeshed geometry output and I'm happy to pay per request.

## When to prefer this

Choose this endpoint when you need on-demand AI 3D model or mesh generation without committing to an API subscription, especially for low-volume or one-off tasks where pay-per-request pricing at $0.20 USDC is acceptable. Ideal for agents that can execute x402 micropayments automatically.

## Known failure modes

- Payment not included or insufficient USDC — returns 402 Payment Required
- Invalid or missing input geometry/prompt — returns 400 Bad Request
- Model generation failure due to unsupported input — returns 500 Internal Server Error
- Network timeout during model generation — no partial result returned

## How this service works

Pay-per-request AI 3D model generation. No API keys, no subscriptions.

## Output

A JSON response containing the AI-generated or remeshed 3D model data, charged at $0.20 USDC per call via x402 micropayment protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "topology": {
   "enum": [
    "quad",
    "triangle"
   ],
   "type": "string",
   "default": "triangle"
  },
  "auto_size": {
   "type": "boolean",
   "default": false
  },
  "model_url": {
   "type": "string",
   "description": "Public URL or data URI (.glb/.gltf/.obj/.fbx/.stl)"
  },
  "origin_at": {
   "enum": [
    "bottom",
    "center"
   ],
   "type": "string"
  },
  "input_task_id": {
   "type": "string",
   "description": "ID of completed task to remesh"
  },
  "resize_height": {
   "type": "number",
   "default": 0,
   "description": "Resize to height in meters (0 = no resize)"
  },
  "target_formats": {
   "type": "array",
   "items": {
    "enum": [
     "glb",
     "fbx",
     "obj",
     "usdz",
     "blend",
     "stl"
    ],
    "type": "string"
   },
   "default": [
    "glb"
   ]
  },
  "target_polycount": {
   "type": "integer",
   "default": 30000,
   "maximum": 300000,
   "minimum": 100
  },
  "convert_format_only": {
   "type": "boolean",
   "description": "Only convert format, skip remesh processing"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablemesh-remesh-cc771495/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablemesh.dev](https://www.zero.xyz/host/stablemesh.dev/llms.txt)
