img2threejs
Skill for creating procedural Three.js scenes from images · Free
A skill for AI agents that helps recreate an object from a reference image as procedural Three.js TypeScript code: shapes, materials, lighting, and interactive parts, with sequential visual checks.
Also known as: img2threejs/img2threejs; img2threejs.io

What you can use for free
Skill code is free under Apache 2.0.
Paid features and costs
The AI model, API, and compute are billed separately; this grants no additional licenses for external assets.
Access and limitations
The skill helps write an editable scene; reference and external asset rights remain separate.
Use cases
- Create a stylized 3D object for a web scene from an image
- Build a controllable model with separate parts
- Check similarity between the reference and result at each stage
Example workflow
A possible workflow; this is not a report of hands-on testing.
Obtain an editable web object from a reference
Before you start
- An image you have permission to use
- Viewpoint, acceptable stylization, and interaction requirements
Steps
- Give the agent the reference and the target Three.js scene's constraints.
- First agree on the silhouette and large forms, then materials and details.
- Compare viewpoints, check interactive parts, and assess rendering cost.
Check your result
- Hidden sides and details are not presented as an accurate reconstruction.
- The model works in the target web scene and does not overload a phone.
Choosing img2threejs
Create a stylized 3D object for a web scene from an image
Choose this when
- Create a stylized 3D object for a web scene from an image
- Build a controllable model with separate parts
- Check similarity between the reference and result at each stage
Consider alternatives when
- When choosing for this topic, compare img2threejs with Spline. A candidate to compare under the topic: 3D modeling, WebGL and interactive 3D scenes. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- When choosing for this topic, compare img2threejs with Blender. A candidate to compare under the topic: 3D modeling. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Prepare additional views to refine the shape; the described silhouette-based reconstruction requires at least two orthographic views.
Things to consider
- Costs and limits of free use: The AI model, API, and compute are billed separately; this grants no additional licenses for external assets.
- Terms of use: Apache 2.0 for the repository. Check source image, dependency, and external asset rights separately.
- The result is procedural geometry and code, rather than a photogrammetric copy or guaranteed accurate 3D model.
- A single image does not define hidden sides.
- One viewpoint does not reveal hidden geometry; a confidence estimate for individual regions does not prove the entire model's accuracy.
Frequently asked questions
What can you use for free in img2threejs?
Skill code is free under Apache 2.0.
What additional costs might arise with img2threejs?
The AI model, API, and compute are billed separately; this grants no additional licenses for external assets.
What terms of use matter for img2threejs?
Apache 2.0 for the repository. Check source image, dependency, and external asset rights separately.
Which environment can you use img2threejs in?
Tech stack: Three.js, TypeScript, Python.
How do you get started with img2threejs?
Give the agent the reference and the target Three.js scene's constraints. First agree on the silhouette and large forms, then materials and details. Compare viewpoints, check interactive parts, and assess rendering cost.
What should I do about an object's invisible side in img2threejs?
The README describes uncertainty in hidden regions and confidence estimates. Additional views and silhouettes narrow down possible shapes. The result is a procedural scene and editable code, rather than a guaranteed accurate reconstruction from one image.
Related tasks and approaches
- Spline
A candidate to compare under the topic: 3D modeling, WebGL and interactive 3D scenes. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- Blender
A candidate to compare under the topic: 3D modeling. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- React Three Fiber + Drei
A candidate to compare under the topic: WebGL and interactive 3D scenes. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Tech stack
- Three.js
- TypeScript
- Python
License
Apache 2.0 for the repository. Check source image, dependency, and external asset rights separately.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsUsage details
The result is procedural geometry and code, rather than a photogrammetric copy or guaranteed accurate 3D model. A single image does not define hidden sides. Python 3.10+ is specified for verification scripts; exporters for other engines in the roadmap are not considered a completed feature.
Technologies and topics
- Three.js
- TypeScript
- Procedural 3D
- Image to 3D