POST/api/generate
Text-to-3D. Submit a prompt, receive a validated .glb URL plus print-readiness verdict.
Request body
{
"prompt": "modern geometric lampshade",
"mode": "fast_draft", // or "hi_fi"
"style": "geometric",
"advanced": {
// Mesh
"meshQuality": "standard", // standard · high · ultra
"topology": "triangles", // triangles · quads
"smoothing": "light", // off · light · strong
"hollowing": "solid", // solid · hollow
"wallThicknessMm": 2.0,
// Texture
"textures": true,
"textureResolution": "2k", // 1k · 2k · 4k · 8k
"textureMaps": ["albedo", "normal", "roughness"],
"textureStyle": "realistic",
"uvMode": "auto",
// Material (digital shading)
"surface": "matte", // matte · glossy · metallic
"materialDetail": "medium", // low · medium · high
// Output
"engine": "auto", // auto · trellis · tripo · hunyuan · meshy · rodin
"outputFormat": "glb", // glb · obj · stl · fbx · usdz
"coordinateSystem": "y_up", // y_up · z_up
"symmetry": "auto", // auto · off · x · y · z
"variations": 1, // 1 · 2 · 4
"refinementPass": false,
"seed": 42
}
}Response
{
"modelUrl": "https://cdn.trimod.ai/<id>.glb",
"taskId": "task_8a1c...",
"source": "3daistudio",
"mode": "fast_draft",
"inputMode": "text",
"creditsCharged": 1,
"printStatus": "ready",
"printDetail": "walls 2.1mm · 0 overhangs"
}