The field guide / Universal Modder
Set up a fal API key for Universal Modder
Last updated: · By Jin Song

Universal Modder uses fal for generated assets, including sprites, textures, 3D, audio and video. The refreshed README separates stored-key CLI access, the agent’s environment and browser-based MCP access. This guide covers single-player modding only.
Store a fal key
Get a key from fal’s key dashboard. Copy the README’s setup block exactly:
um fal key set # hidden prompt
export FAL_KEY="$(secret-tool lookup service fal.ai key api)" # Linux: before starting the agent
The first line prompts without showing the key. The README places a key in the Linux desktop keyring through libsecret’s secret-tool; elsewhere it uses an owner-only ~/.secrets/fal-key file. The second line retrieves the Linux key before an agent starts. It presumes that desktop keyring tool is available: the headless test VM did not have secret-tool. Keep keys private and out of shared logs.
Environment precedence and status
An existing FAL_KEY environment value still works and takes priority over stored values. Agent configurations read FAL_KEY, whereas um fal also finds the stored key itself. Use the README’s um fal key status check to see which source is selected:
um fal key status
This is a read-only status command. The cloud test recorded the result below on 2026-10-27, with no key entered and no secret-tool installed. It establishes that no-key status check on the VM; asset generation was skipped. Environment · test report.
no fal key configured; run `um fal key set`
keyring not available (no secret-tool)
key file /home/box/.secrets/fal-key absentRecorded output: 14-fal-key-status.txt
No-key options: OAuth MCP and local ComfyUI
For fal without an API key, the README points to the OAuth MCP relay: it signs you in through a browser. Follow fal’s MCP guide for that route. This is an MCP connection rather than a claim that all um fal commands run without a key.
For local image generation, um comfy connects to a ComfyUI server without an API key. The README lists status checks, image generation and API-exported workflows. It does not provide a full server installation guide or state that ComfyUI replaces every fal feature. Neither OAuth sign-in nor local generation was exercised in the cloud run.
Separate sprite services
The README also names um sprixen for 2D sprites, animation sheets and tiles, and um voidless for sprites, turns and animation sets. Sprixen and Voidless are separate paid services with their own API keys; a fal key is not their key. These services were outside the test run. README tool and key overview.
Pricing and next steps
Use fal’s pricing page for current rates. This guide quotes no prices. First decide the asset’s role in your mod and verify a small result in the game: how to merge two games with AI.
See how to install Universal Modder for the corrected PATH rules, and the tested um CLI reference for commands and recorded outputs.
Frequently asked questions
Does FAL_KEY still work?
Yes. The refreshed README says the environment variable takes precedence over a stored key. Agent configurations read FAL_KEY; um fal can also discover the stored key.
Can I use fal without an API key?
The README offers fal’s OAuth MCP relay with browser sign-in. That is distinct from key-based um fal calls. Local ComfyUI is another no-key route for images, not a documented replacement for every fal feature.
Was fal generation tested in the cloud run?
No key was entered. The recorded run checked fal key status and reported no configured key; generation was skipped.