{
  "openapi": "3.1.0",
  "info": {
    "title": "Escribelo API",
    "description": "API REST de transcripción de audio a texto optimizada para español latinoamericano. Soporta MP3, WAV, M4A, OGG, FLAC y más. Salida en JSON, SRT, VTT o texto plano. Gratis: 60 min/mes. Pro $9/mes. Scale $29/mes. PAYG $0.005/min.",
    "contact": {
      "name": "Escribelo",
      "url": "https://escribelo.4l3.org/",
      "email": "hola@4l3.org"
    },
    "license": {
      "name": "Proprietary"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://escribelo.4l3.org"
    }
  ],
  "paths": {
    "/api": {
      "get": {
        "summary": "Api Root",
        "operationId": "api_root_api_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/v1/transcribe": {
      "post": {
        "summary": "Transcribe Endpoint",
        "operationId": "transcribe_endpoint_v1_transcribe_post",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_transcribe_endpoint_v1_transcribe_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/pricing": {
      "get": {
        "summary": "Pricing",
        "operationId": "pricing_pricing_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Body_transcribe_endpoint_v1_transcribe_post": {
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "title": "File"
          },
          "tier": {
            "type": "string",
            "title": "Tier",
            "default": "standard"
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Language",
            "default": "es"
          },
          "output": {
            "type": "string",
            "title": "Output",
            "default": "json"
          },
          "vad": {
            "type": "boolean",
            "title": "Vad",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "file"
        ],
        "title": "Body_transcribe_endpoint_v1_transcribe_post"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}