img2threejs
Skill by img2threejs
Rebuilds an object or character from a reference image as a code-only procedural Three.js model. It is for image-to-3D reconstruction, detail-accurate props and staged sculpt specs.
Install img2threejs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/img2threejs/img2threejs /tmp/img2threejs && mkdir -p ~/.claude/skills && cp -r /tmp/img2threejs ~/.claude/skills/img2threejsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/img2threejs/img2threejs /tmp/img2threejs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/img2threejs ~/.gemini/antigravity-cli/skills/img2threejsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
img2threejs rebuilds the object shown in a reference image as a code-only procedural Three.js model. The source says it is reconstruction by code, not photogrammetry, mesh extraction or downloaded art packs. The work follows a staged pipeline: image validation and analysis, a pre-spec assessment with a quality contract, a detail inventory, a sculpt spec, then pass-by-pass builds. Each pass is checked with screenshots against the reference.
A local state file tracks every step, and a script gates progress and limits correction loops. By default that is 3 corrections per pass and 6 in total. Domain profiles such as cs2 come from installable plugins. The skill works under Hermes, Claude Code, Codex or OpenCode. It suits developers and 3D artists who want animation-ready props, characters or stylized models built in code.
Written from the project's SKILL.md and checked against it.
What it can do
- Image validationChecks whether a reference image is a suitable 3D target before modeling starts.
- Layered image analysisBreaks the reference into macro, meso and micro parts, with materials named in PBR terms.
- Local spec searchPulls local domain evidence for anatomy, PBR, wear and geometry before writing a spec.
- Detail inventoryScans image zones and lists identity-defining small details to map into the model.
- Sculpt spec and staged buildWrites a component spec, then builds the model pass by pass from blockout to optimization.
- Screenshot verificationCompares a screenshot of each pass against the reference and fails passes with wrong identity features.
- Projection-first fidelityPlaces the reference photo's pixels on the mesh for painted or patterned surfaces.
- Progress gatingUses next.py and state.json to track steps, evidence and correction loop counts.
What you need
- Python 3.10 or newer
- Node.js for the npx installer
- Agent host: Hermes, Claude Code, Codex or OpenCode
Try asking
- Rebuild this chair photo as an animation-ready Three.js model
- Make a detail-accurate Three.js prop from my reference screenshot
- Write a sculpt spec for this character image before any code
Good to know
- A single image cannot reveal hidden sides or guarantee exact geometry.
- Output is approximate or stylized when the source says so.
- Domain profiles such as cs2 need a separate plugin install.
- Animation gates run only with the animated-character profile.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore4 KB -
CHANGELOG.md41 KB -
CLAUDE.md3 KB -
CONTRIBUTING.md8 KB -
LAB-FINDINGS.md6 KB
Show all 10 files
-
LICENSE11 KB -
README.md45 KB -
ROADMAP.md20 KB -
SKILL.md33 KB -
package.json924 B
Alternatives to img2threejs
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
img2threejs: common questions
Does img2threejs use photogrammetry?
No. The source says it is reconstruction by code, not photogrammetry, mesh extraction or downloaded art packs.
Does it need pip installs?
No. The source says it is pure Python 3.10+ stdlib with no pip installs.
Can it model the back of an object from one photo?
The source says a single image cannot reveal hidden sides, and the skill states this instead of faking confidence.
How do I install img2threejs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is img2threejs free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is img2threejs safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to img2threejs?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
