Photorealistic Editorial Portrait with Reference Lock

A highly structured prompt for generating a photorealistic editorial portrait (head and shoulders) that strictly locks the face identity, pose, and lighting style to an uploaded reference image, while allowing customization of the outfit to smart casual attire in neutral tones.

Photorealistic Editorial Portrait with Reference Lock
Photorealistic Editorial Portrait with Reference Lock
Photorealistic Editorial Portrait with Reference Lock

prompt

{ "reference_usage": { "use_reference_for": [ "face_identity", "facial_structure", "pose", "framing", "camera_angle", "lighting_style", "overall_composition" ], "do_not_copy": [ "exact_outfit", "formal_corporate_styling", "celebrity_association" ] }, "scene": { "type": "studio", "background": "soft_muted_gradient_with_subtle_texture", "lighting": "natural_soft_studio_lighting_with_gentle_falloff" }, "subject": { "identity": "same_person_as_reference", "age_range": "late_20s_to_mid_30s", "pose": "relaxed_upright_head_and_shoulders_pose", "expression": "calm_confident_approachable_smile", "gaze": "direct_eye_contact_with_camera", "hair": { "style": "short_naturally_styled", "color": "dark_brown_or_black" }, "facial_features": "match_reference_face_with_natural_variation" }, "outfit": { "type": "smart_casual", "top": "solid_color_crewneck_or_lightweight_knit", "layer": "casual_blazer_or_unstructured_jacket", "colors": "earthy_or_neutral_tones_beige_olive_charcoal", "styling": "effortless_and_modern_not_formal" }, "camera": { "framing": "tight_head_and_upper_torso", "angle": "straight_on_or_slightly_above_eye_level", "lens": "85mm_portrait", "aperture": "f2.8", "depth_of_field": "shallow", "focus": "sharp_on_eyes_and_face" }, "style": { "look": "photorealistic_editorial_casual_portrait", "skin_texture": "natural_detailed_realistic", "contrast": "soft_clean_with_warm_tones", "detail_level": "high" }, "negative_prompt": [ "formal_suit_and_tie", "corporate_headshot_style", "celebrity", "lookalike", "different_face_from_reference", "cartoon", "illustration", "overprocessed_skin", "blur", "low_resolution" ] }

Działa z 20 modelami

  • 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
  • +8 Więcej

Wynik tego promptu

Split-Page Coffee Shop Travel Journal Nie określono gpt-image-2
Cute Chibi Characters in a Sweet Playful Moment Nie określono gpt-image-2
Underground Train Yard Clash Anime Development Board Nie określono gpt-image-2
Realistic Group Selfie with Smartphone Flash Effect Nie określono nano-banana-pro
Exploded-View Structural Cutaway for Food Photography Nie określono nano-banana-pro
Four Seasons Portrait Collage Nie określono nano-banana-pro

Run ten prompt z ten API

Poniższe żądanie wysyła ten monit z wypełnionymi wartościami domyślnymi do pierwszego modelu, na którym działa. Zamień nazwę modelu na dowolny inny model wymieniony powyżej.

Dokumentacja prompt API
/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  \"reference_usage\": {\n    \"use_reference_for\": [\n      \"face_identity\",\n      \"facial_structure\",\n      \"pose\",\n      \"framing\",\n      \"camera_angle\",\n      \"lighting_style\",\n      \"overall_composition\"\n    ],\n    \"do_not_copy\": [\n      \"exact_outfit\",\n      \"formal_corporate_styling\",\n      \"celebrity_association\"\n    ]\n  },\n  \"scene\": {\n    \"type\": \"studio\",\n    \"background\": \"soft_muted_gradient_with_subtle_texture\",\n    \"lighting\": \"natural_soft_studio_lighting_with_gentle_falloff\"\n  },\n  \"subject\": {\n    \"identity\": \"same_person_as_reference\",\n    \"age_range\": \"late_20s_to_mid_30s\",\n    \"pose\": \"relaxed_upright_head_and_shoulders_pose\",\n    \"expression\": \"calm_confident_approachable_smile\",\n    \"gaze\": \"direct_eye_contact_with_camera\",\n    \"hair\": {\n      \"style\": \"short_naturally_styled\",\n      \"color\": \"dark_brown_or_black\"\n    },\n    \"facial_features\": \"match_reference_face_with_natural_variation\"\n  },\n  \"outfit\": {\n    \"type\": \"smart_casual\",\n    \"top\": \"solid_color_crewneck_or_lightweight_knit\",\n    \"layer\": \"casual_blazer_or_unstructured_jacket\",\n    \"colors\": \"earthy_or_neutral_tones_beige_olive_charcoal\",\n    \"styling\": \"effortless_and_modern_not_formal\"\n  },\n  \"camera\": {\n    \"framing\": \"tight_head_and_upper_torso\",\n    \"angle\": \"straight_on_or_slightly_above_eye_level\",\n    \"lens\": \"85mm_portrait\",\n    \"aperture\": \"f2.8\",\n    \"depth_of_field\": \"shallow\",\n    \"focus\": \"sharp_on_eyes_and_face\"\n  },\n  \"style\": {\n    \"look\": \"photorealistic_editorial_casual_portrait\",\n    \"skin_texture\": \"natural_detailed_realistic\",\n    \"contrast\": \"soft_clean_with_warm_tones\",\n    \"detail_level\": \"high\"\n  },\n  \"negative_prompt\": [\n    \"formal_suit_and_tie\",\n    \"corporate_headshot_style\",\n    \"celebrity\",\n    \"lookalike\",\n    \"different_face_from_reference\",\n    \"cartoon\",\n    \"illustration\",\n    \"overprocessed_skin\",\n    \"blur\",\n    \"low_resolution\"\n  ]\n}"
}
JSON

Wypróbuj a prompt

Szacunkowo: $0.04 / obraz

Zaloguj się, aby generować przez RunAPI.

Zaloguj się, aby generować

Zaloguj się, aby rozpocząć generowanie z dostępnymi modelami językowymi.