threejs-3d-generator

Generate, texture, rig, animate, and convert Three.js game assets via the Tripo API.

1|Updated Aug 20, 2023
One-click install
npx skills add https://github.com/imanlangaran/mini-projects --skill threejs-3d-generator-imanlangaran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-3d-generator
Source: https://github.com/imanlangaran/mini-projects/tree/main/building-sell/.claude/skills/threejs-3d-generator
Command: npx skills add https://github.com/imanlangaran/mini-projects --skill threejs-3d-generator-imanlangaran

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Creating game-ready 3D assets for Three.js projects normally requires manual modeling, rigging, and animation work. This Skill automates the full pipeline through the Tripo API, turning text prompts or 2D reference images into downloadable GLB/FBX models with textures, skeletons, and animation clips. ## Core Features & Use Cases - Text-to-3D and Image-to-3D Generation: Produce PBR-textured models with configurable texture quality, geometry quality, face limits, and low-poly conversion for browser performance budgets. - Auto-Rigging and Animation Retargeting: Run prerigcheck, body-plan-aware rig version routing (v1.0 for bipeds, v2.5 for creatures), skeleton validation with automatic retries, and preset animation retargeting with batching support. - Post-Processing and Conversion: Retexture models, stylize them as voxel/LEGO/Minecraft, and convert between GLB, FBX, and other formats with face-limit controls. - Use Case: Generate a rigged cyber-runner character with idle, walk, run, and jump animations using the character-pipeline command, then import the clips into a Three.js game with GLTFLoader and AnimationMixer. ## Quick Start Ask the AI to generate a game-ready 3D model from a text prompt using the threejs-3d-generator skill and download it into your project's assets/models directory.

Frequently Asked Questions about threejs-3d-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a 3D model from a text prompt for Three.js?

Run the threejs_3d_asset.py text command with a descriptive prompt, model version v3.1-20260211, and --wait --download flags. The script submits a text_to_model task to the Tripo API, polls until completion, and downloads the GLB/PBR outputs to your chosen directory.

How do I rig and animate a 3D character with the Tripo API?

Use the character-pipeline command, which chains generation, animate_prerigcheck, animate_rig with validation retries, and animate_retarget. Biped characters route to the v1.0-20240301 rig with FBX output, while creatures use the v2.5-20260210 rig with GLB clips.

Can I convert a 2D concept image into a 3D model?

Yes, the image command accepts a local PNG, JPEG, or WebP file or an image URL and submits an image_to_model task. Use --enable-image-autofix for rough images and --texture-alignment original_image when visual match to the reference matters.

Why do my retargeted animations look broken with collapsed limbs?

Collapsed limbs usually come from retargeting a v1.0 rig to GLB, since Tripo's GLB bake exports twist-bone transforms incorrectly. Retarget v1.0 rigs with FBX output instead, and never use animate_in_place, which corrupts baked clips on both rig versions.

What animation presets are available for Tripo rigged characters?

v2.5 rigs support 16 presets including idle, walk, run, jump, slash, and shoot for bipeds, plus one locomotion preset per creature rig type. Legacy v1.0 biped rigs unlock the larger preset:biped:* library with roughly 100 clips including dances.

What are the limitations of Tripo auto-rigging for game characters?

Auto-rigging is nondeterministic and can produce degenerate skeletons with missing or asymmetric limb chains, especially on armored hard-surface characters. The skill validates rigs before retargeting and retries failed rigs, but hero characters may still need manual refinement.