# 导入Word生成(默认AI)

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/ai/chat/v2/word:
    get:
      summary: 导入Word生成(默认AI)
      deprecated: false
      description: |
        用户上传word，前端解析 word 获取内容后请求该接口生成大纲+内容的结果
      tags:
        - 智能生成/内容生成
      parameters:
        - name: task_id
          in: query
          description: |
            任务ID
          required: true
          example: '{{taskID}}'
          schema:
            type: string
        - name: x-api-key
          in: header
          description: ''
          required: true
          example: '{{apiKey}}'
          schema:
            type: string
        - name: x-channel
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: x-token
          in: header
          description: ''
          required: true
          example: '{{token}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  content:
                    type: string
                required:
                  - content
                x-apifox-orders:
                  - content
              example: "event:message\r\ndata:{\"content\":\"``\"}\r\n\r\nevent:message\r\ndata:{\"content\":\"`\\n\"}\r\n\r\nevent:message\r\ndata:{\"content\":\"#\"}\r\n\r\nevent:message\r\ndata:{\"content\":\" 业\"}\r\n\r\n......\r\n\r\nevent:message\r\ndata:{\"content\":\"```\"}\r\n\r\nevent:close\r\ndata:api-close"
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 智能生成/内容生成
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4285308/apis/api-165839676-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: http://dev-cn.your-api-server.com
    description: 开发环境
  - url: http://test-cn.your-api-server.com
    description: 测试环境
  - url: https://co.aippt.cn
    description: 正式环境
security: []

```
