爱人爱己举牌表情图片,可以在图片上面写名字
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| key | string | 是 | 接口调用密钥 | |
| msg | string | 是 | 要添加的文字内容 | 倾梦 |
[
{
"name": "key",
"type": "string",
"required": true,
"description": "接口调用密钥",
"example": ""
},
{
"name": "msg",
"type": "string",
"required": true,
"description": "要添加的文字内容",
"example": "倾梦"
}
]
{
"openapi": "3.1.1",
"info": {
"title": "爱人爱己",
"description": "爱人爱己举牌表情图片,可以在图片上面写名字",
"version": "1.0.0"
},
"paths": {
"\/api\/bqbjk\/araj\/api.php": {
"get": {
"summary": "爱人爱己",
"description": "爱人爱己举牌表情图片,可以在图片上面写名字",
"parameters": [
{
"name": "key",
"in": "query",
"required": true,
"schema": {
"type": "string"
},
"description": "接口调用密钥"
},
{
"name": "msg",
"in": "query",
"required": true,
"schema": {
"type": "string",
"example": "倾梦"
},
"description": "要添加的文字内容"
}
],
"responses": {
"200": {
"description": "成功",
"content": {
"application\/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"post": {
"summary": "爱人爱己",
"description": "爱人爱己举牌表情图片,可以在图片上面写名字",
"parameters": [
{
"name": "key",
"in": "query",
"required": true,
"schema": {
"type": "string"
},
"description": "接口调用密钥"
},
{
"name": "msg",
"in": "query",
"required": true,
"schema": {
"type": "string",
"example": "倾梦"
},
"description": "要添加的文字内容"
}
],
"responses": {
"200": {
"description": "成功",
"content": {
"application\/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
}
},
"servers": [
{
"url": "https:\/\/api.317ak.com",
"description": "当前访问入口(https)"
}
]
}
用于生成“爱人爱己”举牌表情图片,并可在图片上添加指定文字。适用于需要制作个性化表情图片的用户,接口免费调用。
https://api.317ak.com/api/bqbjk/araj/api.php
支持 GET、POST 请求。
接口调用必须提供有效密钥,首选通过 Query 参数 key 传递。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
key |
string | 是 | 接口调用密钥,通过 Query 参数 key=… 传递。 |
msg |
string | 是 | 要添加到图片上的文字内容,例如:倾梦。 |
接口成功处理请求后返回生成的「爱人爱己」举牌表情图片。由于资料未提供固定的返回示例及响应 JSON 结构,无法列出具体返回字段或固定响应内容。
当前接口资料未提供成功响应的 JSON 字段定义。成功结果以接口实际返回的生成图片内容为准。
当请求未通过密钥校验、接口状态检查或其他业务校验时,接口返回 JSON 错误信息,格式如下:
{"code":0,"msg":"未提供调用密钥","errcode":11001}
其中 errcode 为业务错误码,msg 为对应的错误说明。
| errcode | 含义 |
|---|---|
| 11001 | 未提供调用密钥 |
| 11002 | 密钥错误 |
| 11003 | 密钥已禁用 |
| 11004 | 积分余额不足 |
| 11005 | 请求过于频繁(QPM 限制) |
| 11006 | 接口维护中 |
| 11007 | 接口已禁用 |
| 11008 | 接口不可用 |
| 11009 | 密钥校验暂不可用 |
| 11010 | 积分系统暂不可用 |
| 11011 | 收费接口须提供有效密钥 |
| 11012 | 鉴权方式错误 |
| 11013 | 接口不存在 |
| 11014 | ***地址无效 |
| 11015 | ***地址不允许 |
| 11016 | ***请求失败 |
| 11017 | 服务暂不可用 |
| 11018 | 请求方式不允许 |
| 11019 | 当前IP不在白名单内 |
| 11020 | 启用出口代理须提供有效密钥 |
| 11021 | 未配置可用出口代理 |
| 11022 | 出口代理不可用 |
| 11023 | 密钥已过期 |
| 11024 | 令牌分配积分不足 |
| 11025 | 该密钥无权调用此接口 |
curl -G 'https://api.317ak.com/api/bqbjk/araj/api.php' \
--data-urlencode 'key=你的接口密钥' \
--data-urlencode 'msg=倾梦'
// PHP
$url = 'https://api.317ak.com/api/bqbjk/araj/api.php?key='. urlencode('你的接口密钥'). '&msg='. urlencode('倾梦');
$response = file_get_contents($url);
echo $response;
key 为必填参数,请妥善保管接口调用密钥,避免将密钥直接暴露在网页前端、公开代码仓库或可被他人获取的位置。key=…。msg 为必填参数,用于指定图片上显示的文字内容,例如 倾梦。建议控制文字长度,避免内容过长影响图片展示效果。GET、POST 请求,调用地址必须使用 HTTPS:https://api.317ak.com/api/bqbjk/araj/api.php。curl -G 'https://api.317ak.com/api/bqbjk/araj/api.php' \
--data-urlencode 'key=YOUR_API_KEY' \
--data-urlencode 'msg=倾梦'