1. Home
  2. /Templates
  3. /Pixel-Perfect Identity Swap
Pixel-Perfect Identity Swap - AI Image Template Preview
Pixel-Perfect Identity Swap example 1
Pixel-Perfect Identity Swap example 2

Source Post

XView original post
Free

Pixel-Perfect Identity Swap

An extremely technical JSON prompt designed for near pixel-perfect identity replacement (identity swap) using an uploaded subject image. It locks numerous technical parameters including camera height, lens focal length, aperture, and specific pixel coordinates for facial features, ensuring the new identity is inserted into the exact pose and scene of the reference image.

✓Official Template

Sample Prompt

{ "metadata": { "engine_name": "PX-LOCK-X", "prompt_version": "pxlockx-1.0.0", "generation_goal": "Near pixel-perfect recreation with identity-only replacement", "reference_frame_policy": { "use_reference_as_ground_truth": true, "identity_swap_only": true, "no_creative_inference": true }, "units": { "angles": "degrees", "lengths": "centimeters", "coords": "normalized_0_to_1", "temperature": "kelvin" } }, "identity_replacement": { "mode": "identity_only", "reference_identity_source": "uploaded_subject_image", "replace": { "face_identity": true, "head_shape": true, "hair_color_and_length": true, "skin_tone": true, "body_identity": true }, "preserve_from_reference": { "pose": true, "camera": true, "lighting": true, "environment": true, "wardrobe": true, "jewelry": true, "expression_valence": true, "framing_and_crop": true }, "identity_strength": 1.0, "no_beautification": true, "no_style_transfer": true }, "output_settings": { "aspect_ratio": "2:3", "resolution_target": "reference_matched", "render_style": "photorealistic", "color_space": "sRGB", "compression": "lossless", "dynamic_range": "natural", "white_balance_lock": true }, "pixel_coordinates_lock": { "lock_enabled": true, "reference_frame_dimensions_px_estimate": { "width_px": 1024, "height_px": 1536 }, "crop_boundaries_px_norm": { "left_x_norm": 0.0, "right_x_norm": 1.0, "top_y_norm": 0.0, "bottom_y_norm": 1.0 }, "primary_subject_bounding_box_norm": { "x_min": 0.105, "y_min": 0.155, "x_max": 0.945, "y_max": 0.975 }, "head_bounding_box_norm": { "x_min": 0.205, "y_min": 0.175, "x_max": 0.625, "y_max": 0.360 }, "face_feature_anchors_norm": { "left_eye_center": { "x": 0.345, "y": 0.252 }, "right_eye_center": { "x": 0.445, "y": 0.247 }, "nose_tip": { "x": 0.405, "y": 0.287 }, "mouth_center": { "x": 0.403, "y": 0.318 }, "chin_point": { "x": 0.410, "y": 0.352 } } }, "camera_lock": { "lock_enabled": true, "camera_height_cm": 105.0, "camera_to_subject_distance_cm": 230.0, "camera_orientation_degrees": { "yaw": 8.5, "pitch": -3.0, "roll": 0.6 }, "lens": { "focal_length_mm": 85.0, "sensor_format": "full_frame", "distortion_model": "brown_conrady", "distortion_coefficients": { "k1": -0.012, "k2": 0.004 } }, "aperture": { "f_number": 2.2, "focus_distance_cm": 220.0, "focus_target": "face_plane" }, "exposure": { "iso": 200, "shutter_s": 0.002, "exposure_comp_ev": 0.0 } }, "pose_lock": { "lock_enabled": true, "pose_type": "deep_squat_crouch", "body_facin

AI Model

nano-banana-2
Use This Template

Click to start creating with this template

Share

About Pixel-Perfect Identity Swap

{ "metadata": { "engine_name": "PX-LOCK-X", "prompt_version": "pxlockx-1.0.0", "generation_goal": "Near pixel-perfect recreation with identity-only replacement", "reference_frame_policy": { "use_reference_as_ground_truth": true, "identity_swap_only": true, "no_creative_inference": true }, "units": { "angles": "degrees", "lengths": "centimeters", "coords": "normalized_0_to_1", "temperature": "kelvin" } }, "identity_replacement": { "mode": "identity_only", "reference_identity_source": "uploaded_subject_image", "replace": { "face_identity": true, "head_shape": true, "hair_color_and_length": true, "skin_tone": true, "body_identity": true }, "preserve_from_reference": { "pose": true, "camera": true, "lighting": true, "environment": true, "wardrobe": true, "jewelry": true, "expression_valence": true, "framing_and_crop": true }, "identity_strength": 1.0, "no_beautification": true, "no_style_transfer": true }, "output_settings": { "aspect_ratio": "2:3", "resolution_target": "reference_matched", "render_style": "photorealistic", "color_space": "sRGB", "compression": "lossless", "dynamic_range": "natural", "white_balance_lock": true }, "pixel_coordinates_lock": { "lock_enabled": true, "reference_frame_dimensions_px_estimate": { "width_px": 1024, "height_px": 1536 }, "crop_boundaries_px_norm": { "left_x_norm": 0.0, "right_x_norm": 1.0, "top_y_norm": 0.0, "bottom_y_norm": 1.0 }, "primary_subject_bounding_box_norm": { "x_min": 0.105, "y_min": 0.155, "x_max": 0.945, "y_max": 0.975 }, "head_bounding_box_norm": { "x_min": 0.205, "y_min": 0.175, "x_max": 0.625, "y_max": 0.360 }, "face_feature_anchors_norm": { "left_eye_center": { "x": 0.345, "y": 0.252 }, "right_eye_center": { "x": 0.445, "y": 0.247 }, "nose_tip": { "x": 0.405, "y": 0.287 }, "mouth_center": { "x": 0.403, "y": 0.318 }, "chin_point": { "x": 0.410, "y": 0.352 } } }, "camera_lock": { "lock_enabled": true, "camera_height_cm": 105.0, "camera_to_subject_distance_cm": 230.0, "camera_orientation_degrees": { "yaw": 8.5, "pitch": -3.0, "roll": 0.6 }, "lens": { "focal_length_mm": 85.0, "sensor_format": "full_frame", "distortion_model": "brown_conrady", "distortion_coefficients": { "k1": -0.012, "k2": 0.004 } }, "aperture": { "f_number": 2.2, "focus_distance_cm": 220.0, "focus_target": "face_plane" }, "exposure": { "iso": 200, "shutter_s": 0.002, "exposure_comp_ev": 0.0 } }, "pose_lock": { "lock_enabled": true, "pose_type": "deep_squat_crouch", "body_facin Features: 100% free. PicXStudio's AI-powered template for instant image generation.

Optimised for nano-banana-2. Free to use — no sign-up required.

Related Templates

View all
x-meng_dagg695-gpt-image-2-on-socialsight

x-meng_dagg695-gpt-image-2-on-socialsight

x-Ozayrr_irl-chatgpt-image-2-vs-google

x-Ozayrr_irl-chatgpt-image-2-vs-google

x-chatgptpaglu-gpt-image-2-on-yapper-so

x-chatgptpaglu-gpt-image-2-on-yapper-so

x-AiwithLariab-image-on-nano-banana-2

x-AiwithLariab-image-on-nano-banana-2

x-oye_samia-hyper-realistic-scene-on-the-outskirts

x-oye_samia-hyper-realistic-scene-on-the-outskirts

x-Chryzleenprompt-create-image-a-hyper-photorealistic-polaroid

x-Chryzleenprompt-create-image-a-hyper-photorealistic-polaroid

Explore More

All Templates

Browse full gallery

Discover

Community creations

Moodboards

Curated collections

Start Creating

Generate AI images

From Our Blog

View all articles

From Stick Figures to Masterpieces: My Journey with AI Art

Discover how AI art generators are transforming creativity for everyone.

The Creative Revolution That's Changing Everything

How AI image tools are transforming businesses across industries.

About UsBlogEarn with PicXPrivacy PolicyTerms of Service
← Back to All Templates