通过此接口生成指定主题的文章。
| 参数 | 说明 | 示例 |
|---|---|---|
| Content-Type | 请求体格式 | application/json |
| Authorization | 鉴权 Token | Bearer {apikey} |
请求方式:POST
请求地址:https://api.zenoio.com/v1/articles/completions
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| title | string | 是 | 标或关键词 |
| contentModelCode | string | 是 | 内容类型代码可选值(公开):"Real-Humans","Li-Zhi","Promote-Articles" |
| titleModelCode | string | 是 | AI标题模式可选值(公开):"AI-Seo","AI-Seo-mini" |
| lang | string | 否 | 语言:"简体中文", "繁体中文", "英文", "韩语", "日语", "越南语",等.. |
| brand | string | 否 | 品牌词或推广关键词 |
| 状态码 | 说明 |
|---|---|
| 200 | 请求成功 |
| 400 | 参数错误 |
| 401 | 身份鉴权失败 |
| 402 | 套餐到期或积分不足 |
| 429 | 速率限制 |
| 500 | 服务器错误 |
| 503 | 服务器繁忙 |
curl -X POST https://api.zenoio.com/v1/articles/completions \
-H "Authorization: Bearer {APIKey}" \
-H "Content-Type: application/json" \
-d '{
"title": "今年大学录取分数线",
"contentModelCode": "Real-Humans",
"titleModelCode": "AI-Seo",
}'
{
"data":{
"content": "起因:孩子高考急着查分\n上个月侄子高考出分,分数刚出来...",
"title": "今年大学录取分数线哪里看?最全查询指南来了!"
}
}
curl -X POST https://api.zenoio.com/v1/articles/completions \
-H "Authorization: Bearer {APIKey}" \
-H "Content-Type: application/json" \
-d '{
"title": "今年大学录取分数线",
"contentModelCode": "Real-Humans",
"titleModelCode": "AI-Seo",
}'
{
"data":{
"content": "起因:孩子高考急着查分\n上个月侄子高考出分,分数刚出来...",
"title": "今年大学录取分数线哪里看?最全查询指南来了!"
}
}