Logo: Image To Sculpt

Image To Sculpt

Communautéit
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.

Iwwersiicht

Editeurgokayfem
Repositoryimage-to-sculpt
Skill-Nummimage-to-sculpt
Stären
198
Forks
14
Matgeliwwert Dateien
24
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 24 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    gokayfem huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Image To Sculpt an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/gokayfem/image-to-sculpt/tree/main/skills/image-to-sculpt
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Image To Sculpt an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Image To Sculpt automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Image To Sculpt net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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).

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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, f...

Firwat Image To Sculpt op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Image To Sculpt besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Image To Sculpt an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/gokayfem/image-to-sculpt/tree/main/skills/image-to-sculpt an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Image To Sculpt benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Image To Sculpt benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Image To Sculpt domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Image To Sculpt gratis?

Jo. gokayfem huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