{
  "openapi": "3.1.0",
  "info": {
    "title": "sam3 — Chutes API",
    "description": "Segment Anything Model (SAM3)",
    "version": "2d3e4fa1-cea2-556d-96f8-e219255470f3",
    "contact": {
      "name": "Chutes",
      "url": "https://chutes.ai"
    },
    "x-chutes": {
      "chuteId": "e97a02fe-1932-5f43-84b5-5dced5443012",
      "slug": "score-test-sam3",
      "modelName": "sam3",
      "standardTemplate": null,
      "openaiCompatible": false,
      "confidentialCompute": true,
      "modelPage": "https://chutes.ai/app/chute/score-test-sam3",
      "llmsTxt": "https://chutes.ai/app/chute/score-test-sam3/llms.txt",
      "pricing": {
        "usdPerHour": 1.8
      }
    }
  },
  "servers": [
    {
      "url": "https://score-test-sam3.chutes.ai"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Chutes API key. Send as `Authorization: Bearer $CHUTES_API_KEY`."
      }
    }
  },
  "paths": {
    "/health": {
      "post": {
        "operationId": "health",
        "summary": "POST /health",
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "example": {}
            }
          }
        }
      }
    },
    "/sam3/segment": {
      "post": {
        "operationId": "predict",
        "summary": "POST /sam3/segment",
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ]
              },
              "example": {
                "data": {
                  "image": {
                    "type": "example-string",
                    "value": "example-string"
                  },
                  "prompts": [
                    {
                      "text": "Your text here",
                      "type": "example-string"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}