64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"articles": [
|
|
{
|
|
"title": "示例文章标题1",
|
|
"content": "这是一篇示例文章的内容。这里包含了一些测试文本,用于演示系统的文章处理功能。",
|
|
"link": "https://www.toutiao.com/article/123456",
|
|
"images": [
|
|
"https://example.com/image1.jpg"
|
|
]
|
|
},
|
|
{
|
|
"title": "示例文章标题2",
|
|
"content": "这是第二篇示例文章。文章内容更长一些,包含更多的测试文本。系统可以处理各种长度的文章内容。",
|
|
"link": "https://www.toutiao.com/article/123457",
|
|
"images": [
|
|
"https://example.com/image2.jpg",
|
|
"https://example.com/image3.jpg"
|
|
]
|
|
},
|
|
{
|
|
"title": "示例文章标题3",
|
|
"content": "第三篇示例文章。这篇文章用于测试批量处理功能。系统可以同时处理多篇文章。",
|
|
"link": "https://mp.weixin.qq.com/s/example",
|
|
"images": []
|
|
}
|
|
],
|
|
"templates": {
|
|
"short": {
|
|
"name": "短篇模板",
|
|
"generation_type": "短篇",
|
|
"workflow_id": "example_workflow_id",
|
|
"access_token": "example_access_token",
|
|
"is_async": "false",
|
|
"input_data_template": "{\"article\": \"{article_text}\"}"
|
|
},
|
|
"article": {
|
|
"name": "文章模板",
|
|
"generation_type": "文章",
|
|
"workflow_id": "example_workflow_id_2",
|
|
"access_token": "example_access_token_2",
|
|
"is_async": "true",
|
|
"input_data_template": "{\"title\": \"{title}\", \"article\": \"{article_text}\"}"
|
|
}
|
|
},
|
|
"config_examples": {
|
|
"general": {
|
|
"max_threads": 3,
|
|
"min_article_length": 100,
|
|
"enable_plagiarism_detection": false
|
|
},
|
|
"coze": {
|
|
"workflow_id": "your_workflow_id",
|
|
"access_token": "your_access_token",
|
|
"is_async": "true"
|
|
},
|
|
"image_modify": {
|
|
"crop_percent": 0.02,
|
|
"min_rotation": 0.3,
|
|
"max_rotation": 3.0,
|
|
"min_brightness": 0.8,
|
|
"max_brightness": 1.2
|
|
}
|
|
}
|
|
} |