Logo Ai Asset Generation

Ai Asset Generation

Cộng đồng
MRCalderon3D
ai-asset-generation

Tạo tài nguyên game thực tế (hình ảnh, skybox, mô hình 3D, hiệu ứng âm thanh, nhạc, giọng nói, video) từ prompt văn bản thông qua hệ thống đăng ký nhà cung cấp, kèm thông tin nguồn gốc và các bước kiểm duyệt.

Add to TypingMind

Tổng quan

Nhà phát hànhMRCalderon3D
Kho mãeverything-game-dev-code
Tên kỹ năngai-asset-generation
Sao
85
Bản fork
13
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MRCalderon3D công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ai Asset Generation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/MRCalderon3D/everything-game-dev-code/tree/main/skills/art-audio-content/ai-asset-generation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MRCalderon3D/everything-game-dev-code.git /tmp/everything-game-dev-code
mkdir -p .claude/skills
cp -r /tmp/everything-game-dev-code/skills/art-audio-content/ai-asset-generation .claude/skills/ai-asset-generation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ai Asset Generation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ai Asset Generation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ai Asset Generation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

AI Asset Generation

Purpose

Generate production-candidate game assets from text prompts through the generative provider registry (manifests/asset-providers.json) so projects can move from procedural placeholders to real content without leaving the scaffold — while keeping generation engine-neutral, reproducible, provenance-tracked, and subject to the same acceptance gates as authored content.

Optional Capability — Gate Before Use

AI generation is an optional layer, not a dependency. It is available only when the active provider's API key is set in the environment (FAL_KEY for the default fal.ai provider). The scaffold's asset workflow does not require it:

  • Key present → this skill is available; the project may upgrade placeholders to generated content.
  • Key absent → this skill is inert. Fall back to the default scaffold tooling exactly as before the capability existed — placeholder-asset-pipeline and the engine placeholder commands (/unity-placeholders, /godot-placeholders, /web-placeholders) for sprites, 3D primitives, and procedural audio. A project built entirely on placeholders is a fully valid, shippable-to-prototype outcome; generation is an enhancement, never a gate.

Detecting the gate is cheap: the generator (scripts/generate-assets.js) reads the key from the environment and reports clearly when it is missing, pointing back to the placeholder path. Never fabricate or hand-place assets to "stand in" for the API.

