Logo Image To Sculpt

Image To Sculpt

Cộng đồng
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.

Tổng quan

Nhà phát hànhgokayfem
Kho mãimage-to-sculpt
Tên kỹ năngimage-to-sculpt
Sao
198
Bản fork
14
Tệp đi kèm
24
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 24 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được gokayfem công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Image To Sculpt trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/gokayfem/image-to-sculpt/tree/main/skills/image-to-sculpt
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Image To Sculpt trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Image To Sculpt ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Image To Sculpt với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Image To Sculpt làm được gì?

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

Vì sao nên dùng Image To Sculpt trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Image To Sculpt là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Image To Sculpt trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/gokayfem/image-to-sculpt/tree/main/skills/image-to-sculpt. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Image To Sculpt?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Image To Sculpt với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Image To Sculpt với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Image To Sculpt có miễn phí không?

Có. Kỹ năng này được gokayfem phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