2025-07-09 18:47:21 +08:00
|
|
|
|
{
|
|
|
|
|
|
"poster_system_prompt": "resource/prompt/generatePosterContent/system.txt",
|
|
|
|
|
|
"poster_user_prompt": "resource/prompt/generatePosterContent/user.txt",
|
|
|
|
|
|
"enable_poster_generation": true,
|
|
|
|
|
|
"anti_duplicate_hash": false,
|
|
|
|
|
|
"model": {
|
|
|
|
|
|
"temperature": 0.5,
|
|
|
|
|
|
"top_p": 0.7,
|
|
|
|
|
|
"presence_penalty": 1.1
|
|
|
|
|
|
},
|
|
|
|
|
|
"poster_jobs": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"topic_index": 0,
|
|
|
|
|
|
"variant_index": 0,
|
|
|
|
|
|
"template": "vibrant",
|
2025-08-04 16:04:12 +08:00
|
|
|
|
"size": [1350, 1800],
|
2025-07-09 18:47:21 +08:00
|
|
|
|
"generate_text": true,
|
|
|
|
|
|
"text_generation_params": {
|
|
|
|
|
|
"user_prompt_path": "resource/prompt/poster/vibrant_user.txt",
|
|
|
|
|
|
"content_data": ["蔚蓝海岸", "夏日", "天堂", "探索"]
|
|
|
|
|
|
},
|
|
|
|
|
|
"params": {
|
|
|
|
|
|
"image_path": "resource/data/images/scenery1.jpg"
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"topic_index": 0,
|
|
|
|
|
|
"variant_index": 1,
|
|
|
|
|
|
"template": "business",
|
|
|
|
|
|
"size": [900, 1200],
|
|
|
|
|
|
"generate_text": false,
|
|
|
|
|
|
"params": {
|
|
|
|
|
|
"top_image_path": "resource/data/images/hotel1.jpg",
|
|
|
|
|
|
"bottom_image_path": "resource/data/images/hotel2.jpg",
|
|
|
|
|
|
"small_image_paths": [
|
|
|
|
|
|
"resource/data/images/details1.jpg",
|
|
|
|
|
|
"resource/data/images/details2.jpg",
|
|
|
|
|
|
"resource/data/images/details3.jpg"
|
|
|
|
|
|
],
|
|
|
|
|
|
"hotel_info": {
|
|
|
|
|
|
"title": "豪华商务酒店",
|
|
|
|
|
|
"feature": "五星级设施与服务",
|
|
|
|
|
|
"info_sections": [
|
|
|
|
|
|
{"title": "客房", "text": "200间豪华客房,享受极致舒适。"},
|
|
|
|
|
|
{"title": "餐饮", "text": "米其林星级主厨,提供全球美食。"},
|
|
|
|
|
|
{"title": "会议", "text": "1000平米无柱宴会厅,满足各种需求。"}
|
|
|
|
|
|
]
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"topic_index": 1,
|
|
|
|
|
|
"variant_index": 0,
|
|
|
|
|
|
"template": "collage",
|
|
|
|
|
|
"size": [900, 1200],
|
|
|
|
|
|
"generate_text": false,
|
|
|
|
|
|
"params": {
|
|
|
|
|
|
"image_paths": [
|
|
|
|
|
|
"resource/data/images/scenery1.jpg",
|
|
|
|
|
|
"resource/data/images/scenery2.jpg",
|
|
|
|
|
|
"resource/data/images/hotel1.jpg",
|
|
|
|
|
|
"resource/data/images/details1.jpg"
|
|
|
|
|
|
],
|
|
|
|
|
|
"style": "asymmetric"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
|
|
|
|
|
}
|