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

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

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

Fonctionne avec 21 modèles

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +9 Plus

Résultats de ce prompt

Hunyuan  prompt: 闹钟不用再响 Non précisé hunyuan-3
Nano Banana prompt: Non précisé nano-banana-2.1
FLUX prompt: Ich benötige für eine außergewöhnliche Stellenanze... Non précisé flux-2-pro
ChatGPT Image prompt: Keep the exact same crystal heart keepsake with th... Non précisé gpt-image-2
Hero prompt: Mejorar la imagen, dejar el papel con textura y pl... Non précisé 1.0
Nano Banana prompt: Non précisé nano-banana-2.1

Run ce prompt avec le API

le request below sends ce prompt, avec its default values filled in, to le first modèle it runs on. Swap le modèle name pour any other modèle listed above.

Documentation de l’API prompt
/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

Essayer a prompt