Community코딩 & 개발github.com

fal-assets

fal(fal.ai) MCP 서버, `um fal` CLI (REST) 또는 `fal api`를 통해 게임 에셋(스프라이트, 아이콘, 텍스처, 3D 모델, 음향, 음악, 음성, 트레일러 등)을 생성하는 AI 스킬입니다.

fal-assets란 무엇인가요?

이 스킬은 게임 모드 개발에 필요한 그래픽, 오디오, 3D 모델 등 다양한 에셋을 fal.ai의 생성형 AI 모델 군을 통해 손쉽게 제작할 수 있도록 설계되었습니다. 사용자는 단일 API 키(FAL_KEY)로 수백 개의 모델에 접근하여, 별도 설정 없이 곧바로 스프라이트, 아이콘, PBR 텍스처, 이미지 기반 3D 모델, 음향 효과, 배경 음악, 음성 대사, 트레일러 영상까지 생성할 수 있습니다. 특히 `um fal` CLI 명령어는 로컬 파일 업로드, 작업 큐잉, 폴링, 결과 다운로드 및 매니페스트 기록을 자동화하여 에셋의 재현성과 추적성을 보장합니다. Claude Code, Cursor, Codex 등 주요 AI 에이전트 및 IDE에서 MCP 서버 설정을 통해 'recommend_model', 'run_model' 등의 도구를 바로 사용할 수 있으며, `um comfy` 로컬 서버를 대안으로 활용할 수도 있습니다. 게임 특유의 아트 스타일(예: 픽셀 아트, 특정 게임 스타일 등)을 고려한 프롬프트 작성법, 일관된 변형 생성을 위한 참조 이미지 활용, 3D 모델에서 다각도 프레임 렌더링으로 이어지는 워크플로우까지 상세히 안내하여, 실무 개발자와 모더에게 강력한 에셋 파이프라인을 제공합니다.

지원 대상✓Claude Code✓Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/rehan-remade/universal-modder/tree/main/skills/fal-assets

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

fal로 게임 에셋 만들기

fal은 하나의 API 키로 수백 개의 생성형 모델을 실행합니다. 모드에 아직 존재하지 않는 무언가(무기 스프라이트, 보스, 16방향 유닛, 타일 가능 바닥, 레이저 음향, 보스 음악, 음성 대사)가 필요할 때 사용하세요.

