Text To 3d logo

Text To 3d

Community
hec-ovi
text-to-3d

Initialize and operate a fully local text-to-3D toolkit that turns one subject description into a textured GLB, at full density or to a triangle budget, and can rig a generated character with a Mixamo-named skeleton and playable clips. Uses FLUX.2 klein through ComfyUI, TRELLIS.2 on Vulkan, and SkinTokens on ROCm. Use for starting the local generation harness, creating 3D models, meshes, GLBs or glTF assets from words, rigging or animating a generated character, preparing game or three.js assets, batching several models, or opening the local preview gallery.

Overview

Publisherhec-ovi
Repositorytext-to-3D-skill
Skill nametext-to-3d
Stars
45
Forks
5
Bundled files
160
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.

  • 160 bundled files

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

  • Open source

    Published by hec-ovi on GitHub. Read the source before you install it.

Installation

Install the Text To 3d 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/hec-ovi/text-to-3D-skill/tree/main
  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/hec-ovi/text-to-3D-skill.git \
  .claude/skills/text-to-3d
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Text To 3d 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 Text To 3d 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 Text To 3d 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.

text-to-3d

Turn one described subject into one textured GLB, and a humanoid into a rigged one:

text
prompt -> FLUX.2 klein (ComfyUI) -> PNG -> TRELLIS.2 (Vulkan) -> GLB

Choose a capability

idUse it forSection
initStart and verify the local harnessInit
generateGenerate one static GLBGenerate
budgetGenerate to a triangle budgetTriangle budget
rigGive a generated character a skeleton and clipsRig
previewInspect generated modelsPreview
batchGenerate several models efficientlyBatch

Never use Blender. The rig path does not need it, and the retargeting that a Blender workflow implies is what puts a walk cycle in backwards.

Init

Run init before the first generation in a session:

bash
python3 scripts/init.py

The bundled launcher finds the toolkit from --toolkit-dir, $TEXT_TO_3D_TOOLKIT, or the current checkout. When it is installed as a standalone skill and no checkout exists, it clones the toolkit into ~/.local/share/text-to-3d-toolkit.

Init is idempotent. It:

  1. Verifies the ten TRELLIS.2 GGUFs and fetches missing files.
  2. Starts the sibling comfyui-strix-docker Compose stack.
  3. Builds and starts the resident Vulkan mesh engine and the rig service.
  4. Starts the local preview server.
  5. Waits for all health checks and prints one JSON result.

The first run may build both images, download about 20 GB of weights, and load the models. Do not report success until the JSON result says every service is ready.

Useful overrides:

bash
python3 scripts/init.py --toolkit-dir /path/to/text-to-3D-skill
python3 scripts/init.py --comfy-dir /path/to/comfyui-strix-docker
python3 scripts/init.py --no-fetch --no-build
python3 scripts/init.py --no-rig            # meshes only; the rig holds 1.6 GB

Generate

Name one complete subject, its important parts, material, and style. The image prompt already supplies centering, a plain background, and even lighting.

bash
python3 layers/pipeline/src/pipeline.py \
  --prompt "a brass diving helmet with round glass ports and copper fittings" \
  --out-dir out \
  --runner server

Use 1024 for full-body figures and 512 for compact props. Describe characters standing still, facing forward, with limbs visible. Do not ask for an action.

FlagDefaultChange it when
--res 512|1024|1536512A full figure needs more texture detail.
--target-faces N150K at 512The asset is for a game, web page, or real-time scene.
--seed NDerived from promptThe run must reproduce a prior asset.
--no-textureOffThe caller will supply materials.
--bg-removal birefnetAutoReflective highlights punch holes in the default matte.
--drop-imageOffThe intermediate PNG is not needed.

The result is a schema-validated JSON envelope. The GLB path, checksum, byte size, triangle count, and stage timings come from the written file.

Inspect both the intermediate image and the GLB before reporting completion. A structurally valid model can still omit a requested part.

Triangle budget

A budget is a target, not a quality setting. The reconstruction runs at full detail either way and the simplifier collapses the result to the count asked for, with the texture baked afterwards onto the mesh that survives; measured at 4000 faces the shape quality is within a degree of the 138K version. So a budget costs file size and nothing else, and asking for one never means asking for a cruder model.

