Image To Sculpt logo

Image To Sculpt

Community
gokayfem
image-to-sculpt

Turns one image of any subject (an AI image, a render, a photo of a figurine or product, a drawing, or an idea turned into an image first) into a watertight 3D sculpt that is measured against the image and recorded step by step in Blender: front maps (mask, metric depth and focal length, normals), generated views of the unseen sides (registered over the whole circle and screened), a visual hull, then many recorded fit passes against every normal map, silhouette and the photo's depth, with symmetry, focus regions, gap cuts and smoothing. Ships a CLI (`scripts/i2s.py`) for case scaffolding, fal calls with a budget, registration, carving, fitting, map checks, Blender replay, timelapse and turntable films, exports (GLB, OBJ, STL) and a report. Use when the user wants a 3D model or sculpt "from this image", a figurine or character turned into a mesh, a sculpting timelapse, or a check of a 3D model against a reference image. Not for scenes or rooms, text-to-3D without any image, rigging or animation, PBR texturing, or CAD-accurate parts.

Overview

Publishergokayfem
Repositoryimage-to-sculpt
Skill nameimage-to-sculpt
Stars
198
Forks
14
Bundled files
24
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 24 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by gokayfem on GitHub. Read the source before you install it.

Installation

Install the Image To Sculpt AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gokayfem/image-to-sculpt/tree/main/skills/image-to-sculpt
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gokayfem/image-to-sculpt.git /tmp/image-to-sculpt
mkdir -p .claude/skills
cp -r /tmp/image-to-sculpt/skills/image-to-sculpt .claude/skills/image-to-sculpt
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image To Sculpt in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Image To Sculpt on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Image To Sculpt is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image 2 Sculpt

One image in, a sculpt out that you can prove: every surface the image shows is fitted to that image's own normals, outline and depth in its own camera, every hidden surface comes from generated views that had to agree with each other first, and every step of the build is recorded and replayed in Blender.

Input routing

Any input ends in the same case layout (i2s.py new CASE --input ...). Details: references/inputs.md.

InputDo thisNotes
A character/creature/object render or AI imagenew → runthe main path
A photo of a real object (figurine, toy, product, statue)new --kind photo → runMoGe gives real focal length and depth
A cut-out PNG with transparencynew → runthe alpha channel is the mask; no mask call
A busy image with several things in itprep --select "the red dragon"SAM-3 picks the subject
A drawing, sketch or flat illustrationprep --restylenano banana turns it into a 3D render first, keeping the pose
Several photos of the same objectviews --import DIRyour photos replace generated views; angles found by registration
Only an ideaimagine OUT.png "idea" → newa clean full-figure render to start from
No API keya cut-out PNG (+ your own views)front-only works too: the silhouette is inflated, depth behind is a guess

Workflow

