Search

PythonReactSEOPDF
OpenClaw

AI 3D Generation

Create, convert, and download AI-generated 3D models using Neural4D APIs. Optimized for commercial pipelines.

6e6e6e0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 6e6e6e/ai-3d-generation

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Setup

On first use, ensure the NEURAL4D_API_TOKEN environment variable is set. All API requests must include the header: Authorization: Bearer <YOUR_TOKEN>.

When to Use

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.

Core Rules & Cost Guardrails

1. Point Consumption Awareness

Always track API point costs before executing bulk runs:

  • Text to 3D: 20 points per operation.
  • Image to 3D: 20 points per operation.
  • Chibi-style Generation: 30 points per operation.
  • Format Conversion: 10 points per operation.
  • You can query the remaining balance at /api/queryPointsInfo.

2. Asynchronous Polling Contract

Model generation is asynchronous. You must poll for completion:

  • Query /api/retrieveModel using the uuid.
  • Check codeStatus:
    • 0: Generation complete.
    • 1: Generating (Wait and poll again).
    • -3: Generation failed.

Workflow Pipelines

Pipeline A: Text to 3D

  1. Request: POST https://alb.neural4d.com:3000/api/generateModelWithText.
    • Payload: {"prompt": "...", "modelCount": 4, "disablePbr": 0}.
  2. Retrieve: Extract uuids from the response.
  3. Poll: Call /api/retrieveModel with the uuid until codeStatus is 0.
  4. Download: Extract modelUrl and download the .glb asset.

Pipeline B: Image to 3D (Strict 3-Step Process)

  1. Matting: Submit the image (JPG/PNG, <10MB, 256x256 to 6048x8064) via multipart/form-data to /api/mattingImage. Extract the requestId.
  2. Get Matting Result: Send the requestId to /api/getMattedResult. Extract a preferred fileKey from the response.
  3. Generate: Send the fileKey to /api/generateModelWithImage to start generation and receive uuids.
  4. Poll: Use /api/retrieveModel to poll...

Source information

Source
github
Repository
openclaw/skills
Path
skills/6e6e6e/ai-3d-generation
Version
1.0.0
Commit
bdc029b05079f878e0cafed11117d7feeb2255c6
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
## Setup

On first use, ensure the `NEURAL4D_API_TOKEN` environment variable is set.
All API requests must include the header: `Authorization: Bearer <YOUR_TOKEN>`.

## When to Use

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.

## Core Rules & Cost Guardrails

### 1. Point Consumption Awareness
Always track API point costs before executing bulk runs:
- **Text to 3D:** 20 points per operation.
- **Image to 3D:** 20 points per operation.
- **Chibi-style Generation:** 30 points per operation.
- **Format Conversion:** 10 points per operation.
- You can query the remaining balance at `/api/queryPointsInfo`.

### 2. Asynchronous Polling Contract
Model generation is asynchronous. You must poll for completion:
- Query `/api/retrieveModel` using the `uuid`.
- Check `codeStatus`:
  - `0`: Generation complete.
  - `1`: Generating (Wait and poll again).
  - `-3`: Generation failed.

## Workflow Pipelines

### Pipeline A: Text to 3D
1. **Request:** `POST https://alb.neural4d.com:3000/api/generateModelWithText`.
   - Payload: `{"prompt": "...", "modelCount": 4, "disablePbr": 0}`.
2. **Retrieve:** Extract `uuids` from the response.
3. **Poll:** Call `/api/retrieveModel` with the `uuid` until `codeStatus` is `0`.
4. **Download:** Extract `modelUrl` and download the `.glb` asset.

### Pipeline B: Image to 3D (Strict 3-Step Process)
1. **Matting:** Submit the image (JPG/PNG, <10MB, 256x256 to 6048x8064) via `multipart/form-data` to `/api/mattingImage`. Extract the `requestId`.
2. **Get Matting Result:** Send the `requestId` to `/api/getMattedResult`. Extract a preferred `fileKey` from the response.
3. **Generate:** Send the `fileKey` to `/api/generateModelWithImage` to start generation and receive `uuids`.
4. **Poll:** Use `/api/retrieveModel` to poll...

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.