asset-gen
Generate visual assets from text prompts: PNG images (Gemini / xAI Grok), GLB 3D models (Tripo3D), rigged biped characters, retargeted animations, and frame-by-frame animated sprites, plus background removal. Use whenever a game needs generated art.
npx skills add htdt/godogen --skill asset-gen --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Asset Generator Generate PNG images (Gemini or xAI Grok) and GLB 3D models (Tripo3D) from text prompts. These are paid APIs — every call costs real money. Tools live at `${ASSET_GEN_SKILL_DIR}/tools/`; run from the project root and keep runtime-loaded outputs under `${RUNTIME_ASSET_DIR}/`. ## Models | Model | Flag | Cost | Best for | |-------|------|------|----------| | Gemini | `--model gemini` | 5¢ (512) · 7¢ (1K) · 10¢ (2K) · 15¢ (4K) | Precise prompt following — references, characters, 3D refs, exact layouts | | Grok | `--model grok` (default) | 2¢ | High quality but imprecise — textures, simple objects, item kits, scenic backgrounds | Grok produces great-looking output but often ignores specific instructions; reach for Gemini when the result must match what you described. ## Images ```bash python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py image \ --prompt "the full prompt" -o ${RUNTIME_ASSET_DIR}/img/car.png ``` `--model` (default `grok`) · `--size` (default `1K`; Gemini also `512`/`4K`) · `--aspect-ratio` (default `1:1`; also `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`). **Image-to-image:** pass `--image ref.png` and the model sees the reference — prompt only for what change
- Models
- Images
- Background removal
- Animated sprites
- 3D models
- Tripo3D operations (important — avoids double-charging)
- Costs
- Output and logging
- Visual pitfalls
- Asset manifest (in README.md)
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py image \
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py glb --image ref.png -o model.glb # 30¢ default / 60¢ --quality hd
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py rig --image ref.png -o rigged.glb # +25¢, biped only
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py retarget --rigged rigged.glb \
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py resume -o model.glbWhat does the asset-gen skill do?
Generate visual assets from text prompts: PNG images (Gemini / xAI Grok), GLB 3D models (Tripo3D), rigged biped characters, retargeted animations, and frame-by-frame animated sprites, plus background removal. Use whenever a game needs generated art.
How do I install it?
Run `npx skills add htdt/godogen --skill asset-gen --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From htdt/godogen, a repository with 5,237 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
