picture-book-cover

Community@sumino/picture-book-cover
Community skill — not reviewed. It was shared by Jagulus and has not been checked by Neta. Read SKILL.md below before letting an agent use it.
Installation
npx -y @neta-art/neta-search-cli@latest skills add @sumino/picture-book-cover
Summary

Turn your character and their friends into a vintage hardcover children's picture-book cover, title included.

  • Get one portrait-format book cover with your story title painted into the picture, plus a small English line underneath.
  • Your character stands front and center, one to three companions stand behind, and a shadowy hooded figure lurks far back.
  • Looks like a mid-century children's hardback: thick flat paint, paper grain, an ornate double border with corner decorations, gold lettering.
  • The backdrop and the pillars on both sides come from your own world's places, not generic trees.
  • Works best with a character who has a distinct look, a few companions, and a short title.
SKILL.md
# Picture-Book Cover

One 3:4 hardcover jacket: an ornate frame, a depth group portrait, and the story's title set inside the image. The result should look like a real mid-century children's hardback lying on a table — warm paper, thick flat gouache, gold and oxblood type — not a poster and not a 3D render.

The mechanism is one image-generation pass plus deterministic casting, typography, inspection and fallback rules. Nothing here depends on a particular character, world, franchise or place.

## What the user gets

- One 3:4 cover image, typically `2160x2880` (or `1152x1536` / `1024x1365` on smaller models).
- An ornate double-ruled frame with four geometric corner ornaments and small edge ticks.
- A title at the top centre in a retro decorative serif, plus one small-caps English line beneath it.
- A depth group portrait: protagonist in the foreground, 1–3 companions staggered behind, a hooded or abstract antagonist silhouette deep in the scene — outline and two eye-lights only.
- A background built from the world's own iconic environment, flanked by symmetrical world-specific pillars (not generic trees).
- Warm unified palette, visible paper grain, flat thick brushwork.
- A Board card labelled with the story title.

## When to use

Use when the user wants a **book cover** for a character, a party or a world — a jacket that could be printed and wrapped around a hardback:

- "picture book cover", "children's book cover", "hardcover cover", "storybook cover";
- "group portrait cover", "cast on the cover", "cover for my OC";
- 「绘本封面」「儿童绘本封面」「精装绘本封面」「童书封面」「群像封面」.

Do not use for:

- an interior illustration or a single scene with no title/frame (that is a scene illustration);
- a poster (posters have no book fold, no title block, no corner ornaments);
- a magazine cover with a barcode and issue line (different mechanism);
- a page or interactive work — this skill outputs one still image;
- a cover whose type must switch languages at runtime (the title is baked into the image).

## Inputs and when to ask

| Input | Required | Counts as given when |
|---|---|---|
| `[character]` | yes | the user names a character, or a `world/characters/*.md` path is attached |
| `title` | yes | the user gives it, or one line of story premise is enough to write one |
| `title_en` | no | derive a faithful short translation |
| `companions` | no | default to the world's core cast (max 3) |
| `setting` / `frame_pillars` | no | derive from the world and the character's own place |
| `accent` | no | take the faction colour from the atom |

If a required input is missing, **ask once** in one short question before building. If every required input is given — or the user says “you decide” — build to delivery without asking again.

## Out of scope

- **Do not change world settings** (config, `visualStyle`, atoms). A cover is a new Work, not a world edit.
- **Do not delete or overwrite existing files or Works.** A new version is a new Work; a correction uses `--target-work` on the same Work.
- Do not invent canon: costume, props, places and relationships come from the atoms.

## Hard rules

0. **Sandbox CLI.** Every command is `node /mods/neta/neta …`.
1. **Read the character and the world first.** Never invent costume, hair, props or setting. The atom body is canon; the cover art is identity reference only.
2. **One protagonist.** The foreground figure is the selected character. Never promote a companion above them.
3. **Companions: 1–3, staggered.** Each gets one identifying trait (hair colour, glasses, scar, prop) and no subplot of their own. More than three bodies turns into mush.
4. **Villain is a silhouette.** Hood, cloak, outline, two small warm eye-lights, partly hidden. No gore, no exposed face, nothing that would fail a children's-book review.
5. **The title is exact.** Copy the user's title character for character. No invented subtitle, no brand names, no fake credits. The only other text is the small-caps English line and the tiny copyright line.
6. **The frame is part of the design.** Double rule, four corner ornaments, edge ticks. A borderless image is a poster, not a book.
7. **Symmetry is the skeleton.** Pillars and props mirror left/right; the protagonist sits on the vertical centre line; the villain sits behind, centred or just off-centre.
8. **Warm unified palette.** One paper tone, one dominant warm hue, one accent (the faction colour), gold type. No neon, no cold blue wash.
9. **It is a print, not a render.** Flat gouache, visible paper fibre, dry-brush edges, slight ink offset. No 3D, no glossy, no photoreal skin.
10. **Inspect, retry once, then report.** Read every glyph and every identity feature at 100%. One targeted rework; after that, name what is still off instead of spending more.

## Parameters

Fill these before generating. Defaults are safe; change only what the character needs.

| Parameter | Values | Default | Effect |
|---|---|---|---|
| `aspect` | `3:4` | `3:4` | book jacket ratio |
| `size` | any supported by the model | `2160x2880` | output pixels |
| `quality` | `high` / `max` | `max` | detail on large models |
| `title` | quoted string | required | the story title, baked into the image |
| `title_en` | short caps line | required | small English line under the title |
| `protagonist` | `[character]` | required | foreground figure |
| `companions` | 1–3 characters | `2` | staggered behind |
| `antagonist` | short description | `hooded silhouette` | deep background presence |
| `setting` | `[place]` | from the atom | iconic environment |
| `frame_pillars` | `[world-specific]` | from the world | symmetrical flanking elements |
| `palette` | `warm-gold` / `dusk-rose` / `forest-amber` | `warm-gold` | paper + light |
| `accent` | any hex | faction colour | type, scarf, crest |
| `texture` | `low` / `medium` / `high` | `medium` | paper grain |
| `copyright` | short string or `off` | `off` | tiny bottom line |

