# three.ws Mint-to-Mesh GLB Converter

> three.ws Mint-to-Mesh GLB Converter is a paid API for AI agents from three.ws, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a Solana SPL token mint address into a downloadable 3D GLB mesh file, themed with the token's on-chain metadata and image.

## Facts

- Endpoint: GET https://three.ws/api/x402/mint-to-mesh
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/three-ws-mint-to-mesh-glb-converter-20ca3fe0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_upyPUJq9HqohUjTD_O8zm

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-mint-to-mesh-glb-converter-20ca3fe0
```

Example prompt: Can you fetch the 3D GLB mesh for the Solana token with mint address FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump and give me the base64-encoded file so I can embed it on my site?

## When to prefer this

Use this endpoint when you need to programmatically generate a themed 3D GLB asset from a Solana SPL token mint address — for example, to visualize a token as a 3D object, embed a token-branded avatar on a website, or create 3D agent assets tied to on-chain token identity. Prefer this over generic 3D generation endpoints when the source of truth is a Solana mint and you want token metadata (name, symbol, color, image) baked into the mesh automatically.

## Known failure modes

- Invalid or non-existent mint address returns an error — ensure it is a valid Base58 Solana mainnet SPL mint (32–44 chars)
- Mint with no on-chain metadata may produce a GLB with null name/symbol and no image texture
- Payment of $0.001 USDC via x402 not completed results in HTTP 402 and no GLB returned
- Network timeout or Solana RPC unavailability may cause a failed or empty response
- Mint address too short or too long (outside 32–44 chars) will fail schema validation before the call is made

## 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

Returns a JSON object containing: the mint address, a base64-encoded binary GLB file (model/gltf-binary), its byte size, and a theme object with the token's name, symbol, RGB color triplet (normalized 0–1), a flag indicating whether a texture image was embedded, and the image URL if available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "maxLength": 44,
       "minLength": 32,
       "description": "Base58 SPL mint address on Solana mainnet."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "mint",
      "theme",
      "glb"
     ],
     "properties": {
      "glb": {
       "type": "object",
       "required": [
        "mimeType",
        "bytes",
        "base64"
       ],
       "properties": {
        "bytes": {
         "type": "integer",
         "minimum": 1
        },
        "base64": {
         "type": "string",
         "description": "Base64-encoded binary glTF (GLB). Decode for the raw .glb file."
        },
        "mimeType": {
         "type": "string",
         "const": "model/gltf-binary"
        }
       }
      },
      "mint": {
       "type": "string"
      },
      "theme": {
       "type": "object",
       "required": [
        "name",
        "symbol",
        "color",
        "hasImage"
       ],
       "properties": {
        "name": {
         "type": [
          "string",
          "null"
         ]
        },
        "color": {
         "type": "array",
         "items": {
          "type": "number",
          "maximum": 1,
          "minimum": 0
         },
         "maxItems": 3,
         "minItems": 3,
         "description": "RGB triplet in [0,1] used as baseColorFactor."
        },
        "symbol": {
         "type": [
          "string",
          "null"
         ]
        },
        "hasImage": {
         "type": "boolean",
         "description": "True when a PNG/JPEG image was fetched and embedded as a baseColor texture."
        },
        "imageUrl": {
         "type"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "glb": {
   "bytes": 50768,
   "base64": "Z2xURgIAAADQxAAA…(truncated; full GLB bytes are returned on a real call)",
   "mimeType": "model/gltf-binary"
  },
  "mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
  "theme": {
   "name": "three.ws",
   "color": [
    0.235,
    0.382,
    0.865
   ],
   "symbol": "three",
   "hasImage": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/three-ws-mint-to-mesh-glb-converter-20ca3fe0/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)
