Skip to content
Tutorials menu
Tutorialscharacters

Characters

A character is an asset with directions (which way it faces) and animations (stand, walk, attack…). This page covers how to generate one, animate it, choose its look, start from your own design and fix problems. When you're happy with it, Review and export takes it into the game.

Recipe: a pixel-art character (PixelLab)#

Using Atelier, create a character <id> (<64×64>, <8 | 4> directions) described as "<appearance: build, clothing, colours, what's held in which hand>". Generate it and show me the sheet. Then animate a walk (<8> frames: <pose beats>), normalise, run QA and ask me to review it.

Example description: "a stocky dwarf miner with a ginger beard, a yellow hard hat with a lamp, blue overalls, a pickaxe in his right hand". Example pose beats: "walking, left foot forward then right, arms swinging opposite, a slight up-down bob".

What happens:

  1. asset_create sets the canvas, directions and mirroring. Claude may ask whether the design is one-sided first (see Mirroring).
  2. generate_character makes a PixelLab character: one standing pose (stand) per direction. You get a contact sheet. Flipped directions are marked "⇋w", and Claude warns if the character doesn't look symmetric enough to flip.
  3. animate_from_prompt animates that character, one direction after another. Allow about 2 minutes per direction; if it takes longer, the job keeps running and Claude collects it with job_wait. Mirrored directions cost nothing.
  4. normalise_frames stands every frame on the baseline at the pivot, and reports drift.
  5. qa_report / qa_walk_cycle check foot contacts, the loop seam, wobble, specks and mirroring.
  6. human_review opens the web app for you to approve it.

Shaping the body: ask for PixelLab proportions. Use a preset (chibi, cartoon, stylized, heroic, realistic_male, realistic_female) or multipliers: "a dwarf: legs 0.7, shoulders 1.3". For animals, ask for a body template: bear, cat, dog, horse or lion. Set a game-wide default in the style guide (providerStyle.pixellab.proportions).

Higher quality: characterMode: pro in the style guide costs 10–25 PixelLab generations per character instead of 1. Pro characters also follow the style guide's style references, which standard characters can't take.

Recipe: a cast in one style (PixelLab)#

Once one character looks right, draw the rest in its style:

Using Atelier, create <goblin> (same canvas as hero) described as "<a goblin tinkerer in a patched leather coat with a big brass wrench>", in hero's style.

  • generate_character { styleFrom: 'hero' } sends hero's PixelLab character as the style character: every direction of the new one is guided by the same direction of hero's, so the palette, outline, shading and pixel size carry over. In testing, a goblin in a dwarf's style kept its browns, brass and outline in all 8 directions.
  • It's a pro character: 10–25 generations (10 in testing), about 2 minutes. The new character is a real PixelLab character, so animate_from_prompt animates it like any other.
  • The style source needs a PixelLab character with 8 directions. One drawn on Ludo or OpenAI, or a 4-direction one, can't be: pass its stills as styleReferences instead.
  • Size: the new character must be drawn at least as big as the style character's figure, so Atelier asks for a little more when it has to and says so. That's how a character the same height comes out.
  • Kits: this is the natural way to make a kit's bodies look alike (page 16).

Recipe: a painted or 3D-looking character (Ludo)#

The same prompt works in a painted or prerendered-3d game. The differences:

  • generate_character draws the front view, then rotates it into each other direction with Ludo's camera rotation.
  • animate_from_prompt animates each direction's standing pose. Describe the motion only ("walking forward, arms swinging"), not the character again.
  • Ludo chooses the frame count (4, 9, 16…). Keep it, and change fps for timing. Resampling to another count can make the loop hitch; for another count, animate_edit { mode: 'adjust', frames } cuts Ludo's own video again, free (below).
  • Use a bigger canvas (128–256 px) and workingScale 2+, so detail survives the downscale.
  • Rotations work from the full-size image Ludo drew, not the small still on the canvas. If there isn't one, as with a small imported still, Claude warns you: import a larger picture, because a small one comes back blurred, or ask Claude to upscale the still first (upscale_image, 0.5 credits: up to 4× the size, kept in sources/ and used from then on in its place). Check the diagonals on the sheet: they sometimes barely turn, and the side view can come out slimmer than the front. Run generate_rotation again for that direction, or try the 3D model route.

Recipe: directions that agree, from a 3D model (Ludo)#

The default rotation redraws each direction, which keeps a painted look but can change details from view to view. For a character whose details and scale must hold in every direction, Ludo can build a 3D model from the front view and render the directions from it:

Rotate <id> with a 3D proxy, and show me the sheet.

