接口大全
添加接口:立即查看
文章获取:立即查看
扣费查询:立即查看
余额查询:立即查看
接口类型:post
接口地址:https://api.zhuzhangai.com/add
提交任务调试工具:立即查看
示例代码:立即下载
请求频率:1QPS/s
提交任务参数说明:
名称 | 类型 | 必填 | 默认值 | 说明 |
appkey | string | 是 | 无 | 用户appkey,后台查看 |
appsecret | string | 是 | 无 | 用户appsecret,后台查看 |
id | int | 是 | 无 | 您任务表内的主键序号 |
title | string | 是 | 无 | 写作标题,单次最多100个 |
type | int | 是 | 无 | 写作类型:1=文章,2=视频文案 |
retitle | int | 否 | 1 | 重写标题:1=否,2=是 |
rebody | int | 否 | 1 | 纠错文章:1=否,2=是 |
img | int | 否 | 2 | 配图:1-配图,2-不配图 |
提交任务返回参数说明:
名称 | 类型 | 说明 |
id | int | 您提交任务表内的主键序号 |
type | int | 写作类型 |
title | string | 写作标题 |
plantime | int | 任务预计完成时间 |
提交任务code码说明:
code码 | 说明 |
200 | 提交成功 |
201 | 余额不足 |
202 | 单次提交数量超限 |
202 | 主键序号已提交过 |
203 | 超过每秒请求数上限 |
400 | 提交失败 |
401 | 用户不存在 |
501 | 提交type参数非法 |
502 | 提交retitle参数非法 |
503 | 提交rebody参数非法 |
504 | 提交img参数非法 |
提交json样式:
{
"appkey": "您的APPkey",
"appsecret": "您的APPsecret",
"tasks": [{
"id": "1299",
"title": "u6d4bu8bd5u6807u9898",
"type": "1",
"retitle": "1",
"rebody": "1",
"img": "1"
}, {
"id": "1295",
"title": "u6d4bu8bd5u6807u9898",
"type": "1",
"retitle": "1",
"rebody": "1",
"img": "1"
}]
}
返回示例:
{
"code": 200,
"msg": "提交成功!",
"data": {
"AddList": [
{
"id": 88,
"type": 1,
"title": "测试任务",
"plantime": 1666771406
},
{
"id": 188,
"type": 1,
"title": "测试任务",
"plantime": 1666771412
}
]
}
}
原创文章,来源著章AI写作助手,如若转载,请注明出处!