Normal and depth map generation prompts for Nano Banana Pro

Two English prompts for Nano Banana Pro to generate a tangent-space normal map and a physically plausible depth map from an input artwork image, suitable for 3D-style viewing via WebGL or Three.js.

Prompt

Generate a surface normal map from the input artwork image. Output one RGB image where each pixel encodes the surface normal direction in standard tangent-space format: •R = X direction •G = Y direction •B = Z direction Requirements: •Maintain the same resolution and aspect ratio as the input image. •Normal directions must follow the local geometry implied by brush strokes, shading, and contours. •Do NOT add new artistic elements or repaint the scene. •Only infer plausible micro-geometry and surface orientation. •Ensure smooth, consistent normal transitions without noise. Generate a depth map from the input artwork image. Output a single grayscale depth map where: •White = near to the viewer •Black = far from the viewer Requirements: •Maintain the same resolution and aspect ratio as the input image. •Depth must be smooth, continuous, and physically plausible. •Infer only geometric depth that could reasonably exist in the original artwork. •Do NOT add new objects or details. •Do NOT stylize, repaint, or reinterpret the scene. •Avoid texture noise; focus solely on depth structure.

Runs on 18 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Midjourney
  • Nano Banana
  • +6 more

What this prompt produces

Realistic Group Selfie with Smartphone Flash Effect Not specified nano-banana-pro
Four Seasons Portrait Collage Not specified nano-banana-pro
Minimalist Dog Sketch Clipart Not specified nano-banana-pro
Mecha Girl figure concept generated by Nano Banana Pro Not specified nano-banana-pro
Candid Flash Photography: Chaotic Holiday Party (Duplicate) Not specified nano-banana-pro
Ethereal Floral Studio Portrait Not specified nano-banana-pro

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/nano_banana/text_to_image
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "Generate a surface normal map from the input artwork image.\n\nOutput one RGB image where each pixel encodes the surface normal direction in standard tangent-space format:\n•R = X direction\n•G = Y direction\n•B = Z direction\n\nRequirements:\n•Maintain the same resolution and aspect ratio as the input image.\n•Normal directions must follow the local geometry implied by brush strokes, shading, and contours.\n•Do NOT add new artistic elements or repaint the scene.\n•Only infer plausible micro-geometry and surface orientation.\n•Ensure smooth, consistent normal transitions without noise.\n\nGenerate a depth map from the input artwork image.\n\nOutput a single grayscale depth map where:\n•White = near to the viewer\n•Black = far from the viewer\n\nRequirements:\n•Maintain the same resolution and aspect ratio as the input image.\n•Depth must be smooth, continuous, and physically plausible.\n•Infer only geometric depth that could reasonably exist in the original artwork.\n•Do NOT add new objects or details.\n•Do NOT stylize, repaint, or reinterpret the scene.\n•Avoid texture noise; focus solely on depth structure."
}
JSON

Try a prompt

Estimated: $0.04 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.