# 使用方法

{% 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-doc.8i5.net/bing/shi-yong-fang-fa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
