{"uid":"cap_TsjfbZwD5KVyqanNrML8-","slug":"rengi-forge-level-design-revise-706ddd5c","name":"Rengi Forge Level Design Revise","description":"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","url":"https://rengi.dev/v1/level-design/revise?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":{"type":"integer","maximum":60,"minimum":1},"assets":{"type":"array","items":{"type":"string"},"description":"Asset ids."},"center":{"anyOf":[{"anyOf":[{"type":"string","const":"centroid"},{"type":"array","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}]}]},{"type":"string","const":"random"}],"default":"random"},"radius":{"type":"number","maximum":60,"exclusiveMinimum":0},"clusters":{"type":"integer","default":1,"maximum":30,"minimum":1},"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."}},"additionalProperties":false},{"type":"object","required":["kind","offset","spacing"],"properties":{"kind":{"type":"string","const":"along"},"assets":{"type":"array","items":{"type":"string"},"description":"Asset ids."},"facing":{"enum":["along","toward","away","random"],"type":"string","default":"along"},"offset":{"type":"array","items":false,"maxItems":2,"minItems":2,"description":"Distance inside the zone edge, meters [min, max].","prefixItems":[{"type":"number","minimum":0},{"type":"number","minimum":0}]},"spacing":{"type":"array","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number","exclusiveMinimum":0},{"type":"number","exclusiveMinimum":0}]},"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."}},"additionalProperties":false},{"type":"object","required":["kind","radius","count"],"properties":{"kind":{"type":"string","const":"ring"},"count":{"type":"integer","maximum":60,"minimum":1},"assets":{"type":"array","items":{"type":"string"},"description":"Asset ids."},"center":{"anyOf":[{"type":"string","const":"centroid"},{"type":"array","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}]}],"default":"centroid"},"facing":{"enum":["inward","outward"],"type":"string","default":"inward"},"radius":{"type":"number","maximum":80,"exclusiveMinimum":0},"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."}},"additionalProperties":false},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","const":"lot"},"assets":{"type":"array","items":{"type":"string"},"description":"Asset ids."},"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."}},"additionalProperties":false},{"type":"object","required":["kind"],"properties":{"at":{"anyOf":[{"type":"string","const":"centroid"},{"type":"array","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}]}],"default":"centroid"},"kind":{"type":"string","const":"anchor"},"asset":{"type":"string"},"yawDeg":{"type":"number"},"category":{"enum":["house","tree","rock","bush","fence","wall","prop","light","path","water","other"],"type":"string"}},"additionalProperties":false}]},"maxItems":12},"zoneId":{"type":"string"}},"additionalProperties":false},"maxItems":50},"jobId":{"type":"string"},"instruction":{"type":"string","maxLength":2000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QlaKjAka3Cw1W0eDILtC6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Revise a placed 3D level by applying instruction-based or structured zone edits (scatter, cluster, along-path rules) while preserving untouched zones' exact transforms.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Populate forest zone with vegetation","prompt":"Scatter trees and bushes across my forest zone at 0.6 density with a strong edge falloff, and leave all the other zones exactly as they are."},{"title":"Add rock cluster near zone center","prompt":"Add a cluster of 20 rocks within a 15-unit radius centered on the centroid of zone zone_cave_entrance in my level — nothing else should change."},{"title":"Line fences along a path zone","prompt":"Place fence assets along the path zone zone_perimeter_01 with 2-unit spacing and offset them slightly so they look natural, keeping every other zone untouched."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:35.822Z","isFirstParty":false,"canonicalSlug":"rengi-forge-level-design-revise-706ddd5c"}