image-to-sculpt

A skill and CLI that turn one image into a watertight 3D sculpt fitted to that image's own depth, normals and outline. Generated side views are checked and rejected when they disagree, every step is recorded, and Blender replays the build as a timelapse.

  • 226 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

claude plugin marketplace add gokayfem/image-to-sculpt
image-to-sculpt — skill preview

What it is

Image 2 Sculpt starts from a complaint. Ask an agent for "a 3D model of this" and it either calls a black-box image-to-3D model or sculpts blind, and nobody can say how well the result matches the picture. This skill keeps the photo in charge. MoGe estimates the focal length and metric depth, Marigold the surface normals, and BiRefNet, the alpha channel or a SAM-3 text prompt the mask. Wherever the photo shows a surface, the photo decides its shape. The unseen sides come from generated views, 9 by default plus 1 held out, and none of them is trusted. The README notes that views requested at +45°, +90° and −90° actually came back at +20°, −115° and +35° in the first test case. So each view's camera is found by search. A view that disagrees with the visual hull of the others is rejected and the reason is recorded. Fitting runs as many small recorded passes (forms, surface, detail, polish) on an exact signed distance field. Each view is then checked side by side on a map sheet, with no single "quality" score. The last stage is presentation. Blender renders every recorded step from the photo's camera, a 360° turntable and a .blend file, and exports GLB, OBJ and STL. A timelapse puts the reference beside the sculpt at each step. Paid fal calls go through a per-case budget, and the README puts a typical case at about $2. It is MIT licensed. We read the README and did not run a case.

Who it's for

  • 3D printing hobbyists turning a figurine photo or character render into an STL
  • Artists who need to show how a model was built and how closely it matches the concept art
  • Agent users on Claude Code, Codex, Cursor, Copilot or Gemini CLI

Requirements

Requirements

  • Python 3.10+ with numpy, scipy, scikit-image and Pillow (requirements.txt adds fal-client and matplotlib)
  • Blender 5.2+ and ffmpeg for the replay and films
  • A fal API key in FAL_KEY for masks, depth, normals and generated views (a typical case costs about $2 per the README)

Setup

  1. Step 1

    bash
    claude plugin marketplace add gokayfem/image-to-sculpt
  2. Step 2

    bash
    claude plugin install image-to-sculpt@image-to-sculpt
  3. Step 3

    bash
    npx skills add gokayfem/image-to-sculpt
  4. Step 4

    bash
    python3 skills/image-to-sculpt/scripts/i2s.py doctor

مهارة وأداة سطر أوامر تحوّل صورة واحدة إلى مجسّم ثلاثي الأبعاد مغلق، مطابق لعمق الصورة واتجاهات سطحها وحدودها. تُفحص المناظر الجانبية المولّدة وتُرفض المتعارضة منها، ويُسجَّل كل خطوة ويعيد Blender بناءها كفيديو.

Examples

Sculpt a figurine

Prompt
prompt
Sculpt this figurine in 3D: `owl.jpg`.

Expected output: First request listed under 'Use' in the README.

Printable model with the build shown

Prompt
prompt
Turn this character render into a printable model and show me how it was built.

Expected output: Ends with GLB/OBJ/STL and a timelapse of the recorded steps.

Use your own photos

Prompt
prompt
Here are four photos of my statue. Make a mesh that matches them.

Expected output: Your photos replace the generated views (views --import).

Check an existing model

Prompt
prompt
How well does this model match the concept art? Check it.

Expected output: Uses the per-view map sheets and metrics.

Run a case from the CLI

bash
bash
python3 skills/image-to-sculpt/scripts/i2s.py new cases/owl --input owl.jpg --subject "carved wooden owl figurine"
python3 skills/image-to-sculpt/scripts/i2s.py run cases/owl

What it does: 'run' does every stage after 'new'; each stage can also run on its own.

Pros & cons

Pros

  • Pro:Measured, not guessed: silhouette IoU, outline distance and normal angle per view, plus a held-out view that never shapes the surface
  • Pro:Generated views are registered by search; mismatched ones are rejected with the reason recorded
  • Pro:Exact signed distance field after every operation, so no voxel staircases or rings
  • Pro:Every step is replayed in Blender; exports GLB, OBJ, STL and a .blend with the photo as camera background
  • Pro:Per-case budget on paid calls; tests run in CI without fal, Blender or ffmpeg; MIT

Cons

  • Con:Costs money through fal (about $2 for a typical case, per the README)
  • Con:Heavy setup: Python stack, Blender 5.2+, ffmpeg and an API key
  • Con:Out of scope: scenes and rooms, hair-thin structures, transparent or mirror materials