# TextToSTL — Prompt to 3D-Printable STL Generator

> TextToSTL — Prompt to 3D-Printable STL Generator is a paid API for AI agents from api.texttostl.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-11).

Generates downloadable STL files for 3D-printable objects (cookie cutters, stamps, jewelry) from a text prompt, billed per call via x402 micropayments.

## Facts

- Endpoint: POST https://api.texttostl.com/api/x402/stl?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/texttostl-prompt-to-3d-printable-stl-generator-59a7c89f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bk6aZRYBRit_666vCWig2

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 texttostl-prompt-to-3d-printable-stl-generator-59a7c89f -d '<json body>'
```

Example prompt: Can you generate a 3D-printable cookie cutter shaped like a dachshund — about 80mm wide and 40mm tall — and give me the STL file I can send to my printer?

## When to prefer this

Choose this endpoint when you need an instant, no-account 3D-printable STL file generated from a plain-English description, especially for cookie cutters, stamps, or jewelry. It is ideal for pay-as-you-go workflows where creating an account is not desirable. Prefer alternatives if you need complex multi-part assemblies, mechanical CAD accuracy, or non-printable 3D formats like OBJ or GLTF.

## Known failure modes

- Prompt too vague or ambiguous — the model may produce an unexpected or malformed shape
- Dimensions outside printable range — very small or very large millimeter values may yield unprintable geometry
- Unsupported object type — prompts outside cookie cutter, stamp, or jewelry categories may fail or return poor results
- Payment failure — x402 payment not completed or insufficient USDC balance results in 402 response with no STL
- Binary response handling error — caller must treat response as raw binary, not JSON or text

## How this service works

Pay-per-call 3D-printable STL generation from text prompts. Cookie cutters, stamps, and jewelry. x402 payments, no account needed.

## Output

A binary STL file (application/octet-stream) containing the 3D mesh geometry of the requested object, ready to slice and send to a 3D printer. No account or subscription required — payment is handled per call via x402.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "type": {
   "enum": [
    "cookie-cutter",
    "jewelry"
   ],
   "type": "string"
  },
  "prompt": {
   "type": "string",
   "description": "What to generate, e.g. 'dachshund', 'maple leaf'"
  },
  "options": {
   "type": "object"
  },
  "modelMode": {
   "enum": [
    "cutter",
    "full3d"
   ],
   "type": "string"
  },
  "parameters": {
   "type": "object",
   "description": "Dimensions in millimeters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "string",
 "format": "binary"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/texttostl-prompt-to-3d-printable-stl-generator-59a7c89f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.texttostl.com](https://www.zero.xyz/host/api.texttostl.com/llms.txt)
