Academic Rewrite
POST /api/open/academic-rewrite
根据质量档位选择不同模型,返回单条优化后的学术表述。
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| text | string | 必填 | 待改写的原文,支持 10~2000 字符(按实际字符计费) |
| language | string | 可选 | 输出语言,默认 zh_CN,可选范围见支持语言表 |
| quality | string | 可选 | low / medium / high,对应不同效果档位与单价,默认 low |
| personalTerms | string[] | 可选 | 术语白名单,保留专有名词;示例:["BunnyScholar", "AI写作"] |
请求示例(curl)
curl -X POST https://bunnyscholar.cn/api/open/academic-rewrite \
-H "Authorization: Bearer sk_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"text": "本研究旨在探索高校学生在AI写作工具辅助下的写作行为变化。",
"language": "zh_CN",
"quality": "medium"
}'响应示例(截断)
{
"data": {
"text": "本研究聚焦高校学生在AI写作支持环境中的写作行为演化。"
},
"usage": {
"currency": "CNY",
"amount": 0.0008,
"unitPrice": 0.8,
"billableUnits": 0.001,
"charsIn": 31
}
}