跳到主要内容

宝玉知识漫画与故事分镜

收藏0

把知识、教程和故事整理成连贯漫画,规划角色、分镜和逐页提示词,调用已有绘图工具出图,可将图片合成 PDF。

让 AI 安装

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

references/config/preferences-schema.md

5.7 KB查看源码

Preferences Schema#

Full Schema#

---

version: 2



watermark:

  enabled: false

  content: ""

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



preferred_art: null       # ligne-claire|manga|realistic|ink-brush|chalk|minimalist

preferred_tone: null      # neutral|warm|dramatic|romantic|energetic|vintage|action

preferred_layout: null    # standard|cinematic|dense|splash|mixed|webtoon|four-panel

preferred_aspect: null    # 3:4|4:3|16:9



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 page generation



character_presets:

  - name: my-characters

    roles:

      learner: "Name"

      mentor: "Name"

      challenge: "Name"

      support: "Name"

---

Field Reference#

FieldTypeDefaultDescription
versionint2Schema version
watermark.enabledboolfalseEnable watermark
watermark.contentstring""Watermark text (@username or custom)
watermark.positionenumbottom-rightPosition on image
preferred_artstringnullArt style (ligne-claire, manga, realistic, ink-brush, chalk, minimalist)
preferred_tonestringnullTone (neutral, warm, dramatic, romantic, energetic, vintage, action)
preferred_layoutstringnullLayout preference or null
preferred_aspectstringnullAspect ratio (3:4, 4:3, 16:9)
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 page 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.
character_presetsarray[]Preset character roles for styles like ohmsha

Art Style Options#

Value中文Description
ligne-claire清线Uniform lines, flat colors, European comic tradition
manga日漫Large eyes, manga conventions, expressive emotions
realistic写实Digital painting, realistic proportions
ink-brush水墨Chinese brush strokes, ink wash effects
chalk粉笔Chalkboard aesthetic, hand-drawn warmth
minimalist极简Clean black line art, limited spot color, stick-figure characters

Tone Options#

Value中文Description
neutral中性Balanced, rational, educational
warm温馨Nostalgic, personal, comforting
dramatic戏剧High contrast, intense, powerful
romantic浪漫Soft, beautiful, decorative elements
energetic活力Bright, dynamic, exciting
vintage复古Historical, aged, period authenticity
action动作Speed lines, impact effects, combat

Position Options#

ValueDescription
bottom-rightLower right corner (default, works with most panel layouts)
bottom-leftLower left corner
bottom-centerBottom center (good for webtoon vertical scroll)
top-rightUpper right corner (avoid - conflicts with page numbers)

Character Preset Fields#

FieldRequiredDescription
nameYesUnique preset identifier
roles.learnerNoCharacter representing the learner/protagonist
roles.mentorNoCharacter representing the teacher/guide
roles.challengeNoCharacter representing obstacles/antagonist
roles.supportNoCharacter providing support/comic relief

Example: Minimal Preferences#

---

version: 2

watermark:

  enabled: true

  content: "@myusername"

preferred_art: ligne-claire

preferred_tone: neutral

---

Example: Full Preferences#

---

version: 2

watermark:

  enabled: true

  content: "@comicstudio"

  position: bottom-right



preferred_art: manga

preferred_tone: neutral



preferred_layout: webtoon



preferred_aspect: "3:4"



language: zh



preferred_image_backend: codex-imagegen



generation_batch_size: 4



character_presets:

  - name: tech-tutorial

    roles:

      learner: "小明"

      mentor: "教授"

      challenge: "难题怪"

      support: "小助手"

  - name: doraemon

    roles:

      learner: "大雄"

      mentor: "哆啦A梦"

      challenge: "胖虎"

      support: "静香"

---

Migration from v1#

If you have a v1 preferences file with preferred_style, migrate as follows:

Old preferred_style.nameNew preferred_artNew preferred_tone
classicligne-claireneutral
dramaticligne-clairedramatic
warmligne-clairewarm
sepiarealisticvintage
vibrantmangaenergetic
ohmshamanganeutral
realisticrealisticneutral
wuxiaink-brushaction
shoujomangaromantic
chalkboardchalkneutral

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