{
  "openapi": "3.0.3",
  "info": {
    "title": "FatBaby Image API",
    "version": "1.0.0",
    "description": "Sync Sharp image transforms. Multipart field name is always file."
  },
  "servers": [
    {
      "url": "https://thefatbaby.com/api"
    }
  ],
  "paths": {
    "/v1/image/info": {
      "post": {
        "summary": "info",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/image/resize": {
      "post": {
        "summary": "resize",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/image/compress": {
      "post": {
        "summary": "compress",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/image/convert": {
      "post": {
        "summary": "convert",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/image/thumbnail": {
      "post": {
        "summary": "thumbnail",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/image/strip-metadata": {
      "post": {
        "summary": "strip-metadata",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "fb_live_"
      }
    }
  }
}