generate_parts
Build a rigged 3D model from a front-view concept by generating separate part meshes, assembling them, and creating a one-bone-per-part armature.
Instructions
Build a model as separate part meshes from a front view concept, assembled and rigidly rigged.
parts: one entry per part, {"name": "left_arm", "box": [x0, y0, x1, y1], "parent": optional part name, "description": optional words to tell it apart}. The box is where that part is in concept_image, as fractions of the image (0 to 1) or pixels; look at the image and give a rough box around each part (overlaps are fine). subject names the object ("robot", "stingray"). Each part is cropped, cleaned into a standalone part by FLUX.2 Klein (hidden areas completed) and meshed by TRELLIS.2 with face_count faces. The parts are placed by their boxes, with depth from a whole-object mesh (generated from the concept unless full_mesh, a GLB of it, is given). rig=True adds an armature with one bone per part: the hierarchy follows the parents given, else which parts touch (rooted at the largest part), and each bone pivots where its part meets its parent. Parts are parented rigidly to their bones, the natural rig for robots and other hard surface models. If a run fails part way, call again with the same output_dir: finished parts are reused. Output: an assembled GLB and FBX (each part a separate object), plus every part's image and mesh. About 1 to 2 minutes per part on the GPU.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"concept_image": "<concept_image>",
"parts": "<parts>"
},
"name": "generate_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rig | No | ||
| seed | No | ||
| parts | Yes | ||
| subject | No | character | |
| full_mesh | No | ||
| face_count | No | ||
| output_dir | No | ||
| concept_image | Yes | ||
| idle_timeout_seconds | No |