# AI 2D character animation that keeps the character’s design

> Animate a 2D game character with AI from one painted picture: idle, walk and attack for every facing your camera needs, on one sheet your engine plays.

- URL: https://tyrbo.ai/ai-2d-character-animation
- Title: AI 2D Character Animation From One Painted Picture
- Language: English (en)
- Updated: 2026-11-26
- In other languages: [Deutsch](https://tyrbo.ai/de/2d-charakter-animieren-ki), [Español](https://tyrbo.ai/es/animacion-2d-de-personajes-con-ia), [Français](https://tyrbo.ai/fr/animation-de-personnage-2d-ia), [Português (Brasil)](https://tyrbo.ai/pt-br/animacao-2d-de-personagem-com-ia), [日本語](https://tyrbo.ai/ja/ai-2d-kyarakuta-animeshon), [한국어](https://tyrbo.ai/ko/ai-2d-kaerikteo-aenimeisyeon), [简体中文](https://tyrbo.ai/zh-cn/ai-2d-juese-donghua)

Drawing a character once is the fun part. Drawing it again for every frame of every move, facing every way the camera needs, is where small games stall. `asset character` asks for the whole set at once: it draws the character in your look, draws its other facings from that picture, animates each clip, and lays every frame on one sheet. Underneath it runs `asset animate2d`, the engine that picks how each clip is made.

Send this to your agent

```
Set up Tyrbo asset gen for me so I can make my game's art, sprite sheets, animated characters, 3D models, UI and sound from here, all in one look.
1. Install the CLI: run `npm install -g @tyrbo/asset` (Node 20.11 or later).
2. Add the skill: in Claude Code, run `claude plugin marketplace add https://cdn.jsdelivr.net/npm/@tyrbo/asset/.claude-plugin/marketplace.json`, then `claude plugin install tyrbo-asset@tyrbo`. In another MCP client, add the MCP server `npx -y @tyrbo/asset mcp`. In any other agent, read `asset --help` before the first call.
3. Check it, free: in an empty scratch folder, not my game's, run `asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mock`. It needs no key and writes stand-in files there.
4. Authenticate: ask me to make an asset key at https://app.tyrbo.ai/?from=/asset-generator#/settings/assets (Settings, Asset gen) and to run `asset login` in my own terminal, pasting the key there. Never ask me for the key in chat, and never run `asset login` yourself. Once I have, run `asset spend` to see it works.
Once that's done, let me know when it's ready.
```

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)[Read the docs](https://tyrbo.ai/asset-generator/docs)

## The commands

```
asset look bazaar "cel-shaded desert bazaar, bold outlines, flat bright colours" --view isometric
asset character rogue "a nimble rogue in a fitted hooded tunic and leather boots, twin daggers sheathed" --clips idle,walk,attack
asset character rogue "a nimble rogue in a fitted hooded tunic and leather boots, twin daggers sheathed" --clips spin --model mischief,spin=grok
asset character slime "a jelly slime" --body blob
asset character miner "a small miner with a headlamp and a pickaxe" --view side --takes 3
```

## Made by the CLI, not drawn for this page

Real files the asset CLI wrote, each under the command that made it.

![The rogue seen isometric: idle](https://tyrbo.ai/asset-gen/bazaar/rogue-idle.webp)

### See prompt

`asset video-clip rogue-idle4 "the hooded rogue standing perfectly still in place, only a slow breath lifting the shoulders and the scarf ends stirring; feet, hips, shoulders and head locked facing the camera, no turning or twisting at all, the camera locked off" --of out/rogue.png --view "isometric, seen from above" --facing "facing the camera" --clip idle --energy calm`

![The rogue seen isometric: walk](https://tyrbo.ai/asset-gen/bazaar/rogue-walk.webp)

### See prompt

`asset video-clip rogue-walk3 "the hooded rogue walking on the spot toward the viewer, a light confident stride, head steady and facing forward, no turning, the camera still" --of out/rogue.png --view "isometric, seen from above" --facing "facing the camera" --clip walk --energy calm`

![The rogue seen isometric: attack](https://tyrbo.ai/asset-gen/bazaar/rogue-attack.webp)

### See prompt

`asset character rogue "a nimble rogue in a fitted hooded tunic and leather boots, twin daggers sheathed" --view isometric --clips attack,attack-up,spin,spin-up --model x-ai/grok-imagine-video-1.5-lite`

![The frog warrior, turned three-quarters: roll](https://tyrbo.ai/asset-gen/bog/warden-roll.webp)

### See prompt

`asset video-clip warden-roll "the frog warrior doing a forward dodge roll to the right: it tucks and tumbles head over heels along the ground in the direction it faces, a somersault rolling forward across the floor, then pops back up into its stance, club in hand" --of out/warden.png --clip roll --view "three-quarter view from above, as a top-down brawler" --facing "facing right" --model x-ai/grok-imagine-video-1.5-lite`

![The knight seen from above: spin side](https://tyrbo.ai/asset-gen/keep/knight-spin-side.webp)

### See prompt

`asset character knight "a knight in fitted silver plate armour with a blue tabard, no cape" --view top-down --clips attack,attack-up,attack-side,spin,spin-up,spin-side --model x-ai/grok-imagine-video-1.5-lite`

![The pixel-art tinker goblin from above: walk](https://tyrbo.ai/asset-gen/workshop/tinker-walk.webp)

### See prompt

`asset sheet stride --of out/tinker.png --clips walk,walk-up --view top-down "a big clear stride in every frame: one knee lifted high with its foot off the ground, then the other, the arms swinging opposite, the body bobbing up and down"`

## Every facing the camera needs

The view decides how many directions a character must face. A side view needs one side, which the game flips. Top-down needs the front, the back and a side. Isometric needs the front and the back. The CLI draws each missing facing from the first picture and animates every clip in each, so a hero walking up the screen shows its back rather than its face.

Clips are named the way the 2D starter reads them: `walk` for the front, `walk-up` and `walk-side` for the others. Ask only what the character does in the game; a merchant who stands at a stall needs `--clips idle` and nothing more.

## Three ways a clip gets made

By default a video model films the painted character from its picture, about $0.015 a clip, which keeps its design steady from frame to frame. A body the free puppet fits, a blob, a serpent or a flier, is bent in code instead at no charge. A look that says pixel, 8-bit or retro gets drawn key poses instead, four a clip.

`--via` picks a route outright, and the report says which one ran and why. `--model` can set one model for some clips and another for the rest, so a strike can go to the model that reads it well while the walk stays on the default. `--takes 3` films three side by side and keeps the liveliest that passes.

## One sheet, one name

Everything lands on `<name>-sheet.png` with its atlas and `<name>.anim.json`: frames, rate, loops and the facings it holds. The body stands `--height` pixels tall, 160 by default, with its feet on one line, so the frame never jumps when the character turns. The 2D starter plays the sheet by the character's name.

Asking again finishes what is missing and keeps what is there, so adding a spin later films only the spin. `--replace` starts the set over. For a frame sheet with no film at all, see [the AI sprite sheet generator](https://tyrbo.ai/ai-sprite-sheet-generator).

## Questions people ask

### What does a full set cost?

Filmed, a side set is about $0.09, an isometric one about $0.19 and a top-down one about $0.31. The puppet route for a blob, serpent or flier is free.

### Do I need to call animate2d myself?

Rarely. `asset character` passes its flags to `animate2d` and also draws the pictures it starts from, so it is the verb to reach for.

### Can I animate a picture I painted?

Yes. Pass it with `--of`, and the character is drawn as your picture draws it, its design kept, before its facings and clips are made.

## Rigging and animation

- [Auto-rig a 3D model for games](https://tyrbo.ai/auto-rig-3d-model-for-games)
- [3D game animation clips](https://tyrbo.ai/3d-game-animation-clips)
- [2D puppet animation generator](https://tyrbo.ai/2d-puppet-animation-generator)

## More from the asset generator

- [Asset generator](https://tyrbo.ai/asset-generator)
- [Docs](https://tyrbo.ai/asset-generator/docs)
- [Top-down RPG character sprite sheet](https://tyrbo.ai/top-down-rpg-character-sprite-sheet)
- [AI 3D model generator for games](https://tyrbo.ai/ai-3d-model-generator-for-games)
- [Game UI generator](https://tyrbo.ai/game-ui-generator)
- [AI sprites for Godot](https://tyrbo.ai/ai-sprites-for-godot)
- [Game assets for Claude Code](https://tyrbo.ai/ai-game-assets-for-claude-code)
- [Pixel art asset generator](https://tyrbo.ai/pixel-art-asset-generator)

## Install it, then ask for the look.

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)

Make a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.

---

This is the Markdown version of https://tyrbo.ai/ai-2d-character-animation, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt