Pular para o conteúdo
Skillpedia
Imagens e ícones20 mil · #10388

img2threejs

O que ela faz

Esta skill faz a IA transformar uma imagem de referência de um objeto ou personagem em uma cena 3D pronta para animação, construída a partir de código. É para quem quer um modelo 3D que corresponda a uma imagem sem baixar um recurso 3D pronto.

Quando usar

  • ✓Quando você tiver uma foto ou um desenho de um objeto e quiser um modelo 3D dele para a web.
  • ✓Quando quiser um personagem 3D estilizado baseado em uma imagem de referência.
  • ✓Quando precisar verificar o quão parecido está o modelo 3D com a referência e corrigir as diferenças.

Link da skill

https://github.com/img2threejs/img2threejs/blob/main/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/img2threejs/img2threejs/blob/main/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Recrie esta foto de cadeira como um modelo 3D que eu possa mostrar em uma página web com Three.js.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA trabalha em etapas: escreve o código da forma, compara a renderização com a imagem de referência e corrige o modelo em um ciclo até que ele fique suficientemente parecido.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

img2threejs — Image to procedural Three.js

Rebuild the object visible in a reference image as a code-only procedural Three.js model, gated by a staged sculpting pipeline and an AI-vision self-correction loop. This is reconstruction-by-code, not photogrammetry, mesh extraction, or downloaded art packs. That promise governs how the model is built — it says nothing about which file formats it can subsequently be exported to; an explicitly-selected emission target (--target <kind>) is a terminal, whole-artifact transform of the already-built model, verified to its own stated limit, never a second way to build one.

Agent-agnostic: works under Hermes, Claude Code, Codex, or OpenCode. Wherever this doc says "agent vision" or "agent browser tool", use whatever the host provides — native image reading, a browser MCP (playwright/chrome-devtools), the project preview, or a user-supplied screenshot.

This file is the always-loaded router: it holds the order of operations and every hard rule as one line. The full contract behind each rule lives in the grimoire/ or docs/ file that rule names — read the named file at the moment you reach that stage, not before.

Canonical shared checkout

Keep one checkout of this repository and let every host enter it through a symlink, so the hosts execute the same code instead of drifting apart. npx --yes img2threejs@latest install does this for the hosts it detects (hermes, claude, codex, opencode); it refuses (exit 2) to replace a link it does not manage, so a hand-made link is never silently swapped for a release copy. Hermes reads skills per profile: also link ~/.hermes/profiles/<profile>/skills/img2threejs (the installer writes only ~/.hermes/skills/). Install, manual symlinks, and troubleshooting: docs/INSTALL.md.

When To Use

The user attaches/points to an object image and wants a procedural Three.js model, a reconstruction/animation/destruction plan, a sculpt spec, or code. Also for material studies, action-ready props, game objects, botanical/mechanical parts, and stylized reconstructions.

Profile preflight (once per run, before forge/next.py)

Domain knowledge (CS2 skins, animated characters, emission targets) lives in plugins, not in this checkout. Pick the profile from the subject, then confirm this environment can start it:

python3 forge/state.py init --help | grep -- --profile   # profiles available here
  • generic / character are built in: no harness, no plugin, nothing else to check.
  • A missing domain profile (e.g. cs2) is a setup gap: never downgrade to generic silently. Installing it edits the user's machine, so give them the commands in docs/INSTALL.md §3, get their go-ahead, re-check, and continue.
  • Installed but not listed (wrong $IMG2_HOME), or a Hermes plugin link: docs/PLUGINS.md.
  • Then read what the profile's own steps name, at the moment you reach them: the plugin's SKILL.md and contracts govern that domain.

Core Promise

Sculpt from a photo, in order — never one-shot a mesh:

  1. Run python3 forge/next.py --state .img2threejs/state.json [<spec>] first, at every start, resume, and before every correction iteration. It reports the ordered checklist, exact next command, evidence status, and bounded correction-loop status; it never replaces the spec/pass gates. Obey a hard stop; never continue from memory.
  2. Validate the image is a suitable 3D target (grimoire/intake/validation_rubric.md).
  3. Assess object class + complexity, then write a qualityContract before any code.
  4. Spec it: component hierarchy, materials, lighting, pivots, sockets, action anchors.
  5. Build pass-by-pass from blockout → structure → form → material → lighting → interaction → optimization.
  6. Verify each pass with a screenshot compared against the reference; fail a pass if an identity-defining feature is wrong even when the global score looks fine.

State explicitly when output is approximate/stylized/low-poly. A single image cannot reveal hidden sides or guarantee exact geometry — say so instead of faking confidence.

Mandatory Local State Gate

Conversation context is disposable; .img2threejs/state.json is the local checklist authority. Initialize once per reconstruction, then gate every step through it:

python3 forge/state.py init --state .img2threejs/stat
Perguntas frequentes

Ela escaneia ou copia o objeto?

Não. A skill descreve uma reconstrução somente com código, e não fotogrametria nem extração de malha.

Ela exporta arquivos?

A skill menciona uma exportação opcional para outros formatos, para um destino escolhido, depois que o modelo estiver pronto.

O que preciso fornecer?

Uma imagem de referência. A IA pode usar uma ferramenta de navegador para ver a própria renderização durante a verificação.

Detalhes

Descrição original do autor

Turn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.

repo: img2threejs/img2threejs

Popularidade

Estrelas no GitHub
20 mil
Posição no ranking
#10388
Licença
Apache-2.0
Atualizada em
28/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Skills parecidas