重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
game-asset-generation by eachlabs/skills
npx skills add https://github.com/eachlabs/skills --skill game-asset-generation使用 each::sense 生成专业的游戏美术资产。此技能可创建适用于游戏开发工作流程的 2D 精灵、纹理、UI 元素、图标、环境等优化资源。
与传统游戏美术制作相比,成本降低 60-80%。AI 驱动的资产生成极大地减少了独立开发者、工作室和游戏开发活动的开发时间和预算。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 32x32 pixel art sword icon for an RPG game, golden blade with ornate hilt, transparent background",
"mode": "max"
}'
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 资产类型 | 常见尺寸 | 用途 |
|---|
| 像素艺术图标 | 16x16, 32x32, 64x64 | 物品栏物品、技能 |
| 角色精灵 | 32x32, 64x64, 128x128 | 玩家/NPC 角色 |
| 精灵图集 | 512x512, 1024x1024 | 动画帧 |
| 纹理 | 256x256, 512x512, 1024x1024 | 环境表面 |
| UI 元素 | 多种尺寸 | 按钮、边框、条状物 |
| 加载画面 | 1920x1080, 2560x1440 | 全屏显示 |
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 64x64 pixel art character sprite of a medieval knight with blue armor and silver sword. Retro 16-bit style, side view facing right, transparent background. Clean pixel edges, no anti-aliasing.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a character sprite sheet for a pixel art wizard character. Include 8 frames: 2 idle poses, 2 walking frames, 2 attack frames, 1 jump, 1 hurt pose. 32x32 per frame, arranged in a 4x2 grid (256x64 total). Purple robe, white beard, wooden staff.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a seamless tileable 512x512 stone dungeon floor texture. Dark gray cobblestones with moss growing between cracks, worn and weathered look. Must tile perfectly with no visible seams when repeated.",
"mode": "max"
}'
# First icon
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 64x64 pixel art health potion icon for an RPG. Red liquid in a glass flask with cork stopper, glowing effect, transparent background. Fantasy game style.",
"session_id": "rpg-icons-set"
}'
# Second icon (same session for style consistency)
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a mana potion icon in the same style. Blue liquid instead of red, same flask design, matching art style.",
"session_id": "rpg-icons-set"
}'
# Third icon
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a stamina potion icon. Green liquid, same consistent style as the health and mana potions.",
"session_id": "rpg-icons-set"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a fantasy RPG UI kit containing: 1 rectangular button (200x50) with stone texture and gold border, 1 health bar frame (300x30) with ornate metal design, 1 inventory slot frame (64x64) with wooden texture and metal corners. Arrange on transparent background. Medieval fantasy style matching games like Diablo or Baldur'\''s Gate.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 2D platformer tileset for a forest level. Include 16x16 pixel tiles: grass top, dirt fill, grass corner pieces (4 corners), tree trunk, leaves, flowers, rocks, wooden platform. Arrange in a tileset grid. Colorful cartoon style similar to classic platformers. 256x256 total sheet.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a set of 6 weapon icons for a fantasy game, each 48x48 pixels: iron sword, wooden bow, fire staff, battle axe, throwing daggers, war hammer. Arrange in a 3x2 grid. Consistent hand-painted style with slight glow effects, transparent backgrounds. Top-down perspective for inventory display.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 1920x1080 loading screen for a dark fantasy action RPG. Epic scene showing a lone warrior silhouette standing before a massive gothic castle on a cliff, stormy sky with lightning, dark moody atmosphere. Leave space at bottom center for a loading bar. Painterly digital art style.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a game logo for a space shooter called \"NOVA STRIKE\". Bold metallic chrome letters with neon blue glow effects, slight 3D perspective, stars and energy particles around it. Sci-fi futuristic style. Transparent background, 1024x512 resolution. Suitable for title screen and marketing.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create concept art for a post-apocalyptic survival game. Show an abandoned city overgrown with vegetation, rusted vehicles, crumbling skyscrapers with trees growing through them, dramatic sunset lighting breaking through clouds. Painterly concept art style like The Last of Us or Horizon. 16:9 aspect ratio for presentation.",
"mode": "max"
}'
在生成前询问您的用户:
"您想要快速且经济,还是高质量?"
| 模式 | 最适合 | 速度 | 质量 |
|---|---|---|---|
max | 最终生产资产、主视觉图、关键美术 | 较慢 | 最高 |
eco | 快速迭代、概念探索、原型制作 | 较快 | 良好 |
使用 session_id 进行迭代并创建一致的资产集:
# Initial character design
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a pixel art hero character for a platformer game, 64x64, knight with red cape",
"session_id": "hero-character-project"
}'
# Request variations
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create the same character but with a blue cape for player 2, matching style exactly",
"session_id": "hero-character-project"
}'
# Create matching enemy
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create an enemy character in the same pixel art style - a skeleton warrior, same size and art direction",
"session_id": "hero-character-project"
}'
高效生成多种变体:
# Style A - Pixel Art
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a treasure chest icon, 32x32, pixel art, closed position",
"mode": "eco"
}'
# Style B - Hand-painted
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a treasure chest icon, 64x64, hand-painted fantasy style, closed position",
"mode": "eco"
}'
# Style C - Modern Vector
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a treasure chest icon, 128x128, clean vector style with gradients, modern mobile game look",
"mode": "eco"
}'
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 前往 eachlabs.ai 充值 |
| 内容策略违规 | 禁止的内容 | 调整提示词以避免暴力/露骨内容 |
| 超时 | 生成过程复杂 | 将客户端超时设置为至少 10 分钟 |
创建游戏美术时,请在提示词中包含以下细节:
"Create a [dimensions] [art style] [asset type] for a [game genre].
[Visual description with colors, materials, details].
[Perspective/view angle]. [Background requirement].
[Additional technical requirements]."
each-sense - 核心 API 文档product-visuals - 产品可视化image-generation - 通用图像生成每周安装量
65
代码仓库
GitHub 星标数
8
首次出现
2026年2月20日
安全审计
安装于
gemini-cli64
kimi-cli63
codex63
cursor63
opencode63
github-copilot63
Generate professional game art assets using each::sense. This skill creates 2D sprites, textures, UI elements, icons, environments, and more optimized for game development workflows.
60-80% cost reduction compared to traditional game art production. AI-powered asset generation dramatically reduces time and budget for indie developers, studios, and game jams.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 32x32 pixel art sword icon for an RPG game, golden blade with ornate hilt, transparent background",
"mode": "max"
}'
| Asset Type | Common Sizes | Use Case |
|---|---|---|
| Pixel Art Icons | 16x16, 32x32, 64x64 | Inventory items, abilities |
| Character Sprites | 32x32, 64x64, 128x128 | Player/NPC characters |
| Sprite Sheets | 512x512, 1024x1024 | Animation frames |
| Textures | 256x256, 512x512, 1024x1024 | Environment surfaces |
| UI Elements | Various | Buttons, frames, bars |
| Loading Screens | 1920x1080, 2560x1440 | Full-screen displays |
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 64x64 pixel art character sprite of a medieval knight with blue armor and silver sword. Retro 16-bit style, side view facing right, transparent background. Clean pixel edges, no anti-aliasing.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a character sprite sheet for a pixel art wizard character. Include 8 frames: 2 idle poses, 2 walking frames, 2 attack frames, 1 jump, 1 hurt pose. 32x32 per frame, arranged in a 4x2 grid (256x64 total). Purple robe, white beard, wooden staff.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a seamless tileable 512x512 stone dungeon floor texture. Dark gray cobblestones with moss growing between cracks, worn and weathered look. Must tile perfectly with no visible seams when repeated.",
"mode": "max"
}'
# First icon
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 64x64 pixel art health potion icon for an RPG. Red liquid in a glass flask with cork stopper, glowing effect, transparent background. Fantasy game style.",
"session_id": "rpg-icons-set"
}'
# Second icon (same session for style consistency)
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a mana potion icon in the same style. Blue liquid instead of red, same flask design, matching art style.",
"session_id": "rpg-icons-set"
}'
# Third icon
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a stamina potion icon. Green liquid, same consistent style as the health and mana potions.",
"session_id": "rpg-icons-set"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a fantasy RPG UI kit containing: 1 rectangular button (200x50) with stone texture and gold border, 1 health bar frame (300x30) with ornate metal design, 1 inventory slot frame (64x64) with wooden texture and metal corners. Arrange on transparent background. Medieval fantasy style matching games like Diablo or Baldur'\''s Gate.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 2D platformer tileset for a forest level. Include 16x16 pixel tiles: grass top, dirt fill, grass corner pieces (4 corners), tree trunk, leaves, flowers, rocks, wooden platform. Arrange in a tileset grid. Colorful cartoon style similar to classic platformers. 256x256 total sheet.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a set of 6 weapon icons for a fantasy game, each 48x48 pixels: iron sword, wooden bow, fire staff, battle axe, throwing daggers, war hammer. Arrange in a 3x2 grid. Consistent hand-painted style with slight glow effects, transparent backgrounds. Top-down perspective for inventory display.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 1920x1080 loading screen for a dark fantasy action RPG. Epic scene showing a lone warrior silhouette standing before a massive gothic castle on a cliff, stormy sky with lightning, dark moody atmosphere. Leave space at bottom center for a loading bar. Painterly digital art style.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a game logo for a space shooter called \"NOVA STRIKE\". Bold metallic chrome letters with neon blue glow effects, slight 3D perspective, stars and energy particles around it. Sci-fi futuristic style. Transparent background, 1024x512 resolution. Suitable for title screen and marketing.",
"mode": "max"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create concept art for a post-apocalyptic survival game. Show an abandoned city overgrown with vegetation, rusted vehicles, crumbling skyscrapers with trees growing through them, dramatic sunset lighting breaking through clouds. Painterly concept art style like The Last of Us or Horizon. 16:9 aspect ratio for presentation.",
"mode": "max"
}'
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
max | Final production assets, hero images, key art | Slower | Highest |
eco | Quick iterations, concept exploration, prototyping | Faster | Good |
Use session_id to iterate and create consistent asset sets:
# Initial character design
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a pixel art hero character for a platformer game, 64x64, knight with red cape",
"session_id": "hero-character-project"
}'
# Request variations
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create the same character but with a blue cape for player 2, matching style exactly",
"session_id": "hero-character-project"
}'
# Create matching enemy
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create an enemy character in the same pixel art style - a skeleton warrior, same size and art direction",
"session_id": "hero-character-project"
}'
Generate multiple variations efficiently:
# Style A - Pixel Art
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a treasure chest icon, 32x32, pixel art, closed position",
"mode": "eco"
}'
# Style B - Hand-painted
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a treasure chest icon, 64x64, hand-painted fantasy style, closed position",
"mode": "eco"
}'
# Style C - Modern Vector
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a treasure chest icon, 128x128, clean vector style with gradients, modern mobile game look",
"mode": "eco"
}'
| Error | Cause | Solution |
|---|---|---|
Failed to create prediction: HTTP 422 | Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Adjust prompt to avoid violent/explicit content |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
When creating game art, include these details in your prompt:
"Create a [dimensions] [art style] [asset type] for a [game genre].
[Visual description with colors, materials, details].
[Perspective/view angle]. [Background requirement].
[Additional technical requirements]."
each-sense - Core API documentationproduct-visuals - Product visualizationimage-generation - General image generationWeekly Installs
65
Repository
GitHub Stars
8
First Seen
Feb 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli64
kimi-cli63
codex63
cursor63
opencode63
github-copilot63
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
53,700 周安装
design-delight - 提升代码编辑器设计体验的配置工具,优化开发工作流
1 周安装
design-colorize 代码着色工具 - 提升代码可读性的设计插件 | derklinke/codex-config
1 周安装
design-clarify - 代码配置与设计澄清工具,提升开发效率与代码质量
1 周安装
API网关配置指南:Kong、Nginx、AWS实战与微服务架构最佳实践
63 周安装
design-article-integration:代码库配置工具,实现设计与文章集成
1 周安装
design-animate 动画设计工具 - 代码配置与动画生成技能
1 周安装