接口价格:
- 每次成功调用扣除 5 点数,失败不扣点数。点数计算方式:1000点等于1元。
接口调用:
- 请求地址:https://app.yyds5.eu.org/api.php
- 请求示例:https://app.yyds5.eu.org/api.php?key=xxxxxx&type=ai_check&data=好工坊接口
- 请求方式:get
- 返回格式:json
请求参数:
| 参数 | 类型 | 必填 | 示例 | 说明 |
| key | string | 是 | xxxxxx | 接口密钥apiKey,在(账号中心->资料密码)获取 |
| type | string | 是 | ai_check | 接口类型 |
| data | string | 是 | 好工坊接口... | 检测文本(150~3000个字符),需UrlEncode编码 |
返回参数:
| 参数 | 类型 | 示例 | 说明 |
| code | string | 200 | 状态码 |
| msg | string | 成功 | 状态说明 |
| ai_prob | string | 0.48 | 人工智能编写概率:[0~1] |
| human_prob | string | 0.52 | 人类编写概率:[0~1] |
返回示例:
{ "code": "200", "msg": "成功", "ai_prob": "0.48", "human_prob": "0.52" }