# Generate Fence (Procedural 3D Model)

> Generate Fence (Procedural 3D Model) 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-12).

Generates a parametric procedural fence as downloadable GLB and BLEND files via Blender, with configurable dimensions, post count, material properties, and color.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/studio3d-generate-fence?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/generate-fence-procedural-3d-model-973065ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_10BFTPhr7QGOCUc30NhRg

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 generate-fence-procedural-3d-model-973065ff -d '<json body>'
```

Example prompt: Generate a procedural 3D fence model for me — make it 3 units wide, 1.5 units tall, 1 unit deep, with 6 posts, a blue color (#4455aa), low metallic (0.1) and medium roughness (0.6), using seed 99. I need both the GLB and BLEND files.

## When to prefer this

Use this endpoint when you need a parametric, editable 3D fence model in GLB or BLEND format — especially for game assets, architectural visualization props, or Blender scene elements — where you want precise control over dimensions, post count, material look, and color without manual 3D modeling. Prefer this over AI image generators or text-to-3D models when you need a clean, procedural geometry (not a reconstruction) that is directly editable in Blender.

## Known failure modes

- Worker busy: returns an error before payment settlement if server capacity is exceeded
- Invalid color format: must be a 6-digit hex string starting with #
- Parameter out of range: count, width, height, depth, detail, metallic, or roughness outside allowed bounds
- Timeout: generation may fail if Blender processing exceeds time limit
- Network error or 402 payment failure

## How this service works

Generate Fence: Generate a procedural fence model as GLB and editable BLEND files. Parametric geometry, not AI text/image reconstruction. Runs locally in Blender. Bounded small-model processing, normally under 60 seconds; a busy worker returns an error before payment settlement.

## Output

Returns a GLB file (ready for use in 3D engines or viewers) and an editable BLEND file (for Blender), representing a procedural fence mesh with the specified dimensions, post count, material color, metallic, and roughness properties. Processing normally completes in under 60 seconds; if the worker is busy, an error is returned before payment is settled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "integer",
   "default": 42,
   "maximum": 2147483647,
   "minimum": 0
  },
  "color": {
   "type": "string",
   "default": "#6688bb",
   "pattern": "^#[0-9a-fA-F]{6}$"
  },
  "count": {
   "type": "integer",
   "default": 4,
   "maximum": 8,
   "minimum": 2
  },
  "depth": {
   "type": "number",
   "default": 2,
   "maximum": 10,
   "minimum": 0.1
  },
  "width": {
   "type": "number",
   "default": 2,
   "maximum": 10,
   "minimum": 0.1
  },
  "detail": {
   "type": "integer",
   "default": 16,
   "maximum": 32,
   "minimum": 8
  },
  "height": {
   "type": "number",
   "default": 2,
   "maximum": 10,
   "minimum": 0.1
  },
  "metallic": {
   "type": "number",
   "default": 0,
   "maximum": 1,
   "minimum": 0
  },
  "roughness": {
   "type": "number",
   "default": 0.5,
   "maximum": 1,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/generate-fence-procedural-3d-model-973065ff/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)
