Generate PBR textures for a mesh you already have
texture_existing_assetReplace missing or wrong PBR materials on an existing mesh without altering its geometry. Provide a local model or prior job ID, plus a text prompt or style reference, to get a cheaper, targeted retexture.
Instructions
SPENDS 3D CREDITS. Applies newly generated PBR materials to an EXISTING mesh, keeping its geometry untouched. Use this when you already own a model and only the materials are missing or wrong — it is cheaper than regenerating and preserves the mesh exactly. Provide the mesh as either modelPath (local .glb/.gltf/.fbx/.obj/.stl) or originalAssetJobId (a previous job from this server whose 3D task produced a model). Direct the material with EITHER prompt OR styleImagePath, not both. ASYNCHRONOUS: poll get_asset_job until "ready", then download_asset. NOTE: providers may only support retexturing meshes that originated from their own prior task; if a provider rejects an uploaded mesh, use originalAssetJobId instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pbr | No | ||
| spec | No | Required with modelPath, so the result has a name and provenance. | |
| prompt | No | Text direction for the material. | |
| modelPath | No | Absolute path to a local mesh file. | |
| textureSeed | No | ||
| modelVersion | No | ||
| styleImagePath | No | Local image whose look should be transferred onto the mesh. | |
| textureQuality | No | "detailed" is the HD tier and costs more credits. | detailed |
| textureAlignment | No | "geometry" aligns to the mesh shape; "original_image" to the reference image. | |
| originalAssetJobId | No | A previous asset job from this server whose 3D task produced a model. |