Asset gen
Generate assets for a game, a video or any other project.
Safety check
- Script runs other programs or code: scripts/asset_gen.py line 24
- Script calls the network: scripts/asset_gen.py line 322
- Script runs other programs or code: scripts/loop_audio.py line 17
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: asset-gen
description: |
Generate assets for a game, a video or any other project: images, transparent sprites and animated GIF sprites (GPT-Image-2.6, batched at half price), textured GLB models, rigged humanoids with generated moves and lip-synced speech, sound effects and voice lines (local and free with godogen_assets), 3D built in Blender, plus Grok sprite video, Tripo 3D, Gemini TTS voice acting and Lyria music. Use whenever a project needs generated art, 3D or audio.
---
# Asset Generator
`api.md`, `motion.md` and `scripts/` sit next to this file. Commands run from the project, so call the scripts by their full path. Missing tools: Setup, at the end.
## Where assets come from
Choose by asset type, then let the user's words decide: a budget, "free" or "local only", or "best quality".
- **Images.** GPT-Image-2.6 Sunburst (`api.md`) makes everything on screen: characters, sprites, animated sprites, backgrounds, key art, UI with text, and the reference images that 3D is built from. It is paid: 2.2ยข for a batched 1024x1024 at medium. Local `qwen-image` is free but only good for basic assets (flat textures, simple icons, placeholders); use it for everything only when the user asks for free or local, or when `OPENAI_API_KEY` isn't set.
- **3D.** Local first. `gen3d` turns a reference image into a textured GLB, and the humanoid tools rig and animate it. Blender builds what generation doesn't (below). Use Tripo (api.md) when godogen_assets isn't set up, or to rig a non-humanoid.
- **Audio.** Use local `stable-audio` and `qwen-tts` for sound effects and voice lines. The paid APIs cover music, a voice that acts many emotions, barks, two-speaker dialogue, and languages `qwen-tts` lacks.
When the brief says nothing about spending, propose paid images with an estimate for the whole set when you confirm the first paid call. The user can choose free local images instead. Without godogen_assets (its commands aren't on `PATH`, or answer `not installed`), 3D and audio come from the paid APIs too.
## Local: godogen_assets
[godogen_assets](https://github.com/htdt/godogen_assets) runs local generators on this machine's GPU, one command per task, for free. Its docs are the reference; this page is the TL;DR plus what a project needs on top. Its checkout is where its commands resolve, `$GODOGEN_ASSETS` below. The lookup fails when the commands aren't on `PATH`, which means godogen_assets isn't set up:
```bash
p=$(command -v gen3d) && GODOGEN_ASSETS=$(dirname "$(dirname "$(readlink -f "$p")")")
```
Read `$GODOGEN_ASSETS/README.md` once (conventions, a character start to finish, checking results). Before first using a part's tool, read its README up to `How it works`.
| Command | Makes | README in the checkout |
|---------|-------|------------------------|
| `qwen-image` | basic PNGs from text; `rgba`: real transparency; `edit -i ref.png`: image-to-image | `image/` |
| `gen3d` | textured GLB from an image | `mesh/` |
| `mia-rig` | Mixamo-rigged humanoid from a GLB | `rig/` |
| `add-moves`, `gen-moves` | idle/walk/run/jump onto a rig; custom moves from text prompts | `motion/` |
| `grip-prop` | a prop made holdable; `add-moves --hold` puts it in a character's hand | `motion/` |
| `lipsync` | speaking mouth + lip-synced clip from a voice line | `lipsync/` |
| `stable-audio` | sound effects, seamless ambience loops | `sfx/` |
| `qwen-tts` | voice lines from a description, or cloned from a reference line | `voice/` |
...From htdt's repository, MIT licence.
Related skills
-
Checked
Flutter positional audio
Adds positional 3D sound to Flutter apps with flutter_soloud, so effects shift and fade as things move around.
8/101 credit -
Checked
Flutter SoLoud audio
Explains how to use the flutter_soloud audio plugin correctly and which feature fits each game sound problem.
7/101 credit -
Checked
Flutter audio scheduling
Schedules flutter_soloud sounds to the exact sample with low latency, so game and music audio stay in time.
8/101 credit -
Checked
Game Audio Mixing
Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.
8/101 credit -
Checked
Godot game audio
Wires up sound effects, music and volume sliders in Godot and fixes sounds that go silent or will not loop.
8/101 credit -
Checked
melonJS Game Audio
Adds sound effects, music and positional audio to melonJS browser games, and fixes silent or stuck sound.
8/101 credit