View raw JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"prompt"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"model": {
"type": "string",
"const": "sculptor",
"default": "sculptor",
"description": "Game-ready meshes, fast iteration. Accepts text, 1 photo, or 2–4 photos (auto-routed)."
},
"params": {
"type": "object",
"properties": {
"pbr": {
"type": "boolean",
"default": true,
"description": "Generate PBR textures (base color + metallic-roughness + normal)."
},
"faces": {
"anyOf": [
{
"type": "number",
"const": 40000
},
{
"type": "number",
"const": 100000
},
{
"type": "number",
"const": 500000
},
{
"type": "number",
"const": 1500000
}
],
"default": 100000,
"description": "Target polygon count. Multi-photo jobs clamp to ≤20000 server-side."
}
},
"description": "Generation parameters."
},
"prompt": {
"type": "string",
"examples": [
"a low-poly forest dragon, game-ready, mossy bark texture"
],
"maxLength": 4000,
"minLength": 1,
"description": "Describe the mesh you want."
},
"outputs": {
"type": "array",
"items": {
"enum": [
"glb",
"obj",
"stl"
],
"type": "string"
},
"default": [
"glb"
],
"description": "Output formats. OBJ/STL are converted from GLB."
}
},
"description": "Generate 3D from a text prompt",
"additionalProperties": false
}
},
"additionalProperties": false
}