适用于 Gemini Nano Banana Pro 的详细 JSON 图像生成提示

Author:IQRA H.02
2026/01/05 09:12

Description

使用结构化JSON参数精确控制人物肖像生成,支持面部保留和多维度细节定制。

Tags

Image GenerationGenerate Content

Content

```json
{
    "pipeline_sequence_v5": {
      "global_settings": {
        "project_name": "EVENING_FESTIVAL_PORTRAIT",
        "render_target": {
          "width": 1080,
          "height": 1920,
          "ratio": "9:16"
        },
        "seed_strategy": "Fixed",
        "steps": 50
      },

      "node_01_subject_initialization": {
        "module": "Identity_Preservation",
        "parameters": {
          "source_input": "Attached_Image_Buffer",
          "face_restore_strength": 1.0,
          "feature_lock": {
            "eyes": "Strict",
            "nose": "Strict",
            "mouth": "Strict",
            "skin_texture": "Blend_with_Prompt"
          }
        },
        "morphology": {
          "hair": {
            "style": "{argument name=\"hair style\" default=\"Long_Wavy\"}",
            "color": "{argument name=\"hair color\" default=\"Brown\"}",
            "physics": "Natural_Soft"
          },
          "makeup": {
            "lips": "{argument name=\"lip color\" default=\"Soft_Natural_Pink\"}",
            "finish": "Dewy",
            "intensity": "Natural_Glow"
          }
        }
      },

      "node_02_kinematics_control": {
        "module": "ControlNet_OpenPose",
        "pose_skeleton": {
          "body_orientation": "Standing",
          "spine_curve": "Slight_Lean_Back",
          "right_arm": {
            "state": "Relaxed_Down"
          },
          "left_arm": {
            "state": "Relaxed_Down"
          },
          "head_vector": {
            "pitch": 0,
            "yaw": 10,
            "target": "Lens_Direct"
          }
        }
      },

      "node_03_wardrobe_assembly": {
        "module": "Layered_Clothing_Generator",
        "layers": [
          {
            "layer_id": 1,
            "item": "{argument name=\"clothing item\" default=\"Sleeveless Crop Top\"}",
            "pattern": "{argument name=\"clothing pattern\" default=\"Floral_Oriental\"}",
            "color_palette": "{argument name=\"color palette\" default=\"Navy_Orange_Green\"}",
            "fit": "Fitted"
          },
          {
            "layer_id": 2,
            "item": "Accessories",
            "elements": [
              { "type": "Necklace", "style": "Layered_Gold_Choker" },
              { "type": "Earrings", "style": "Small_Drop" }
            ]
          }
        ]
      },

      "node_04_environment_stage": {
        "module": "Scene_Builder",
        "setting_type": "{argument name=\"setting type\" default=\"Outdoor_Night_Market\"}",
        "assets": {
          "lighting_decor": "Hanging_Warm_String_Lights",
          "background_elements": "Plants_Shops_People",
          "ground_material": "Soft_Dirt"
        },
        "atmosphere": {
          "mood": "Warm_Festive_Evening",
          "clutter_density": "Medium_Lively"
        }
      },

      "node_05_lighting_engine": {
        "module": "Illumination",
        "setup": {
          "primary_source": "Warm_Festoon_Lights",
          "fill_light": "Ambient_Night_Soft",
          "color_grading_lut": "Warm_Glow",
          "shadow_quality": "Soft"
        }
      }
    }
  }
```

---

**Original English:**
{
    "pipeline_sequence_v5": {
      "global_settings": {
        "project_name": "EVENING_FESTIVAL_PORTRAIT",
        "render_target": {
          "width": 1080,
          "height": 1920,
          "ratio": "9:16"
        },
        "seed_strategy": "Fixed",
        "steps": 50
      },

      "node_01_subject_initialization": {
        "module": "Identity_Preservation",
        "parameters": {
          "source_input": "Attached_Image_Buffer",
          "face_restore_strength": 1.0,
          "feature_lock": {
            "eyes": "Strict",
            "nose": "Strict",
            "mouth": "Strict",
            "skin_texture": "Blend_with_Prompt"
          }
        },
        "morphology": {
          "hair": {
            "style": "{argument name="hair style" default="Long_Wavy"}",
            "color": "{argument name="hair color" default="Brown"}",
            "physics": "Natural_Soft"
          },
          "makeup": {
            "lips": "{argument name="lip color" default="Soft_Natural_Pink"}",
            "finish": "Dewy",
            "intensity": "Natural_Glow"
          }
        }
      },

      "node_02_kinematics_control": {
        "module": "ControlNet_OpenPose",
        "pose_skeleton": {
          "body_orientation": "Standing",
          "spine_curve": "Slight_Lean_Back",
          "right_arm": {
            "state": "Relaxed_Down"
          },
          "left_arm": {
            "state": "Relaxed_Down"
          },
          "head_vector": {
            "pitch": 0,
            "yaw": 10,
            "target": "Lens_Direct"
          }
        }
      },

      "node_03_wardrobe_assembly": {
        "module": "Layered_Clothing_Generator",
        "layers": [
          {
            "layer_id": 1,
            "item": "{argument name="clothing item" default="Sleeveless Crop Top"}",
            "pattern": "{argument name="clothing pattern" default="Floral_Oriental"}",
            "color_palette": "{argument name="color palette" default="Navy_Orange_Green"}",
            "fit": "Fitted"
          },
          {
            "layer_id": 2,
            "item": "Accessories",
            "elements": [
              { "type": "Necklace", "style": "Layered_Gold_Choker" },
              { "type": "Earrings", "style": "Small_Drop" }
            ]
          }
        ]
      },

      "node_04_environment_stage": {
        "module": "Scene_Builder",
        "setting_type": "{argument name="setting type" default="Outdoor_Night_Market"}",
        "assets": {
          "lighting_decor": "Hanging_Warm_String_Lights",
          "background_elements": "Plants_Shops_People",
          "ground_material": "Soft_Dirt"
        },
        "atmosphere": {
          "mood": "Warm_Festive_Evening",
          "clutter_density": "Medium_Lively"
        }
      },

      "node_05_lighting_engine": {
        "module": "Illumination",
        "setup": {
          "primary_source": "Warm_Festoon_Lights",
          "fill_light": "Ambient_Night_Soft",
          "color_grading_lut": "Warm_Glow",
          "shadow_quality": "Soft"
        }
      }
    }
  }