generate_rotation { method: 'proxy' } builds the model, then renders each direction not flipped on the mirror map, into raw/stand/<dir> like any rotation.

What it costs: 4 credits for the model and 0.5 per direction, so 6 for a 5-direction character, against 2 for the default. About 2–3 minutes the first time. The model is kept in sources/, so changing the style or adding a direction later costs only the 0.5 per direction, in seconds. hero models cost 15 credits. If it runs past the timeout, Claude collects the step with job_wait, then runs it again to carry on; nothing is paid twice.

What it looks like: a tidy 3D figurine of your character, not a painting. In a test on one painted dwarf:

  • Details and scale held in every direction, the diagonals turned, and the back matched the front's build. The side view wasn't any wider than the default's on that character.
  • The brushwork was gone, and colours came out brighter. plain_3d, the default style, stayed closest. hero was closer in colour, with a softer face.
  • The other styles repaint the character, including the one called painted (heavy ink, bleached colours). Use them if the game is built around that look, not to preserve a drawing.
  • The back is invented: all these models grew a backpack. Pass a back view to control it: "use raw:stand/n as the back" (proxy.backImage, prop models only).

So for painted art, try the default first. The proxy suits prerendered-3d games, or characters whose directions must agree more than they must look hand-painted.

Try a style for free once a model exists:

Preview <id>'s model in cel_soft with a thin outline, at an isometric camera.

proxy: { preview: true, style, styleParams, perspective } shows a sheet, writes nothing and costs nothing. Set favourites for the game in the style guide: providerStyle.ludo.proxy.

Good to know:

  • Match the source: the painted s next to rendered directions looks like two mediums. Name it to render it too: "rotate with the proxy, including s" (directions). The still is replaced; the original stays in sources/.
  • Use a big front view: Atelier finds the larger image a small still came from and warns if there's none. Pass one with proxy.image: "model it from art/style/refs/<id>-concept.png". It must face the viewer.
  • Rebuild: a new front view builds a new model by itself. For another try at the same image, ask for proxy.rebuild.
  • Camera: perspective defaults by the game's projection. high is nearly overhead.
  • proxy.redraw redraws the image as a 3D render first (0.5 credits). It's off because it put the character in an A-pose, arms out.

Recipe: the same motion on every painted character (Ludo)#

Ludo has 641 named motions: walks, runs, idles, sword combos, spells, zombie gaits. Each one goes on any character, so a whole cast can share a walk. This is the painted partner of skeletons, which are PixelLab-only.

Using Atelier, show me the walking motion presets.

motion_presets is free. Ask with words ("sword idle", "run"), because the full list is long.

Animate <hero> with the preset <walk_heavy> as walk, then normalise it, run QA and show me the sheet.

  • Cost: about 1.5 credits a second on ignis (the default for presets; ignis-pixel for pixel art), per direction that isn't flipped: 4.5 credits for a 3 s walk. It takes a minute or two per direction.
  • Frames and length are Ludo's call. Keep what comes back. Atelier sets fps from the length Ludo returns, which can be well under what you asked for, so pass fps if you have a pace in mind.
  • Start from clean stills. The motion is drawn from each direction's still. A blurry or blocky still has come back as a solid black silhouette, and Atelier warns when that happens: redo the still, then run that direction again with directions.
  • prompt adds a note: "keep the cape still".
  • To copy a clip, pass video with a URL instead of preset. It uses the hydra model, at 3 credits a second; hydra draws 3–5 s only, so a duration outside that is refused before anything is sent.
  • A 3D motion (motion) is played by the character's own rigged model, or a mannequin, as the video. A cycle shorter than 3 s needs fitDuration: true (the guide is played slowed to 3 s) or a stretched copy of the motion. qa: { retries: 1 } redraws directions whose head came back small or whose loop jumps at the seam (page 13).

Recipe: change an animation Ludo drew#

Ludo keeps each sheet it draws for 7 days and can change it, so a near miss doesn't have to be drawn again from scratch:

Using Atelier, <hero>'s <wave> should be <9> frames, and draw it facing <w> too.

animate_edit takes a mode:

