API端点:
https://service.9020blog.com/api/v1/documents
请求示例:
curl --location --request GET 'https://service.9020blog.com/api/v1/documents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
, 结果 的 result
。 默认为:name
。template_id
1
, 关于我们 的 2
, 广告 的 3
, 文章 的 4
, 博客介绍 的 5
, 博客大纲 的 6
, 博客结尾 的 7
, 博客段落 的 8
, 博客文章 的 9
, 博客部分 的 10
, 博客谈论要点 的 11
, 博客标题 的 12
, 呼吁行动 的 13
, 内容改写 的 14
, 内容摘要 的 15
, 常见问题解答 的 16
, 标签 的 17
, 标题 的 18
, 它是如何工作的 的 19
, 元描述 的 20
, 元关键词 的 21
, 使命宣言 的 22
, 电子报 的 23
, Pain-Agitate-Solution 的 24
, 段落 的 25
, 新闻稿 的 26
, 社交帖子 的 27
, 社交帖子标题 的 28
, 初创企业创意 的 29
, 初创企业名称 的 30
, 副标题 的 31
, 推荐信 的 32
, 推文 的 33
, Twitter 线程 的 34
, 价值主张 的 35
, 视频描述 的 36
, 视频脚本 的 37
, 视频标签 的 38
, 视频标题 的 39
, 愿景宣言 的 40
。 默认为:freestyle
。favorite
sort_by
id
, 名称 的 name
。 默认为:id
。sort
desc
, 升序 的 asc
。 默认为:desc
。per_page
10
, 25
, 50
, 100
。 默认为:10
。API端点:
https://service.9020blog.com/api/v1/documents/{id}
请求示例:
curl --location --request GET 'https://service.9020blog.com/api/v1/documents/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://service.9020blog.com/api/v1/documents
请求示例:
curl --location --request POST 'https://service.9020blog.com/api/v1/documents' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'prompt={prompt}'
name
prompt
creativity
0
, 确定性的 的 0.25
, 原始的 的 0.5
, 有创造力的 的 0.75
, 富有想象力的 的 1
。 默认为:0.5
。API端点:
https://service.9020blog.com/api/v1/documents/{id}
请求示例:
curl --location --request PUT 'https://service.9020blog.com/api/v1/documents/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
result
favorite
API端点:
https://service.9020blog.com/api/v1/documents/{id}
请求示例:
curl --location --request DELETE 'https://service.9020blog.com/api/v1/documents/{id}' \ --header 'Authorization: Bearer {api_key}'