View raw JSON
{
"type": "object",
"required": [],
"properties": {
"body": {
"oneOf": [
{
"type": "object",
"required": [
"model",
"images_upload_ids"
],
"properties": {
"model": {
"type": "string",
"const": "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."
},
"outputs": {
"type": "array",
"items": {
"enum": [
"glb",
"obj",
"stl"
],
"type": "string"
},
"default": [
"glb"
],
"description": "Output formats. OBJ/STL are converted from GLB."
},
"images_upload_ids": {
"type": "object",
"required": [
"front"
],
"properties": {
"back": {
"type": "string",
"pattern": "^upl_",
"description": "Upload id from POST /v1/uploads."
},
"left": {
"type": "string",
"pattern": "^upl_",
"description": "Upload id from POST /v1/uploads."
},
"front": {
"type": "string",
"pattern": "^upl_",
"description": "Upload id from POST /v1/uploads."
},
"right": {
"type": "string",
"pattern": "^upl_",
"description": "Upload id from POST /v1/uploads."
}
},
"description": "Uploaded views. 1 view → single-image; 2–4 → multi-view (auto-routed).",
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"model",
"images_upload_ids"
],
"properties": {
"model": {
"type": "string",
"const": "atelier",
"description": "Premium fidelity with PBR materials. Photo-to-3D only, single photo."
},
"params": {
"type": "object",
"properties": {
"pbr": {
"type": "boolean",
"const": true,
"default": true
},
"faces": {
"type": "integer",
"default": 100000,
"maximum": 500000,
"minimum": 1000,
"description": "Target polygon count."
}
},
"description": "Generation parameters."
},
"outputs": {
"type": "array",
"items": {
"enum": [
"glb",
"obj",
"stl"
],
"type": "string"
},
"default": [
"glb"
],
"description": "Output formats. OBJ/STL are converted from GLB."
},
"images_upload_ids": {
"type": "object",
"required": [
"front"
],
"properties": {
"front": {
"type": "string",
"pattern": "^upl_",
"description": "Upload id from POST /v1/uploads."
}
},
"description": "Single photo (front). Use sculptor for multi-view.",
"additionalProperties": false
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"description": "Generate 3D from 1-4 photos"
}
},
"additionalProperties": false
}