Resolution Order and Cost

  • Prefer free before paid. For image/skybox (the registry's nativeFirstCapabilities), if the running harness has a native image generator (e.g. Codex $imagegen), use it instead of the paid API — keep the same names, paths, and acceptance gates. Fall to the API only when no native generator exists and a key is set; fall to placeholders otherwise. model3d/sfx/music/speech/ video have no native path — API or placeholders only.
  • Confirm before spending. Every run prints an estimated cost; the generator refuses runs at or above confirmOverUsd without --yes. For a single asset the user explicitly asked for, dry-run, show the estimate, and proceed if cheap. For autonomous or batch flows, get a clear yes on the total before running. Iterate on the cheap default model; reserve the expensive alternative and video for finals.
  • Quality vs price tier. Ask the user once, before a batch, which tier to use — budget, balanced, or premium — and pass --quality (default balanced). The registry's byQuality map picks the model per capability (e.g. image: flux-schnell / nano-banana-2 / nano-banana-pro; video: Wan / Seedance / Veo). Budget can keep a whole video run under the cost gate; premium crosses it and needs --yes. Tier sets the spend; the gate prevents surprises.

Use When

  • placeholder assets exist and the project is ready to upgrade them to real content
  • a game needs images, textures, skyboxes, 3D models, sound effects, music, voice lines, or intro/cinematic video that no artist is available to produce
  • concept art needs to be lifted into 3D (image-to-3D) or into motion (image-to-video)
  • the team wants reproducible asset generation runs (prompt + seed + model recorded) instead of one-off results pasted from a chat tool

Inputs

  • the provider registry (manifests/asset-providers.json) and a valid API key in the provider's apiKeyEnv environment variable (never committed)
  • art bible or visual direction document, and the audio direction where relevant
  • asset inventory: which entities need which asset type, at which target size or length
  • the placeholder manifest of the project, so generated files can adopt the same names and paths (drop-in replacement contract)
  • a staging directory outside the engine's import folders

Process

  1. classify each requested asset by capability: image, skybox, model3d, sfx, music, speech, or video
  2. define the acceptance contract before generating (for raster assets this is the generated-raster-asset-pipeline contract: background policy, display size, collision envelope; for audio: length, loopability, loudness target; for 3D: poly budget, scale, pivot; for video: duration, aspect ratio, codec)
  3. resolve the model from the registry — do not hardcode model ids in project code; pass --model only to deviate intentionally
  4. dry-run first to review the resolved payload: node scripts/generate-assets.js --type <capability> --prompt "..." --out <staging> --dry-run
  5. generate with a fixed --seed where the model supports it, iterating on the cheap/fast default model and switching to the higher-fidelity alternative for finals
  6. review candidates against the acceptance contract before any engine import
  7. move accepted files into the project under the placeholder names and paths, keep the .provenance.json sidecar next to each accepted asset, and record raster assets in the project's generated-assets.json manifest
  8. import through the active engine layer only (Unity/Unreal/Godot/web import rules stay in their engine packs), then run the matching review command (/art-2d-pass, /art-3d-pass, /audio-pass)

Outputs

  • generated asset files in neutral formats (PNG, GLB, MP3/WAV, MP4) staged and then integrated under the project's existing names and paths
  • a .provenance.json sidecar per generation run: provider, model, prompt, seed, request id, timestamp, source URLs, license note
  • updated generated-assets.json entries for accepted raster assets
  • a short generation log in the project docs: what was generated, with which model, what was rejected and why

Quality Bar

  • every generated file has a provenance sidecar; an asset without provenance is treated as unlicensed third-party content
  • generation is reproducible: prompt, seed, and model id recorded, so a lost file can be regenerated or deliberately re-rolled
  • generated assets pass the same acceptance gates as authored content — no "the AI made it" exemption from naming, budget, or review rules
  • engine isolation holds: the generation step never writes into engine-specific import folders directly
  • cost is managed deliberately: iterate cheap, finalize expensive, and dry-run video (the costliest capability) before batch runs

Common Failure Modes

  • hardcoding a model id in project code or docs and having it rot when the provider catalog rotates — the registry is the only source of truth
  • accepting a "transparent" sprite with a baked checkerboard background (run the raster acceptance contract; validate:generated-assets catches PNGs)
  • treating a generated skybox as valid without checking the equirectangular 2:1 projection and horizon continuity
  • importing a generated GLB at the wrong scale because the poly/scale/pivot contract was never defined before generation
  • generating voice lines outside the localization pipeline and discovering the text was never source-controlled
  • burning budget on video generation iterations that an image-to-video workflow with an accepted still would have art-directed for a fraction of the cost

Related Agents

  • technical-artist
  • 2d-artist
  • audio-designer

Related Commands

  • generate-assets
  • art-2d-pass
  • art-3d-pass
  • audio-pass

Related Skills

  • generated-raster-asset-pipeline
  • placeholder-asset-pipeline
  • 3d-asset-pipeline
  • cinematic-pipeline
  • audio-implementation

Notes

  • The registry's default provider is fal.ai because a single pay-per-use key covers every capability; the design is provider-agnostic and a second provider is a manifest entry away.
  • Rigging and animation of generated 3D models are out of scope for the current registry — generated meshes are static; route rigging through the rigging-skinning-pipeline skill and a dedicated tool or provider.
  • An optional fal-media MCP server (see mcp-configs/mcp-servers.json) exposes the same catalog interactively for exploration; reproducible production runs should go through scripts/generate-assets.js so provenance is written.

Câu hỏi thường gặp

Kỹ năng AI Ai Asset Generation làm được gì?

Tạo tài nguyên game thực tế (hình ảnh, skybox, mô hình 3D, hiệu ứng âm thanh, nhạc, giọng nói, video) từ prompt văn bản thông qua hệ thống đăng ký nhà cung cấp, kèm thông tin nguồn gốc và các bước kiểm duyệt.

Vì sao nên dùng Ai Asset Generation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ai Asset Generation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ai Asset Generation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MRCalderon3D/everything-game-dev-code/tree/main/skills/art-audio-content/ai-asset-generation. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ai Asset Generation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ai Asset Generation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ai Asset Generation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ai Asset Generation có miễn phí không?

Có. Kỹ năng này được MRCalderon3D phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