Logo Text To Blender

Text To Blender

Cộng đồng
RobLe3
text-to-blender

Điều khiển Blender bằng ngôn ngữ tự nhiên: tạo hoặc chỉnh sửa mô hình 3D, vật liệu, ánh sáng, camera, hình render, hoạt ảnh và bản xuất thông qua Blender MCP. Chuyển các yêu cầu về cảnh hoàn chỉnh cho kỹ năng chuyên ngành và yêu cầu về khung dây/ảnh tham chiếu cho kỹ năng dựng lại. Cũng dùng cho yêu cầu 3D không nêu tên Blender. Cần cấu hình backend MCP chính thức hoặc ahujasid.

Add to TypingMind

Tổng quan

Nhà phát hànhRobLe3
Kho mãcc-blender-skill
Tên kỹ năngtext-to-blender
Sao
131
Bản fork
14
Tệp đi kèm
41
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ộ.

  • 41 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 RobLe3 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 Text To Blender 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/RobLe3/cc-blender-skill/tree/main/plugin/skills/text-to-blender
  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/RobLe3/cc-blender-skill.git /tmp/cc-blender-skill
mkdir -p .claude/skills
cp -r /tmp/cc-blender-skill/plugin/skills/text-to-blender .claude/skills/text-to-blender
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 Text To Blender 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 Text To Blender 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 Text To Blender 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.

MCP backend

Use when: User asks for any 3D creation, modification, lighting, rendering, animation, or export task. Anything involving Blender or that should reasonably be done in Blender.

Before the first Blender call, read references/mcp-backends.md. Prefer official MCP for shared capabilities; preserve the selected backend for the whole task. Tool names in recipes are client/legacy examples: map them through that reference and its agent-host guide.

Text-to-Blender Orchestrator

Turn plain-English requests into Blender work. You are the conductor: read the request, decide which sub-skills to chain-load, sequence them in the right order, and execute via the Blender MCP.

Multi-skill harmonization

For complex tasks that trigger multiple Blender skills, especially reference/template/brand work, load blender-skill-harmonizer before choosing the execution order. It owns precedence, handoff artifacts, and conflict policy.

If the user rejects an output as sub-par, says the same issue is recurring, or asks to improve the skill stack before retrying, load quality-refinement-autoloop before further product work. It turns evidence into a sanitized reusable lesson, patches generic skills/docs/versioning when explicitly requested, and only then resumes the Blender repair loop.

How this skill works

The user speaks in tasks ("render a hero shot of a sword on a stone"); you:

  1. Identify intent → which capabilities are needed (modeling? materials? lighting? rendering? export?).
  2. Check prerequisites → MCP server reachable, scene state.
  3. Reset world to a known-good baseline (see World reset below) — prevents leftover broken HDRI / Environment Texture nodes from previous runs corrupting the render.
  4. Look up real-world dimensions for the subject (references/common-object-dimensions.md) BEFORE generating Python. A "sword" has specific proportions; a "chair" has specific proportions; do not guess.
  5. Route to sub-skills → load the relevant ones with the host's file-reading tool and follow their instructions.
  6. Sequence the work in the order pros use (see references/assembly-order.md).
  7. Execute generated Python with the selected backend's code-execution tool.
  8. Validate with the selected backend's scene/object inspection and screenshot or render tools — see Visual validation checkpoint below. Numerical validation alone is not enough: the API can report success while geometry is grossly wrong.
  9. Iterate — if the visual check shows an obvious problem (subject barely visible, wrong proportions, wrong orientation), fix and re-render BEFORE reporting success.
  10. Report to the user with concrete numbers AND a path to the proof render they can inspect.

World reset (always step 3, before any composition)

Previous tests can leave the scene's world in a broken state — particularly an Environment Texture node with image=None cascading into Background, which produces a magenta-flooded render. Reset world to a neutral baseline at the start of every scene-build:

python
def reset_world(scene, color=(0.04, 0.04, 0.05, 1.0), strength=0.4):
    world = scene.world
    world.use_nodes = True
    nodes = world.node_tree.nodes
    for n in list(nodes):
        nodes.remove(n)
    output = nodes.new('ShaderNodeOutputWorld')
    bg = nodes.new('ShaderNodeBackground')
    bg.inputs['Color'].default_value = color
    bg.inputs['Strength'].default_value = strength
    world.node_tree.links.new(bg.outputs['Background'], output.inputs['Surface'])

