GET
POST
免费
翻译
/api/fanyi.php
将上传的图片链接上传到k歌图床
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| url | url | 是 | 需要填写上传的图片链接 | https://commpic.kg.qq.com/cos/2164/2164_38f663df053a07bb659be6e483f9fafc59812458 |
[
{
"name": "url",
"type": "url",
"required": true,
"description": "需要填写上传的图片链接",
"example": "https://commpic.kg.qq.com/cos/2164/2164_38f663df053a07bb659be6e483f9fafc59812458"
}
]
{"openapi":"3.1.1","info":{"title":"k歌图床","description":"将上传的图片链接上传到k歌图床","version":"1.0.0"},"paths":{"/api/tc/kg.php":{"get":{"summary":"k歌图床","description":"将上传的图片链接上传到k歌图床","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://commpic.kg.qq.com/cos/2164/2164_38f663df053a07bb659be6e483f9fafc59812458"},"description":"需要填写上传的图片链接"}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"servers":[{"url":"https://atror.lcog.cn","description":"当前访问入口(https)"}]}
{
"code": 0,
"message": "上传成功",
"data": {
"url": "https://commpic.kg.qq.com/cos/2164/2164_66fc6cdf053a07bb489de6e483f9fafc5981cabf",
"id": "2164_66fc6cdf053a07bb489de6e483f9fafc5981cabf",
"size": 85739,
"type": "image/gif"
}
}
暂无详细文档
暂无代码示例。管理员可在后台用 AI 生成或手动编写。
// 结果将在此处显示