meshy_generate
Generate a 3D model from a text prompt or image via Meshy AI, then save the GLB and PBR maps locally for Blender/import workflows; confirms credit spend before starting.
Instructions
Generate a 3D model with Meshy AI from a text prompt (two-stage: geometry preview → texture refine, auto-chained) or a single image (imageUrl or local imagePath). Downloads the resulting GLB + PBR maps to the local work dir (~/.tufan-blox-bridge/assets//) and reports the paths — pair with blender_process (lint/fix) and import_file (upload+insert), or use generate_asset for the whole pipeline in one call. SPENDS MESHY CREDITS (~30 ≈ $0.60 per textured asset): the first call returns a cost estimate and asks for confirm:true unless TUFAN_MESHY_AUTOCONFIRM=1. Generation takes minutes; if waitSeconds runs out you get a taskId to resume with (no re-spend). Needs TUFAN_MESHY_KEY (paid Meshy plan).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "meshy_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Text description of the model (mutually exclusive with image*) | |
| taskId | No | Resume a previous generation instead of starting a new one | |
| confirm | No | Confirm the credit spend for a NEW generation | |
| imageUrl | No | Public image URL for image-to-3D | |
| topology | No | Mesh topology (default triangle) | |
| enablePbr | No | Generate PBR maps (default true) | |
| imagePath | No | Local image file (.png/.jpg/.webp) for image-to-3D | |
| waitSeconds | No | Max seconds to wait before returning a resume taskId (default 120, max 600) | |
| targetPolycount | No | Target triangle count (Meshy default is 30k — ABOVE Roblox's 20k limit; 18000 recommended) |