game-character-gen
Generate professional game character designs via OpenAI Images API. Create diverse characters for RPGs, video games, tabletop games, and interactive media. Use when user needs character concept art, character portraits, game sprites, or character sheets with specific attributes like race, class, profession, equipment, and visual style (e.g., "create an elven ranger", "design a cyberpunk hacker", "generate fantasy warrior character").
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- game-character-gen
- description
- Generate professional game character designs via OpenAI Images API. Create diverse characters for RPGs, video games, tabletop games, and interactive media. Use when user needs character concept art, character portraits, game sprites, or character sheets with specific attributes like race, class, profession, equipment, and visual style (e.g., "create an elven ranger", "design a cyberpunk hacker", "generate fantasy warrior character").
02 资源文件 3
- 参考文档_meta.json299 B
- 参考文档package.json577 B
- 脚本scripts/generate.py15.6 KB
03 SKILL.md 正文
Game Character Generator
Generate detailed character concepts for games with precise control over race, class, equipment, and visual style.
Setup
- Needs env:
OPENAI_API_KEY
Quick Start
Generate a basic character:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "elf" \
--class "ranger"
Generate with specific details:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "dragonborn" \
--class "paladin" \
--gender "female" \
--equipment "plate armor, divine shield" \
--style "epic fantasy painting"
Generate a batch of characters:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "human" "dwarf" "tiefling" \
--class "warrior" "mage" "rogue" \
--style "dark fantasy" "anime" "realistic"
Character Parameters
Race (Fantasy)
human- Human (various ethnicities)elf- High elf, wood elf, dark elf (drow)dwarf- Mountain dwarf, hill dwarfhalfling- Lightfoot, stout halflinggnome- Rock gnome, forest gnomehalf-elf- Half-elf heritagehalf-orc- Half-orc heritagedragonborn- Dragonborn (various draconic lineages)tiefling- Tiefling (infernal heritage)goliath- Goliath (giant heritage)aasimar- Aasimar (celestial heritage)goblin- Goblinhobgoblin- Hobgoblinbugbear- Bugbearkenku- Kenku (bird-like)tabaxi- Tabaxi (feline)lizardfolk- Lizardfolkfirbolg- Firbolggenasi- Genasi (elemental: air, earth, fire, water)
Class (Fantasy)
warrior- Fighter, barbarian, knightmage- Wizard, sorcerer, warlockcleric- Cleric, priest, paladinrogue- Rogue, assassin, thiefranger- Ranger, hunter, scoutbard- Bard, entertainermonk- Monk, martial artistdruid- Druid, shamanartificer- Artificer, engineerinquisitor- Inquisitor, investigator
Race (Sci-Fi / Cyberpunk)
human-augmented- Cybernetically enhanced humanandroid- Synthetic androidclone- Clone soldieralien-humanoid- Various alien speciescyborg- Heavily modified cyborgbio-engineered- Genetically modified
Class (Sci-Fi / Cyberpunk)
hacker- Netrunner, hackersoldier- Mercenary, corporate soldiertech-specialist- Engineer, technicianmedic- Combat medicscout- Reconnaissance specialistpilot- Starship pilotassassin- Corporate assassindetective- Investigator
Equipment
Common equipment keywords (comma-separated):
leather armor/chainmail/plate armor/cybernetic implantssword and shield/greatsword/daggers/quarterstaffcrossbow/longbow/pistol/plasma rifle/laser pistolspellbook/arcane focus/holy symbol/tech gauntletcloak/hooded cape/tactical vest/exosuitbackpack/tool belt/medical kit/hacking deck
Style
Artistic styles for character render:
epic fantasy painting- Rich oil painting, cinematicrealistic portrait- Photorealistic character portraitanime studio- Anime/manga styleconcept art- Game concept art qualityillustration- Detailed illustrationcomic book- Bold comic stylepixel art- Retro pixel characterdark fantasy- Grim dark aestheticlow poly- Low poly 3D model lookcel shaded- Cel shading anime stylewatercolor- Soft watercolor stylevintage fantasy- Classic fantasy art
Gender / Expression
male,female,non-binary,androgynousyoung,middle-aged,elderlystoic,determined,mysterious,playful,grim,noble
Advanced Options
Custom prompt for full control:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--prompt "A rugged dwarven warrior with braided red beard, wearing ornate mithral plate armor decorated with runic engravings. He wields a massive warhammer with lightning crackling along the head. Battle-hardened expression, scars visible on face. Epic fantasy oil painting style, cinematic lighting, detailed textures."
Include character sheet:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "human" \
--class "mage" \
--style "concept art" \
--sheet
Parameters
--race- Character race/species (repeatable for batch)--class- Character class/profession (repeatable for batch)--gender- Gender identity--equipment- Equipment and gear description--style- Artistic style (repeatable for batch)--prompt- Full custom prompt (overrides other options)--count- Number of variants per character (default: 1)--sheet- Generate character sheet JSON with stats--out-dir- Output directory (default: ~/Projects/tmp/game-character-gen-*)--size- Image size: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)--quality- high/standard (default: high)--model- OpenAI image model (default: gpt-image-1.5)--api-key- OpenAI API key (or use OPENAI_API_KEY env)
Character Sheet Format
When using --sheet, generates character_sheet.json with:
{
"name": "Generated Character",
"race": "human",
"class": "mage",
"gender": "male",
"equipment": ["staff", "robes"],
"stats": {
"strength": 8,
"dexterity": 14,
"constitution": 10,
"intelligence": 18,
"wisdom": 12,
"charisma": 10
},
"image_file": "01-mage.png"
}
Output
*.png- Character imagescharacter_sheet.json- Character data (if --sheet)prompts.json- All prompts usedindex.html- Character gallery
Examples
D&D party:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "human" "elf" "dwarf" "half-orc" \
--class "paladin" "ranger" "cleric" "barbarian" \
--style "epic fantasy painting"
Cyberpunk crew:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "human-augmented" "android" "clone" "cyborg" \
--class "hacker" "soldier" "tech-specialist" "assassin" \
--style "cyberpunk neon" \
--equipment "hacking deck" "plasma rifle" "tool belt" "monowire"
Children's book characters:
python3 ~/Projects/agent-scripts/skills/game-character-gen/scripts/generate.py \
--race "human" "elf" "gnome" "fairy" \
--class "adventurer" "wizard" "explorer" "healer" \
--style "whimsical illustration" "watercolor"
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.