Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng9.3k · #12284

fal-assets

Skill này làm gì

Skill này dùng dịch vụ fal.ai để tạo nội dung media mới cho một mod game, như sprite, texture, âm thanh và mô hình 3D. Nó dành cho modder cần tác phẩm hoặc âm thanh chưa tồn tại.

Khi nào nên dùng

  • ✓Khi mod của bạn cần một sprite, biểu tượng hoặc texture mới.
  • ✓Khi bạn cần một hiệu ứng âm thanh, bản nhạc hoặc lời thoại cho game.
  • ✓Khi bạn muốn biến một hình ảnh thành mô hình 3D.

Liên kết skill

https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/fal-assets/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/fal-assets/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một sprite thanh kiếm phong cách pixel art có nền trong suốt cho mod game của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kết nối với fal.ai bằng khóa API của bạn, khóa này được giữ trong biến môi trường hoặc kho bảo mật, rồi chạy model phù hợp. Nó lưu kết quả để bạn xem lại trước khi dùng trong mod.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 fal takes FAL_KEY from the environment first, then the key the human stored with um fal key set (a hidden prompt: the desktop keyring on Linux, through libsecret's secret-tool; an owner-only ~/.secrets/fal-key where there's no secret-tool), then FAL_KEY=... in a .env in the working folder. um fal key status shows which source is used, with keys masked. Never write the key into mod files or configs; um publish check flags leaked keys.

  • MCP. fal's hosted MCP server is https://mcp.fal.ai/mcp with header Authorization: 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_KEY from the agent's environment, and without it the server doesn't connect. If the fal MCP tools are missing, use um fal meanwhile and tell the human. They can start the agent with FAL_KEY set (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, then codex mcp login fal-oauth
    • anything else: a Streamable HTTP server at https://mcp.fal.ai/mcp-relay with OAuth and no header (https://fal.ai/docs/documentation/setting-up/mcp)

    Outside a clone, with a key: Codex takes [mcp_servers.fal] with url = "https://mcp.fal.ai/mcp" and bearer_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.

  • No fal key? For images, um comfy uses a local ComfyUI server instead (um comfy status, then um 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 sprixen keeps 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 in SPRIXEN_API_KEY or um sprixen key set, and um sprixen credits shows 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, and um voidless animate <asset_id> --preset <key> adds a set of clips at the asset's size (um voidless presets lists the keys). um voidless fetch <asset_id> downloads the frames again without generating. The key goes in VOIDLESS_API_KEY or um voidless key set, and um voidless credits shows the balance. For 8 or 16 headings from a 3D model instead, see um render3d.

  • CLI alternatives: pip install fal gives fal 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, or um 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.
Câu hỏi thường gặp

Tôi có cần tài khoản fal.ai không?

Có. Bạn cần khóa fal.ai riêng, và skill giữ khóa này ngoài file mod.

Khóa có được ghi vào file mod không?

Không. Skill không bao giờ ghi khóa vào file mod hoặc file cấu hình.

Có những loại media nào có thể tạo?

Sprite, texture, mô hình 3D, hiệu ứng âm thanh, nhạc, lời thoại và video, cùng một số loại khác.

Chi tiết

Mô tả gốc của tác giả

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.

repo: rehan-remade/universal-modder

Độ phổ biến

Sao GitHub
9.3k
Vị trí xếp hạng
#12284
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự