download_file_image_stream

download_file_image_stream写操作流式接口
以流式方式下载图片(缓存图片 id / URL / stream 目录本地文件)

Call via POST http://127.0.0.1:3000/download_file_image_stream (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
file string 文件路径(限 stream 临时目录)/ http(s) URL
file_id string 文件 ID(缓存的图片/语音 id)
chunk_size int 分块大小(字节,默认 64KB)

Returns (data)

流式帧:file_info → file_chunk* → file_complete

Returns the standard OneBot envelope; the data shape is not yet documented.

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/download_file_image_stream \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"file":"","file_id":"","chunk_size":0}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.