설정 (세션당 한 번 확인)

  • 키. FAL_KEY가 설정되어야 합니다(https://fal.ai/dashboard/keys에서 생성). um fal은 작업 폴더의 .env 파일(FAL_KEY=...)에서도 읽습니다. 키를 모드 파일에 절대 쓰지 마세요. um publish check가 유출된 키를 감지합니다.

  • MCP. fal의 호스티드 MCP 서버는 https://mcp.fal.ai/mcp이며 헤더는 Authorization: Bearer $FAL_KEY입니다. 저장소는 각 에이전트에 대해 미리 구성합니다:

    • Claude Code: .mcp.json
    • Codex: .codex/config.toml
    • Cursor: .cursor/mcp.json
    • VS Code/Copilot: .vscode/mcp.json
    • Gemini CLI: gemini-extension.json

    수동으로 추가하려면:

    • Claude Code: claude mcp add --transport http fal https://mcp.fal.ai/mcp --header "Authorization: Bearer $FAL_KEY"
    • Codex (~/.codex/config.toml): [mcp_servers.fal]에 url = "https://mcp.fal.ai/mcp" 및 bearer_token_env_var = "FAL_KEY"
    • 그 외: MCP 설정을 위 URL과 헤더로 지정하세요. MCP 도구: search_models, recommend_model, get_model_schema, get_pricing, run_model, submit_job/check_job/get_job_result, upload_file, search_docs.
  • fal 키가 없나요? 이미지의 경우 um comfy가 로컬 ComfyUI 서버를 대신 사용합니다(um comfy status, 이어서 um comfy image "..." --sprite). 오디오, 3D 또는 비디오 레시피는 없습니다.

  • CLI 대안: pip install fal로 fal api <endpoint> key=value key:=json을 사용할 수 있습니다. genmedia CLI(genmedia run ... --json --download)도 에이전트 친화적입니다.

어떤 인터페이스를 사용할까요

  • 탐색(지금 X에 가장 적합한 모델, 입력값, 가격): fal MCP recommend_model / search_models / get_model_schema / get_pricing, 또는 um fal search, um fal schema <endpoint>, um fal price <endpoint>. 카탈로그는 매주 변경됩니다. 아래 기본값은 2026년 9월 당시의 것이었습니다. 큰 배치 작업 전에 확인하세요.
  • 디스크에 저장되어야 하는 모든 것(모든 게임 에셋): um fal <recipe>. 로컬 입력을 업로드하고, 큐에 넣고, 폴링하고, 모든 출력 파일을 다운로드하며, 엔드포인트, 입력, 시드 및 요청 ID를 <out>/fal_manifest.jsonl에 추가하여 모든 에셋을 추적하고 재생성할 수 있도록 합니다.
  • 빠른 확인 또는 일회성(URL만으로 충분한 경우): MCP run_model.

레시피 (um fal <recipe> --help로 옵션 확인; --model로 엔드포인트 재정의; --set k=v로 추가 입력 전달)

에셋명령어기본 엔드포인트
스프라이트 / 아이콘, 투명 배경um fal sprite "<대상, 시점, 스타일>" --name xopenai/gpt-image-2 (background=transparent)
컨셉 아트, 키 아트, 배경um fal image "<프롬프트>" --aspect 16:9fal-ai/nano-banana-2
일관된 변형, 추가 프레임, 재색칠, 동일 캐릭터 다른 포즈um fal edit "<변경사항>" --ref base.pngfal-ai/nano-banana-2/edit
배경 제거um fal rmbg in.pngfal-ai/birefnet/v2
모든 이미지로부터 깔끔한 픽셀 아트um fal pixelate in.png --colors 24fal-ai/image2pixel
업스케일um fal upscale in.png --factor 2fal-ai/seedvr/upscale/image
반복 가능한 타일 텍스처um fal texture "mossy cobblestone"fal-ai/z-image/turbo/tiling
PBR 맵(basecolor, normal, roughness, metalness, height)um fal pbr "rusted sheet metal"fal-ai/patina/material
이미지 → 텍스처된 3D 모델 (GLB)um fal model3d concept.png [--engine trellis2|hunyuan|tripo|meshy]fal-ai/trellis-2
휴머노이드 자동 리깅, 선택적 애니메이션um fal rig character.glb --animatefal-ai/meshy/rigging
음향 효과um fal sfx "plasma rifle shot, punchy" --seconds 1.2fal-ai/elevenlabs/sound-effects/v2
음악um fal music "tense boss battle, chiptune, 150 bpm" --seconds 90elevenlabs/music/v2.5
음성 대사um fal voice "You dare challenge me?" --voice-id Adamfal-ai/elevenlabs/tts/eleven-v3
트레일러 / 컷씬 클립um fal video still.png "camera orbits the boss"bytedance/seedance-2.5/image-to-video
그 외 모든 것um fal run <endpoint> key=value key:=json [email protected]모든 것

기타 유용한 엔드포인트:

  • 3D: tripo3d/tripo/remesh 및 fal-ai/meshy/v5/remesh (저폴리, 게임 레디), fal-ai/trellis-2/retexture.
  • 모션: fal-ai/hunyuan-motion (텍스트 → 모션).
  • 아이콘: fal-ai/recraft/v4.1/text-to-vector (SVG 아이콘).
  • 비디오 컷아웃: pixelcut/video-background-removal.
  • 음악: google/lyria-3.5.
  • 음성: fal-ai/minimax/speech-2.8-hd.

게임에 맞는 게임 아트 프롬프팅

  • 게임의 기존 에셋을 먼저 살펴보세요: 픽셀 크기, 외곽선, 팔레트, 원근법, 방향, 얼마나 복잡한지. 이를 재사용 가능한 스타일 접미사로 만드세요. Terraria의 경우: "16-bit pixel art game sprite in the style of Terraria, crisp dark outline, limited palette, centered, plain flat white background, no shadow, no text".
  • 시점과 방향을 명시적으로 설명하세요: 휴대 무기의 경우 "perfectly horizontal side view with the muzzle pointing right", 적의 경우 "seen from the side facing left", 떨어지는 폭탄의 경우 "pointing straight down". 엔진마다 관례가 있으며(Terraria 아이템은 오른쪽, NPC는 왼쪽을 향함), 이후 방향을 수정하면 품질이 떨어집니다.
  • 배경: 투명(gpt-image-2) 또는 um sprite cutout이 플러드 필할 수 있는 단색. 그라데이션, 배경, 바닥 그림자는 피하세요. 부드러운 그림자가 들어간 경우 cutout에서 --grey / --keep-top을 사용하세요.
  • 플레이어 / 팀 색상: 플레이어 색상을 적용할 부분에 "bright saturated blue accents"를 요청한 다음, um sprite team-mask --hue blue를 사용하여 마스크로 변환하세요.
  • 세트 전체의 일관성: 하나의 히어로 이미지를 생성한 다음, 편집 엔드포인트와 히어로를 --ref로 사용하여 나머지를 유도하세요("same robot, now firing, muzzle flash"). 하나의 프롬프트로 전체 스프라이트 시트를 요청하지 마세요. 그리드가 고르지 않게 나옵니다.
  • 동일 객체의 여러 각도 또는 프레임: 3D로 가세요. 컨셉을 가져와 um fal model3d를 실행한 다음, 게임 카메라에서 um render3d를 실행하세요(asset-pipeline 스킬). 이것이 AoE2 로보택시가 16개의 일관된 방향 × 5개의 애니메이션을 얻은 방법입니다.
  • 아트에 텍스트나 로고를 넣지 마세요(원하지 않는 한): 모델이 자주 추가하려고 합니다.

엔진용 오디오

  • SFX 및 음악 엔드포인트는 MP3를 반환합니다. 엔진에 맞게 변환하세요:
    • ffmpeg -i x.mp3 -ar 44100 x.wav (XNA/tModLoader, 대부분의 엔진);
    • ffmpeg -i x.mp3 -c:a libvorbis -q:a 5 x.ogg (Minecraft, Godot, Unity);
    • 먼저 무음 제거: -af silenceremove=start_periods=1:start_threshold=-50dB.
  • 루프: um fal sfx ... --loop, 또는 음악 모델에 루프 가능한 트랙을 요청하고 끝 부분을 크로스페이드하세요.
  • SFX는 짧게(0.2-2초) 유지하고 음량을 정규화하여(-af loudnorm=I=-16) 게임의 기존 사운드와 어울리도록 하세요.

비용과 예절

  • 비싼 작업은 가격을 확인하세요: 3D, 비디오 또는 긴 음악을 배치로 돌리기 전에 가격을 확인하세요(um fal price <endpoint> / MCP get_pricing). 약 20회 이상 생성 또는 비디오 크기 작업의 경우 사용자에게 대략적인 비용을 먼저 알리세요.
  • 저렴하게 반복하세요: 탐색 중에는 저품질 또는 저해상도를 사용하세요(--quality low, --res 0.5K). 그런 다음 당첨된 프롬프트를 동일한 프롬프트(지원되는 경우 시드 포함)로 전체 품질에서 다시 실행하세요.
  • 재현성: 에셋과 함께 fal_manifest.jsonl을 보관하세요. 프롬프트, 시드 및 요청 ID를 기록합니다.
  • 크레딧: 모드의 README에 에셋이 fal로 생성되었으며 모델 이름을 명시했음을 기재하세요. 상업적 사용을 위해 모델의 라이선스 페이지를 확인하세요.

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

asset-pipeline

Turn generated or hand-made art into exactly what a game engine loads. Covers sprite cutout, trim and nearest-neighbour fitting to frame sizes, pixelation to a palette, sprite sheets and strips, player/team-colour masks, seamless textures, and rendering a 3D model into sprite frames from the game

game-automation

Launch, see and drive a real game so an agent can test its own mods. Covers launching via Steam or the exe, windowed mode at a fixed size, screenshots of the game window (GPU-safe capture), clicking and typing into menus, holding keys, relative mouse, crash-reporter cleanup, killing by PID, reading logs, scripted test scenes, and an in-game JSON bridge that lets an agent observe and act. Windows-first (also from WSL), with notes for Linux and macOS. Use when a mod must be verified in game, when navigating menus automatically, or when building a repeatable test or demo scene.

game-recon

Figure out how a specific installed game can be modded, before writing any mod code. Covers where it

game-research-websearch

Research a game, engine or modding technique on the open web with archive-aware, rate-limit-safe searches — Wayback Machine/archive.today for dead forums (XeNTaX, Zenhax, old threads), GitHub code/repo search, Nexus/Steam Workshop/Thunderstore APIs, Reddit JSON, YouTube transcripts, plus archive snapshots as evidence. Use when starting work on a game (

mashup-mods

Build cross-game mashups and total conversions, the

mod-any-game

Mod a PC game the user owns, taking an idea to working in the real game and recorded. It covers new items, weapons, enemies, bosses, units, civilizations, mechanics, art, sound, VR and cross-game mashups. Use when the user wants to mod, extend, hack on, reverse engineer or mash up a game (

port-a-mod

Port an existing mod to a newer game version or another mod loader while keeping its behaviour, values and quirks. Typical cases are an old Forge 1.7.10 or 1.12 Minecraft mod moving to modern Fabric or NeoForge, a Skyrim LE plugin moving to SE/AE, or a tModLoader 1.3 mod moving to 1.4. It covers pinning one source version, a private decompiled reference, an adaptation matrix, extracting the mod

publish-mod

Package and release a finished game mod. Covers the pre-release lint (no game files, decompiled code or leaked keys), README and install steps, credits and AI disclosure, versioning, where to upload (Nexus Mods, Steam Workshop, Thunderstore, mod.io, GitHub releases), and the post with a video. Use when the user wants to ship, share, upload, release or post a mod.

reverse-engineering

Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g.

share-field-notes

Search and contribute to the shared AI-modding knowledge base, where field notes record how specific games were modded, decompiled or reverse-engineered (exact versions, route, engine facts, verification, gotchas). Use before starting work on a game (

showcase-video

Record and cut a short showcase video of a game mod, or a compilation of clips, ready to post on X/YouTube. Records the game window with only the game

관련 스킬