Binary Walkable Area Mask

Binary Walkable Area Mask

Prompt

Create a pure black-and-white binary walkable-area mask for a top-down video game map. Use a square 1:1 canvas, about 768×768 pixels, with a solid black background and a single connected irregular white region representing traversable ground. The white shape should resemble a fantasy dungeon/island silhouette: a broad central vertical open area, jagged organic edges, narrow corridors and protruding rooms branching left and right. Include exactly 6 prominent side features around the central white mass: 1 large rounded oval platform on the upper left connected by a thin neck, 1 smaller mushroom-like platform on the lower left connected by a winding corridor, 1 jagged crescent-shaped protrusion at the upper left edge, 1 irregular upper-right chamber with three narrow black vertical cutouts inside it, 1 large black enclosed blob-like obstacle intruding from the right-center edge with a curled hook tip, and 1 round lower-right room-like protrusion partially separated by black negative space. Add several small triangular notches and pixel-stepped jagged edges, but keep the image strictly two colors only: pure white for walkable space and pure black for non-walkable space. No text, no grayscale, no antialiasing, no shadows, no perspective, no texture; make the edges slightly pixelated and mask-like as if intended for SDF or collision-map conversion.

Runs on 21 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +9 more

What this prompt produces

Seedream 5 prompt: Hot dress Not specified v2
Nano Banana prompt: Match the same pose from the 1st image Not specified nano-banana-2.1
Seedream 5 prompt: Modern minimalist mobile app icon logo design for ... Not specified seedream-5-pro
FLUX prompt: Enchanted Victorian villages Not specified flux-2-pro
Hunyuan  prompt: субстанция Not specified hunyuan-3
ChatGPT Image prompt: A single cohesive Instagram Feed Portrait (4:5) so... Not specified v1

Run this prompt with the API

The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

Prompt API docs
/api/v1/gpt_image_2/text_to_image
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "gpt-image-2",
  "prompt": "Create a pure black-and-white binary walkable-area mask for a top-down video game map. Use a square 1:1 canvas, about 768×768 pixels, with a solid black background and a single connected irregular white region representing traversable ground. The white shape should resemble a fantasy dungeon/island silhouette: a broad central vertical open area, jagged organic edges, narrow corridors and protruding rooms branching left and right. Include exactly 6 prominent side features around the central white mass: 1 large rounded oval platform on the upper left connected by a thin neck, 1 smaller mushroom-like platform on the lower left connected by a winding corridor, 1 jagged crescent-shaped protrusion at the upper left edge, 1 irregular upper-right chamber with three narrow black vertical cutouts inside it, 1 large black enclosed blob-like obstacle intruding from the right-center edge with a curled hook tip, and 1 round lower-right room-like protrusion partially separated by black negative space. Add several small triangular notches and pixel-stepped jagged edges, but keep the image strictly two colors only: pure white for walkable space and pure black for non-walkable space. No text, no grayscale, no antialiasing, no shadows, no perspective, no texture; make the edges slightly pixelated and mask-like as if intended for SDF or collision-map conversion."
}
JSON

Try a prompt