UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
デザイン · SKILL.md

ai-game-environment

ai-game-environment

Generate game environment and level backgrounds using each::sense AI. Create landscapes, dungeons, cityscapes, interiors, and biomes for 2D and 3D games. Supports pixel art, painted, photorealistic, and stylized renders for any genre. Use for: level design concepts, background art, world building, game backdrops, parallax layers, environment concept art. Tr…

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: ai-game-environment description: "Generate game environment and level backgrounds using each::sense AI. Create landscapes, dungeons, cityscapes, interiors, and biomes for 2D and 3D games. Supports pixel art, painted, photorealistic, and stylized renders for any genre. Use for: level design concepts, background art, world building, game backdrops, parallax layers, environment concept art. Triggers: game environment, level background, game landscape, game world, dungeon art, game biome, level art, game backdrop, environment concept, game scenery" allowed-tools: Bash(curl *), WebFetch

AI Game Environment

Generate game environment art, level backgrounds, and world concepts using each::sense — the intelligent AI agent that automatically selects the best model for your request.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

Using curl

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": "Generate a fantasy game environment: a vast underground cavern with bioluminescent mushrooms casting teal and violet light on crystal formations, an ancient stone bridge crossing a chasm, and a distant glowing portal. Painted concept art style, wide panoramic composition, rich atmospheric depth, game environment art"
      }
    ],
    "stream": false
  }'

Using Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_EACHLABS_API_KEY",
    base_url="https://eachsense-agent.core.eachlabs.run/v1"
)

response = client.chat.completions.create(
    model="eachsense/beta",
    messages=[{
        "role": "user",
        "content": "Generate a fantasy game environment: a vast underground cavern with bioluminescent mushrooms casting teal and violet light on crystal formations, an ancient stone bridge crossing a chasm, and a distant glowing portal. Painted concept art style, wide panoramic composition, rich atmospheric depth, game environment art"
    }]
)

print(response.choices[0].message.content)

With Reference Image

Provide a mood board or rough sketch to guide the environment:

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": [
              {"type": "text", "text": "Create a game environment based on this mood reference. Match the color palette and atmosphere. A frozen lakeside village with wooden longhouses, ice-covered docks, and mountains in the distance. Painted concept art, wide composition."},
              {"type": "image_url", "image_url": {"url": "https://example.com/mood-reference.jpg"}}
            ]
          }
    ],
    "stream": false
  }'

Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.

Streaming

Set "stream": true for real-time SSE responses, or "stream": false for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.

Environment Types

Biome / SettingKey ElementsMood
Enchanted Forestgiant trees, glowing flora, fairy lights, mossmystical, serene
Volcanic Wastelandlava rivers, obsidian, ash clouds, cracked earthhostile, dramatic
Underwater Citycoral architecture, bioluminescence, kelp, bubblesalien, tranquil
Cyberpunk Cityneon, holograms, rain, skyscrapers, flying carsgritty, electric
Desert Ruinssandstone temples, dunes, oasis, buried statuesancient, desolate
Space Stationmetal corridors, viewports, stars, zero-gravityisolated, futuristic
Medieval Villagethatched roofs, cobblestone, market, castlewarm, welcoming
Frozen Tundraice, aurora, snow drifts, frozen waterfallsharsh, beautiful

Prompt Engineering Tips

Prompt Structure

"Generate a [genre] game environment:" + [setting description] + [key landmarks] + [atmospheric details] + [lighting] + [art style] + [composition]

Depth and Scale

Use layering language for depth:

foreground: [close objects, framing elements]
midground: [main subject, playable area]
background: [distant scenery, sky, atmosphere]

Lighting Keywords

golden hour, blue hour, overcast diffused, harsh noon sun,
moonlit, torchlit, bioluminescent glow, neon-lit,
volumetric fog, god rays, rim lighting, campfire warmth

Examples

2D Platformer — Parallax Layers

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": "Generate a 2D side-scrolling game background for a haunted graveyard level with parallax depth layers: foreground with crooked iron fence and dead tree silhouettes, midground with crumbling tombstones and a mausoleum, background with a full moon behind wispy clouds and a distant hilltop castle. Spooky purple and grey palette, hand-painted style, horizontal panoramic format."
      }
    ],
    "stream": false
  }'

Top-Down RPG Overworld

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": "Generate a top-down game map view of a fantasy kingdom: a winding river cutting through green farmland, a walled city in the center with a castle, dark forests to the north, mountains to the east, a coastal port town to the south, and swampland to the west. Hand-drawn illustrated map style, parchment-colored background, labeled regions, RPG world map aesthetic."
      }
    ],
    "stream": false
  }'

Sci-Fi Interior Level

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": "Generate a sci-fi game environment: the interior of a derelict space station. Flickering emergency red lights, broken pipes venting steam, floating debris in low gravity, a shattered observation window revealing stars and a nebula outside. Photorealistic rendering, first-person perspective looking down a long corridor, horror atmosphere, volumetric lighting."
      }
    ],
    "stream": false
  }'

Pixel Art Dungeon

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [
      {
        "role": "user",
        "content": "Generate a pixel art dungeon room for a roguelike game: a torchlit stone chamber with a treasure chest in the center, scattered bones on the floor, cracked pillars, a locked iron door on the far wall, and cobwebs in the corners. 32-bit pixel art, top-down three-quarter view, warm torchlight against cold stone blue, retro game aesthetic."
      }
    ],
    "stream": false
  }'

Batch Workflow: World Biomes

STYLE="painted concept art, wide panoramic, rich atmospheric depth, game environment"

BIOMES=(
  "Enchanted forest: towering ancient trees with glowing sap veins, carpet of luminous flowers, gentle fog, firefly particles, twilight sky"
  "Volcanic badlands: jagged obsidian formations, rivers of flowing lava, ash falling like snow, smoke plumes, angry red sky"
  "Crystal caves: enormous crystalline formations in amethyst and quartz, reflecting pools, prismatic light refractions, underground waterfalls"
  "Floating islands: chunks of earth suspended in the sky connected by rope bridges, waterfalls falling into the void, clouds drifting between islands, sunset"
)

for BIOME in "${BIOMES[@]}"; do
  curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
    -H "Content-Type: application/json" \
    -H "X-API-Key: $EACHLABS_API_KEY" \
    -d "{
      \"messages\": [{\"role\": \"user\", \"content\": \"Generate a fantasy game environment: $BIOME. $STYLE\"}],
      \"stream\": false
    }"
  echo "---"
done

Common Pitfalls

  • No sense of scale — include a reference object (a small figure, a bridge, a doorway) to communicate the environment's size.
  • Flat composition — use foreground, midground, and background layers for visual depth.
  • Missing atmosphere — fog, particles, light rays, and haze sell believability. Do not skip them.
  • Inconsistent perspective — specify "side view", "top-down", "first-person", or "isometric" explicitly.
  • Over-detailed backgrounds — for playable levels, the background should not overwhelm foreground gameplay elements.

Related Skills

Related Models

Documentation

保存したスキル