跳到主要内容

宝玉小红书图文卡片

收藏0

把知识、攻略和生活经验拆成适合小红书或微信图文的系列图片卡片,规划封面、内容页与风格,并调用已有绘图能力生成。

让 AI 安装

github最新版本 0.1.0更新于 2026-10-24下载 1 次

references/config/preferences-schema.md

4.0 KB查看源码

Preferences Schema#

Full Schema#

---

version: 1



watermark:

  enabled: false

  content: ""

  position: bottom-right  # bottom-right|bottom-left|bottom-center|top-right



preferred_style:

  name: null              # Built-in or custom style name

  description: ""         # Override/notes



preferred_layout: null    # sparse|balanced|dense|list|comparison|flow



language: null            # zh|en|ja|ko|auto



preferred_image_backend: auto  # auto|ask|<backend-id>



generation_batch_size: 4       # 1-8, used when backend/runtime supports batch or parallel generation



custom_styles:

  - name: my-style

    description: "Style description"

    color_palette:

      primary: ["#FED7E2", "#FEEBC8"]

      background: "#FFFAF0"

      accents: ["#FF69B4", "#FF6B6B"]

    visual_elements: "Hearts, stars, sparkles"

    typography: "Rounded, bubbly hand lettering"

    best_for: "Lifestyle, beauty"

---

Field Reference#

FieldTypeDefaultDescription
versionint1Schema version
watermark.enabledboolfalseEnable watermark
watermark.contentstring""Watermark text (@username or custom)
watermark.positionenumbottom-rightPosition on image
preferred_style.namestringnullStyle name or null
preferred_style.descriptionstring""Custom notes/override
preferred_layoutstringnullLayout preference or null
languagestringnullOutput language (null = auto-detect)
preferred_image_backendstringautoImage backend selection. auto = prefer runtime-native tool, fall back to the only installed backend, ask if multiple non-native are present. ask = always confirm on every run. <backend-id> (e.g., codex-imagegen, baoyu-image-gen, image_generate) = pin this backend when available; fall back to auto when it isn't. Absent = auto. Resolution logic is documented in SKILL.md's ## Image Generation Tools section.
generation_batch_sizeint4Number of images to dispatch per batch when the backend has native batch support or the runtime can issue parallel generation calls. Clamp invalid values to 1-8. Current user request overrides this value.
custom_stylesarray[]User-defined styles

Position Options#

ValueDescription
bottom-rightLower right corner (default, most common)
bottom-leftLower left corner
bottom-centerBottom center
top-rightUpper right corner

Custom Style Fields#

FieldRequiredDescription
nameYesUnique style identifier (kebab-case)
descriptionYesWhat the style conveys
color_palette.primaryNoMain colors (array)
color_palette.backgroundNoBackground color
color_palette.accentsNoAccent colors (array)
visual_elementsNoDecorative elements
typographyNoFont/lettering style
best_forNoRecommended content types

Example: Minimal Preferences#

---

version: 1

watermark:

  enabled: true

  content: "@myusername"

preferred_style:

  name: notion

---

Example: Full Preferences#

---

version: 1

watermark:

  enabled: true

  content: "@myxhsaccount"

  position: bottom-right



preferred_style:

  name: notion

  description: "Clean knowledge cards for tech content"



preferred_layout: dense



language: zh



preferred_image_backend: codex-imagegen



generation_batch_size: 4



custom_styles:

  - name: corporate

    description: "Professional B2B style"

    color_palette:

      primary: ["#1E3A5F", "#4A90D9"]

      background: "#F5F7FA"

      accents: ["#00B4D8", "#48CAE4"]

    visual_elements: "Clean lines, subtle gradients, geometric shapes"

    typography: "Modern sans-serif, professional"

    best_for: "Business, SaaS, enterprise"

---

文件内容是平台检查时读出的文本,只供查看。平台不会运行包里的任何脚本或程序。