Refine 3D Model (Popcraft)
popcraft_postprocess_3dRun a Tripo3D post-process on an existing Popcraft 3D model: "convert_model" (export FBX/OBJ/STL/USDZ/GLTF/3MF, optional quad + face_limit + texture_size — the cheap way to get a Blender-friendly FBX (fbx_preset "blender") or a decimated mesh; the source is already a GLB, so use FBX/GLTF rather than GLB as the target), "highpoly_to_lowpoly" (retopologize to a low-poly game/rig-ready mesh, params quad/face_limit/bake), "refine_model" (upgrade a draft to higher detail), "texture_model" (re-texture with texture_prompt / style_image_url, texture_quality, pbr), "stylize_model" (style "lego" | "voxel" | "voronoi", block_size 32–128), "mesh_segmentation" (split into named parts), "mesh_completion" (fill holes; optional part_names). source is the job_id returned by popcraft_generate_3d / popcraft_job_display, or a 3D asset id from the /model-3d workspace — only Tripo-generated models can be post-processed. params is the per-operation object described above (omit for defaults). Set get_cost:true first to preflight the credit cost WITHOUT submitting — refine/stylize/completion/lowpoly are variable-cost and reconcile to Tripo's actual usage on completion. On success an interactive result card is shown and refreshes itself — do NOT poll; call popcraft_job_display at most once if no card is visible. The output is a new 3D asset (lineage-linked to the source) whose URL you can download or import into Blender. Never tell the user how long the job will take or quote any estimate of generation time — the result card shows progress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Per-op params, e.g. {"format":"FBX","fbx_preset":"blender","quad":true,"face_limit":20000} for convert_model; {"quad":true,"face_limit":15000,"bake":true} for highpoly_to_lowpoly; {"texture_prompt":"...","texture_quality":"detailed","pbr":true} for texture_model; {"style":"voxel","block_size":80} for stylize_model | |
| source | Yes | Source 3D model: a job_id from popcraft_generate_3d / popcraft_job_display, or a model3d asset id | |
| get_cost | No | true = return the exact credit cost WITHOUT submitting | |
| operation | Yes | Post-process op: convert_model | highpoly_to_lowpoly | refine_model | texture_model | stylize_model | mesh_segmentation | mesh_completion | |
| project_id | No | File the result into this Popcraft project (id from popcraft_projects). Omit to file it next to the source model (its project). | |
| project_name | No | File the result into the project with this title, creating it if needed. Ignored when project_id is set. |