К основному содержанию
скилл CX Codex

layer-3d — скилл для Claude Code: 3D-меши из текста и картинок

Ведёт агента по цепочке 3D-пайплайна Layer: сгенерировать меш, пересобрать топологию, наложить текстуры, поставить скелет и анимацию.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add layerai/skills --skill layer-3d -a claude-code
Открыть на GitHub

Что делает layer-3d

Скилл объясняет агенту, что 3D в Layer — не один вызов, а цепочка отдельных прогонов. Каждый этап идёт своим filter.use_case: text_to_3d строит меш по описанию, image_to_3d — по концепт-арту, remesh чистит топологию и снижает число полигонов, retexture накладывает новые поверхности, rig даёт скелет и веса, animate добавляет движение. На вход следующему этапу идёт file_id от предыдущего.

Скилл советует начинать с картинки, когда дизайн уже утверждён: сначала согласовать статичный кадр через layer-image, а потом гнать дорогой 3D-прогон. Референс должен быть чистым — объект на однотонном фоне, ровный свет, ракурс в три четверти. Резкий свет и тени модель читает как геометрию, поэтому такой кадр даст кривой меш.

Перед запуском скилл требует назвать цель: quad_mesh для ассетов, которые будут дальше скульптить или деформировать, face_limit под платформу, pbr_materials и include_textures для сцен с освещением. Без текстур выйдет голая геометрия, и в движке она выглядит сломанной. Риговать меш в динамичной позе бессмысленно — нужна нейтральная стойка с разведёнными конечностями, анимация добавляется после. Тонкие детали вроде цепочек, ремней и волос генерируются плохо, их лучше моделировать отдельно. 3D-прогоны дорогие, так что перед запуском стоит посмотреть на оценку цены и спросить пользователя.

Какие задачи решает

  • сгенерировать 3D-меш по текстовому описанию
  • получить модель из концепт-арта или референса
  • снизить число полигонов и починить топологию
  • наложить PBR-текстуры на готовый меш
  • поставить скелет и анимацию на персонажа

Примеры запросов агенту

  • Сделай game-ready меш для мобильной игры из этого утверждённого концепта
  • Пересобери топологию этого меша и снизь количество полигонов
  • Поставь скелет на этого персонажа в нейтральной позе

Как установить layer-3d

1Через Skills CLI (Vercel)

npx skills add layerai/skills --skill layer-3d -a claude-code

2Вручную: положить файлы

~/.claude/skills/layer-3d/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/layer-3d/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора7

layer-quality Оценивает сгенерированные файлы Layer по правилам студии и помогает выбрать, что отдавать. Нужен перед сдачей партии ассетов. CX Codex +1 3 300установок layer-workflows Скилл для запуска сохранённых воркфлоу Layer Blueprint: находит пайплайн в рабочем пространстве, читает его схему входов, оценивает цену и следит за шагами. CX Codex +1 3 400установок layer-video Скилл для генерации видео через Layer: текст в видео, оживление кадра, продление клипа, камера, звук и липсинк. Пригодится, когда промпт даёт не то движение. CX Codex +1 3 400установок layer-video-timeline Собирает готовые клипы, картинки и аудио в один ролик: порядок, переходы, титры, логотип, музыка. Нужен, когда монтаж идёт из уже сгенерированных шотов. CX Codex +1 3 300установок layer-image Скилл для text-to-image через Layer: подсказывает, что писать в промпте, как задать пропорции и когда нужна референс-картинка. CX Codex +1 3 300установок layer-image-editing Скилл для редактирования уже существующих изображений на Layer: инпейнтинг, расширение кадра, смена ракурса, апскейл. CX Codex +1 3 400установок

Похожие

scenario-textures scenario-labs Скилл настраивает генерацию бесшовных текстур, апскейл с сохранением тайлинга и сборку PBR-материалов через MCP-сервер Scenario. Пригодится при подготовке ассетов для игровых движков. CX Codex +1 500установок build-rigged-game-assets MengTo Скилл ведёт сборку игрового персонажа или монстра от исходной модели до загрузки в геймплей: риг, библиотека анимаций, сокеты, экипировка, каталог. CX Codex +1 1 200установок scenario-blender-rigging scenario-labs Скилл для риггинга персонажа, существа или пропа в Blender через Python: метариг Rigify, веса, IK/FK, лицевой риг. CX Codex +1 446установок meshy-3d-generation meshy-dev Создаёт 3D-модели, текстурирует меши и настраивает анимации через Meshy CLI 0.4.3. Пригодится при добавлении файлов GLB и glTF в проект прямо из терминала. CX Codex +1 2 300установок meshyai OpusGameLabs Генерирует 3D-модели из текста или картинки через Meshy AI, ставит скелет на гуманоидов и добавляет анимации ходьбы и бега для Three.js. CX Codex +1 907установок threejs-materials-lighting gamedev-skills Скилл для three.js: подбирает материал, ставит источники света, включает тени и подключает HDR-окружение, когда модель выглядит чёрной или плоской. CX Codex +1 5 500установок

Рядом в теме «Геймдев и 3D: Unity, Unreal, Godot, Blender»

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →

Вопросы о layer-3d

Как установить layer-3d в Claude?

Выполните npx skills add layerai/skills --skill layer-3d -a claude-code. Файл скилла окажется по пути ~/.claude/skills/layer-3d/SKILL.md.

Что делает layer-3d?

Проводит агента по этапам 3D-пайплайна Layer: генерация меша, ремеш, ретекстурирование, риггинг и анимация. Каждый этап — отдельный прогон, который принимает file_id предыдущего.

