fal-gamedev

Installation
SKILL.md

2D Game Assets

Requires the genmedia CLI (run genmedia init once).

Full pipeline for 2D pixel art game assets: character → sprite sheets → background removal → game background. Each recipe is independently invokable, run just the part you need.

Always use --json so output is machine-readable. Use --download to save files locally. Do not curl URLs manually, use the --download flag.


Execution rules, follow these strictly

  1. Each genmedia command = one Bash tool call: issue each genmedia run and genmedia status as its own bare tool call. No variable assignments, no pipes, no shell redirects. This keeps every call matching the genmedia * allowlist so it runs without permission prompts.

  2. Parallel jobs → async: issue each genmedia run --async as its own separate Bash tool call (not combined into one shell block). All jobs queue and run in parallel on fal's side; total time ≈ slowest single job. After all are fired, poll each with genmedia status sequentially (not in parallel, one failure must not cancel others).

# Step 1, fire async (each line = its own Bash tool call, returns request_id immediately)
genmedia run fal-ai/nano-banana-pro/edit --prompt "$WALK_PROMPT" --image_urls "[\"$CHARACTER_URL\"]" --aspect_ratio "1:1" --resolution "1K" --async --json
genmedia run fal-ai/nano-banana-pro/edit --prompt "$IDLE_PROMPT" --image_urls "[\"$CHARACTER_URL\"]" --aspect_ratio "1:1" --resolution "1K" --async --json
Related skills
Installs
38
GitHub Stars
179
First Seen
14 days ago