threejs-3d-generator
Generate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games using the Tripo API. Use for text-to-3D, image-to-3D, 2D concept to 3D conversion, game-ready GLB/FBX assets, characters, creatures, buildings, props, weapons, terrain pieces, auto-rigging, animation retargeting, model texturing, LEGO/voxel/Minecraft-style stylization, low-poly/quad conversion, and browser asset pipelines. Pair with threejs-image-generator for concepts, texture references, sky/background
Security Assessment
About threejs-3d-generator
threejs-3d-generator is the 3D-asset-generation layer of a Three.js game-building system. It uses the Tripo API to produce game-ready 3D assets — text-to-3D, image-to-3D, and multi-view-to-3D — and then to texture, auto-rig, retarget animations, stylize (LEGO/voxel/Minecraft-style), convert (low-poly/quad), and download GLB/FBX outputs ready to drop into a browser game. It solves the pipeline problem of turning prompts or concept images into usable, downloadable 3D models without leaving the agent workflow.
A bundled Python script (threejs_3d_asset.py) drives the Tripo API endpoints for task creation, polling, postprocessing, conversion, rigging, animation, and download, and the skill enforces a reference-ledger discipline: specific reference docs must be loaded before API work, before Three.js integration, and before pairing with the companion threejs-image-generator for concept and texture art. It is notably security-conscious about credentials — it instructs never to store API keys in skill files or client-side game code and never to paste a key value into a report, reads the key only from a --api-key flag or the TRIPO_API_KEY environment variable, and provides a probe command that prints only SET or MISSING. It also warns that generated download URLs expire quickly, so outputs should be downloaded immediately.
It targets game developers and technical artists building Three.js games who need characters, creatures, buildings, props, weapons, and terrain pieces produced and prepared for the browser. Its API calls go to the official Tripo endpoints with bearer-token auth, and its credential handling is defensive, so it is a benign asset-pipeline tool.
FAQ
What can it generate and prepare?
Text-to-3D, image-to-3D, and multiview-to-3D models, plus texturing, auto-rigging, animation retargeting, stylization (LEGO/voxel/Minecraft-style), low-poly/quad conversion, and downloadable GLB/FBX outputs for Three.js games.
What provider and API does it use?
Tripo, via its OpenAPI at api.tripo3d.ai with Authorization Bearer auth, driven by the bundled threejs_3d_asset.py script for task creation, polling, postprocessing, and downloads.
How are API keys handled?
Securely. Keys are never stored in skill files or client-side code and never pasted into reports; the script reads --api-key or the TRIPO_API_KEY environment variable, and a probe command prints only TRIPO_API_KEY=SET or MISSING.
Why do I need to download outputs right away?
Generated model download URLs expire quickly, so the skill instructs downloading outputs immediately after a task succeeds.
Does it work with a concept-art skill?
Yes. It is designed to pair with threejs-image-generator for 2D concepts, texture references, UI art, logos, decals, and image-to-3D inputs; the relevant reference doc must be loaded before that workflow.
Install threejs-3d-generator
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
majidmanzarpour/threejs-game-skills