搜索结果

×

搜索结果将在这里显示。

🌳 随机cosplay图片

基本信息

  • 接口地址https://api.xk.ee/cosplay
  • 备用地址https://api.ku.cm/cosplay
  • 请求方式GET
  • 返回格式image (cosplay图片)

请求参数

参数名 类型 必填 默认值 说明
该接口无需任何请求参数,直接访问即可返回一张随机图片。

使用示例

1. 获取一张随机图片

https://api.xk.ee/cosplay
返回内容:返回一张随机图片。

{
  "images_url": "https://ecos.xk.ee/cosplay/154EE21961A1C0C7AB49AABC8A0F2F5E.jpg",
  "d

返回结果

返回的是 随机图片,图片格式通常为 JPEGPNG,具体取决于返回的图片格式。


调用示例

<img src="https://api.xk.ee/cosplay" alt="cosplay">

注意事项

  1. 该接口无需传递任何参数,直接调用即可返回一张随机图片。
  2. 返回的是图片数据,建议使用 <img> 标签在网页中展示。
  3. 图片来源是随机的,每次调用返回不同的图片。
  4. 该接口仅适用于获取随机图片,无法获取其他资源或信息。