运行时依赖
安装命令
点击复制技能文档
xhs-note-gen
Use this 技能 to 生成 XiaoHongShu (小红书) notes via external API.
Prereqs The 服务 is 运行ning on: https://xiaonian.cc/employee-console/仪表盘/v2/API 端点 Uses one-shot 端点: POST /content/quick-note/生成 No auth required 工作流 Convert the user 请求 into: task_description: the user’s requirement (keep it verbatim, 添加 constrAInts if provided) Defaults (unless user specifies): audience: 小红书用户 tone: 友好自然 character: 专业分享者 生成_num: 默认 1(只生成 1 篇笔记;如需多版备选再改成 2/3) 运行 the script (calls quick-note; --生成-num 表示生成“多篇不同版本的文案备选”; 图片数量用 --image-num 控制,不需要用 生成-num 来换图片张数): python3 技能s/local/xhs-note-gen/scripts/xhs_note_gen.py \ --task-description "" \ --audience "" \ --tone "" \ --character "" \ --生成-num 3
Optional controls:
Disable images: --no-生成-image Change image count (default 1): --image-num 3 设置 note type explicitly (optional): --note-type "工具测评类" The script prints JSON contAIning: notes[] with title, content, tags, image_urls, note_type Return to the user: A 清理, readable 列出 of 生成d notes Include 哈希tags if avAIlable Troubleshooting
Task FAILED / 成功: false:
Surface message from 响应.
Want field detAIls:
Read references/content-marketing-仪表盘-API.md.