Nano Banana Pro 2x2 Grid Phone Screen Replacement JSON Prompt

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 } } } }

Funziona su 13 modelli

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

Cosa produce questo prompt

Seedream 5 prompt: Indian girl dancing Non specificato v2
Wan prompt: Create a video of a woman eating a pig Non specificato wan-2.7-pro
Grok Imagine Video prompt: A realistic 2-second video. The woman gently bring... Non specificato v1
Nano Banana prompt: Red and pink rose petals fall gently from above ac... Non specificato nano-banana-2.1
Seedream 5 prompt: I want a 20 sek sequqense of people looking happy ... Non specificato v2
Hunyuan  prompt: nail art asmr promt Non specificato hunyuan-3

Run questo prompt con il API

La richiesta seguente invia questo prompt, con i valori predefiniti compilati, al primo modello su cui viene eseguito. Scambia il nome del modello con qualsiasi altro modello elencato sopra.

Documentazione API prompt
/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

Prova a prompt