Что нужно указать перед 3D-прогоном?

Топологию (quad_mesh или треугольники), лимит полигонов face_limit под платформу и материалы с текстурами для сцен с освещением. Скилл советует читать get_base_model, чтобы узнать, какие поля принимает конкретная модель.

Исходный текст

SKILL.md · MIT
---
name: layer-3d
description: "Use when producing 3D assets with Layer: generating a mesh from text or an image, retopologising or remeshing, retexturing an existing mesh, rigging a character, or animating a rigged mesh. Also when choosing between quad and triangle output, setting a polygon budget, or asking for PBR textures for a game engine. Keywords: 3D, mesh, model, text to 3D, image to 3D, remesh, retopology, retexture, rig, skeleton, animate, PBR, quad mesh, poly count, glTF, FBX."
license: MIT
---

# Layer 3D Generation

## Overview

3D on Layer is a chain of separate use cases, not one call. Generate the mesh, then remesh, retexture,
rig, or animate it as the deliverable requires. Each stage is its own `filter.use_case` and its own
run, and each takes the previous stage's output `file_id` as input.

| Stage                            | `filter.use_case` | Input                              |
| -------------------------------- | ----------------- | ---------------------------------- |
| Mesh from a description          | `text_to_3d`      | prompt                             |
| Mesh from concept art            | `image_to_3d`     | `init_image` or `reference_image`  |
| Cleaner topology, lower count    | `remesh`          | `init_mesh`                        |
| New surfaces on an existing mesh | `retexture`       | `init_mesh`, often `texture_image` |
| Skeleton and weights             | `rig`             | `init_mesh`                        |
| Motion on a rigged mesh          | `animate`         | rigged `init_mesh`                 |

The loop and the spend gate are in the `layer` skill. If a sibling skill named here is missing from
your available skills, ask the user to install it (`npx skills add layerai/skills --skill <name>`);
unattended, proceed from tool schemas and flag the gap.

## Start from an image

`image_to_3d` is the stronger path whenever the design is settled or settleable. A generated mesh
inherits its silhouette and surface detail from the reference, so approving a still first with
`layer-image` costs one cheap image run and removes most of the iteration from an expensive 3D one.

The reference image should show the subject clean: isolated on a plain background, lit evenly, in a
three-quarter view that reveals depth. A dramatic, heavily shadowed key art frame makes a worse
reference than a plain orthographic-ish view, because the model reads shadow as geometry.

`text_to_3d` is right when nothing exists yet and the shape is simple or generic enough to describe.

## Say what the mesh is for

The engine target changes the request, so state it rather than accepting defaults:

- **Topology**: `quad_mesh` where the asset will be sculpted, deformed, or subdivided downstream.
  Triangles are fine for a static prop that ships as-is.
- **Budget**: a `face_limit` reflecting the platform. A hero prop on desktop and a background prop on
  mobile are different requests, and remeshing later costs another run.
- **Surfaces**: `pbr_materials` and `include_textures` when the asset goes into a lit scene. Without
  them you get geometry and a flat surface, which reads as broken in an engine.

The per-model inference schema is the authority on which of these apply, so read `get_base_model`
before composing the run.

## Describing geometry

3D prompts reward structural language and ignore atmosphere. Lighting, mood, and camera belong to an
image prompt and do nothing here, because the mesh carries no lighting.

Name the form: overall silhouette, proportions, how parts join, surface material, and the level of
detail. "Squat clay cooking pot, wide rounded belly, short flared neck, two small looped handles at
the shoulder, hand-thrown surface with visible ridges" describes a mesh. "Beautiful ancient pot,
dramatic lighting" describes a photograph and will produce a generic one.

Symmetry and closed forms generate reliably. Thin protrusions, chains, cloth, and hair are where
generated meshes fail, so plan to model those separately or accept them as fused geometry.

## Rigging and animation

`rig` produces a skeleton and weights, and it expects a mesh in a neutral, limbs-apart rest pose. A
mesh generated in a dynamic action pose rigs badly, so generate the rest pose first and animate into
the action.

`animate` needs a rigged mesh, so the two run in order. Where a model offers named motion presets,
those are more reliable than describing the motion in prose.

## Worked example

"Turn this approved prop concept into a game-ready mesh for mobile."

1. The concept exists from an earlier image run and already carries a `file_id`.
2. `list_base_models` with `filter.use_case: "image_to_3d"` and
   `filter.capabilities: {textures: true}` (an object of booleans, not a list of names).
   Take the first result, then `get_base_model` for the fields it accepts.
3. `estimate_forge_price` with the concept as `image_to_3d` input, `pbr_materials` and
   `include_textures` on, `quad_mesh` off for a static prop, and a `face_limit` matched to mobile. 3D
   runs are expensive, so expect this to clear 20 CUs and ask before proceeding.
4. Execute, poll at `poll_interval_seconds`.
5. Inspect the result before chaining. If the silhouette is right but the count is too high, the next
   run is `remesh` on the output `file_id`, not a regenerate.

## Common mistakes

- Using `text_to_3d` when concept art exists or could be generated cheaply first.
- Feeding a dramatic, shadow-heavy key art frame as the 3D reference.
- Writing an image prompt (lighting, mood, camera) for a mesh.
- Leaving topology, budget, and materials unspecified, then remeshing in a second paid run.
- Rigging a mesh generated in an action pose.
- Regenerating from scratch when `remesh` or `retexture` would fix the actual defect.
- Expecting clean thin geometry such as chains, straps, or hair from a generated mesh.

© layerai · MIT · layerai/skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой