← All projects
3D & design

img2threejs

Has an AI agent rebuild an object from a single photo as a 3D model made entirely of code.

What it does

You give img2threejs one picture of an object, and an AI coding agent rebuilds it as a 3D model for Three.js, a popular tool for 3D graphics in web browsers.

Instead of scanning or downloading 3D files, the model is built from simple shapes and generated textures written as code. It also includes moving parts and pivot points so the result is ready to animate.

It runs inside AI coding tools such as Claude Code, Codex or OpenCode. A gallery shows examples you can spin around in your browser.

Who it's for

Web developers, game makers and 3D hobbyists who use AI coding agents.

Can I use it without coding?

Developers only. Runs inside an AI coding agent and produces code for web projects. New to this? Start here.

Can I run it?

Cost
Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
API key
Not needed

Try it

  1. Look through the live demo gallery in your browser to see example models.
  2. Use it from an AI coding agent such as Claude Code, Codex or OpenCode.
  3. Give the agent one reference photo of an object to rebuild as a 3D model.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe