---
title: "解析文档图片"
method: POST
path: "/llm-application/open/document/slice/image_list/{id}"
tags: ["知识库 API"]
---

# 解析文档图片

`POST /llm-application/open/document/slice/image_list/{id}`

用于获取文件下解析到的图片序号和图片链接映射关系。点击 **Try it** 按钮可快速试用。

## Path parameters

- `id` string, required

## Response `200`

请求成功

- KnowledgeImageListResponse
  - `data` object
    - `images` object[]
      - `text` string — 图片序号文本
      - `cos_url` string — 图片链接
  - `code` integer — 状态码
  - `message` string — 返回信息
  - `timestamp` integer — 时间戳

## Other responses

- `default` — 请求失败

---

[API](https://skmtc.dev/bigmodel/apis/zhipu-ai-api.md) · [All operations](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bigmodel/zhipu-ai-api/revisions/37de2d7b73de/schema)
