fal-assets
它能做什么
这项技能使用 fal.ai 服务为游戏模组创建新的媒体内容,例如精灵、纹理、声音和 3D 模型。适合需要尚不存在的美术或音频素材的模组制作者。
适用场景
- ✓当你的模组需要新的精灵、图标或纹理时。
- ✓当你需要为游戏准备音效、音乐曲目或语音台词时。
- ✓当你想把一张图片转换为 3D 模型时。
技能链接
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/fal-assets/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的游戏模组创建一把背景透明的像素风剑精灵。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会使用你的 API 密钥连接 fal.ai。密钥保存在你的环境变量或安全存储中,然后运行相应的模型。它会保存生成的结果,方便你在用于模组之前进行审阅。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Game assets with fal
fal runs hundreds of generative models behind one API key. Use it whenever the mod needs something that doesn't exist yet: a weapon sprite, a boss, a unit rendered from 16 angles, a tileable floor, a laser sound, boss music, a voiced line.
Setup (check once per session)
Key. Create one at https://fal.ai/dashboard/keys.
um faltakesFAL_KEYfrom the environment first, then the key the human stored withum fal key set(a hidden prompt: the desktop keyring on Linux, through libsecret'ssecret-tool; an owner-only~/.secrets/fal-keywhere there's nosecret-tool), thenFAL_KEY=...in a.envin the working folder.um fal key statusshows which source is used, with keys masked. Never write the key into mod files or configs;um publish checkflags leaked keys.MCP. fal's hosted MCP server is
https://mcp.fal.ai/mcpwith headerAuthorization: Bearer $FAL_KEY. The repo pre-configures it for each agent:- Claude Code:
.mcp.json - Codex:
.codex/config.toml - Cursor:
.cursor/mcp.json - VS Code/Copilot:
.vscode/mcp.json - Gemini CLI:
gemini-extension.json - OpenCode:
opencode.json
They read
FAL_KEYfrom the agent's environment, and without it the server doesn't connect. If the fal MCP tools are missing, useum falmeanwhile and tell the human. They can start the agent withFAL_KEYset (on Linux, from the keyring:export FAL_KEY="$(secret-tool lookup service fal.ai key api)"), or add fal's OAuth endpoint, which takes a browser sign-in instead of a key:- Claude Code:
claude mcp add --transport http fal-oauth https://mcp.fal.ai/mcp-relay, then Authenticate it in/mcp - Codex:
codex mcp add fal-oauth --url https://mcp.fal.ai/mcp-relay, thencodex mcp login fal-oauth - anything else: a Streamable HTTP server at
https://mcp.fal.ai/mcp-relaywith OAuth and no header (https://fal.ai/docs/documentation/setting-up/mcp)
Outside a clone, with a key: Codex takes
[mcp_servers.fal]withurl = "https://mcp.fal.ai/mcp"andbearer_token_env_var = "FAL_KEY"in~/.codex/config.toml. MCP tools:search_models,recommend_model,get_model_schema,get_pricing,run_model,submit_job/check_job/get_job_result,upload_file,search_docs.- Claude Code:
No fal key? For images,
um comfyuses a local ComfyUI server instead (um comfy status, thenum comfy image "..." --sprite). It has no audio, 3D or video recipes.Sprixen is another hosted option for 2D art only. It's a separate paid service (an account, an API key and credits), so ask the user before using it.
um sprixenkeeps one art style, resolution and view per project (um sprixen sprite "..." --style pixel_art --size 32x32), turns a sprite id into a one-row sheet of 2-12 frames (um sprixen animate <sprite_id> --type walk), and makes terrain tiles. The key goes inSPRIXEN_API_KEYorum sprixen key set, andum sprixen creditsshows the balance. No audio, 3D or video.Voidless is another separate paid service for 2D art (an account on a plan with API access, an API key and credits), so ask the user before using it.
um voidless sprite "..."prints an asset id;um voidless rotate <asset_id>adds the eight facings, andum voidless animate <asset_id> --preset <key>adds a set of clips at the asset's size (um voidless presetslists the keys).um voidless fetch <asset_id>downloads the frames again without generating. The key goes inVOIDLESS_API_KEYorum voidless key set, andum voidless creditsshows the balance. For 8 or 16 headings from a 3D model instead, seeum render3d.CLI alternatives:
pip install falgivesfal api <endpoint> key=value key:=json; the genmedia CLI (genmedia run ... --json --download) is agent-friendly too.
Which interface
- Discovery (what's the best model for X right now, its inputs, its price): fal MCP
recommend_model/search_models/get_model_schema/get_pricing, orum fal search,um fal schema <endpoint>,um fal price <endpoint>. The catalog changes weekly. The defaults below were current in September 2026; check before a big batch. - Anything that must land on disk (every game asset):
um fal <recipe>. It uploads local inputs, queues, polls, downloads every output file, and appends the endpoint, inputs, seed and request id to<out>/fal_manifest.jsonl, so every asset can be traced and regenerated.
常见问题
我需要一个 fal.ai 账户吗?
需要。你需要自己的 fal.ai 密钥,这项技能会将其排除在你的模组文件之外。
密钥会被写入我的模组文件吗?
不会。这项技能绝不会把密钥写入模组文件或配置中。
它能制作哪些类型的媒体?
精灵、纹理、3D 模型、音效、音乐、语音台词和视频等。
详情
作者的原始描述
Generate game assets with fal (fal.ai) through the fal MCP server, the `um fal` CLI (REST) or `fal api`. Covers sprites and icons with transparent backgrounds, consistent variants and animation frames, pixel art, seamless textures, PBR material maps, image-to-3D models, remeshing, auto-rigging, sound effects, music, voice lines, and trailer or cutscene video. Use whenever a mod needs new art, audio or 3D models, or the user mentions fal, generating sprites, textures, models, SFX or music for a game.
热度
- GitHub 星标
- 9.3k
- 排名
- #12284
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
asset-pipeline
9.3k帮你的智能体把生成的或手绘的美术素材,转换为游戏引擎所需的准确尺寸、帧布局、调色板和文件格式。
blitz3d-decomp
9.3k帮你的智能体把 Blitz3D 游戏反编译为可读的源代码,并规划移植到其他引擎的方案,同时保留原游戏作为参考。
game-automation
9.3k帮你的智能体启动真实的游戏、截图、在菜单中点击和输入、读取日志,从而测试它自己制作的游戏模组。
game-recon
9.3k帮你的智能体找到已安装的游戏,并判断它如何被模组化,包括引擎、版本、反作弊、存档以及社区模组途径。