Post a labelled visual at every checkpoint (checks/sheet_*.png, the views sheet, a turntable frame): images first, numbers second. Fix rounds add steps; nothing recorded is ever edited.

  1. Scaffold. i2s.py new CASE --input IMG --subject "short noun phrase". Look at the image and write the subject phrase yourself ("stocky cartoon troll", "ceramic owl figurine"): it goes into every view prompt. The input is copied with its sha256 and padded to the nearest generator aspect ratio, so every view shares one lens.
  2. Front maps. i2s.py prep CASE (mask, MoGe-3 depth + focal length, Marigold normals; units normalised to the subject). Check ref/front_mask.png and ref/front_normals.png before going on. Wrong subject picked → --select. Drawing → --restyle.
  3. Views. i2s.py views CASE (9 views + 1 held out, ~$2 estimated; --set minimal for 5). Look at every generated image: a changed pose, an extra limb or a cropped subject is a bad view. Registration will reject views that disagree (IoU < 0.80 against the hull of the others), but say what you saw. Regions no view sees need new views at angles that look into them (--angles "-30:25"), not more smoothing (references/views.md).
  4. Hull. i2s.py hull CASE: registration of every view (the asked-for angle is only a prior: left/right swaps are found, front/back is kept), re-centring, screening, the recorded carve, symmetry detection. Read the registered angles in case.json; i2s.py symmetry CASE on|off overrides the detected mirror plane.
  5. Fit. i2s.py fit CASE --stage all (forms → surface → detail, 38 recorded passes), then cut (opens gaps between fingers, legs, arm and body that the photo shows), smooth (removes webs and specks), fit --stage polish. i2s.py run CASE does steps 2-8 in order with this default plan (references/fitting.md).
  6. Check and iterate. i2s.py check CASE writes a sheet per view: reference, reference normals, sculpt, normal error, silhouette difference. Look for lumps, webs, missing gaps, flattened features. Target them: parts CASE --prompt "hands" then fit --stage focus --region hands, cut --region hands, smooth --region box:... (references/checking.md). Never claim a fix without the before/after sheet.
  7. Finish, Blender, films. finish (facet smoothing, OBJ/STL), blender (every step replayed from the photo's camera, 360° turntable, each view, sculpt.blend, GLB), film (two-panel timelapse that ends in the 360° turn, turntable, views sheet, hero image) (references/blender-and-delivery.md).
  8. Report and stop. report writes out/REPORT.md, out/index.html and the per-step chart. Present the timelapse, the views sheet and the measured table, say what is weak, and stop. The user decides what next.

Hard rules

  • The photo governs what it sees. Generated views only fill in where the photo does not see; their depth is never used (it disagrees by centimetres between views). Never average a generated view's normals over the photo's.
  • Register every view; never trust the requested angle. Generated views were off by 20–155° on the troll, mostly left/right swaps. The search allows those but keeps front views in front and back views behind (a symmetric subject's back outlines like its front). Read the registered angles in case.json.
  • Screen before you carve. A view that disagrees with the others is a different subject or pose: reject it (and say so) rather than cutting the sculpt with it.
  • Hold one view out. It never moves the surface; its camera is frozen before fitting. Report it separately from the views used to fit. It is generated too, so it measures consistency, not truth.
  • Measure, don't eyeball alone. IoU, outline distance, normal angle, roughness against the reference's own roughness, the photo's depth. One number never stands for "quality": report them side by side.
  • Distance fields stay exact. Every operation re-distances the grid (exact triangle distances in a band, EDT beyond). Offsetting an inexact field, mirroring the field itself, or blurring normal targets made staircases, moiré rings and flattened noses in the case this was built from (references/lessons.md).
  • Record everything. Every carve, pass, cut and smoothing is a step in build/steps/ and build/log.jsonl, replayed in Blender and shown in the timelapse. Never edit a recorded step; add a new one.
  • Paid calls: every fal call goes through the case budget (settings.budget_usd), its request id is saved in case.json before waiting, and nothing is resubmitted blindly. FAL_KEY is never printed or written.
  • Visual feedback at every checkpoint, and frame 0 of every film is a finished thumbnail.
  • Say what is invented. The back of a subject seen only from the front is the generator's guess.

References

FileRead when
references/inputs.mdrouting an unusual input; masks, restyle, select, imported photos, idea-only
references/views.mdgenerating, judging, registering, screening and adding views
references/fitting.mdwhat a pass does, stages, parameters, cut / smooth / focus, the default plan
references/checking.mdreading map sheets and metrics, the held-out view, what to fix next
references/blender-and-delivery.mdBlender replay, films, exports, the report, the review page
references/conventions.mdworld frame, cameras, units, file formats (for writing new tools)
references/lessons.mdwhat went wrong on the first cases and why the rules above exist

Templates: templates/CONTRACT.md (copied into every case), templates/acceptance.json (targets).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Image To Sculpt AI skill do?

Turns one image of any subject (an AI image, a render, a photo of a figurine or product, a drawing, or an idea turned into an image first) into a watertight 3D sculpt that is measured against the image and recorded step by step in Blender: front maps (mask, metric depth and focal length, normals), generated views of the unseen sides (registered over the whole circle and screened), a visual hull, then many recorded fit passes against every normal map, silhouette and the photo's depth, with symmetry, focus regions, gap cuts and smoothing. Ships a CLI (`scripts/i2s.py`) for case scaffolding, f...

Why use Image To Sculpt on TypingMind?

Because you install it once and use it with any model. Image To Sculpt is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Image To Sculpt in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gokayfem/image-to-sculpt/tree/main/skills/image-to-sculpt. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Image To Sculpt?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Image To Sculpt?

As many as you like. As long as a model supports skills, you can use Image To Sculpt with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Image To Sculpt AI skill free?

Yes. It is published on GitHub by gokayfem under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