# GPT Image Hub prompt

## 結構化換臉任務定義
- URL: https://www.gptimagehub.com/zh-TW/library/structured-face-swap-task-definition
- Generator URL: https://www.gptimagehub.com/zh-TW/generate?promptId=oss-ym-mm-10551
- Markdown URL: https://www.gptimagehub.com/api/agent/markdown?path=%2Fzh-TW%2Flibrary%2Fstructured-face-swap-task-definition
- Category: 人像與攝影
- Model: nanobananapro
- Aspect ratio: 1:1
- Style: photorealistic
- Tags: 換臉, json提示詞, 相片編輯, 人像, 寫實, 工作流
- Updated: 2026-10-27T07:07:58.098Z
- Created: 2026-10-27T07:07:58.098Z

用於在兩張參考照片之間進行高保真無縫換臉的結構化 JSON 提示詞。可調整圖像標籤或屬性參數以適配工作流。

### Full prompt
```text
{
  "task": "face_swap",
  "instructions": {
    "primary_goal": "將源參考圖 [image1] 的面部無縫且逼真地融合到目標參考圖 [image2] 的人物主體上",
    "source_mapping": {
      "face_source": "[image1]",
      "face_target": "[image2]",
      "preserve_source_identity": true
    },
    "identity": {
      "match_skin_tone": true,
      "match_facial_expression": true,
      "maintain_face_structure": true
    },
    "blending": {
      "seamless_edges": true,
      "match_lighting": true,
      "match_color_grading": true,
      "preserve_shadows_and_highlights": true,
      "no_visible_artifacts": true
    },
    "background": {
      "preserve_original_background": true,
      "preserve_environment_details": true,
      "no_changes_to_objects": true,
      "no_blur_or_distortion": true
    },
    "composition": {
      "keep_original_pose": true,
      "keep_camera_angle": true,
      "keep_framing": true,
      "maintain_depth_of_field": true
    },
    "quality": {
      "photorealistic": true,
      "high_resolution": true,
      "natural_skin_texture": true
    }
  }
}
```