Files
nanocode/skills/xiaohongshu_integration/xiaohongshu_enhanced_config.json
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

123 lines
2.9 KiB
JSON

{
"xiaohongshu": {
"cli_path": "xhs",
"max_images": 9,
"default_tags": [
"#技术资讯",
"#科技新闻",
"#AI",
"#小红书运营",
"#内容创作",
"#自媒体",
"#干货分享",
"#学习成长"
],
"publish_interval": 3600,
"auto_generate_images": true,
"default_style": "notion",
"default_layout": "balanced",
"enable_auto_tags": true,
"enable_content_analysis": true
},
"image_generation": {
"api_key": "83a29955-c633-449f-97f1-f49b62295cf6",
"api_base_url": "https://ark.cn-beijing.volces.com/api/v3",
"model": "doubao-seedream-4-5-251128",
"max_retries": 3,
"timeout": 60,
"output_dir": "/home/ubuntu/xhs_generated_images",
"enable_batch_generation": true,
"max_images_per_content": 3,
"quality_preset": "high"
},
"content": {
"max_title_length": 30,
"max_content_length": 1000,
"auto_generate_tags": true,
"add_source_info": true,
"extract_key_points": true,
"enable_summary": true,
"summary_length": 200,
"remove_markdown": true,
"format_for_xhs": true
},
"workflow": {
"preprocess_content": true,
"generate_images_before_publish": true,
"validate_before_publish": true,
"save_intermediate_files": true,
"log_detailed_results": true,
"backup_published_content": true
},
"styles": {
"available_styles": [
"cute",
"fresh",
"warm",
"bold",
"minimal",
"notion",
"retro",
"pop"
],
"available_layouts": [
"sparse",
"balanced",
"dense",
"list",
"comparison",
"flow"
],
"style_mapping": {
"knowledge": "notion",
"tutorial": "fresh",
"product_review": "balanced",
"life_share": "cute",
"professional": "minimal",
"trending": "pop",
"retrospective": "retro",
"warning": "bold"
}
},
"presets": {
"knowledge_card": {
"style": "notion",
"layout": "dense",
"description": "知识卡片,适合干货分享"
},
"cute_share": {
"style": "cute",
"layout": "balanced",
"description": "可爱分享,适合生活内容"
},
"tutorial_steps": {
"style": "fresh",
"layout": "flow",
"description": "教程步骤,适合操作指南"
},
"product_comparison": {
"style": "fresh",
"layout": "comparison",
"description": "产品对比,适合测评内容"
},
"checklist": {
"style": "notion",
"layout": "list",
"description": "清单列表,适合要点总结"
},
"clean_quote": {
"style": "minimal",
"layout": "sparse",
"description": "极简金句,适合名言警句"
}
},
"advanced": {
"enable_ab_testing": false,
"collect_metrics": false,
"optimize_prompts": true,
"cache_generated_images": true,
"cache_ttl": 86400,
"parallel_generation": false,
"max_parallel_jobs": 2
}
}