# Generate 3D Meshes (GLB, OBJ, STL) Directly From the Terminal and AI Agents

> Source: <https://dev.to/mit9/generate-3d-meshes-glb-obj-stl-directly-from-the-terminal-and-ai-agents-4fd4>
> Published: 2026-09-24 07:42:41+00:00

Integrating generative 3D meshes into web applications (Three.js, Babylon.js) or game engines usually involves manual asset downloads from web dashboards.

[hi3d-cli](https://github.com/MIt9/hi3d-cli) (`hi3d`) is a lightweight, zero-dependency CLI tool and agent skill for generating textured 3D models via the Hi3D API.

`.glb`, `.usdz`
`.obj`, `.fbx`
`.stl`, `.3mf`
`.exr`, `.png`, `.bmp`

```
npx -y hi3d-cli setup
```

The interactive wizard configures your Access & Secret keys from [platform.hi3d.ai](https://platform.hi3d.ai/console/apiKey) into `~/.hi3d/config.json`.

```
# Generate 3D model from image reference
hi3d generate --image ./concept.png --format glb --output ./public/models/character.glb
```

Pair with Claude Code via `npx -y skills add MIt9/hi3d-skills/hi3d-generate` to enable automated 3D modeling directly in your dev workflow.

`hi3d-cli`
