# StableMesh Text-to-3D Model Generation

> StableMesh Text-to-3D Model Generation is a paid API for AI agents from stablemesh.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-14).

Generates a 3D model from a text prompt using AI, charged at $1 USDC per request with no API key or subscription required

## Facts

- Endpoint: POST https://stablemesh.dev/api/text-to-3d
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablemesh-text-to-3d-model-generation-0b075c0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CqcEwkNjApL0HJVhJDitH

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-text-to-3d-model-generation-0b075c0b -d '<json body>'
```

Example prompt: Generate a 3D model of a low-poly wooden treasure chest with iron hinges and a lock — I need a mesh I can use in a game scene.

## When to prefer this

Choose this endpoint when you need on-demand AI-generated 3D models without committing to a subscription or managing API keys — ideal for one-off asset generation, prototyping, or pay-as-you-go workflows where you want to pay $1 USDC per model via the x402 protocol

## Known failure modes

- Payment not received or insufficient USDC — request rejected with payment-required error
- Ambiguous or overly complex text prompt may yield a low-quality or malformed mesh
- Timeout if generation takes too long for complex prompts
- Invalid or malformed request body returns a 400 error
- Service unavailable or generation pipeline failure returns a 5xx error

## How this service works

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

## Output

A JSON response containing the generated 3D model data or a reference to the mesh file produced from the input text prompt

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "oneOf": [
      {
       "type": "object",
       "required": [
        "mode",
        "prompt"
       ],
       "properties": {
        "mode": {
         "type": "string",
         "const": "preview"
        },
        "prompt": {
         "type": "string",
         "maxLength": 600,
         "description": "Description of the 3D object to generate"
        },
        "ai_model": {
         "enum": [
          "meshy-5",
          "meshy-6",
          "latest"
         ],
         "type": "string",
         "default": "latest"
        },
        "topology": {
         "enum": [
          "quad",
          "triangle"
         ],
         "type": "string",
         "default": "triangle"
        },
        "art_style": {
         "enum": [
          "realistic",
          "sculpture"
         ],
         "type": "string"
        },
        "auto_size": {
         "type": "boolean",
         "default": false
        },
        "origin_at": {
         "enum": [
          "bottom",
          "center"
         ],
         "type": "string"
        },
        "pose_mode": {
         "enum": [
          "a-pose",
          "t-pose",
          ""
         ],
         "type": "string"
        },
        "model_type": {
         "enum": [
          "standard",
          "lowpoly"
         ],
         "type": "string",
         "default": "standard"
        },
        "moderation": {
         "type": "boolean",
         "default": false
        },
        "should_remesh": {
         "type": "boolean",
         "default": false
        },
        "symmetry_mode": {
         "enum": [
          "off",
          "auto",
          "on"
         ],
         "type": "string",
         "default": "auto"
        },
        "target_formats": {
         "type": "array",
         "items": {
          "enum": [
           "glb",
           "obj",
           "fbx",
           "stl",
           "usdz"
          ],
          "type": "string"
         }
        },
        "target_polycount": {
         "type": "integer",
         "default": 30000,
         "maximum": 300000,
         "minimum": 100
        }
       },
       "additionalProperties": false
      },
      {
       "type": "object",
       "required
… (truncated)
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablemesh-text-to-3d-model-generation-0b075c0b/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)
