{
  "id": "a6bbab40-b34c-40b2-bd77-cd8869b91cc9",
  "revision": 0,
  "last_node_id": 17,
  "last_link_id": 7,
  "nodes": [
    {
      "id": 7,
      "type": "SaveGLB",
      "pos": [
        -260,
        960
      ],
      "size": [
        400,
        550
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "mesh",
          "type": "MESH,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_OBJ,FILE_3D_FBX,FILE_3D_STL,FILE_3D_USDZ,FILE_3D_PLY,FILE_3D_SPLAT,FILE_3D_SPZ,FILE_3D_KSPLAT,FILE_3D_SPLAT_ANY,FILE_3D_POINT_CLOUD_ANY,FILE_3D",
          "link": 5
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.16.3"
      },
      "widgets_values": [
        "3d/api_meshy_text_to_model",
        ""
      ],
      "widgets_values_named": {
        "filename_prefix": "3d/api_meshy_text_to_model",
        "image": ""
      }
    },
    {
      "id": 8,
      "type": "SaveGLB",
      "pos": [
        250,
        960
      ],
      "size": [
        400,
        550
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "mesh",
          "type": "MESH,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_OBJ,FILE_3D_FBX,FILE_3D_STL,FILE_3D_USDZ,FILE_3D_PLY,FILE_3D_SPLAT,FILE_3D_SPZ,FILE_3D_KSPLAT,FILE_3D_SPLAT_ANY,FILE_3D_POINT_CLOUD_ANY,FILE_3D",
          "link": 6
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.16.3"
      },
      "widgets_values": [
        "3d/api_meshy_text_to_model_from_fbx",
        ""
      ],
      "widgets_values_named": {
        "filename_prefix": "3d/api_meshy_text_to_model_from_fbx",
        "image": ""
      }
    },
    {
      "id": 9,
      "type": "MeshyTextToModelNode",
      "pos": [
        -710,
        950
      ],
      "size": [
        400,
        420
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model_file",
          "type": "STRING",
          "links": [
            7
          ]
        },
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "links": []
        },
        {
          "name": "GLB",
          "type": "FILE_3D_GLB",
          "links": [
            5
          ]
        },
        {
          "name": "FBX",
          "type": "FILE_3D_FBX",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MeshyTextToModelNode"
      },
      "widgets_values": [
        "meshy-6",
        "Death Knight",
        "realistic",
        "true",
        "triangle",
        300000,
        "auto",
        "",
        0,
        "fixed",
        false,
        "2k"
      ],
      "widgets_values_named": {
        "model": "meshy-6",
        "prompt": "Death Knight",
        "style": "realistic",
        "should_remesh": "true",
        "should_remesh.topology": "triangle",
        "should_remesh.target_polycount": 300000,
        "symmetry_mode": "auto",
        "pose_mode": "",
        "seed": 0,
        "control_after_generate": "fixed",
        "ultra_mode": false,
        "ultra_resolution": "2k"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 10,
      "type": "MarkdownNote",
      "pos": [
        -2055.648013368186,
        947.867183004379
      ],
      "size": [
        610,
        1360
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## Meshy 6: Text to 3D Model\n\n**One prompt in, one textured 3D model out.** Meshy 6 builds the mesh from the description alone — no reference image — then rebuilds the mesh to a game-ready triangle budget and generates UVs and textures in the same call.\n\n### What each node does\n\n| Node | Role |\n|---|---|\n| **Meshy: Text to Model** | The whole generation is this one API call: `prompt` and `style` in, a rebuilt and textured model out. It returns the `GLB`, the same model as `FBX`, and `model_file`, the path of the result on disk. |\n| **Save GLB** (upper) | Writes the `GLB` branch to `output/3d/`. |\n| **Save GLB** (lower) | Writes the `FBX` branch, converted to GLB, under its own name so the two files never overwrite each other. |\n| **Save Text** | Writes `model_file` to a `.txt`, stamped with the date — a cheap way to find the output again later. |\n| **Meshy Toolset** | Bypassed group of five follow-up calls driven by `meshy_task_id`: refine, texture, texture N1, rig, animate. |\n\n### The Meshy toolset\n\nThe toolset is the follow-up API chain for a job that already exists. Every node in it takes a `meshy_task_id` and re-uses that job's geometry, so a second pass costs one call instead of a fresh generation.\n\n- **Meshy: Refine** — adds PBR maps and a texture prompt to an existing task.\n- **Meshy: Texture** — re-textures with a style prompt or a reference image.\n- **Meshy: Texture N1** — N1 texturing, optionally keeping the original UVs.\n- **Meshy: Rig Model** — turns the mesh into a rigged character; `height_meters` sets the scale.\n- **Meshy: Animate** — animates a rigged task by `action_id`.\n\nThey ship **bypassed**. Select the nodes you want at the bottom of the canvas and press `Ctrl+B` to enable them, then wire the `meshy_task_id` output of **Text to Model** into the node you enabled.\n\n### Controls\n\n| Control | What it does |\n|---|---|\n| `prompt` | What to build. The demo asks for a Death Knight; describe one object, its materials and its pose. |\n| `model` | `meshy-6` in this graph; `meshy-7` sits in the same list if you want the newer geometry. |\n| `style` | `realistic` keeps the read of a real object; the stylised options push the shape language instead. |\n| `should_remesh` → `topology`, `target_polycount` | Remesh on, `triangle` topology, 300000 triangles. Lower the budget for real-time use. |\n| `symmetry_mode` | `auto` mirrors parts that look symmetric; force `on`/`off` for asymmetric characters. |\n| `pose_mode` | Empty means natural pose. A t-pose in the prompt is the usual trick when the model will be rigged. |\n| `seed` | Fixed, so a re-run repeats the request; the result itself is not bit-identical. |\n| `ultra_mode` → `ultra_resolution` | Extra detail at a higher credit cost, `2k` maps. |\n\n---\n\n### Limitations\n\n- Billed per run (the node shows the credit cost); toolset follow-ups are billed separately.\n- The prompt is the only input — the model cannot see a reference image, so describe silhouette and materials rather than relying on a look you know.\n- One object per run: asking for a scene usually fuses the parts into a single mesh.\n- The saved files are copies; the API already returned them, so the save nodes are there to control name and folder.\n\n---\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)).\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "widgets_values_named": {
        "text": "## Meshy 6: Text to 3D Model\n\n**One prompt in, one textured 3D model out.** Meshy 6 builds the mesh from the description alone — no reference image — then rebuilds the mesh to a game-ready triangle budget and generates UVs and textures in the same call.\n\n### What each node does\n\n| Node | Role |\n|---|---|\n| **Meshy: Text to Model** | The whole generation is this one API call: `prompt` and `style` in, a rebuilt and textured model out. It returns the `GLB`, the same model as `FBX`, and `model_file`, the path of the result on disk. |\n| **Save GLB** (upper) | Writes the `GLB` branch to `output/3d/`. |\n| **Save GLB** (lower) | Writes the `FBX` branch, converted to GLB, under its own name so the two files never overwrite each other. |\n| **Save Text** | Writes `model_file` to a `.txt`, stamped with the date — a cheap way to find the output again later. |\n| **Meshy Toolset** | Bypassed group of five follow-up calls driven by `meshy_task_id`: refine, texture, texture N1, rig, animate. |\n\n### The Meshy toolset\n\nThe toolset is the follow-up API chain for a job that already exists. Every node in it takes a `meshy_task_id` and re-uses that job's geometry, so a second pass costs one call instead of a fresh generation.\n\n- **Meshy: Refine** — adds PBR maps and a texture prompt to an existing task.\n- **Meshy: Texture** — re-textures with a style prompt or a reference image.\n- **Meshy: Texture N1** — N1 texturing, optionally keeping the original UVs.\n- **Meshy: Rig Model** — turns the mesh into a rigged character; `height_meters` sets the scale.\n- **Meshy: Animate** — animates a rigged task by `action_id`.\n\nThey ship **bypassed**. Select the nodes you want at the bottom of the canvas and press `Ctrl+B` to enable them, then wire the `meshy_task_id` output of **Text to Model** into the node you enabled.\n\n### Controls\n\n| Control | What it does |\n|---|---|\n| `prompt` | What to build. The demo asks for a Death Knight; describe one object, its materials and its pose. |\n| `model` | `meshy-6` in this graph; `meshy-7` sits in the same list if you want the newer geometry. |\n| `style` | `realistic` keeps the read of a real object; the stylised options push the shape language instead. |\n| `should_remesh` → `topology`, `target_polycount` | Remesh on, `triangle` topology, 300000 triangles. Lower the budget for real-time use. |\n| `symmetry_mode` | `auto` mirrors parts that look symmetric; force `on`/`off` for asymmetric characters. |\n| `pose_mode` | Empty means natural pose. A t-pose in the prompt is the usual trick when the model will be rigged. |\n| `seed` | Fixed, so a re-run repeats the request; the result itself is not bit-identical. |\n| `ultra_mode` → `ultra_resolution` | Extra detail at a higher credit cost, `2k` maps. |\n\n---\n\n### Limitations\n\n- Billed per run (the node shows the credit cost); toolset follow-ups are billed separately.\n- The prompt is the only input — the model cannot see a reference image, so describe silhouette and materials rather than relying on a look you know.\n- One object per run: asking for a scene usually fuses the parts into a single mesh.\n- The saved files are copies; the API already returned them, so the save nodes are there to control name and folder.\n\n---\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)).\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 11,
      "type": "MeshyTextureNode",
      "pos": [
        -1305.6480133681862,
        1757.867183004379
      ],
      "size": [
        400,
        270
      ],
      "flags": {},
      "order": 2,
      "mode": 4,
      "inputs": [
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "link": null
        },
        {
          "name": "image_style",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "model_file",
          "type": "STRING",
          "links": []
        },
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "links": []
        },
        {
          "name": "GLB",
          "type": "FILE_3D_GLB",
          "links": []
        },
        {
          "name": "FBX",
          "type": "FILE_3D_FBX",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MeshyTextureNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "widgets_values": [
        "latest",
        true,
        false,
        "",
        "2k"
      ],
      "widgets_values_named": {
        "model": "latest",
        "enable_original_uv": true,
        "pbr": false,
        "text_style_prompt": "",
        "texture_resolution": "2k"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 12,
      "type": "MeshyAnimateModelNode",
      "pos": [
        -1305.6480133681862,
        1227.867183004379
      ],
      "size": [
        400,
        130
      ],
      "flags": {},
      "order": 3,
      "mode": 4,
      "inputs": [
        {
          "name": "rig_task_id",
          "type": "MESHY_RIGGED_TASK_ID,STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "model_file",
          "type": "STRING",
          "links": []
        },
        {
          "name": "GLB",
          "type": "FILE_3D_GLB",
          "links": []
        },
        {
          "name": "FBX",
          "type": "FILE_3D_FBX",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MeshyAnimateModelNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "widgets_values": [
        0
      ],
      "widgets_values_named": {
        "action_id": 0
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 13,
      "type": "MeshyRefineNode",
      "pos": [
        -1305.6480133681862,
        1427.867183004379
      ],
      "size": [
        400,
        270
      ],
      "flags": {},
      "order": 4,
      "mode": 4,
      "inputs": [
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "link": null
        },
        {
          "name": "texture_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "model_file",
          "type": "STRING",
          "links": []
        },
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "links": []
        },
        {
          "name": "GLB",
          "type": "FILE_3D_GLB",
          "links": []
        },
        {
          "name": "FBX",
          "type": "FILE_3D_FBX",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MeshyRefineNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "widgets_values": [
        "latest",
        false,
        "",
        "2k"
      ],
      "widgets_values_named": {
        "model": "latest",
        "enable_pbr": false,
        "texture_prompt": "",
        "texture_resolution": "2k"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 14,
      "type": "MeshyRigModelNode",
      "pos": [
        -1305.6480133681862,
        1017.867183004379
      ],
      "size": [
        400,
        150
      ],
      "flags": {},
      "order": 5,
      "mode": 4,
      "inputs": [
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "link": null
        },
        {
          "name": "texture_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "model_file",
          "type": "STRING",
          "links": []
        },
        {
          "name": "rig_task_id",
          "type": "MESHY_RIGGED_TASK_ID,STRING",
          "links": []
        },
        {
          "name": "GLB",
          "type": "FILE_3D_GLB",
          "links": []
        },
        {
          "name": "FBX",
          "type": "FILE_3D_FBX",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MeshyRigModelNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "widgets_values": [
        1.7
      ],
      "widgets_values_named": {
        "height_meters": 1.7
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 15,
      "type": "MeshyTextureN1Node",
      "pos": [
        -1305.6480133681862,
        2097.867183004379
      ],
      "size": [
        400,
        150
      ],
      "flags": {},
      "order": 6,
      "mode": 4,
      "inputs": [
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "link": null
        },
        {
          "name": "front_view",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "extra_views.view0",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "meshy_task_id",
          "type": "MESHY_TASK_ID,STRING",
          "links": []
        },
        {
          "name": "GLB",
          "type": "FILE_3D_GLB",
          "links": []
        },
        {
          "name": "FBX",
          "type": "FILE_3D_FBX",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MeshyTextureN1Node"
      },
      "widgets_values": [
        "meshy-n1",
        true
      ],
      "widgets_values_named": {
        "model": "meshy-n1",
        "enable_original_uv": true
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 16,
      "type": "SaveText",
      "pos": [
        -705.6480133681862,
        1807.867183004379
      ],
      "size": [
        400,
        230
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "text",
          "type": "STRING",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SaveText"
      },
      "widgets_values": [
        "meshy_model_path_%year%%month%%day%_%hour%%minute%",
        "txt"
      ],
      "widgets_values_named": {
        "filename_prefix": "meshy_model_path_%year%%month%%day%_%hour%%minute%",
        "format": "txt"
      }
    },
    {
      "id": 17,
      "type": "MarkdownNote",
      "pos": [
        -705.6480133681862,
        1437.867183004379
      ],
      "size": [
        410,
        270
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note",
      "properties": {},
      "widgets_values": [
        "## Saved text\n\n`Save Text` writes the path of the generated model to a `.txt`, stamped with the date. Handy when you want to find the file again without digging through `output/`.\n\n## Task id\n\nThe `meshy_task_id` output is what the Meshy toolset nodes take, so you can refine, re-texture or rig the same job later without rebuilding it.\n\n## Output\n\nBoth save nodes write into `ComfyUI/output/3d/` — one for the GLB branch, one for the FBX branch."
      ],
      "widgets_values_named": {
        "text": "## Saved text\n\n`Save Text` writes the path of the generated model to a `.txt`, stamped with the date. Handy when you want to find the file again without digging through `output/`.\n\n## Task id\n\nThe `meshy_task_id` output is what the Meshy toolset nodes take, so you can refine, re-texture or rig the same job later without rebuilding it.\n\n## Output\n\nBoth save nodes write into `ComfyUI/output/3d/` — one for the GLB branch, one for the FBX branch."
      },
      "color": "#222",
      "bgcolor": "#000"
    }
  ],
  "links": [
    [
      5,
      9,
      2,
      7,
      0,
      "FILE_3D_GLB"
    ],
    [
      6,
      9,
      3,
      8,
      0,
      "FILE_3D_FBX"
    ],
    [
      7,
      9,
      0,
      16,
      0,
      "STRING"
    ]
  ],
  "groups": [
    {
      "id": 2,
      "title": "Meshy Toolset",
      "bounding": [
        -1395.6480133681862,
        917.867183004379,
        590,
        1410
      ],
      "color": "#444",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.4074068333202941,
      "offset": [
        2612.810549235235,
        -357.44993446361525
      ]
    },
    "frontendVersion": "1.59.10",
    "workflowRendererVersion": "LG",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
