# Rengi Forge Level Design Revise

> Rengi Forge Level Design Revise is a paid API for AI agents from rengi.dev, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-22).

Revise a placed 3D level by applying instruction-based or structured zone edits (scatter, cluster, along-path rules) while preserving untouched zones' exact transforms.

## Facts

- Endpoint: POST https://rengi.dev/v1/level-design/revise?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rengi-forge-level-design-revise-706ddd5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TsjfbZwD5KVyqanNrML8-

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 rengi-forge-level-design-revise-706ddd5c -d '<json body>'
```

Example prompt: In my game level, scatter trees and bushes at 0.7 density across zone zone_forest_01 with edge falloff at strength 0.8, and cluster 15 rocks within a 20-unit radius near the centroid of zone zone_rocks_02 — leave everything else untouched.

## When to prefer this

Use this endpoint when you need to make targeted, rule-based edits to specific zones of an existing placed 3D level without disturbing the rest of the scene. Prefer it over full level regeneration when only a subset of zones need updating, or when you need precise procedural placement control (scatter density, clustering, path-following) with guaranteed transform preservation for untouched areas.

## Known failure modes

- Invalid zoneId — zone not found in the level
- Rules array missing required fields (e.g. missing density for scatter, missing count/radius for cluster)
- Asset IDs not found in the catalog
- Density or radius values out of allowed range
- Malformed edits array structure
- Payment not provided or insufficient (x402 payment required at $0.50 USDC per call)
- Schema validation failure for nested rule objects

## How this service works

Level design: Change a placed level with an instruction or structured zone edits; untouched zones keep their exact transforms. Full schema: https://rengi.dev/v1/level-design/schema

## Output

Returns the updated level with revised zone placements applied — modified zones reflect the new scatter, cluster, or along-path rules while untouched zones retain their original exact transforms and asset positions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "edits": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "zoneId",
     "rules"
    ],
    "properties": {
     "rules": {
      "type": "array",
      "items": {
       "anyOf": [
        {
         "type": "object",
         "required": [
          "kind",
          "density"
         ],
         "properties": {
          "kind": {
           "type": "string",
           "const": "scatter"
          },
          "assets": {
           "type": "array",
           "items": {
            "type": "string"
           },
           "description": "Asset ids."
          },
          "density": {
           "type": "number",
           "maximum": 1,
           "minimum": 0
          },
          "falloff": {
           "type": "object",
           "required": [
            "from",
            "strength"
           ],
           "properties": {
            "from": {
             "enum": [
              "edge",
              "point"
             ],
             "type": "string"
            },
            "point": {
             "type": "array",
             "items": false,
             "maxItems": 2,
             "minItems": 2,
             "prefixItems": [
              {
               "type": "number"
              },
              {
               "type": "number"
              }
             ]
            },
            "strength": {
             "type": "number",
             "maximum": 1,
             "minimum": 0
            }
           },
           "additionalProperties": false
          },
          "categories": {
           "type": "array",
           "items": {
            "enum": [
             "house",
             "tree",
             "rock",
             "bush",
             "fence",
             "wall",
             "prop",
             "light",
             "path",
             "water",
             "other"
            ],
            "type": "string"
           },
           "description": "Pick from the catalog by category."
          },
          "minSpacing": {
           "type": "number",
           "maximum": 50,
           "minimum": 0
          }
         },
         "additionalProperties": false
        },
        {
         "type": "object",
         "required": [
          "kind",
          "count",
          "radius"
         ],
         "properties": {
          "kind": {
           "type": "string",
           "const": "cluster"
          },
          "count"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rengi-forge-level-design-revise-706ddd5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rengi.dev](https://www.zero.xyz/host/rengi.dev/llms.txt)
