Tyrbo アセット生成(英語) アフィリエイト ゲームを作る

キャラクターのデザインを崩さない、AIの2Dアニメーション

キャラクターを一度描くのは楽しい作業です。けれど、すべての動きのすべてのフレームを、カメラが必要とするすべての向きで描き直すとなると、小さなゲームはそこで止まってしまいます。

asset character は、その一式をまとめて頼むコマンドです。キャラクターをあなたの見た目で描き、その絵から残りの向きを描き、クリップごとに動きをつけ、すべてのフレームを1枚のシートに並べます。その下では asset animate2d が動いていて、各クリップをどの方法で作るかを選んでいます。

Tyrboのアプリも日本語に対応しています。ブラウザの言語に合わせて表示され、設定から変更することもできます。

これをあなたのエージェントに送る
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.

実行するコマンド

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

このページのために描いたものではなく、CLIが作ったもの

asset CLIが実際に書き出したファイルです。それぞれ、作ったコマンドの下に並べています。

The rogue seen isometric: idle
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
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
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
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
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
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"

カメラに必要な向きをすべて

キャラクターがいくつの向きを持つべきかは、ビューで決まります。横視点なら片側だけで足り、反対はゲームが反転させます。見下ろし視点では正面、背中、横の3つ。アイソメトリックでは正面と背中が必要です。CLIは足りない向きを最初の絵から描き、それぞれの向きですべてのクリップを動かします。だから画面の上へ歩いていく主人公は、顔ではなく背中を見せます。

クリップの名前は2Dスターターが読む形のままです。正面は walk、ほかは walk-up と walk-side。頼むのは、そのキャラクターがゲームの中で実際にすることだけにしてください。屋台に立っているだけの商人なら、--clips idle で十分です。

クリップができるまでの3つの道

既定では、動画モデルが描かれたキャラクターをその絵から撮影します。1クリップあたり約$0.015で、フレームが変わってもデザインがぶれません。無料のパペットが合う体、つまりスライム、ヘビ、飛ぶものは、代わりにコードで曲げるので料金はかかりません。見た目の言葉にpixel、8-bit、retroが入っていれば、1クリップにつき4つのキーポーズを描く方法になります。

--via で道を直接選べ、レポートにはどれが動き、なぜそうなったかが残ります。--model では、一部のクリップに別のモデルを割り当てられます。たとえば一撃はそれをうまく表現するモデルに任せ、歩きは既定のままにできます。--takes 3 は3本を並べて撮り、確認に通ったなかでいちばん生き生きしたものを残します。

1枚のシートに、1つの名前

すべては <name>-sheet.png にまとまり、アトラスと <name>.anim.json が添えられます。中身はフレーム、速さ、ループ、そしてシートが持つ向きです。体の高さは --height ピクセルで、既定は160。足はいつも同じ線の上に立つので、キャラクターが振り向いてもフレームが跳ねません。2Dスターターは、キャラクターの名前でこのシートを再生します。

同じ頼み方をもう一度すると、足りない分だけを仕上げ、できている分はそのまま残します。あとから回転を足しても、撮るのは回転だけです。--replace は一式を最初から作り直します。撮影をまったく使わないフレームのシートなら、AIスプライトシート作成のページを見てください。

よくある質問

一式をそろえるといくらかかりますか?

撮影の場合、横視点の一式は約$0.09、アイソメトリックは約$0.19、見下ろし視点は約$0.31です。スライム、ヘビ、飛ぶもののパペットの道は無料です。

animate2dを自分で呼ぶ必要はありますか?

ほとんどありません。asset character はフラグを animate2d に渡し、出発点になる絵も描いてくれるので、普段使うのはこちらです。

自分で描いた絵を動かせますか?

はい。--of で渡せば、キャラクターはあなたの絵のとおりに、デザインを保ったまま描かれ、そこから向きとクリップが作られます。

インストールしたら、見た目を伝えるだけ。

アセットキーを作る

Tyrboのアプリでキーを作り、asset loginを実行します。どのコマンドも、まず--mockを付ければ無料で試せます。