Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.
XiaoDeng3386 edited this page Jan 14, 2024 · 2 revisions

/random 接口中,当返回的回声洞包含图像时,其数据将被储存在 images 字段中

例子

图片

概述

如图所示,content 字段的 [[Img:...]]] 为插入图片,中间的 ... 为图像 ID

其正则表达式类似这样:

\[\[Img:\d+\.\d+\]\]\]

图像被以 base64 的形式储存在 images 字段中,键为图像 ID,值为图像的 base64 编码

您也可以另 no_image=true 以禁止返回带有图像的回声洞

Clone this wiki locally