Mode Does Cost
adjust Cuts the same video again: another frame count, loop trimming on or off, the sprite's size in the sheet Free
fix_loop Mends only the loop's seam, for a sheet Ludo flagged as not looping 1 credit a second of the video
outpaint More room round a figure that runs off the frame 1 credit a second
improve Finer detail, for a sheet drawn on hydra only 1 credit a second
prompt One short change to the motion ("wave with the left hand"), with up to 5 references hydra 3 credits a second, griffin-hd a flat 10
rotate The same motion and timing drawn from another view, each new direction starting from its own still hydra 3 credits a second, at least 3 s
  • Each direction's new sheet replaces its frames, fitted as the original was, and the frame count follows the animation's, so directions match.
  • Edits start from the original sheet, not an earlier edit: Ludo says colours and detail drift with each pass. fix_loop and adjust work on the latest.
  • In testing: a 16-frame wave was re-cut to 9 frames for nothing, and turned from s to w for 9.1 credits: the same wave, drawn side-on. The other modes are experimental.
  • After 7 days Ludo refuses the sheet, and so does Atelier, before anything is sent: animate it again.

Recipe: choose the look first#

Rather than accepting the first design, compare several:

Generate <4> variations of <id>'s front view and let me pick in the web app. Then turn the one I choose into all its directions.

  1. generate_variations writes 2–8 candidates to candidates/ and shows them as one sheet.
  2. human_pick opens the gallery. Press 1–n or click to choose, add a note, and submit. Claude waits with job_wait. Or let Claude choose: "pick the one with the clearest silhouette" (candidate_select).
  3. generate_rotation turns the chosen front view into the other directions.

Pixel art: PixelLab animates only its own characters, and a design picked from variations isn't one yet. Make it one from the picked frame instead of rotating it:

Make <id> a PixelLab character from the front view I picked.

This runs generate_character { references: ["raw:stand/s"] }, which rotates your pick into every direction (see below). Each run replaces the asset's PixelLab character.

Recipe: from your own concept art#

Start from a design made elsewhere: an AI image generator, an artist or a sketch. Save the front view as art/style/refs/<id>-concept.png, facing the viewer, on a plain background, in the game's camera angle. Then choose a route.

Pixel art (PixelLab): let PixelLab build the character from it.

Using Atelier, create a character <id> (<64×64>, <8> directions) described as "<description>", built from art/style/refs/<id>-concept.png. Show me the sheet, then animate a walk.

generate_character { references: [...] } makes a real PixelLab character from your image, so animate_from_prompt can animate it like any other:

  • Standard mode (/create-character-v3) rotates the image as drawn into every direction. Use it when the concept is already a sprite in the game's style at about the right size (it's shrunk to 256 px at most). It costs a few generations, depending on size.
  • Pro mode (characterMode: "pro", 10–25 generations) treats it as a concept and redraws it in pixel art. Use it for a painted or high-resolution concept. Your style references guide that redraw too.
  • Pass templateId for animals (dog, horse…) so the skeleton matches the body.

Painted or 3D (Ludo, OpenAI): import it and build around it.

Using Atelier, create a character <id> (<128×128>, <8> directions) described as "<description>". Import art/style/refs/<id>-concept.png as its stand pose facing s, remove the background, normalise, and show me. Then rotate it into the other directions.

  1. Claude runs import_frames → remove_background → normalise_frames → generate_rotation (or from a 3D model).
  2. Animate it with Ludo: animate_from_prompt animates each direction's still pose, and animate_from_keyframes interpolates between key poses.
  3. To get a new drawing based on the concept rather than the concept itself, use generate_image { references: [...] } with OpenAI. Ludo can't take subject references.

You can import a whole animation the same way: a list of PNGs, or a sprite sheet sliced by columns/rows or cellWidth/cellHeight (import_frames).

A character from a mockup, or one design in several directions and poses first? Cut it out into a reference, draw a turnaround and poses from it, and then draw the sprite from those. See Reference images.

More animations#

Ask for each one by name, with its beats:

