Call it
curl https://api.peume.com/v1/call/retexture-3d-model-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"input_run_id": "your input run id",
"input": "your input"
}
}'const res = await fetch("https://api.peume.com/v1/call/retexture-3d-model-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"input_run_id": "your input run id",
"input": "your input"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/retexture-3d-model-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"input_run_id": "your input run id",
"input": "your input"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: retexture-3d-model-2.
Parameters
input_run_idstringrunId of one of YOUR OWN earlier, successful runs that generated a model: /text-to-model/h-series, /text-to-model/p-series, /image-to-model/h-series, /image-to-model/p-series, /multiview-to-model/h-series or /multiview-to-model/p-series.
inputstringA model file instead (GLB, GLTF, FBX, OBJ, STL; ≤ 150 MB): a public https URL — e.g. a model_url from an earlier run — or a file_ token from /files/presign.
modelstringTexture model (default v3.0-20250812).
v3.5-20260815 · v3.0-20250812
texture_promptobjectGuidance: {text}, {image} or {images}; optional for Tripo-made models.
pbrbooleanPBR material maps (default true).
texture_seedintegerSeed for repeatable textures.
texture_alignmentstringMatch the reference image colors or the geometry.
original_image · geometry
texture_qualitystringstandard / fast $0.10, detailed $0.20, extreme (8K) $0.30; fast needs model v3.5-20260815.
fast · standard · detailed · extreme
part_namesarrayOnly texture these parts (from /mesh/segment).
compressstringmeshopt geometry compression.
geometry
bakebooleanBake advanced materials into base textures (default true).
delightbooleanRemove baked lighting (v3.5-20260815 only).
