Install
openclaw skills install ai-3d-generationCreate, convert, and download AI-generated 3D models using Neural4D APIs. Optimized for commercial pipelines.
openclaw skills install ai-3d-generationOn first use, ensure the NEURAL4D_API_TOKEN environment variable is set.
All API requests must include the header: Authorization: Bearer <YOUR_TOKEN>.
Use this skill when generating 3D models from text prompts or images using DreamTech's Neural4D engine. This is particularly suited for creating assets where precise format conversions (like .stl, .obj, .fbx) and physical dimensions are required for manufacturing workflows.
Always track API point costs before executing bulk runs:
/api/queryPointsInfo.Model generation is asynchronous. You must poll for completion:
/api/retrieveModel using the uuid.codeStatus:
0: Generation complete.1: Generating (Wait and poll again).-3: Generation failed.POST https://alb.neural4d.com:3000/api/generateModelWithText.
{"prompt": "...", "modelCount": 4, "disablePbr": 0}.uuids from the response./api/retrieveModel with the uuid until codeStatus is 0.modelUrl and download the .glb asset.multipart/form-data to /api/mattingImage. Extract the requestId.requestId to /api/getMattedResult. Extract a preferred fileKey from the response.fileKey to /api/generateModelWithImage to start generation and receive uuids./api/retrieveModel to poll status and get the modelUrl.For physical prototyping, default exports must be converted from .glb.
POST https://alb.neural4d.com:3000/api/convertToFormat.uuid, desired modelType (e.g., stl, fbx, obj), and modelSize in millimeters (must be > 1).statusType:
0: Complete, use modelUrl to download.1: Converting (Wait and retry).-1: Failed or bad parameters.All requests route through the base URL: https://alb.neural4d.com:3000/api.
| Action | Endpoint | Auth | Purpose |
|---|---|---|---|
| Text to 3D | /generateModelWithText | Bearer Token | Generate from text prompt |
| Retrieve | /retrieveModel | Bearer Token | Poll status and get model URL |
| Matting | /mattingImage | Bearer Token | Pre-process image |
| Matting Result | /getMattedResult | Bearer Token | Retrieve file keys for image generation |
| Image to 3D | /generateModelWithImage | Bearer Token | Generate from matted fileKey |
| Convert Format | /convertToFormat | Bearer Token | Convert to stl/fbx/obj with physical size |
| Job Progress | /queryJobProgress | Bearer Token | Check percentage progress |