with one click
xiaohongshu-infographic-generator
// 小红书信息卡片风格提炼与生成。适合“提炼这组卡片风格”“用这个风格生成信息卡片”“生成小红书知识信息图”等请求。
// 小红书信息卡片风格提炼与生成。适合“提炼这组卡片风格”“用这个风格生成信息卡片”“生成小红书知识信息图”等请求。
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | xiaohongshu-infographic-generator |
| description | 小红书信息卡片风格提炼与生成。适合“提炼这组卡片风格”“用这个风格生成信息卡片”“生成小红书知识信息图”等请求。 |
| allowed-tools | Read, Write, Bash |
Follow shared NexTide rules in:
nextide-sharedThis skill has two related capabilities:
Capability id:
xhs.infographic.style.extract
Use this when the user wants to analyze visual style from reference images.
CLI contract:
npm run nextide -- capability run xhs.infographic.style.extract \
--input .nextide/input/xhs-style-extract.json \
--output .nextide/output/xhs-style-extract-result.json \
--mode submit \
--user-api-key <NEX用户积分API_KEY>
Input JSON:
{
"referenceImages": ["/absolute/path/to/reference.png"],
"styleName": "高密度知识卡",
"styleGoal": "适合知识卡片/小红书封面风格",
"sceneType": "图文讲解详情图"
}
The runner supports the first image from referenceImages as either a local file path or http(s) URL. Style extraction is async; the style preset is created immediately and Style DNA is written back after callback.
Capability id:
xhs.infographic.generate
CLI contract:
npm run nextide -- capability run xhs.infographic.generate \
--input .nextide/input/xhs-infographic-generate.json \
--output .nextide/output/xhs-infographic-generate-result.json \
--mode submit \
--user-api-key <NEX用户积分API_KEY>
{
"title": "为什么 30 岁后更需要抗炎护肤",
"text": "正文内容...",
"styleId": "style_preset_id",
"imageCount": 3,
"language": "简体"
}
Aliases accepted by runner:
topic → titlecontent / markdown → textstylePresetId → styleIdpageCount → imageCountstyleId from NexTide style library..nextide/input/xhs-infographic-generate.json.taskId and async status.Expected result shape:
{
"run": {
"status": "waiting_callback",
"result": {
"data": {
"taskId": "...",
"summaryId": "..."
},
"queued": true,
"note": "XHS infographic generation is async..."
}
}
}
xhs.infographic.style.extract0.2.0xhsavailableinternal_apitruemediumnexTideApiKeyN8N_STYLE_WORKFLOW_WEBHOOKnone10/minute, 60/hourxiaohongshu, style, infographic, style-dnaDescription:
从参考图中提炼小红书信息卡片 Style DNA、版式规则和 prompt kit。
Examples:
Input fields:
referenceImages (string[], required):参考图片 URL 或已上传文件 URL。styleName (string):风格名称。Output fields:
stylePresetId (string):生成的风格预设 ID。styleDna (object):风格 DNA 结构化结果。CLI:
nextide capability run xhs.infographic.style.extract \
--input .nextide/input/xhs.infographic.style.extract.json \
--output .nextide/output/xhs.infographic.style.extract-result.json \
--mode submit \
--wait \
--timeout 600 \
--interval 5
RUN_ID=$(node -e "const r=require('./.nextide/output/xhs.infographic.style.extract-result.json'); console.log(r.run && r.run.runId)")
nextide run follow "$RUN_ID" \
--output-dir .nextide/output/$RUN_ID \
--timeout 600 \
--interval 5
Artifact-first reading order:
.nextide/output/$RUN_ID/summary.json..nextide/output/$RUN_ID/manifest.json.preview.html / gallery.html with rich preview when supported.datatable.json for data/table results.xhs.infographic.generate0.2.0xhsavailableinternal_apitruemediumnexTideApiKeyN8N_XHS_TEXT2IMG_WEBHOOK or XHS_TEXT2IMG_WEBHOOKnone10/minute, 60/hourxiaohongshu, infographic, image-generationDescription:
根据主题、正文和风格预设生成小红书信息卡片。
Examples:
Input fields:
topic (string, required):卡片主题。content (string, required):正文内容。stylePresetId (string):风格预设 ID。pageCount (number):生成页数。 默认:6Output fields:
jobId (string):生成任务 ID。cards (array):生成的卡片结果。CLI:
nextide capability run xhs.infographic.generate \
--input .nextide/input/xhs.infographic.generate.json \
--output .nextide/output/xhs.infographic.generate-result.json \
--mode submit \
--wait \
--timeout 900 \
--interval 5
RUN_ID=$(node -e "const r=require('./.nextide/output/xhs.infographic.generate-result.json'); console.log(r.run && r.run.runId)")
nextide run follow "$RUN_ID" \
--output-dir .nextide/output/$RUN_ID \
--timeout 900 \
--interval 5
Artifact-first reading order:
.nextide/output/$RUN_ID/summary.json..nextide/output/$RUN_ID/manifest.json.preview.html / gallery.html with rich preview when supported.datatable.json for data/table results.available, fail fast and explain what is missing.--wait when the user wants a finished result in the same turn.nextide run artifacts <run-id> --output-dir .nextide/output/<run-id> --download --gallery --datatable and read summary.json then manifest.json.nextide run follow <run-id> --output-dir .nextide/output/<run-id> --timeout 1800 --interval 5.summary.recommendedResponse.message, preview.html, datatable.json, and local artifact paths over pasting huge raw JSON.explanation, convert it into a clear user-facing failure message with next actions.