Reference images
A reference is an image to work from: a mockup, concept art, a character sheet, or a piece cut out of one of those. Atelier keeps references as assets of kind reference. They are art direction, so they are never exported to the game. This page covers:
- making a reference from images you have;
- cutting props or a character out of a mockup, by pointing at them;
- drawing variations, a turnaround or poses from a reference;
- drawing game assets from a reference;
- doing all of it from the web app, with or without Claude.
How references work#
-
A reference holds one or more images. Each image has a label, such as
front,oakorvariation-2. The images are kept as drawn: trimmed to what's visible and centred on one shared canvas. They are never fitted, normalised or exported. -
Tools point at references with
ref:names:ref:knightmeans every image of the referenceknight;ref:knight/front(orref:knight/1) means one image.
ref:names work wherever a tool takes references or a frame reference, and they work on any asset. On an ordinary asset,ref:herois its first raw frame in each drawn direction, andref:hero/wis one of them. -
An asset can be drawn from references. Its standing
referencesare sent with every generation of it that names none of its own. Set them withasset_create { references },asset_update { patch: { references } }, the brief, or the asset page. -
Mockups can stay
sceneassets. Everything on this page works on a scene as well as on a reference: cutting out, splitting into layers and pointing at its image.
Recipe: a reference from images you have#
Using Atelier, make a reference
<knight-concept>from <art/style/refs/knight.png>, described as "<a knight in dented blue plate armour with a red plume>".
reference_create(free) copies the images in. Write a gooddescription: it becomes the subject of every image drawn from this reference.- A sheet that's already drawn (a turnaround from an artist, a set of icons): add "it's a sheet, split it into its figures, labelled front, side and back". With
split: true, the separate figures on a transparent or flat background each become one labelled image. - In the web app: go to Production, then New reference, and upload the images. Tick the sheet box to split them.
Recipe: cut props out of a mockup#
Using Atelier, the mockup
<forest>has trees I like. Cut out the three trees on the left into a reference<trees>, redrawn cleanly on their own.
Claude looks at the mockup, then calls reference_extract with a box round each tree (regions, in the image's pixels). Each box becomes one image of the reference. cleanup decides how clean each cut-out is:
cleanup |
Cost | You get |
|---|---|---|
none (default) |
Free | The box as it is, background and all. With a mask, only the masked area. |
background |
One background removal per box (cheap) | The box with its background removed. |
redraw |
One image per box (PixelLab or OpenAI) | The thing drawn again on its own, whole: parts hidden by other objects or cut off by the box are completed. |
Point instead of describing. Box the trees yourself on the mockup's asset page (Box tool, on the raw image) and note each one, then ask Claude to "cut out what I boxed on <forest>", or use the free Cut out button yourself (see the web app recipe below). A mask works too: paint over the thing you want with the Mask tool.
Many objects at once: decompose_layers splits a mockup into layers, then extract_objects { into: "references" } makes each object its own reference. See Props from a mockup.
Recipe: variations of a prop#
Using Atelier, draw <4> variations of
<trees>into a reference<more-trees>: <an oak, a pine, a birch, a dead tree>.
reference_generate { mode: "variations" }draws new ones of the same kind, in the same style, from the source images. Name each withitems, or ask for acountof unnamed ones.layout: "separate"(the default) draws one image per item, with one request each, so each image is drawn at full size.layout: "sheet"draws them all in one image, side by side, then cuts that image into labelled figures. A sheet costs one image and keeps the set more alike, but each drawing is smaller. If the figures touch, the sheet is kept whole and Claude says so.- Turn the ones you like into props with
generate_image { references: ["ref:more-trees/a-pine"] }, orimport_framesif a reference image is already good enough as it is.
Recipe: a character in other directions and poses#
Using Atelier, on the mockup
<tavern>I masked the barmaid. Cut her out into a reference<barmaid>(redraw her whole), then draw a turnaround (front, side, back) into<barmaid-turn>and these poses into<barmaid-poses>: <carrying a tray, wiping a table, waving>.
reference_extractwith the mask or a box, andcleanup: "redraw", because a character in a scene is usually partly hidden.reference_generate { mode: "turnaround" }draws her facings,wandnby default. Passdirectionsfor others, e.g. all eight, or["s", "sw", "w", "nw", "n"]. Labels are the direction names, soref:barmaid-turn/wis her side view.reference_generate { mode: "poses", items: [...] }draws one image per pose, labelled from the pose words (carrying-a-tray).mode: "custom"takesitemsdescribing each image freely ("a close-up of her face", "her apron alone").mode: "model-sheet"draws front, side and back, level, orthographic and flat-lit (a character in an A-pose), as one sheet, and checks it: one height, a plausible side. It's what image → 3D models want;generate_model { sheet: "ref:<id>" }takes it (page 11).
Recipe: a sprite from a reference#
Using Atelier, create a character
<barmaid>(<64×64>, 4 directions) drawn fromref:barmaid-turn, then animate a walk.
asset_create { references: ["ref:barmaid-turn"] }makes the reference standing:generate_character,generate_imageandgenerate_variationsall use it without being told again.- PixelLab takes one picture of the character, so it uses the image labelled
frontors(else the first). Standard mode turns that one sprite into a character with/create-character-v3. OpenAI takes up to four images. Ludo takes none: generate the still with PixelLab or OpenAI, or import it, then rotate and animate it with Ludo as usual. - Pass
referenceson one call to override the standing ones ([]for none).
Recipe: from the web app#
Everything above can wait in the queue or be done by hand:
- Production → New reference uploads images as a reference (free).
- Point at things on a reference or a mockup. Open it, pick Box (or Mask), and draw on the raw image. Give each box a note: the note becomes the image's label.
- Cut out (in the side panel) makes a new reference from the boxes, or from the mask, at once and for free.
- Queue it for Claude. The same panel's New task has kind reference. Write what to make in words ("four variations of each tree", "this character from the front, side and back, and running"). Claude cuts out what you marked with
reference_extract { taskId }, then draws what you asked for. - On a reference's page, the Images card shows each image's
ref:name. You can rename labels there, and see which assets are drawn from the reference. New asset from this opens the brief with the reference picked. - On any other asset's page, the Drawn from card lists its standing references. Add one, or a single image of one, from the list.
- New asset lists your references. Tick all of one, or click single images, to draw the new asset from them.
Files#
art/assets/<id>/asset.json kind "reference"; reference.labels, made, mode, from
art/assets/<id>/raw/stand/default/ the images, 0001.png… (one canvas, centred)
art/assets/<id>/sources/<genId>/ what each paid step returned (asset_revert puts it back)
A reference's history (asset_history, or History on the Settings page) records what it was cut from or drawn from. asset_revert restores an earlier drawing for free, like any other asset.
Next: 3D models.
Found a mistake? Edit this page on GitHub.