假定 API 部署到 https://example.net/
php访问 https://example.net/api ,跳转至图片地址
访问 https://example.net/api/?id=数字 ,跳转至指定图片
访问 https://example.net/api/?raw
服务器读取后输出,默认关闭
访问 https://example.net/api/?json
输出json
{"id":0,url":"https://blog.saop.cc/img/moe/moe_1.webp"}