Black and White Identity Swap Grid (4x4)

A highly technical, structured prompt for an image-to-image identity swap task, generating a 4x4 black and white grid. The prompt instructs the model to replace the identity in the reference grid image with a new target identity while strictly preserving the original poses, expressions, layout, and wardrobe (suit-and-tie).

Black and White Identity Swap Grid (4x4)

Prompt

{ "generation_request": { "meta_data": { "task_type": "bw_male_expression_grid_identity_swap", "language": "en", "priority": "highest", "version": "v1.0_BW_MALE_GRID_KEEP_POSES_SWAP_IDENTITY" }, "input": { "mode": "image_to_image", "reference_image_usage": "very_high", "preserve_identity": true, "preserve_facial_features": true, "preserve_hairstyle": true, "notes": "PRIMARY STRUCTURE ANCHOR: use the uploaded male 4x4 grid image (suit photobooth). Keep the exact 4x4 layout, crop, spacing, poses, gestures, hand placements, and framing in every panel. PRIMARY IDENTITY ANCHOR: use the uploaded reference photo of the target adult man. Replace the man in ALL panels with the reference identity while preserving the original pose and expression intensity. Keep suit-and-tie styling and clean studio background. Maintain consistent identity across all 16 panels." }, "output": { "aspect_ratio": "1:1", "resolution": "ultra_high", "num_images": 1, "layout": { "type": "grid", "rows": 4, "cols": 4, "gutter": "thin", "panel_consistency": "very_high" }, "sharpness": "crisp_studio", "grain": "subtle_analog_bw" }, "scene": { "environment": "clean white studio backdrop", "lighting": { "style": "high-key studio", "key_light": "front softbox", "fill": "balanced fill", "avoid": "dramatic cinematic shadows" }, "camera": { "lens": "50mm", "framing": "mid chest to head (varies per panel but keep same as structure image)", "focus": "eyes sharp" } }, "subject": { "type": "adult man", "wardrobe": "black suit, white shirt, black tie (match structure image), no logos", "grooming": "match reference hairstyle as closely as possible while keeping overall look consistent", "anatomy_rules": "realistic hands, correct fingers, no distortions" }, "style": { "color": "pure black and white", "contrast": "medium_high", "background": "keep identical to structure image", "finish": "clean studio print look" }, "quality_control": { "identity_lock": "strict", "hands_priority": "very_high", "avoid": [ "extra fingers", "missing fingers", "deformed hands", "warped face", "uneven eyes", "melted mouth", "identity drift across panels", "text", "watermark", "logo" ] }, "negative_prompt": [ "color", "sepia", "cinematic lighting", "blur", "low resolution", "distorted anatomy", "plastic skin", "face mismatch" ] } }

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": "{\n  \"generation_request\": {\n    \"meta_data\": {\n      \"task_type\": \"bw_male_expression_grid_identity_swap\",\n      \"language\": \"en\",\n      \"priority\": \"highest\",\n      \"version\": \"v1.0_BW_MALE_GRID_KEEP_POSES_SWAP_IDENTITY\"\n    },\n    \"input\": {\n      \"mode\": \"image_to_image\",\n      \"reference_image_usage\": \"very_high\",\n      \"preserve_identity\": true,\n      \"preserve_facial_features\": true,\n      \"preserve_hairstyle\": true,\n      \"notes\": \"PRIMARY STRUCTURE ANCHOR: use the uploaded male 4x4 grid image (suit photobooth). Keep the exact 4x4 layout, crop, spacing, poses, gestures, hand placements, and framing in every panel. PRIMARY IDENTITY ANCHOR: use the uploaded reference photo of the target adult man. Replace the man in ALL panels with the reference identity while preserving the original pose and expression intensity. Keep suit-and-tie styling and clean studio background. Maintain consistent identity across all 16 panels.\"\n    },\n    \"output\": {\n      \"aspect_ratio\": \"1:1\",\n      \"resolution\": \"ultra_high\",\n      \"num_images\": 1,\n      \"layout\": {\n        \"type\": \"grid\",\n        \"rows\": 4,\n        \"cols\": 4,\n        \"gutter\": \"thin\",\n        \"panel_consistency\": \"very_high\"\n      },\n      \"sharpness\": \"crisp_studio\",\n      \"grain\": \"subtle_analog_bw\"\n    },\n    \"scene\": {\n      \"environment\": \"clean white studio backdrop\",\n      \"lighting\": {\n        \"style\": \"high-key studio\",\n        \"key_light\": \"front softbox\",\n        \"fill\": \"balanced fill\",\n        \"avoid\": \"dramatic cinematic shadows\"\n      },\n      \"camera\": {\n        \"lens\": \"50mm\",\n        \"framing\": \"mid chest to head (varies per panel but keep same as structure image)\",\n        \"focus\": \"eyes sharp\"\n      }\n    },\n    \"subject\": {\n      \"type\": \"adult man\",\n      \"wardrobe\": \"black suit, white shirt, black tie (match structure image), no logos\",\n      \"grooming\": \"match reference hairstyle as closely as possible while keeping overall look consistent\",\n      \"anatomy_rules\": \"realistic hands, correct fingers, no distortions\"\n    },\n    \"style\": {\n      \"color\": \"pure black and white\",\n      \"contrast\": \"medium_high\",\n      \"background\": \"keep identical to structure image\",\n      \"finish\": \"clean studio print look\"\n    },\n    \"quality_control\": {\n      \"identity_lock\": \"strict\",\n      \"hands_priority\": \"very_high\",\n      \"avoid\": [\n        \"extra fingers\",\n        \"missing fingers\",\n        \"deformed hands\",\n        \"warped face\",\n        \"uneven eyes\",\n        \"melted mouth\",\n        \"identity drift across panels\",\n        \"text\",\n        \"watermark\",\n        \"logo\"\n      ]\n    },\n    \"negative_prompt\": [\n      \"color\",\n      \"sepia\",\n      \"cinematic lighting\",\n      \"blur\",\n      \"low resolution\",\n      \"distorted anatomy\",\n      \"plastic skin\",\n      \"face mismatch\"\n    ]\n  }\n}"
}
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.