GPTZero
    • 简介
    • 单字符串人工智能检测
      POST
    • 对一系列文件进行 AI 检测
      POST

      对一系列文件进行 AI 检测

      开发环境
      http://dev-cn.your-api-server.com
      开发环境
      http://dev-cn.your-api-server.com
      POST
      /v2/predict/files
      该端点接受文件输入并返回模型的结果。默认情况下,可以同时提交的最大文件数为 50,所有文件组合的最大文件大小为 15 MB。每个文件的文档将被截断为 50,000 个字符。

      请求参数

      Header 参数

      Body 参数multipart/form-data

      返回响应

      🟢200成功
      application/json
      Body

      🟠400请求有误
      🟠404记录不存在
      🟠429请求有误
      🔴500服务器错误
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://dev-cn.your-api-server.com/v2/predict/files' \
      --header 'x-api-key;' \
      --form 'files=""' \
      --form 'version=""'
      响应示例响应示例
      200 - 成功示例
      {
        "version": "string",
        "scanId": "string",
        "documents": [
          {
            "average_generated_prob": 0,
            "class_probabilities": {
              "ai": 0,
              "human": 0,
              "mixed": 0
            },
            "completely_generated_prob": 0,
            "confidence_category": "high",
            "confidence_score": 0,
            "confidence_scores_raw": {
              "softmax": {
                "ai": 0,
                "human": 0,
                "mixed": 0
              }
            },
            "confidence_thresholds_raw": {
              "softmax": {
                "ai": {
                  "low": 0,
                  "medium": 0,
                  "reject": 0
                },
                "human": {
                  "low": 0,
                  "medium": 0,
                  "reject": 0
                },
                "mixed": {
                  "low": 0,
                  "medium": 0,
                  "reject": 0
                }
              }
            },
            "overall_burstiness": 0,
            "paragraphs": [
              {
                "completely_generated_prob": 0,
                "num_sentences": 0,
                "start_sentence_index": 0
              }
            ],
            "predicted_class": "string",
            "sentences": [
              {
                "generated_prob": 0,
                "perplexity": 0,
                "sentence": "string",
                "highlight_sentence_for_ai": true
              }
            ],
            "writing_stats": {
              "categorized_scores": {
                "Average Sentence Length": "string",
                "Burstiness": "string",
                "Percent SAT": "string",
                "Perplexity": "string",
                "Readability": "string",
                "Simplicity": "string"
              },
              "norm_scores": {
                "Average Sentence Length": 0,
                "Burstiness": 0,
                "Percent SAT": 0,
                "Perplexity": 0,
                "Readability": 0,
                "Simplicity": 0
              },
              "raw_scores": {
                "Average Sentence Length": 0,
                "Burstiness": 0,
                "Percent SAT": 0,
                "Perplexity": 0,
                "Readability": 0,
                "Simplicity": 0
              }
            },
            "result_message": "string",
            "result_sub_message": "string",
            "document_classification": "string",
            "version": "string",
            "document_id": "string"
          }
        ]
      }
      修改于 2024-04-07 09:57:09
      上一页
      单字符串人工智能检测
      Built with