Animation Example request
Idle "animate idle: 4 frames, breathing, shoulders rise and fall, weight shifts slightly"
Run "animate run: 8 frames, leaning forward, long strides, both feet off the ground mid-stride"
Attack "animate attack: 6 frames, play once and stop: wind up the pickaxe over the right shoulder, swing down, follow through"
Hurt / death "animate hurt: 4 frames, play once and reset: recoil backwards"
Template (PixelLab) "animate walk with the PixelLab template walking-8-frames"
  • mode:
    • repeat for loops;
    • play-once-and-stop for actions that end on a pose (death);
    • play-once-and-reset for one-shots that return to frame 1.
  • fps sets the speed; change it any time with animate_retime at no cost.
  • Only some directions: "animate attack facing s and w only" (directions).
  • Between known poses (Ludo): "animate jump facing w from raw:stand/w through <middle pose PNG> to <landing PNG>" (animate_from_keyframes, up to 3 keyframes).
  • Between known poses, pixel art (PixelLab): add "with PixelLab" (provider: 'pixellab', about $0.08 a pair of keyframes, experimental). It needs a first and a last keyframe (and a middle one for two halves), up to 128 px. It draws 14 in-betweens a pair when the keyframes are 64 px or smaller and only 2 above, whatever frame count you ask for, and Atelier puts your keyframes back at the ends. A loop whose last keyframe is its first drops the copy. Describe the transition ("swings the sword overhead").
  • A still in a named pose (Ludo): "pose knight Attack Ready" redraws each direction's still in the pose, keeping the character (generate_pose, 0.5 credits a direction, experimental). Poses include Attack Ready, Defending / Blocking, Jump Preparation, Crouching, Sitting, Sleeping and Flying, or Other with a description ("sword raised over the right shoulder"). The still is a one-frame animation (attack-ready) to start an animation from: animate_transfer_motion { fromAnimation: 'attack-ready' } or animate_from_prompt { fromAnimation }. Ludo suggests a motion prompt for animating from it, which is kept as the animation's action and shown in the result. variations: 3 for one direction gives candidates to pick from.
  • Exact poses, or the same motion on several characters (PixelLab): see Skeletons.

Mirroring#

By default, ne, e and se (and right in side view) are flipped copies of nw, w and sw (left). They cost nothing, but a flip swaps left and right: a sword in the right hand ends up in the left.

  • Symmetric designs (robes, monsters, most enemies): keep flip.
  • One-sided designs (a weapon in one hand, a shoulder cape, an eyepatch): use generate.
    • Ask for it when you create the asset: "…and draw every direction".
    • To change an existing asset: "make hero draw every direction" (asset_set_mirror). With PixelLab the east views it already drew come back for free; only animations need generating again.
    • To make it the game-wide default: defaults.mirror: "generate" in atelier.json.
  • Custom maps are possible too, e.g. { "e": "w" } only.

Claude warns after generation when a flipped character doesn't look symmetric.

Side-scrolling characters#

Use directions: "side" (left, right, with right flipped by default). Everything else is the same. Side-view animations often want a jump and fall, made as play-once-and-stop.

Fixing problems#

Problem Ask for
Small specks or a sliver under the feet "clean the strays on hero" (clean_strays; dryRun first if the character has sparkles or thrown objects)
One frame is wrong "edit walk facing w, frame 3: <what to change>" (edit_image)
Only part of a frame should change "let me paint a mask on hero stand s, then edit only that area: <change>" (human_mask → edit_image { mask }, OpenAI or Ludo). Only the masked area is taken from the result, so the rest stays exactly as it was. If the provider redrew the whole figure (OpenAI treats a mask as a hint, and can return a taller, thinner figure with a smaller head), the frame isn't changed and the edit is kept as a candidate to look at
Easier to paint than to say Paint roughly over the frame in the web app (Paint, on the asset page) and queue it: Claude redraws it cleanly with edit_image { paintover }. See the task queue
Hard to say which part "ask me to point at what's wrong on hero" (human_annotate)
Wrong design Regenerate with extraPrompt, or a new seed
Feet slide or bob through the floor Set the contact frames in review (tick them), then re-normalise
Pivot in the wrong place Drag it in the review page, or asset_update { pivot }
Too fast or slow animate_retime { fps }
Wrong hand after flipping asset_set_mirror → generate

edit_image with n: 4 writes candidates instead of replacing the frame, so you can pick the best fix.

Attachment points#

For held items, effects or hitboxes that follow the character, click to place named points (hand-right, head) on the review page, or ask "set attachment point hand-right on hero at x 44, y 40". Export converts them to offsets from the pivot, and the game reads them with sprite.getAttachmentPoint('hand-right').

Points that move with the animation. A sword in a swinging hand needs its point to move frame by frame. For an animation drawn from a skeleton or a 3D motion (page 8, page 12), let the point follow a joint:

Using Atelier, make hand-right on <hero> follow the right wrist through the <walk>.

attachment_keyframes { joint: 'RIGHT ARM' } works out where the joint is on every frame of every direction, and returns the frames with the point marked. offset shifts it (from the wrist to the grip, say). For other animations, give the positions yourself: "in walk facing w, hand-right is at 40, 30 on frame 1 and 44, 28 from frame 5". Each keyframe holds until the next. Flipped directions and variants take theirs, mirrored. The asset page shows the point where it's held on the frame you're looking at, and export writes the keyframes for sprite, which moves the point as the animation plays.

Next: Props, items and scenes.

Found a mistake? Edit this page on GitHub.