## Pipeline

### 0. Read the character and the world

```bash
node /mods/neta/neta atom get "world/characters/<Name>.md"
node /mods/neta/neta find images "<Name>"
node /mods/neta/neta config get
```

Record:

- identity features that must survive: hair silhouette, eye colour, glasses, scars/marks, ears/horns, body type, age read;
- costume and 2–3 signature props;
- one place from the world where the group would stand;
- the faction colour and one secondary accent;
- the world's own geometry for the frame: pillars, statues, banners, machines, reef, runes — whatever replaces trees.

### 1. Cast the cover

Write one line per figure before writing the prompt:

- **Protagonist** — pose, gaze, what they carry, what the pose says about them.
- **Companion A / B / C** — one trait and one prop each, position left/right, height offset.
- **Antagonist** — where the silhouette stands, how much is hidden, what the two eye-lights look like.
- **Setting** — three anchors (a tower, a bridge, a lake, a gate) and the path the eye follows.

Keep the protagonist's face clear. Do not let a companion's prop cross it.

### 2. Write the title block

- Main title: the user's exact string, in the world's language.
- English line: a faithful short translation in small caps.
- Optional tiny copyright line: `© <year> <studio>` — never a real account, email or URL.

Long titles break. If the title exceeds ~14 characters (or ~8 CJK glyphs), shorten it with the user or split it into title + subtitle before generating.

### 3. Generate

```bash
NETA_DEFAULT_IMAGE_MODEL=gpt-image-2.5-sunburst node /mods/neta/neta generate image \
  --work-title "<Title>" \
  --param size=2160x2880 --param quality=max --param output_format=png \
  --prompt "$(cat /tmp/<slug>-cover.txt)"
```

- Read [`templates/prompt.template.txt`](templates/prompt.template.txt) and fill every slot.
- Read [`references/models.md`](references/models.md) for the model/size matrix and when to switch.
- Attach the character cover with `--image` only if the model supports references and the provider allows the likeness. If the request is blocked for copyright, retry without references and describe the character instead (see [`references/fallbacks.md`](references/fallbacks.md)).

### 4. Inspect at 100%

Open the generated file with your read tool and check against [`references/qa.md`](references/qa.md). Minimum:

- title and English line spelled exactly, fully inside the frame;
- four corner ornaments present, double rule unbroken;
- protagonist's hair, eyes, glasses, mark, costume and props correct;
- companions' one trait each, no merged faces or extra limbs;
- villain readable as a silhouette, no gore;
- text nowhere else, no watermark, no invented credits;
- 3:4, nothing important cropped, paper grain visible.

### 5. One retry, then fall back

If something misses, rework the same Work with a correction prompt:

```bash
node /mods/neta/neta generate image --target-work <workId> \
  --param size=2160x2880 --param quality=max --output_format=png \
  --image "<current image url>" \
  --prompt "<correction: keep everything, change only X, Y, Z>"
```

After the retry, hand over and name what is still off. Use [`references/fallbacks.md`](references/fallbacks.md) for moderation, garbled type, merged bodies and over-scary villains.

### 6. Ship

```bash
node /mods/neta/.agents/skills/board-ops/scripts/place.mjs \
  --title "<Title>" --work "works/work_<id>.json"
```

Then hand the Work over in the reply and, if the world already has Works, close with next steps.

## Deliver

- **Reply in the user's language.** Text the user sees in the deliverable (title, English line, copyright) follows the user's language; in a bilingual world the small-caps line stays English and the title stays in the world's language.
- **Hand the Work over** with an interaction-components card whose target is the Work (`{"type":"work","workId":"<workId from the generate output>"}`), on its own line — never a bare path.
- Name in one line any generation that failed (moderation, provider) and what it cost; failed attempts are not charged, while the turns are.
- If the world already holds Works, close with up to three next steps; if it holds none, lead with going inside the world.

## Prompt structure

Order matters — the model weights early slots more:

1. **Format + medium** — 3:4 hardcover jacket, mid-century children's picture-book gouache, paper grain, not 3D, not anime.
2. **Frame** — double rule, four corner ornaments, edge ticks, title position.
3. **Depth group portrait** — protagonist, then companions, then villain, then background.
4. **Symmetrical framework** — world-specific pillars and props.
5. **Lighting + palette** — warm unified, one accent.
6. **Text** — exact strings only.
7. **Negatives** — no gore, no watermark, no extra text, nothing cropped.

Use [`templates/prompt.template.txt`](templates/prompt.template.txt) verbatim; fill the bracketed slots.

## Package

```
picture-book-cover/
  SKILL.md
  templates/prompt.template.txt      # the fill-in prompt
  templates/params.example.json      # a complete parameter set
  references/models.md                # model/size matrix + text quality
  references/art-direction.md        # casting, frame, palette, typography
  references/qa.md                   # 100% inspection checklist
  references/fallbacks.md            # moderation, garbled type, merged bodies
  assets/demo-cover.webp             # one shipped example
  .listing/                          # showcase, sent separately
```

## Quality bar

- 3:4, at least 1152 px wide;
- frame and four corner ornaments intact;
- title and English line exact and legible;
- protagonist unmistakable, companions clean, villain a silhouette;
- warm paper texture, flat gouache, no 3D;
- Board card placed and the Work handed over.