Set one for a game, engine, or web scene:

bash
python3 layers/pipeline/src/pipeline.py \
  --prompt "a stylised red sports car" \
  --target-faces 12000 \
  --out-dir out \
  --runner server

Starting points:

  • Small prop: 2K to 6K faces.
  • Stylised full-body figure: 5K to 10K.
  • Vehicle or hero asset: 20K to 50K.

Decimation runs before UV unwrap, so the texture is baked onto the simplified mesh.

Rig

Give a generated character a skeleton, skin weights and clips. Humanoids only.

bash
python3 layers/rig/src/rig.py \
  --glb out/<character>-r1024.glb \
  --out-dir out

The result is <stem>-rigged.glb, carrying a Mixamo-named skeleton and idle and walk. The mesh, its materials and its textures are untouched: skinning is appended to the file, not rebuilt from it.

Requires the rig service, which init starts. A prop returns NOT_A_CHARACTER; that is the correct answer, not a failure to work around.

FlagDefaultChange it when
--no-animateOffThe caller brings its own clips and wants the skin only.
--max-influences N4A target engine reads fewer than four bones per vertex.

Preview

Init starts the viewer at http://127.0.0.1:8190/. An asset id is its GLB file stem.

text
http://127.0.0.1:8190/?id=<asset-id>

Resolve one id before handing over its link:

bash
curl -fsS "http://127.0.0.1:8190/api/models?id=<asset-id>"

Batch

Generate every image first, then every mesh. Alternating stages can evict the image weights and make the next image reload take several minutes.

bash
python3 layers/text2image/src/klein.py --prompt "..." --out-dir out
python3 layers/image2mesh/src/mesh.py --image out/first.png --out-dir out --runner server

The resident engine started by init avoids paying the TRELLIS model-load cost for every mesh.

Failures

Read the outer code, then cause.code when present.

CodeAction
MODELS_MISSINGRe-run init without --no-fetch.
SERVICE_TIMEOUTInspect the named endpoint and its Compose logs.
TEXT2IMAGE_FAILED plus BACKEND_UNREACHABLERe-run init and inspect the ComfyUI service.
TEXT2IMAGE_FAILED plus MODEL_MISSINGCheck the ComfyUI models mount.
IMAGE2MESH_FAILED plus NO_VULKAN_DEVICECheck /dev/dri and the render group id.
IMAGE2MESH_FAILED plus GLB_INVALIDKeep the output and report the engine bug.
NOT_A_CHARACTERThe subject is not a humanoid. Ship it static.
MODEL_UNREACHABLE from the rigRe-run init and inspect the rig service.

Limits

  • One subject, not a multi-object scene.
  • Rigging is for humanoids. A prop is refused with NOT_A_CHARACTER rather than given a spine.
  • Clips are generated, not hand-animated: they read as motion at gameplay distance and do not survive a close look. The skeleton is Mixamo-named, so an authored clip pack plays on it without retargeting.
  • Faces hold up at gameplay distance, not as portrait assets.
  • Vulkan GPU for the mesh, ROCm for the rig. The mesh engine refuses silent CPU fallback.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 100 more files.

Frequently asked questions

What does the Text To 3d AI skill do?

Initialize and operate a fully local text-to-3D toolkit that turns one subject description into a textured GLB, at full density or to a triangle budget, and can rig a generated character with a Mixamo-named skeleton and playable clips. Uses FLUX.2 klein through ComfyUI, TRELLIS.2 on Vulkan, and SkinTokens on ROCm. Use for starting the local generation harness, creating 3D models, meshes, GLBs or glTF assets from words, rigging or animating a generated character, preparing game or three.js assets, batching several models, or opening the local preview gallery.

Why use Text To 3d on TypingMind?

Because you install it once and use it with any model. Text To 3d 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 Text To 3d in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hec-ovi/text-to-3D-skill/tree/main. 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 Text To 3d?

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 Text To 3d?

As many as you like. As long as a model supports skills, you can use Text To 3d with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Text To 3d AI skill free?

It is published on GitHub by hec-ovi. Check the repository for licensing terms. 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 👇