Nano Banana Pro 2x2 Grid Phone Screen Replacement JSON Prompt

A complex JSON prompt structure for Nano Banana Pro to create a 2x2 grid image sequence where a person is holding a smartphone, and the content displayed on the phone screen is replaced with a second uploaded image. It maintains identity consistency and defines specific poses and camera effects for each panel.

Nano Banana Pro 2x2 Grid Phone Screen Replacement JSON Prompt

Prompt

{ "layout": { "type": "grid_2x2" }, "global": { "edit_type": "phone_motion_edit", "source": { "mode": "EDIT", "reference_images": { "first": "base_photo_person_and_environment", "second": "screen_content_for_phone" }, "preserve_from_first": { "same_person_or_group": true, "same_faces": true, "same_hairstyles": true, "same_outfits": true, "same_environment_style": true } }, "identity": { "keep_identity_consistent": true, "expression": "bright_natural_smile" }, "phone": { "allowed": true, "holding_styles": [ "one_handed", "two_handed", "near_chest", "near_hip", "tilted", "sideways", "partially_toward_lens" ], "rules": { "each_person_may_hold_one_phone": true, "screen_should_be_naturally_visible": true, "do_not_force_phone_directly_toward_camera": true } }, "screen_replacement": { "use_second_reference_image_as_content": true, "fit_without_distortion": true, "no_ui": true }, "environment": { "preserve_environment_style_from_reference": true, "lighting_consistent_with_reference": true }, "constraints": { "no_new_characters": true, "no_costume_change": true, "no_change_to_reference_location_type": true } }, "panels": [ { "id": "panel_1", "role": "soft_intro", "edit": true, "pose": { "pose_can_change": true, "style_tags": ["walk", "soft_motion", "side_by_side"], "focus_on_expressive_hands": true } }, { "id": "panel_2", "role": "phone_view_soft", "edit": true, "pose": { "pose_can_change": true, "style_tags": ["looking_at_phone", "face_close", "natural_pose"], "focus_on_expressive_hands": true } }, { "id": "panel_3", "role": "phone_forward", "edit": true, "pose": { "pose_can_change": true, "style_tags": ["hand_forward", "phone_front_soft", "arm_extended"], "focus_on_expressive_hands": true }, "camera_effect": { "perspective": "wide_angle", "near_objects_appear_large": true } }, { "id": "panel_4", "role": "jump_cut", "edit": true, "use_preset": "jump_frame" } ], "pose_presets": { "jump_frame": { "pose": { "pose_can_change": true, "style_tags": ["jump", "lively", "mid_air"], "focus_on_expressive_hands": true }, "camera_effect": { "perspective": "wide_angle", "allow_view_from_below": true } } } }

Runs on 13 models

  • Gemini Omni
  • Grok Imagine
  • Hailuo
  • HappyHorse
  • HeyGen Video
  • Kling
  • LTX Video
  • MiniMax H3
  • PixVerse
  • Runway
  • Seedance
  • Veo 3.1
  • +1 more

What this prompt produces

Continuous Time Journey Cinematic Video Not specified seedance-2.5
Cinematic Samurai Japanese Visuals Not specified grok-imagine
Dark Lava Creature Transformation Prompt Not specified seedance-2.0
Multi-Shot Classroom Action Timeline Not specified seedance-2.0
Hospital Corridor Horror Jumpscare Not specified seedance-2.0
Top-Down Product Zoom Video Prompt 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_video
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"layout\": {\n    \"type\": \"grid_2x2\"\n  },\n\n  \"global\": {\n    \"edit_type\": \"phone_motion_edit\",\n\n    \"source\": {\n      \"mode\": \"EDIT\",\n      \"reference_images\": {\n        \"first\": \"base_photo_person_and_environment\",\n        \"second\": \"screen_content_for_phone\"\n      },\n      \"preserve_from_first\": {\n        \"same_person_or_group\": true,\n        \"same_faces\": true,\n        \"same_hairstyles\": true,\n        \"same_outfits\": true,\n        \"same_environment_style\": true\n      }\n    },\n\n    \"identity\": {\n      \"keep_identity_consistent\": true,\n      \"expression\": \"bright_natural_smile\"\n    },\n\n    \"phone\": {\n      \"allowed\": true,\n      \"holding_styles\": [\n        \"one_handed\",\n        \"two_handed\",\n        \"near_chest\",\n        \"near_hip\",\n        \"tilted\",\n        \"sideways\",\n        \"partially_toward_lens\"\n      ],\n      \"rules\": {\n        \"each_person_may_hold_one_phone\": true,\n        \"screen_should_be_naturally_visible\": true,\n        \"do_not_force_phone_directly_toward_camera\": true\n      }\n    },\n\n    \"screen_replacement\": {\n      \"use_second_reference_image_as_content\": true,\n      \"fit_without_distortion\": true,\n      \"no_ui\": true\n    },\n\n    \"environment\": {\n      \"preserve_environment_style_from_reference\": true,\n      \"lighting_consistent_with_reference\": true\n    },\n\n    \"constraints\": {\n      \"no_new_characters\": true,\n      \"no_costume_change\": true,\n      \"no_change_to_reference_location_type\": true\n    }\n  },\n\n  \"panels\": [\n    {\n      \"id\": \"panel_1\",\n      \"role\": \"soft_intro\",\n      \"edit\": true,\n      \"pose\": {\n        \"pose_can_change\": true,\n        \"style_tags\": [\"walk\", \"soft_motion\", \"side_by_side\"],\n        \"focus_on_expressive_hands\": true\n      }\n    },\n\n    {\n      \"id\": \"panel_2\",\n      \"role\": \"phone_view_soft\",\n      \"edit\": true,\n      \"pose\": {\n        \"pose_can_change\": true,\n        \"style_tags\": [\"looking_at_phone\", \"face_close\", \"natural_pose\"],\n        \"focus_on_expressive_hands\": true\n      }\n    },\n\n    {\n      \"id\": \"panel_3\",\n      \"role\": \"phone_forward\",\n      \"edit\": true,\n      \"pose\": {\n        \"pose_can_change\": true,\n        \"style_tags\": [\"hand_forward\", \"phone_front_soft\", \"arm_extended\"],\n        \"focus_on_expressive_hands\": true\n      },\n      \"camera_effect\": {\n        \"perspective\": \"wide_angle\",\n        \"near_objects_appear_large\": true\n      }\n    },\n\n    {\n      \"id\": \"panel_4\",\n      \"role\": \"jump_cut\",\n      \"edit\": true,\n      \"use_preset\": \"jump_frame\"\n    }\n  ],\n\n  \"pose_presets\": {\n    \"jump_frame\": {\n      \"pose\": {\n        \"pose_can_change\": true,\n        \"style_tags\": [\"jump\", \"lively\", \"mid_air\"],\n        \"focus_on_expressive_hands\": true\n      },\n      \"camera_effect\": {\n        \"perspective\": \"wide_angle\",\n        \"allow_view_from_below\": true\n      }\n    }\n  }\n}"
}
JSON

Try a prompt

Estimated: $0.24 / second

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.