生成长文大纲
POST
/302/writing/api/v1/outline/generate价格:根据调用模型来收费
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
title
string
文章标题
model
string
模型
language
string
语言
默认值:
zh
include_illustration
boolean
是否生成包含插图信息的大纲
默认值:
true
top_p
number
可选
temperature
number
可选
示例
{
"title": "string",
"model": "string",
"language": "zh",
"include_illustration": true,
"top_p": 0,
"temperature": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
integer
必需
data
object
必需
sections
array [object {3}]
大纲列表
示例
{
"status": 0,
"data": {
"sections": [
{
"type": "image",
"content": "string",
"aspect_ratio": "string"
}
]
}
}
最后修改时间: 2 个月前