> For the complete documentation index, see [llms.txt](https://api-doc.8i5.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-doc.8i5.net/bing/shi-yong-fang-fa.md).

# 使用方法

{% hint style="info" %}
**提示:图片来源于必应**
{% endhint %}

### 调用方法

此**API只支持https调用**，所有参数均仅适用于以 **GET** 方式进行请求，可直接插入**img**标签中

请求地址：

```html
https://api.8i5.net/bing
```

### 调用参数

| 参数代码 | 参数含义             | 可用参数                           |
| ---- | ---------------- | ------------------------------ |
| rand | 是否随机显示最近8天内的图片   | true or false                  |
| day  | 显示指定的最近图片        | -1，0，1，2，3，4，5，6，7(0为今天，-1为昨天) |
| size | 指定获取图片大小         | 详见下方可用分辨率                      |
| info | 获取图片基础信息（json格式） | true or false                  |

###

### 返回实例​

```
必应图片一张
```

以上所有参数均非必要，默认参数为rand=false，day=0，size=1920×1080，info=false
