Asset generator docs
Everything the asset CLI does, on one page: install it, log in, start with the look, and every verb it offers with a command to try. Your agent can read the same docs as plain Markdown.
Install
The asset generator is one command, asset, for your terminal and for any agent that runs commands in it: Claude Code, Cursor, Codex, Aider or your own. It needs Node 20.11 or later, and brings its own image, video and 3D tools for macOS, Linux and Windows.
npm install -g @tyrbo/asset
With Bun:
bun add -g @tyrbo/assetLog in with an asset key
Make a key in the Tyrbo app, under Settings, Asset gen. Its calls are paid from your account's credits. Then log in once:
asset login
Paste the key when asked, or pipe it in. It is read without being shown, checked, and kept in your config folder (~/.config/tyrbo/asset-login.json, %APPDATA% on Windows), readable by you alone on macOS and Linux. asset logout forgets it, and you revoke a key on the page you made it.
Try it free
Add --mock to any command and it runs on an offline stand-in: no key, no login, no cost. The files are stand-ins under the real names, so you can wire a game, or check what your agent asks for, before you spend anything.
asset character hero "a hooded knight" --view side --mockStart with the look
Ask for the look first. asset look draws one scene of your game in play and keeps it as look.json beside it. Every picture, sheet, texture and 3D design after it is asked in that scene's style, palette, light and camera, which is how a hero, a chest, the ground and the title screen end up looking made for one game rather than gathered from ten. Then ask for things in the order your game needs them, and the interface and title screen last.
asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down
asset character ranger "a young ranger in a green hood" --clips idle,walk
asset mesh golem "a stone golem with glowing runes" --rig biped
asset mesh axe "a woodcutter's axe" --held
asset attach golem axe
asset ui "carved wood and leaves"
asset startscreen "the forest at dawn" --title "Grove"Where the files land
Files are written to ./public/assets/ under the folder you run in; set TYRBO_ASSET_OUT to put them anywhere else. They are named after the asset: ranger.png, ranger-up.png, ranger-sheet.png with ranger-sheet.atlas.json and ranger.anim.json, golem.glb. Each call prints one JSON line naming the files it wrote, or says why not on stderr and exits 1, so an agent reads the result without guessing.
A call asked before is answered from your account’s cache, free. Each paid call is quoted before it runs and refused when your credits cannot cover it.
Every verb
These are the verbs the CLI offers, each with a command to try and its line of help as asset --help prints it.
asset look
Draws one scene of your game and keeps it as the look every later picture, sheet, texture and model is asked in.
asset look grove "hand-painted fantasy forest, soft dappled light" --view top-downIts line of help
look <name> "<the game's art style, palette, light and setting>" [--view side|top-down|isometric|overhead|<words>] [--ref <picture>] [--of <picture>]: <name>.png, one scene of the game in play, and look.json: every later image, sheet, texture and shape is asked with it (its style, camera and light); with --of, what it shows is drawn as that picture draws it (a game's concept sheet)
asset image
Any still in the look: a prop, a backdrop, an icon. With --names, one call cut into a file per piece, all at one scale.
asset image props "a gold coin, a red heart" --names coin,heartIts line of help
image <name> "<what>" [--names a,b,c] [--kind props|characters|icons] [--ref <picture>] [--of <picture>] [--view <camera>]: any other picture (a backdrop, an icon, an edit of the picture --ref names; with --of, what the words name as that picture draws it, its design kept: a figure on the game's concept sheet): a transparent <name>.png standing on its bottom edge, in the game's look, flagged with what to change when it clashes with the look's scene, its height there in hero heights (heroHeights); with --names one sheet cut into <piece>.png each (one call, one scale), beside <name>-sheet.png. A character (a thing that moves) is asset character. With no look yet, the first picture becomes it
asset sheet
A drawn sprite sheet of the clips you name, every frame one size on one ground line, with its atlas and clip record.
asset sheet hero --of hero.png --clips idle,walk,attackIts line of help
sheet <name> --of <character.png> [--clips a,b,c] [--view <camera>] [--no-smear] ["<more words>"]: its frames <name>-<clip>-1.png .. -4.png, every frame one size on one ground line, beside <name>-sheet.png, its atlas and its record <name>.anim.json. Clips by name (idle, walk, run, jump, attack, combo-1, combo-2, combo-3, spin, shoot, cast, throw, punch, kick, slash, block, hurt, hit, defeat, dash, fly, climb, combo, or any other): attack is one strike from its stance back to it, combo three strikes in sequence (combo-1 .. combo-3), each from where the last ended, every clip drawn in place, a swing smeared at its fastest unless --no-smear; a clip facing another way ends in -up or -side, as the character contract names them (the front plain; -down and -left still read). The side view starts with idle, walk, jump, attack; top-down with idle, walk, walk-up, walk-side; up to 11
asset texture
A tiling, opaque surface in the look, for ground, walls and water.
asset texture path "a cobbled dirt path seen from above"Its line of help
texture <name> "<surface>" [--ref <picture>] [--view <camera>]: a seamless, opaque, tiling texture in the game's look
asset shape
A creature no standard skeleton fits, built on a skeleton of its own with idle, walk, attack, hit and death.
asset shape crab "a red crab with eight legs and two claws" --rig ownIts line of help
shape <name> "<what>" --rig own [--size 0-4]: a creature no library rig fits (many legs, tentacles, a snake's body) on a skeleton of its own, its idle, walk, attack, hit and death (fly with wings): <name>.glb, <name>.turntable.png (look at it), <name>.creature.json (its plan: edit a chain and run it again, free) and <name>.frames.png, in the game's look by its words (--no-look asks without)
asset mesh
A textured 3D model as a .glb, sculpted from a picture drawn in your look; on a rig it walks, idles and more.
asset mesh golem "a stone golem with glowing runes" --rig bipedIts line of help
mesh <name> "<what>" [--size 0-4] [--rig biped|quadruped|flier] [--no-marks] [--held] [--hold blade|shield|gun|bow|staff] [--ref <picture>] [--view <camera>]: a textured, realistic <name>.glb made from one picture, <name>.turntable.png (look at it) and <name>.design.png, the picture it was made from; on a rig it walks, idles and more (a biped's joints marked first by a cheap model, as asset rig's are; --no-marks leaves them to code), or says why it could not be bound. A character is made empty-handed: what it holds (a sword, a shield, a gun, a bow, a staff) is made alone with --held, its grip read and its hold from its words (--hold picks one), then put in its hand by asset attach. --ref <picture> is the exact design: one thing alone on a clear background, 512 px or more; without it the design is drawn first in the game's look. Its polygons are the shape's budget for the size class (a character's on a rig), never more
asset sfx
A sound effect as an .mp3.
asset sfx coin "a bright coin chime" --seconds 1Its line of help
sfx <name> "<the sound>" [--seconds 0.5-30, 1 by default] [--loop]: <name>.mp3
asset music
A 30 second music track as an .mp3.
asset music theme "calm acoustic forest loop, slow, flute and harp"Its line of help
music <name> "<mood, genre, tempo, instruments>": a 30 second <name>.mp3
asset voice
A spoken line as an .mp3.
asset voice win "You found every gem!"Its line of help
voice <name> "<the exact line>" [--voice <ElevenLabs voice id>]: <name>.mp3
asset synth
A retro sound made by code on your machine, free.
asset synth jump jumpIts line of help
synth <name> <pickup|hit|jump|win|lose|blip|step|shoot|explosion> [--seed n]: <name>.wav, free
asset spend
What your calls have spent and what is left.
asset spendIts line of help
spend: dollars spent of the cap
asset rig
Binds a model you already have to a skeleton, free, so the clip library plays on it.
asset rig hero hero.glb --as bipedIts line of help
rig <name> <model.glb> [--as biped|quadruped|flier] [--bones <joint>=<bone|drop>,...] [--no-marks]: the model bound to a skeleton (a skinned one rebound, Mixamo's names included, free; an unrigged one auto-rigged, a biped's joints marked first by a cheap model for about $0.001, free with --no-marks) once its walk plays without a tear, as <name>.glb
asset clips
Lists the clip library for a skeleton: each clip’s name, move, loop and length, free.
asset clips biped --move runIts line of help
clips [biped|quadruped|flier] [--move <move>] [--tag <tag>]: the clip library by skeleton (name, move, loop, seconds, tags) that animate puts on a model, free
asset animate
Writes library clips into a rigged model for your game to play by name, free.
asset animate golem --clips idle,run,jumpIts line of help
animate <name> --clips a,b,c: the library's clips (asset clips), or an action's (cast, shoot, throw, punch, kick, slash), put on <name>.glb, a model bound to a skeleton (asset rig, or shape --rig), written into it for the game to play by name, free
asset animate-video
A move the library lacks, filmed by a video model from your rigged model and copied onto its rig, kept only when it holds up beside the film: about two cents a take.
asset animate-video golem "spins round and kicks high" --clip spin-kickIts line of help
animate-video <name> "<the move>" --clip <clip> [--loop]: a move the library lacks (asset clips lists it) filmed by a video model from <name>.glb standing in one view and copied onto its rig (a model bound by asset rig, or made by shape/mesh --rig), its feet held to the ground, the copy gated and looked at beside the film by a decision model, then a vision judge, written into <name>.glb as <clip> with <name>-<clip>.frames.png to read; a loop when --loop is said or the clip's name is a cycle (walk, run, idle); about $0.020 a take, a second take only when the gate or the judge refuses
asset attach
Puts a held item in a rigged character’s hand, with clips for holding and swinging it, free.
asset attach golem axeIts line of help
attach <character> <item> [--hand right|left] [--length <share of its height>] [--no-clips]: the held item <item>.glb (asset mesh <item> "<what>" --held) put in <character>.glb's hand, rigid on the hand's joint, with its clips (a sword's sword-idle, sword-attack, sword-block), and <character>-<item>.png drawing it held, free
asset animate2d
The engine under asset character, for when you want its flags one by one. Most of the time, use character.
asset animate2d slime "a jelly slime" --body blobIts line of help
animate2d <name> ["<what it is>"] [--view …] [--clips …] [--facings …] [--via …] [--body …] [--model …] [--energy calm|lively|wild] [--takes 1-3] [--no-smear] [--facing right|left] [--height 160] [--replace]: the engine under asset character, which takes these flags too; use character
asset puppet
Bends one picture into a sheet of idle, a move, attack, hit and defeat, free.
asset puppet hero --body biped --view sideIts line of help
puppet <name> [--body biped|quadruped|flier|serpent|crawler|blob] [--view side|topdown] [--facing right|left] [--height 160] [--fps 12] [--no-faces]: <name>.png bent into a sheet of idle, a move, attack, hit and defeat, free; drawn key poses (<name>-keys-sheet.png, by asset sheet <name>-keys --of <name>.png) replace its one-shots, an attack combo among them
asset faces
Fits a character’s expressions back onto its picture as a face sheet any rig made from it can wear, free.
asset faces heroIts line of help
faces <name>: its expression edits (<name>-face-<expr>.png, the whole <name>.png with only its face changed) fitted back, the face found where they change it, written as <name>-faces.png, its atlas and <name>.faces.json (the face box in <name>.png's pixels): a set any rig made from that picture wears; free. Only for a character with a face
asset character
A 2D character’s whole set in one ask: its front, the other facings its view wants, and every clip for every facing on one sheet.
asset character ranger "a young ranger in a green hood" --view top-down --clips idle,walkIts line of help
character <name> "<what it is>" [--view side|top-down|isometric|front, else the look's] [--clips all|idle,walk,attack,hit,defeat,jump,…] [--via video|puppet|sheet|render] [--body biped|quadruped|flier|serpent|crawler|blob] [--height 160] [--no-faces] [--energy …] [--takes 1-3] [--no-smear] [--model …] [--of <picture>] [--replace]: a 2D character's whole set in one ask (a 3D one is asset shape --rig): <name>.png (the view's front, drawn when missing; with --of, as that picture draws it, its design kept: a weapon it changes to is <name>-<weapon> "holding <it> in place of its <old>" --of <name>.png), the other facings the view wants drawn from it (<name>-up.png, <name>-side.png), and every clip of the set (a front view's default: idle) for every facing on one sheet, <name>-sheet.png with its atlas and <name>.anim.json, through animate2d (a video model by default, $0.015 a clip: a side set about $0.09, isometric about $0.19, top-down about $0.31; the free puppet for a blob, serpent or flier, with its faces and drawn key poses; drawn poses for a pixel look; --via render makes it in 3D on its skeleton and renders its clips from the game's camera). A file already there is kept; --replace draws the whole set again. The 2D starter plays the sheet by the character's name
asset ui
Your game’s interface package: a skin in your look, 64 icons, the parts its screens need, and every screen previewed.
asset ui "carved wood and leaves" --vertical-phoneIts line of help
ui "<what its interface is made of, its mood>" [--desktop] [--horizontal-phone] [--vertical-phone] [--all] [--rules src/ui.rules.json] [--skin|--no-skin] [--pixel] [--no-icon-sheet] [--parts slot,tab,toggle,knob,dial,needle,<any>] [--ref <picture>|game] [--edit "<the change>"] [--no-bespoke] [--no-review]: the game's interface package, from its rules and its look, for every game: a skin drawn in the look (panel, button, plate, meter and fill, title ribbon, round badge, and an icon for each counter and action, from one full sheet of 64 icons in its material, every one kept in ui/ui-icons.json for the game to use), cut to stretch (in the style of --ref's picture, a game's screenshot or a kit, when given; --ref game draws it to belong to this game, from its screenshot in play), unless the look is one CSS draws best (neon, flat, wireframe), the parts its rules' hotbars, dials and menus need (slot, tab, toggle, dial and needle) drawn as their own request in the skin's material, and every screen the game is made for (a phone's shapes, a desktop, or both; in a turn its Settings decide, whatever flag is given) laid out and previewed as ui-<screen>.png; in ui.json, which the game wears at boot, and ui/UI.md, the page to read. a model places its pieces and chooses its effects for this game, how each counter's icon reacts and what it throws (the rules still check every spot; about a tenth of a cent; --no-bespoke lays it out by the rules alone); --edit "<the change>" asks it to change what the words say (the spots, a counter's reaction, the face) and keeps the rest and the skin; a last look at each screen's preview says what looks wrong (in UI.md) and drops the effects that do not belong (--no-review skips it). With no words, laid out again free over the skin it has; --parts draws the parts named (and those the rules lack) over it, never the skin again. About $0.10 with a skin
asset icons
A full sheet of 64 icons in one picture, the names you give first, matching the icons kept before.
asset icons "forest herbs and potions" --names mint,emberIts line of help
icons "<what they are>" [--names a,b] [--set pieces|cards|relics|general]: always a full sheet of 64 icons in one picture, about $0.05 (never ask icons one at a time with image): the names first, then the rest of the set the words pick, none the game keeps already; each ui/ui-icon-<name>.png, all kept in ui/ui-icons.json, matching the icons kept before, else the interface's skin
asset startscreen
The title screen, made last: a lettered logo, key art painted in your look, your characters in front.
asset startscreen "the forest at dawn" --title "Grove"Its line of help
startscreen ["<what the title screen shows>"] [--title "<the name>"] [--like "<a game>"] [--edit "<the change>"] [--redraw logo|art|all] [--live] [--lettered] [--menu <id>] [--no-design] [--no-review]: the game's title screen, made last, once its art and asset ui are in: a model designs it from the game (its look, its start menu, its own characters and icons) remixing a shipped game's title art (--like's, else the maker's reference, else the closest a model names, fetched free into refs/), its name lettered as a logo and read back (drawn again when misspelled), key art painted in its look round where the logo and menu sit, its characters idling in front, weather, light and slow motion, each screen previewed as start-<screen>.png and looked at by a model, and worn on the start menu from ui/ui.json; START.md says how to change it. --edit changes what the words name and draws again only what changed; no words lays it out again free. About $0.10
asset reference
Finds a game on the stores and keeps its screenshots and page beside your project, never in the build, free.
asset reference "a game you draw from" --shots 4Its line of help
reference "<a game, or its store link>" [--shots 1-6] [--title-art]: a game the maker draws from, found on Steam, the App Store and Google Play: its screenshots and page (genres, the store's words) in refs/<game>/, never in the build, and with --title-art its title art (Steam's key art and logo, which asset startscreen remixes); free. Remix its traits, never copy it
asset render2d
Renders a rigged 3D model from your game’s camera into a 2D sprite sheet at every facing the view wants, free.
asset render2d golem --view top-down --clips idle,walkIts line of help
render2d <name> [--of <name>.glb] [--view side|top-down|isometric|front] [--clips all|idle,walk,attack,hit,defeat,jump,…] [--facings all|down,up,side] [--height 160] [--fps 12] [--bands 0-6] [--outline 0-4]: a 3D model bound to a skeleton (shape or mesh --rig, asset rig) played through each clip and drawn from the game's camera at every facing the view wants, cel-lit and outlined, onto <name>-sheet.png, its atlas and <name>.anim.json, as the starters play any sheet; free
asset convert
Makes a sheet, a still, a model or the interface Godot’s or Unity’s own files, sized against your hero, free. Unreal’s are coming soon.
asset convert ranger --to godot --into ../my-game/artIts line of help
convert <name> --to godot|unity [--hero-heights <n>] [--into <folder>]: <name>'s glb, sheet, still or (ui) interface made the engine's own files in public/assets/<engine>/ or --into's folder, the originals untouched, free; a picture sized by --hero-heights (its heroHeights; 1, the hero's)
asset login
Keeps the key you made on the workbench for every call after: pasted or piped in, checked, never shown.
asset loginIts line of help
login [--url <service>]: the asset key made on the workbench (Settings, Asset gen), pasted or piped in, checked and kept for every call after; never printed
asset logout
Forgets the kept key on this machine. Revoke it on the workbench to end it.
asset logoutIts line of help
logout: the kept key forgotten on this machine (revoke it on the workbench to end it)
Into your engine
Everything is a plain file an engine opens. Pictures are transparent PNGs. A sprite sheet is a PNG with a JSON atlas (each frame's box, its anchor on the ground line and the body's height) and a clip record (each clip's frames, frames a second and whether it loops). A 3D model is a single .glb with its skeleton and clips inside.
- Godot 4 imports
.glbas a scene, its clips in an AnimationPlayer. Slice a sheet into SpriteFrames by its atlas. - Unity reads
.glbthrough glTFast, the glTF package Unity publishes;asset convert --to unityslices a sheet into its sprites for you. - Unreal Engine 5 imports
.glbthrough its glTF importer, and a sheet as a texture for Paper2D.
asset convert <name> --to godot writes Godot’s own resources, free and on your machine: a sheet’s SpriteFrames and a scene that plays it, a model’s plain .glb with import settings that loop its clips (and a bone map for a biped), and the interface’s pieces. --to unity writes Unity’s: a sheet’s .png.meta slicing it into sprites pivoted at the feet and an .anim a clip, a model’s .glb for glTFast with each clip its own .anim (looping as recorded) and a humanoid bone map for its avatar, and the interface’s pieces with their nine-slice borders. --into puts them straight into your project. Unreal’s files are coming soon.
What it costs
Calls are paid in Tyrbo credits, a cent each, from your account. Each row is the most a call of that kind is quoted at; it is charged what it actually costs at the provider, which is often less. Verbs that call no model are free.
| What | Verb | Credits |
|---|---|---|
| The look, or a still in it | look | as low as 3 |
| A tiling texture | texture | as low as 6 |
| A drawn sprite sheet | sheet | as low as 8 |
| One animated clip, filmed by a video model | character | as low as 6 |
| A rigged 3D character, designed in your look | mesh | as low as 15 |
| A 3D item to hold | mesh | as low as 11 |
| A sound effect, one second | sfx | as low as 2 |
| A 30 second music track | music | as low as 14 |
In credits, a cent each: as low as a real call took in the runs on the asset generator’s page; a call is quoted first and never charged past its quote. Free: synth, spend, clips, animate, attach, puppet, faces, reference, render2d, convert, and any command with --mock.
For your agent
Paste this into your project's AGENTS.md, CLAUDE.md or editor rules, so your agent knows the CLI is there and how to use it well:
## Game assets
This project's art, models, interface and sounds are made with Tyrbo's asset CLI.
- Install once: `npm install -g @tyrbo/asset`, then `asset login` with a key from https://app.tyrbo.ai/#/settings/assets.
- Run `asset --help` for every verb and its flags.
- Start with the look: `asset look <name> "<style, palette, light, setting>" --view <side|top-down|isometric>`. Every later picture, sheet, texture and model is made in it.
- Then ask for what the game needs: `asset character`, `asset image`, `asset texture`, `asset mesh`, `asset ui`, and `asset startscreen` last.
- Files land in `./public/assets/` (`TYRBO_ASSET_OUT` moves them). Each call prints one JSON line naming its files.
- `--mock` tries any command free. `asset spend` says what is spent.
- Full docs: https://tyrbo.ai/asset-generator/docs.md
An agent can read all of this page as plain Markdown at /asset-generator/docs.md, and the whole site's index at /llms.txt.
Get a key and make your first look.
Get an asset keyMake a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.