Skip to content

Generate and edit 2D image assets for Three.js games using Google's Gemini image API.

CCM score
67 of 100
skills.sh installs
4.3K
GitHub stars
3.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers image-to-3D references, texture and material plates, skies and backgrounds, decals, logos, icons, and GUI or title art
  • Includes generate_image.py with probe, prompt-driven generation, and --input-image editing at 1K, 2K, or 4K resolution
  • Enforces a stored-key rule: the API key is read from --api-key or GEMINI_API_KEY and never written into skill files, game code, or reports
  • Designed for Three.js projects that feed concept images into threejs-3d-generator for image-to-3D workflows

Install

$ npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-image-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Three.js Image Generator

The 2D layer for Three.js games: concepts, textures, decals, UI art, and the source images that feed threejs-3d-generator for image-to-3D.

Resolve <this-skill-dir> from the actual loaded skill file. Resolve sibling skills beside it first, then use the runner's discovered paths. Do not mix installed versions or assume a particular home directory.

When to use

  • Image-to-3D references: characters, creatures, buildings, ships, cars, weapons, props, pickups, terrain modules.
  • Texture and material references: terrain, road, rock, sand, metal, sci-fi panels, trim sheets, decals, hazard labels, signs.
  • Environment plates: skies, backdrops, city horizons, nebulas, menu backgrounds, parallax layers.
  • UI art: logos, faction marks, icons, item cards, ability badges, cockpit decals, GUI panels, title art.
  • Editing an existing image: style variants, cleanup, palette alignment, concept refinement.

Details

Repository
github.com/majidmanzarpour/threejs-game-skills
Categories
AI Image, Video & Voice, Game Development, 3D, CAD & Modeling
First seen
Jul 14, 2026

Questions

What does the threejs-image-generator skill do?

It generates and edits 2D image assets for Three.js games using Google's Gemini image API, including concept sheets, textures, decals, icons, GUI art, title and menu art, and sky backdrops. It also produces source images that feed the threejs-3d-generator skill for image-to-3D work.

Who is threejs-image-generator for?

It is for developers building browser games with Three.js who need 2D art for their projects. It suits work that ranges from image-to-3D reference sheets and material textures to UI logos and marketing stills, and it can also edit an existing image by path.

How do I install threejs-image-generator and what does it need?

Run npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-image-generator -y in a project. The skill needs a GEMINI_API_KEY environment variable or an --api-key flag, and it runs its script through uv.

More from majidmanzarpour/threejs-game-skills

All 9

Similar to Threejs Image Generator

More AI Image, Video & Voice