If the user wants HDRI lighting, override this AFTER it runs (load the actual .hdr file and verify env.image is not None).

Visual validation checkpoint (always between steps 8 and 10)

After rendering, always:

  1. Inspect the completed render (on official MCP, read the returned filepath). For quick GUI checks use the selected backend's screenshot tool. Headless sessions require a render, not a screenshot.
  2. Visually verify against the user's request. Specifically:
    • Subject is visible and recognisable (not a thin streak, not magenta-flooded, not entirely in shadow)
    • Proportions match the real-world reference dimensions for that subject
    • Composition is reasonable (subject in frame, not clipped at edges, not microscopic in one corner)
    • Materials have visible variation (not perfectly flat plastic-looking surfaces) — for production-quality scenes, add procedural texture nodes
  3. If the render is obviously wrong, do NOT report success. Iterate: identify the specific problem, fix it, re-render, re-check.

A render passing every numerical check (object count, vertex count, file size, no error messages) can still look completely wrong. The user only sees the picture. Make sure the picture matches the request before declaring done.

Set viewport to Material Preview mode (last step before reporting)

The user is often looking at Blender's viewport, not the rendered file. Blender defaults the viewport to Solid shading mode which ignores all materials and shows everything as flat grey. After scene assembly, switch the viewport to Material Preview so the user actually sees the materials they got:

python
import bpy

for area in bpy.context.screen.areas:
    if area.type == 'VIEW_3D':
        for space in area.spaces:
            if space.type == 'VIEW_3D':
                space.shading.type = 'MATERIAL'           # or 'RENDERED' for full quality
                space.shading.use_scene_lights = True
                space.shading.use_scene_world = True

Skip this only when the user has explicitly asked you to leave the viewport alone.

Real-world dimension lookup

Before sizing any subject from natural language, consult references/common-object-dimensions.md. It lists realistic proportions for common requests:

SubjectTotalNotes
One-handed sword~95-100 cm longBlade 78cm × 4.5cm × 0.8cm; guard 20cm × 2.5cm; grip 13cm; pommel 5.6cm
Chairseat ~45cm × 45cm × 4cmSeat height 45cm; back ~45cm tall
Bottle25-30cm tallBody ø8-10cm; neck ø2-3cm

The full reference list lives in references/common-object-dimensions.md. Do not guess.

Prerequisites — always check first

Before any work, verify:

  1. Blender MCP is reachable. Use the selected backend's scene query from references/mcp-backends.md. If it cannot connect:

    "Start the selected backend's add-on socket and matching MCP client process, then re-run. Official MCP requires Blender 5.1+."

    Stop and ask the user to fix this.

  2. Scene state. get_scene_info returns the current objects. Decide:

    • Empty scene? → Start fresh; build from primitives.
    • Existing objects? → Operate on them; do NOT delete unless asked.
    • Default cube only? → Probably safe to delete (bpy.ops.object.delete()).
  3. The user's actual request. If ambiguous, ask one question. Otherwise proceed with sensible defaults.

Intent → sub-skill routing table

