{
  "openapi": "3.0.1",
  "info": {
    "title": "42 3D creative (AI Art director)",
    "description": "AI-powered text/image to 3D model generator. Create printable STL/GLB files with mesh validation,     \n  auto-repair, and printer optimization. Supports resin (SLA) and FDM printers. Quality levels from     \n  draft to ultra.",
    "version": "1.0",
    "x-build-id": "M4hb0FRDL88Rh8ZGo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/salesmart-srl~3d-print-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-salesmart-srl-3d-print-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/salesmart-srl~3d-print-generator/runs": {
      "post": {
        "operationId": "runs-sync-salesmart-srl-3d-print-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/salesmart-srl~3d-print-generator/run-sync": {
      "post": {
        "operationId": "run-sync-salesmart-srl-3d-print-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mcp_tool"
        ],
        "properties": {
          "mcp_tool": {
            "title": "Tool",
            "enum": [
              "generate_3d_from_text",
              "generate_3d_from_image",
              "generate_3d_with_imagen",
              "generate_3d_multiview",
              "get_model_info",
              "convert_3d_format",
              "validate_for_printer",
              "optimize_orientation",
              "generate_sla_supports",
              "render_3d_preview",
              "render_3d_painted",
              "list_printer_presets",
              "get_manual"
            ],
            "type": "string",
            "description": "Select the MCP tool to execute",
            "default": "generate_3d_from_text"
          },
          "prompt": {
            "title": "Text Prompt",
            "type": "string",
            "description": "Describe the 3D model you want. Be specific about shape, size, and details."
          },
          "image_url": {
            "title": "Image URL",
            "pattern": "^https?://.+",
            "type": "string",
            "description": "URL of an image to convert to 3D. Works best with single objects on plain backgrounds."
          },
          "quality": {
            "title": "Quality",
            "enum": [
              "lite",
              "standard",
              "high",
              "ultra"
            ],
            "type": "string",
            "description": "Generation quality level. Higher = more detail, longer time, higher cost.",
            "default": "standard"
          },
          "output_format": {
            "title": "Output Format",
            "enum": [
              "glb",
              "stl",
              "obj",
              "ply"
            ],
            "type": "string",
            "description": "3D file format for the generated model",
            "default": "glb"
          },
          "target_size_mm": {
            "title": "Target Size (mm)",
            "minimum": 10,
            "maximum": 300,
            "type": "number",
            "description": "Scale model so largest dimension equals this value",
            "default": 50
          },
          "style": {
            "title": "Visual Style",
            "enum": [
              "realistic",
              "cartoon",
              "miniature",
              "artistic",
              "mechanical"
            ],
            "type": "string",
            "description": "Visual style for AI image generation",
            "default": "realistic"
          },
          "mesh_url": {
            "title": "Mesh URL",
            "pattern": "^https?://.+",
            "type": "string",
            "description": "URL of existing mesh for validation/conversion tools"
          },
          "printer": {
            "title": "Target Printer",
            "enum": [
              "stl_only",
              "generic_4k",
              "generic_8k",
              "anycubic_photon_m3_max",
              "anycubic_photon_mono_m5s",
              "elegoo_mars_4_ultra",
              "elegoo_saturn_3_ultra",
              "phrozen_sonic_mini_8k"
            ],
            "type": "string",
            "description": "Printer preset for validation and slicing",
            "default": "stl_only"
          },
          "auto_repair": {
            "title": "Auto-Repair Mesh",
            "type": "boolean",
            "description": "Automatically fix mesh issues (holes, inverted normals)",
            "default": true
          },
          "steps": {
            "title": "Diffusion Steps",
            "minimum": 30,
            "maximum": 100,
            "type": "integer",
            "description": "Number of diffusion iterations (30-100). More = finer detail but slower."
          },
          "guidance_scale": {
            "title": "Guidance Scale",
            "minimum": 1,
            "maximum": 20,
            "type": "number",
            "description": "Prompt adherence (1.0-20.0). Lower = creative, higher = faithful."
          },
          "seed": {
            "title": "Random Seed",
            "type": "integer",
            "description": "Seed for reproducible results. Same seed + params = same output."
          },
          "runpodApiKey": {
            "title": "RunPod API Key",
            "type": "string",
            "description": "Your RunPod API key (optional - uses default if not provided)"
          },
          "googleApiKey": {
            "title": "Google API Key",
            "type": "string",
            "description": "Google API key for Imagen 4 (required for generate_3d_with_imagen)"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}