game-asset-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGame Asset Generation
游戏资产生成
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.
使用each::sense生成专业游戏美术资产。该技能可创建针对游戏开发工作流优化的2D精灵、纹理、UI元素、图标、环境等内容。
Cost Savings
成本节约
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.
与传统游戏美术制作相比成本降低60-80%。基于AI的资产生成大幅减少独立开发者、工作室和游戏开发活动的时间与预算。
Features
功能特性
- 2D Sprites: Pixel art characters, objects, and props
- Sprite Sheets: Animation-ready character sheets with multiple poses
- Game Textures: Seamless tileable textures for environments
- UI Elements: Buttons, frames, health bars, inventory slots
- Game Icons: Item icons, ability icons, achievement badges
- Tilesets: Environment tiles for platformers, RPGs, strategy games
- Loading Screens: Atmospheric loading and splash screens
- Game Logos: Title logos and branding assets
- Concept Art: Visual development and mood boards
- 2D精灵:像素风格角色、物体和道具
- 精灵表:包含多种姿态的可直接用于动画的角色表
- 游戏纹理:用于环境的无缝可平铺纹理
- UI元素:按钮、边框、血条、物品栏槽位
- 游戏图标:物品图标、技能图标、成就徽章
- Tileset:适用于平台游戏、RPG、策略游戏的环境 tiles
- 加载界面:具有氛围感的加载和启动界面
- 游戏Logo:标题Logo和品牌资产
- 概念美术:视觉开发和情绪板
Quick Start
快速开始
bash
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"
}'bash
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"
}'Common Game Art Sizes
常见游戏美术尺寸
| 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 |
| 资产类型 | 常见尺寸 | 使用场景 |
|---|---|---|
| 像素风格图标 | 16x16, 32x32, 64x64 | 物品栏物品、技能 |
| 角色精灵 | 32x32, 64x64, 128x128 | 玩家/NPC角色 |
| 精灵表 | 512x512, 1024x1024 | 动画帧 |
| 纹理 | 256x256, 512x512, 1024x1024 | 环境表面 |
| UI元素 | 多种尺寸 | 按钮、边框、进度条 |
| 加载界面 | 1920x1080, 2560x1440 | 全屏显示 |
Use Case Examples
使用场景示例
1. 2D Sprite Generation (Pixel Art)
1. 2D精灵生成(像素风格)
bash
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"
}'bash
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"
}'2. Character Sprite Sheet
2. 角色精灵表
bash
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"
}'bash
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"
}'3. Game Texture Generation (Seamless)
3. 游戏纹理生成(无缝)
bash
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"
}'bash
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"
}'4. Game Icon Set
4. 游戏图标集
bash
undefinedbash
undefinedFirst icon
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" }'
-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" }'
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" }'
-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)
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined5. UI Elements (Buttons, Frames, Bars)
5. UI元素(按钮、边框、进度条)
bash
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"
}'bash
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"
}'6. Environment/Tileset Generation
6. 环境/Tileset生成
bash
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"
}'bash
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"
}'7. Item/Weapon Icons
7. 物品/武器图标
bash
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"
}'bash
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"
}'8. Loading Screen Art
8. 加载界面美术
bash
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"
}'bash
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"
}'9. Game Logo Design
9. 游戏Logo设计
bash
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"
}'bash
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"
}'10. Concept Art for Games
10. 游戏概念美术
bash
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"
}'bash
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"
}'Best Practices
最佳实践
Sprite Art
精灵美术
- Specify exact dimensions: Always include pixel dimensions (32x32, 64x64)
- Mention transparency: Request transparent background for game integration
- Define view angle: Side view, top-down, isometric, front-facing
- Art style clarity: Pixel art, hand-painted, vector, retro 8-bit/16-bit
- 指定精确尺寸:始终包含像素尺寸(32x32、64x64)
- 提及透明度:为便于游戏集成,请求透明背景
- 定义视角:侧视图、俯视图、等轴测图、正视图
- 明确美术风格:像素美术、手绘、矢量、复古8位/16位风格
Textures
纹理
- Request seamless: Always specify "seamless tileable" for repeating textures
- Power of 2 sizes: Use 256, 512, 1024 for optimal GPU performance
- Material specifics: Describe wear, weathering, age, condition
- 要求无缝:对于重复使用的纹理,始终指定“无缝可平铺”
- 使用2的幂次尺寸:使用256、512、1024以获得最佳GPU性能
- 材质细节:描述磨损、风化、年代、状态
Icon Sets
图标集
- Use session_id: Maintain consistent style across multiple icons
- Grid arrangement: Request organized layouts for sprite sheets
- Consistent lighting: Specify light direction for cohesive sets
- 使用session_id:在多个图标间保持风格一致
- 网格排列:请求精灵表采用有序布局
- 一致的光照:指定光照方向以确保图标集风格统一
UI Elements
UI元素
- Leave safe zones: Account for text and dynamic content
- Scalability: Consider how assets scale on different resolutions
- State variations: Request normal, hover, pressed states for buttons
- 预留安全区域:为文本和动态内容留出空间
- 可扩展性:考虑资产在不同分辨率下的缩放效果
- 状态变体:请求按钮的正常、悬停、按下状态
Mode Selection
模式选择
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final production assets, hero images, key art | Slower | Highest |
| Quick iterations, concept exploration, prototyping | Faster | Good |
生成前请询问用户:
"您需要快速低成本的结果,还是高质量的结果?"
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终生产资产、主角图像、关键美术 | 较慢 | 最高 |
| 快速迭代、概念探索、原型制作 | 较快 | 良好 |
Multi-Turn Asset Iteration
多轮资产迭代
Use to iterate and create consistent asset sets:
session_idbash
undefined使用进行迭代,创建风格一致的资产集:
session_idbash
undefinedInitial character design
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedBatch Asset Generation
批量资产生成
Generate multiple variations efficiently:
bash
undefined高效生成多种变体:
bash
undefinedStyle A - Pixel Art
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| 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 |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 在eachlabs.ai进行充值 |
| Content policy violation | 内容违反规定 | 调整提示词,避免暴力/露骨内容 |
| Timeout | 生成任务复杂 | 将客户端超时设置为至少10分钟 |
Prompt Tips for Game Assets
游戏资产提示词技巧
When creating game art, include these details in your prompt:
- Dimensions: Exact pixel size (32x32, 512x512)
- Art Style: Pixel art, hand-painted, vector, retro, modern
- Perspective: Side view, top-down, isometric, 3/4 view
- Background: Transparent, solid color, or contextual
- Color Palette: Limited palette, vibrant, muted, specific colors
- Game Genre: RPG, platformer, shooter, puzzle - affects style expectations
- Reference Style: "Like Stardew Valley", "Zelda-inspired", etc.
创建游戏美术时,提示词中请包含以下细节:
- 尺寸:精确的像素大小(32x32、512x512)
- 美术风格:像素美术、手绘、矢量、复古、现代
- 视角:侧视图、俯视图、等轴测图、3/4视图
- 背景:透明、纯色或上下文相关
- 调色板:有限调色板、鲜艳、柔和、特定颜色
- 游戏类型:RPG、平台游戏、射击游戏、解谜游戏——会影响风格预期
- 参考风格:“类似星露谷物语”、“塞尔达风格”等
Example Prompt Structure
提示词结构示例
"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].""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]."Related Skills
相关技能
- - Core API documentation
each-sense - - Product visualization
product-visuals - - General image generation
image-generation
- - 核心API文档
each-sense - - 产品可视化
product-visuals - - 通用图像生成
image-generation
References
参考资料
- SSE Events Reference - Server-Sent Events documentation
- SSE Events Reference - Server-Sent Events文档