Build Minecraft Model From Image logo

Build Minecraft Model From Image

Organization
codepawl
build-minecraft-model-from-image

Turn a 2D picture of an object into a Minecraft-style 3D model, a few clean cuboids with pixel textures in the Blockbench look, never fine jagged voxels. Exports GLB, a viewer and renders. Use for "make this photo a Minecraft model", "block model from an image", "turn this object into blocks", "voxel from a picture".

Overview

Publishercodepawl
Repositoryviz3d
Skill namebuild-minecraft-model-from-image
Stars
89
Forks
8
Bundled files
12
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.

  • 12 bundled files

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

  • Open source

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

Installation

Install the Build Minecraft Model From Image 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/codepawl/viz3d/tree/main/plugins/build-minecraft-model-from-image/skills/build-minecraft-model-from-image
  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/codepawl/viz3d.git /tmp/viz3d
mkdir -p .claude/skills
cp -r /tmp/viz3d/plugins/build-minecraft-model-from-image/skills/build-minecraft-model-from-image .claude/skills/build-minecraft-model-from-image
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Build Minecraft Model From Image 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 Build Minecraft Model From Image 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 Build Minecraft Model From Image 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.

Build a Minecraft-style model from a picture

The agent looks at the picture and writes the model by hand as code. There is no image-to-3D model, no heightmap and no extrusion.

The look

A fine voxel grid looks jagged and ugly. The target is how Minecraft itself is modelled:

  • A few big flat cuboids, about 20 to 110 boxes (a round tier takes 5 to 9). Each box or tier is a real part of the object.
  • Every face carries a pixel texture at one texel per unit, so all pixels are the same size everywhere.
  • Model height is 16 to 40 units. Detail goes in the paint, not in more boxes: eyes, labels, seams, screws, patterns.
  • Round things are 2 to 5 stacked tiers of chamfered boxes (round, disc), never a staircase of tiny cubes.
  • Angled parts are one rotated box (beam, rotation=).
  • Palette from the picture, 3 to 5 close ramp steps per material. Low noise on smooth things, a little more on rough ones.

Steps

Scripts are in {{SKILL_DIR}}/scripts. Put each job in its own folder under {{WORK_DIR}}, with the picture as source.jpg. The scripts declare their Python dependencies inline, so uv run installs them. Blender 5.x does the renders. Set BLENDER_PATH if it is not on your PATH.

  1. Look at the whole picture at full size before any tool. Name each real part, and what is only shadow, reflection or background. Blueprints blur this: on the test run a port's shadow was read as a "dark neck", and a collared shirt as a white bib.
  2. Read it: uv run --no-project {{SKILL_DIR}}/scripts/read_image.py source.jpg --blocks 24 --box x0,y0,x1,y1 --out read. Add --clear-background 18 on a plain background so holes open up (handles, slats). This writes mask.png, blueprint.png (block coordinates with a ruler), palette.png and rows.json. Pick --blocks so the thinnest part that must show gets 1 to 2 units.
  3. Write the part sheet as the object script's docstring: what is visible, what is inferred for the unseen sides and why, what is left out. The camera view comes from measurement, see references/method.md, "Reading the view".
  4. Write the object script with SOURCE and build(kit). API and worked patterns: references/method.md. Worked examples of four shapes: examples/. Their source pictures are not included. Credits are in README.md at the repository root.
  5. Build: uv run --no-project {{SKILL_DIR}}/scripts/build_model.py object.py --out block --samples 48 --resolution 500. This writes model.glb, viewer.html, checks.json, overlay.png, compare.png and views/*.png with transparent backgrounds. Add --turntable 48 for turntable.mp4. --device auto is the default and goes to the CPU while the GPU is above 40% busy.
  6. Look at compare.png and fix what reads wrong, at least one round. Go through references/faults.md. Check the back and side views as hard as the picture's view. That is where a lazy model shows.
  7. Blind read for anything going public: ask a fresh subagent, or a person, who is not told the object to name it from the renders alone.

Hard rules

  • build_model.py exits 1 on floating parts or an extruded model. Fix the model. Do not loosen the check.
  • Warnings are real: coplanar overlaps flicker in every viewer, and too many or too tiny boxes mean the model is sliding back into voxels.
  • Silhouette overlap is a guide only. Thin frames and photos with perspective score low (a correct chair scores 0.45). Open overlay.png rather than chasing the number.
  • Rendering uses the GPU. When another job holds it, keep to --samples 24 --resolution 400, or use --no-render and viewer.html until it frees up.
  • Pictures need a clear licence if the result is published. Leave third-party logos and brand text out of the model and say so.
  • If the picture is not enough for the unseen sides of a real object, search reference views before inventing them.
  • After editing the scripts, run uv run --no-project {{SKILL_DIR}}/scripts/test_block_model.py (no GPU needed).

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 Build Minecraft Model From Image AI skill do?

Turn a 2D picture of an object into a Minecraft-style 3D model, a few clean cuboids with pixel textures in the Blockbench look, never fine jagged voxels. Exports GLB, a viewer and renders. Use for "make this photo a Minecraft model", "block model from an image", "turn this object into blocks", "voxel from a picture".

Why use Build Minecraft Model From Image on TypingMind?

Because you install it once and use it with any model. Build Minecraft Model From Image 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 Build Minecraft Model From Image in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/codepawl/viz3d/tree/main/plugins/build-minecraft-model-from-image/skills/build-minecraft-model-from-image. 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 Build Minecraft Model From Image?

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 Build Minecraft Model From Image?

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

Is the Build Minecraft Model From Image AI skill free?

Yes. It is published on GitHub by codepawl 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 👇