DEV Community

Cover image for Generate 3D Meshes (GLB, OBJ, STL) Directly From the Terminal and AI Agents
Dmytro Bilukha
Dmytro Bilukha

Posted on

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

Demo Animation

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

hi3d-cli (hi3d) is a lightweight, zero-dependency CLI tool and agent skill for generating textured 3D models via the Hi3D API.


Supported Output Formats

  • Web & AR.glb, .usdz
  • Game Development.obj, .fbx
  • 3D Printing.stl, .3mf
  • Render Maps.exr, .png, .bmp

30-Second Setup

npx -y hi3d-cli setup
Enter fullscreen mode Exit fullscreen mode

The interactive wizard configures your Access & Secret keys from platform.hi3d.ai into ~/.hi3d/config.json.


Generating a 3D Mesh

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

Agent Integration

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

Top comments (0)