Layer 3d

layerai/skills/skills/layer-3d

作者 layerai315d06db6f76MIT4 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 天前更新

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.

僅含說明Design & Creative
AI 產生的概覽

指導在 Layer 上產生 3D 資產:文字轉 3D、圖像轉 3D、重新網格化、重新貼圖、綁定與動畫。

功能
此技能說明如何把 Layer 的 3D 產生流程當成一連串獨立的使用案例來執行:text_to_3d、image_to_3d、remesh、retexture、rig 與 animate,每個階段都以前一階段輸出的 file_id 作為輸入。內容涵蓋四邊面與三角面輸出的選擇、面數上限的設定、PBR 貼圖的要求,以及如何撰寫結構化的幾何提示詞。它也說明如何在自然靜止姿勢下綁定骨架並為已綁定的網格製作動畫,並提供一個面向行動裝置遊戲資產的完整範例。
適用情境
適用於製作 3D 資產的情境,例如依文字或圖像產生網格、重新拓撲或重新網格化、重新貼圖、為角色綁定骨架,或為已綁定的網格製作動畫。也適用於在四邊面與三角面輸出之間做選擇、設定多邊形預算,或為遊戲引擎要求 PBR 貼圖。
執行需求
僅為說明文件,不含指令碼。依賴 Layer 工具鏈及搭配技能(例如 layer 與 layer-image 技能),以及 list_base_models、get_base_model、estimate_forge_price 等工具和帶輪詢的執行流程;執行會消耗額度,可能需要在花費前取得使用者確認。

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.

Stagefilter.use_caseInput
Mesh from a descriptiontext_to_3dprompt
Mesh from concept artimage_to_3dinit_image or reference_image
Cleaner topology, lower countremeshinit_mesh
New surfaces on an existing meshretextureinit_mesh, often texture_image
Skeleton and weightsriginit_mesh
Motion on a rigged meshanimaterigged 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/skills位於skills/layer-3d提交315d06d

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 layerai/skills 的技能

Layer Workflows

layerai

Use when running a saved Layer Blueprint workflow rather than a single generation: discovering what workflows a workspace has, reading a workflow's input schema, estimating and executing a run, polling its steps, or cancelling it. Also when a repeatable multi-step pipeline exists for a task, when the user names a workflow, or when a workflow input expects a style or a file. Keywords: workflow, blueprint, pipeline, app, multi-step, run, node graph.

待分類48 天前更新

Layer Workflow Import

layerai

將其他工具中的工作流程重建為 Layer Blueprint 圖,並透過 import_workflow 匯入。

AI & Agents48 天前更新

Layer Video Timeline

layerai

將現有片段、圖像與音訊組合成一支完整影片時間軸,包含轉場、疊加層與字幕。

Design & Creative48 天前更新

Layer Video

layerai

Use when generating video with Layer: text-to-video, animating a still image, extending a clip, adding camera motion, generating native audio or lip sync, looping animations, or planning a multi-shot ad, trailer, or cutscene. Also when a video prompt produces the wrong motion or the shot drifts off the source image. Keywords: txt2vid, img2vid, image to video, camera motion, video effects, loop, seamless, trailer, cutscene, lipsync.

待分類48 天前更新

Layer Textures

layerai

指導使用 Layer 影像模型產生無縫可平鋪的紋理,涵蓋尺度、光照與重複檢查。

Design & Creative48 天前更新

Layer Reference Sets

layerai

Use when a look must hold across many Layer generations: training a custom style or LoRA on a studio's own artwork, curating the images that go into a reference set, choosing its training category, tuning reference-set weight on a run, or deciding whether to train at all rather than attach a style reference. Also when a trained style produces weak, inconsistent, or silently ignored results. Keywords: LoRA, custom model, trained style, reference set, consistency, on-model, art direction, dataset.

待分類48 天前更新