For each intent the user expresses, load (with the host's file-reading tool) the matching sub-skill's SKILL.md and follow its patterns. Multiple intents = chain multiple sub-skills.

User intent (paraphrased)Load these sub-skillsOrder
"Make a 3D model of X"blender-modeling1st
"From this wireframe drawing"wireframe-to-3d1st
"Use these materials / make it look like X"blender-materialsAfter modeling
"Light it / studio setup / cinematic"blender-lightingAfter geometry exists
"Hero shot / camera angle / DoF"blender-camerasAfter lighting
"Render it / produce an image"blender-renderingLast visual step
"Animate / move / rotate over time"blender-animationAfter geometry
"Export as glTF / FBX / OBJ / for web / for Unity"blender-exportFinal step
"Set up a scene / production-quality result"blender-pro-workflowFirst — guides everything
"I'm new / not sure where to start"blender-pro-workflowFirst
"This is sub-par / still wrong / same issue again"quality-refinement-autoloop, then blender-skill-harmonizerFirst — learn, sanitize, patch, then retry
"Match these templates / wireframes / textures exactly"blender-skill-harmonizer, then reference-specific fit skillsFirst — establish source-of-truth gates

Multi-intent example: "Model a sword with materials, light it dramatically, and export as glTF" →

  1. blender-pro-workflow (sequencing strategy)
  2. blender-modeling (sword geometry)
  3. blender-materials (steel + leather grip)
  4. blender-lighting (dramatic 1-point or rim setup)
  5. blender-export (glTF settings)

Pro assembly order (when in doubt)

This order minimizes rework. When the user gives a multi-step request, follow it:

  1. Reference + plan — note the goal.
  2. Block-out — primitives + camera + composition. Cheapest to iterate.
  3. Camera lock — pick focal length, frame the shot.
  4. Light v1 — three-point (key/fill/rim) before any material work. Light defines mood.
  5. Refine geometry — replace primitives with real models.
  6. Materials v1 — flat colors first, get values right.
  7. Light v2 — color + ratios.
  8. Detail pass — only after the above is right.
  9. Final render — production samples + denoise.
  10. Composite — color grade, glare, vignette.
  11. Export — for the target platform.

Source: references/assembly-order.md (deeper rationale).

Code-execution rules — non-negotiable

When emitting Python for the selected backend's code-execution tool:

  • Each call is a fresh namespace. Only bpy is pre-imported; re-import math, bmesh, numpy, etc. each call.
  • Identify objects by stable name, never by Python variable. bpy.data.objects['GEO-sword'] works across calls; a sword = ... assignment does not.
  • Check backend response status as well as stdout. On official MCP assign a JSON-serializable result dict; print-only recipes remain supported. Print structured output so you can parse it back. End each chunk with print(f"...") reporting what changed (object names, vertex counts, file paths).
  • Chunk the work. 180-second timeout per call. Don't dump 500 lines in one call — split into ~5–20-line chunks.
  • Use Blender Studio naming conventions for everything you create: GEO-, MAT-, LGT-, CAM-, ARM-, COL-. Never leave anything as Cube.027.

Standard skeleton for every operation

python
import bpy
# (re-import other modules here as needed)

# 1. Scope: identify or create objects by NAME
obj = bpy.data.objects.get('GEO-target') or bpy.data.objects.new('GEO-target', None)

# 2. Do the work
# ...

# 3. Report
print(f"done:GEO-target {len(obj.data.vertices) if obj.data else 0}")

Naming conventions (apply to everything you create)

PrefixMeaning
GEO-Geometry / mesh objects
MAT-Materials
LGT-Lights
CAM-Cameras
ARM-Armatures (rigs)
COL-Collections
WGT-Custom bone shapes / widgets

Suffix .L / .R for left/right. Examples: GEO-sword_blade, MAT-steel_brushed, LGT-key.

Validation rule of thumb

After significant work, call mcp__blender__get_scene_info and verify:

  • Expected objects exist with correct names.
  • Object counts make sense (no runaway duplication).
  • Polycount roughly matches target.

Before reporting success on a render or export, confirm the file actually exists (use the host's shell tool: ls -la /path/to/output).

When to load deeper references

  • references/assembly-order.md — the canonical scene-assembly sequence, time budgets, recovery patterns. Load when planning a multi-step pipeline or when the user asks "what's the right order?".
  • references/intent-routing.md — fuller intent-to-skill mapping with edge cases. Load when the request is ambiguous and you need to disambiguate.
  • references/code-execution-rules.md — detailed rules for execute_blender_code (namespace, timeouts, stdout capture). Load when tracking down execution errors.

Reporting back to the user

When work is done, report concretely:

  • ✅ Created: list objects + polycounts.
  • ✅ Lit: list lights + their roles.
  • ✅ Rendered: file path + size + dimensions + render time.
  • ⚠️ Warnings: any auto-decimation, naming conflicts, fallback materials.

Example:

Created GEO-sword_blade (1 240 verts), GEO-sword_grip (320 verts).
Materials: MAT-steel_brushed, MAT-leather_dark.
Lit with LGT-key (warm 3200K), LGT-fill (cool 5500K), LGT-rim (cool blue).
Rendered to /tmp/sword_hero.png (1920×1080, 2.3 MB, 38 s with 256 samples + OptiX denoise).

Failure modes — what to do when…

ProblemAction
MCP timeoutBreak the failing chunk into smaller pieces
Code execution error: <line>Read the error; fix that one line; retry
Object not found in next callYou used a Python var instead of bpy.data.objects['name']
Render took too longReduce samples, enable adaptive sampling, lower resolution
File not at expected pathUse absolute paths; verify with the shell tool ls
Material looks wrong after exportYou used non-Principled-BSDF nodes; rebuild material with Principled only
'Action' object has no attribute 'fcurves'Blender 5.x layered Actions; walk action.layers[].strips[].channelbags[].fcurves instead. See blender-animation Recipe 3 for the compat helper.
BLENDER_EEVEE_NEXT rejectedBlender 5.x renamed it back to BLENDER_EEVEE. See blender-rendering Recipe 3 for the try/except fallback.
KeyError: 'Subsurface IOR' (or other input names)Blender 5.x marks some BSDF inputs enabled=False (currently Weight, Subsurface IOR); they're reachable by iteration but not string-key lookup. See blender-materials Recipe 9 for the set_input helper.
Error: Cannot render, no camerascene.camera is None. Always run the ensure_camera() guard before any render — see blender-rendering Recipes 5 / 6. The orchestrator must check this before chaining to render even if the user's prompt didn't ask for a camera explicitly.
User reports "scene is grey / no materials visible" while looking at Blender's viewportBlender viewport defaults to Solid shading mode which ignores materials. The render is correct; only the viewport looks grey. After every scene assembly, set viewport to Material Preview: space.shading.type = 'MATERIAL'; space.shading.use_scene_lights = True; space.shading.use_scene_world = True
User reports "materials look flat / no texture"Flat PBR colors lack surface variation. Add procedural textures (Noise/Voronoi → ColorRamp → Roughness or Bump) for steel scratches, hammered metal, leather grain, etc. See blender-materials Recipe 12 (procedural wood) for the pattern.
Subject looks wrongly proportioned (e.g. blade too short, chair too narrow)The orchestrator skipped the dimension lookup. Always read references/common-object-dimensions.md BEFORE generating modeling code. Don't guess.
User asks for a "human" / "character" / "face" / "person"Pure-recipe primitives produce a recognisable silhouette only, NOT a human face. Suggest one of: (a) mcp__blender__download_polyhaven_asset / download_sketchfab_model / generate_hyper3d_model_via_text for an actual human base mesh, then chain materials + lighting + render; (b) commission a Blender character artist (see prompts/04-blender-workflow.md). Do NOT pretend a sphere-with-features looks human — it doesn't. See references/common-object-dimensions.md "Characters / avatars" section.
Elongated subject renders as a thin pole instead of a recognisable shapeCamera viewing the thin axis of an elongated object. Rotate the object so its broad axis faces the camera. See blender-modeling "Critical: axis orientation for elongated objects".
Blade/spike has a "chiseled flat" tip instead of a pointTop vertices were scaled toward zero but not merged. Use the proper tapering recipe in blender-modeling ("Critical: tapering to a point") — collapse top verts to centerline AND remove_doubles.
Coloured glass renders flat/metallic instead of "glass-like"Tint set on Base Color of Principled BSDF only. Real coloured glass needs Volume Absorption for depth-based tint. See blender-materials Recipe 6b. Also: Roughness=0.0 produces mirror-flat highlights that look metallic — use 0.02–0.05 instead.
Glass renders black on the insidetransmission_bounces too low. Default 12 is insufficient for thick or layered glass. Set scene.cycles.transmission_bounces = 24.

What this skill is NOT for

  • Heavy custom GPU work / writing a render engine (use Blender's existing engines)
  • Real-time game logic (use Unity / Unreal directly)
  • Sculpting strokes from natural language (sculpting is gestural; use brushes interactively)
  • Things outside Blender's capabilities (CAD precision modeling — use FreeCAD; CFD simulation — use Blender's Mantaflow only for VFX-quality, not engineering)

When the user asks for these, redirect them politely and explain.

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 Text To Blender làm được gì?

Điều khiển Blender bằng ngôn ngữ tự nhiên: tạo hoặc chỉnh sửa mô hình 3D, vật liệu, ánh sáng, camera, hình render, hoạt ảnh và bản xuất thông qua Blender MCP. Chuyển các yêu cầu về cảnh hoàn chỉnh cho kỹ năng chuyên ngành và yêu cầu về khung dây/ảnh tham chiếu cho kỹ năng dựng lại. Cũng dùng cho yêu cầu 3D không nêu tên Blender. Cần cấu hình backend MCP chính thức hoặc ahujasid.

Vì sao nên dùng Text To Blender 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. Text To Blender 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 Text To Blender trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/RobLe3/cc-blender-skill/tree/main/plugin/skills/text-to-blender. 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 Text To Blender?

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 Text To Blender 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 Text To Blender 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 Text To Blender có miễn phí không?

Có. Kỹ năng này được RobLe3 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 👇