Style BibleGitHub

Character guide

A character the viewer remembers is designed once and then kept the same in every shot, every video and every tool. This guide covers designing one, writing it down, and keeping it consistent: drawn in code, made with an image model, animated with a video model, or played by you. It has three levels and its own no-slop rules. Read guides/ai-video.md for the video-model steps and guides/no-slop.md for the default look to leave out.

node scripts/find.mjs "character design"                      # line-ups, turnarounds, expression and costume sheets
node scripts/make.mjs --video script.txt --style <slug> --character card.txt --light "..." --out prompts.md
node scripts/project.mjs pick character "Mara, the lighthouse keeper" <folder>

1. Design: before anything is drawn

A character is a shape, a colour and one want. Get those right and the face can be simple.

2. The character bible

Make it once and save it in the project folder (assets/characters/<name>/). Every later step pastes from it, word for word.

FileWhat it holds
card.txtOne fixed sentence: age, build, skin, face shape, hair, clothes with colours, the one detail. About 40 words. Never paraphrased.
front.jpg, three-quarter.jpg, profile.jpgThe turnaround: same light, same clothes, neutral pose, plain background.
face-close.jpgA sharp close-up of the face, the reference that fixes drift.
expressions.jpgSix faces: calm, happy, angry, afraid, sad, surprised.
outfits.txtEach outfit with the scenes it is worn in. One outfit per story day.
never.txtWhat the character never looks like: "no beard, no hat, never slim, glasses always round".

A good card: *"Mara, 58, broad and short, weathered brown skin, square jaw, grey hair in a low knot, round steel glasses, navy wool coat over an orange knitted jumper, black rubber boots."* A weak card: *"an old woman with a kind face in warm clothes"*. Every word is a blank the model fills differently each time.

3. Keeping it the same, by way of making

Drawn in code (free, exact) One function draws the character from its card: the same proportions, colours and detail in every frame (scripts/kit.js figure, the examples in examples/). Change pose and expression with parameters, never by redrawing. Consistency is free here; this is why code films never drift.

Image models - Start from a reference, not from words. Give the turnaround and the face close-up as references wherever the tool accepts them; the card alone drifts. - Make the face first, then the scene. A still with the face sharp and lit like the scene is the start of every shot. - Edit, don't regenerate. To change pose, place or clothes, edit the approved picture. A fresh generation is a new person. - Check against the bible every time. Lay the new picture next to face-close.jpg: jaw, nose, eyes, hairline, the one detail. If two of those differ, it is a different person. - One or two people per picture. Each extra person raises the chance that faces mix.

A photo redrawn in a style (image to image) To turn a photo of a person into a drawn style, give the model two pictures: IMAGE 1, a finished picture in the style (for the hand-inked look, a portrait like Painted-ink graphic novel portrait), and IMAGE 2, the photo. Say plainly that the photo decides who it is, the build, pose, expression, clothes and framing, and IMAGE 1 decides only the ink and colour. In tools with a style slot, IMAGE 1 goes there. Add a sharp face crop of the same person as IMAGE 3 when the face drifts. Keep the photo's own shape, then check the result against the photo at full size: marks, scars, glasses and the hairline in the right places.

Realism words pull a drawn style back to a photo. In a redraw prompt, swap them:

Instead ofWrite
ultra-realistic, cinematic realismanatomically precise 2D drawing, graphic novel look
detailed skin poresskin marks drawn one by one
realistic hair strandsfine tapered ink strokes for hair
realistic textures, realistic shadingdrawn material detail, painterly cel shading with clear shadow shapes
dramatic firelightrestrained warm colour accents
8K hyper-detailed, masterpiece digital paintingprecise hand-inked illustration

The failure to look for: a near-photo concept painting with hair and beard drawn as fibres, pores on the skin, no clear ink outline and a heavy orange wash. If you see it, remove every realism word and redo it from IMAGE 1.

Video models - Still first, with the face in it. Approve a start still that already has the right face; then animate it with one move and one action (guides/ai-video.md). Text-to-video invents a new person each clip. - Chain clips by the last frame. The last frame of an approved clip is the start still of the next one in the same scene. - Hide what drifts. Turn faces away, use backs, hands and silhouettes in wide shots, and cut to the close-up made from the approved still. Short clips drift less than long ones. - Check every frame against the face close-up, first and last frames especially. Models slide toward a generic attractive default: smoother skin, a slimmer face, a different nose, glasses dropped. Reject the clip and try again from the still, rather than fixing it with a face swap; swaps flicker. - Same light, same lens. Faces change more between lights than between clips. Keep the light card (guides/lighting.md) and the lens the same within a scene.

You, on camera - Wardrobe lock: photograph the outfit, hair and props at the start of each filming day and match them on every pick-up. - Continuity notes per scene: which hand holds the cup, sleeves up or down, the time on the clock. - Same height of camera for the same person in the same scene, unless the shot means something by changing it.

4. Check before you make the next shot

Put the reference and one frame of every second side by side and look at them together:

ffmpeg -i film.mp4 -vf "fps=1,scale=-2:360,tile=8x2" -frames:v 1 frames.jpg
ffmpeg -i assets/characters/mara/face-close.jpg -i frames.jpg -filter_complex "[0]scale=-2:720[a];[1]scale=-2:720[b];[a][b]hstack" check.jpg

Pass only if, in every frame: the face shape, nose and hairline match the close-up; the one detail is there; the clothes and colours match the outfit for that day; the age and build have not changed; and no second person shares their face.

Never

Three levels

First video. One character, a card of one sentence, one outfit, and a face close-up made before anything else. Wide shots from behind, close-ups from the approved still.

Getting good. A full bible (card, turnaround, expressions, outfits, never list) saved in the project, references given to every model, clips chained by the last frame, and the frame check before each new shot.

Pro. A cast designed as a set (different silhouettes, shapes and colours), a bible kept across a series, the character drawn in code where exactness matters, shots planned around what drifts, and a record of which tools keep which character best.

Browse the styles