SoMark文档智能API
    • 使用说明
    • 插件使用说明
      • Coze插件
      • Dify插件
    • SoMark-同步解析
      POST
    • SoMark-异步解析-任务提交
      POST
    • SoMark-异步解析-结果查询
      POST

      SoMark-同步解析

      POST
      https://somark.tech/api/v1/extract/acc_sync

      请求参数

      Body 参数multipart/form-data

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
          "code": 0,
          "message": "string",
          "data": {
              "task_id": "string",
              "result": {
                  "file_name": "string",
                  "imgs": [
                      "string"
                  ],
                  "outputs": {
                      "json": {
                          "pages": [
                              {
                                  "page_num": 0,
                                  "blocks": [
                                      {
                                          "idx": 0,
                                          "type": "string",
                                          "bbox": [
                                              0
                                          ],
                                          "content": "string",
                                          "format": "string",
                                          "captions": [
                                              0
                                          ],
                                          "img_url": "string"
                                      }
                                  ],
                                  "page_size": {
                                      "h": 0,
                                      "w": 0
                                  },
                                  "merge_content_from_pre_page": true
                              }
                          ]
                      },
                      "docx": "string",
                      "markdown": "string"
                  }
              },
              "error": null,
              "metadata": {
                  "page_num": 0,
                  "file_type": "string"
              }
          }
      }
      修改于 2026-02-13 08:02:53
      上一页
      Dify插件
      下一页
      SoMark-异步解析-任务提交
      Built with