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

翻译: Runs on 20 models

  • 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 more

此 prompt 的输出

Split-Page Coffee Shop Travel Journal 未指定 gpt-image-2
Cute Chibi Characters in a Sweet Playful Moment 未指定 gpt-image-2
Underground Train Yard Clash Anime Development Board 未指定 gpt-image-2
Realistic Group Selfie with Smartphone Flash Effect 未指定 nano-banana-pro
Exploded-View Structural Cutaway for Food Photography 未指定 nano-banana-pro
Four Seasons Portrait Collage 未指定 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  \"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

翻译: Try a prompt

预计: $0.04 / 张图片

登录后即可使用 RunAPI 生成。

登录后生成

登录后即可使用可用语言模型开始生成。