Image-to-Image Pose Lock and Identity Preservation for Matcha Aesthetic

A highly restrictive JSON prompt designed for image-to-image generation, requiring an exact 1:1 visual match of a reference pose (side-facing, crossed legs, hand grip) while adapting the color palette to a matcha green aesthetic. It uses strict identity and pose locking constraints, ensuring only the face identity and color are changed, while disallowing specific clothing items like pants or shoes.

Prompt

{ "task_type": "image_generation_with_absolute_pose_lock", "edit_goal": "Generate an image that is an exact 1:1 visual match of the reference pose. Side-facing orientation, leg crossing, hand grip, and accessories must be identical. Only face identity and matcha color adaptation are allowed.", "global_locks": { "pose_lock": true, "side_orientation_lock": true, "leg_position_lock": true, "hand_grip_lock": true, "accessory_lock": true, "camera_lock": true, "allow_any_variation": false }, "pose_definition": { "body_orientation": "Strict side-facing seated pose, not front-facing", "seating": "Sitting fully on a wooden bench, body turned sideways", "legs": { "crossing": "Legs crossed at the knee exactly as reference", "top_leg": "Angled forward and slightly upward", "bottom_leg": "Angled downward, resting naturally" }, "leg_wear": { "type": "Sheer pantyhose", "color": "matcha green", "opacity": "semi-sheer", "must_be_visible": true }, "arms": { "primary_arm": { "position": "Bent at elbow", "height": "Chest level", "hand_action": "Holding a cup", "grip_style": "Side grip" }, "secondary_arm": { "position": "Resting across the torso under the coat" } }, "head": { "direction": "Facing sideways", "tilt": "Minimal" } }, "appearance_constraints": { "visible_clothing_only": [ "long fur coat", "matcha green tights" ], "fur_coat": { "style": "Luxury long faux fur", "color": "matcha green" }, "accessories": { "sunglasses": { "required": true, "style": "Dark fashion sunglasses", "position": "Worn on face" } }, "disallowed_items": [ "pants", "leggings", "dress", "skirt", "black tights", "brown tights", "shoes" ] }, "object_constraints": { "drink": { "type": "Matcha", "cup": "Plain white takeaway cup", "position": "Held at chest level" } }, "environment_constraints": { "location": "Elegant cafe exterior", "background": "Dark cafe facade with large glass doors", "bench": "Wooden bench", "lighting": "Natural daylight", "allow_change": false }, "source_images": [ { "id": "FACE_IMAGE", "role": "face_identity_reference" } ], "face_settings": { "identity_strength": 0.95, "expression_match": true, "skin_texture": "natural", "no_stylization": true }, "negative_prompt": [ "front facing", "looking at camera", "standing", "different leg position", "uncrossed legs", "missing sunglasses", "black tights", "brown tights", "pants visible", "shoes visible", "wrong hand grip", "cup held" ] }

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  \"task_type\": \"image_generation_with_absolute_pose_lock\",\n  \"edit_goal\": \"Generate an image that is an exact 1:1 visual match of the reference pose. Side-facing orientation, leg crossing, hand grip, and accessories must be identical. Only face identity and matcha color adaptation are allowed.\",\n  \"global_locks\": {\n    \"pose_lock\": true,\n    \"side_orientation_lock\": true,\n    \"leg_position_lock\": true,\n    \"hand_grip_lock\": true,\n    \"accessory_lock\": true,\n    \"camera_lock\": true,\n    \"allow_any_variation\": false\n  },\n  \"pose_definition\": {\n    \"body_orientation\": \"Strict side-facing seated pose, not front-facing\",\n    \"seating\": \"Sitting fully on a wooden bench, body turned sideways\",\n    \"legs\": {\n      \"crossing\": \"Legs crossed at the knee exactly as reference\",\n      \"top_leg\": \"Angled forward and slightly upward\",\n      \"bottom_leg\": \"Angled downward, resting naturally\"\n    },\n    \"leg_wear\": {\n      \"type\": \"Sheer pantyhose\",\n      \"color\": \"matcha green\",\n      \"opacity\": \"semi-sheer\",\n      \"must_be_visible\": true\n    },\n    \"arms\": {\n      \"primary_arm\": {\n        \"position\": \"Bent at elbow\",\n        \"height\": \"Chest level\",\n        \"hand_action\": \"Holding a cup\",\n        \"grip_style\": \"Side grip\"\n      },\n      \"secondary_arm\": {\n        \"position\": \"Resting across the torso under the coat\"\n      }\n    },\n    \"head\": {\n      \"direction\": \"Facing sideways\",\n      \"tilt\": \"Minimal\"\n    }\n  },\n  \"appearance_constraints\": {\n    \"visible_clothing_only\": [\n      \"long fur coat\",\n      \"matcha green tights\"\n    ],\n    \"fur_coat\": {\n      \"style\": \"Luxury long faux fur\",\n      \"color\": \"matcha green\"\n    },\n    \"accessories\": {\n      \"sunglasses\": {\n        \"required\": true,\n        \"style\": \"Dark fashion sunglasses\",\n        \"position\": \"Worn on face\"\n      }\n    },\n    \"disallowed_items\": [\n      \"pants\",\n      \"leggings\",\n      \"dress\",\n      \"skirt\",\n      \"black tights\",\n      \"brown tights\",\n      \"shoes\"\n    ]\n  },\n  \"object_constraints\": {\n    \"drink\": {\n      \"type\": \"Matcha\",\n      \"cup\": \"Plain white takeaway cup\",\n      \"position\": \"Held at chest level\"\n    }\n  },\n  \"environment_constraints\": {\n    \"location\": \"Elegant cafe exterior\",\n    \"background\": \"Dark cafe facade with large glass doors\",\n    \"bench\": \"Wooden bench\",\n    \"lighting\": \"Natural daylight\",\n    \"allow_change\": false\n  },\n  \"source_images\": [\n    {\n      \"id\": \"FACE_IMAGE\",\n      \"role\": \"face_identity_reference\"\n    }\n  ],\n  \"face_settings\": {\n    \"identity_strength\": 0.95,\n    \"expression_match\": true,\n    \"skin_texture\": \"natural\",\n    \"no_stylization\": true\n  },\n  \"negative_prompt\": [\n    \"front facing\",\n    \"looking at camera\",\n    \"standing\",\n    \"different leg position\",\n    \"uncrossed legs\",\n    \"missing sunglasses\",\n    \"black tights\",\n    \"brown tights\",\n    \"pants visible\",\n    \"shoes visible\",\n    \"wrong hand grip\",\n    \"cup held\"\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.