{
 "73": {
  "inputs": {
   "filename_prefix": "Ernie-Image-Turbo",
   "images": [
    "88:65",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "88:71": {
  "inputs": {
   "width": 1024,
   "height": 1024,
   "batch_size": 1
  },
  "class_type": "EmptyFlux2LatentImage",
  "_meta": {
   "title": "Empty Flux 2 Latent"
  }
 },
 "88:66": {
  "inputs": {
   "unet_name": "ernie-image-turbo.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "88:65": {
  "inputs": {
   "samples": [
    "88:70",
    0
   ],
   "vae": [
    "88:63",
    0
   ]
  },
  "class_type": "VAEDecode",
  "_meta": {
   "title": "VAE Decode"
  }
 },
 "88:70": {
  "inputs": {
   "seed": 423299999918804,
   "steps": 8,
   "cfg": 1,
   "sampler_name": "euler",
   "scheduler": "simple",
   "denoise": 1,
   "model": [
    "88:66",
    0
   ],
   "positive": [
    "88:67",
    0
   ],
   "negative": [
    "88:91",
    0
   ],
   "latent_image": [
    "88:71",
    0
   ]
  },
  "class_type": "KSampler",
  "_meta": {
   "title": "KSampler"
  }
 },
 "88:67": {
  "inputs": {
   "text": [
    "88:97",
    0
   ],
   "clip": [
    "88:62",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Prompt)"
  }
 },
 "88:62": {
  "inputs": {
   "clip_name": "ministral-3-3b.safetensors",
   "type": "flux2",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load CLIP"
  }
 },
 "88:63": {
  "inputs": {
   "vae_name": "flux2-vae.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "88:91": {
  "inputs": {
   "conditioning": [
    "88:67",
    0
   ]
  },
  "class_type": "ConditioningZeroOut",
  "_meta": {
   "title": "Conditioning Zero Out"
  }
 },
 "88:93": {
  "inputs": {
   "string": "<s>[SYSTEM_PROMPT]\u4f60\u662f\u4e00\u4e2a\u4e13\u4e1a\u7684\u6587\u751f\u56fe Prompt \u589e\u5f3a\u52a9\u624b\u3002\u4f60\u5c06\u6536\u5230\u7528\u6237\u7684\u7b80\u77ed\u56fe\u7247\u63cf\u8ff0\u53ca\u76ee\u6807\u751f\u6210\u5206\u8fa8\u7387\uff0c\u8bf7\u636e\u6b64\u6269\u5199\u4e3a\u4e00\u6bb5\u5185\u5bb9\u4e30\u5bcc\u3001\u7ec6\u8282\u5145\u5206\u7684\u89c6\u89c9\u63cf\u8ff0\uff0c\u4ee5\u5e2e\u52a9\u6587\u751f\u56fe\u6a21\u578b\u751f\u6210\u9ad8\u8d28\u91cf\u7684\u56fe\u7247\u3002\u4ec5\u8f93\u51fa\u589e\u5f3a\u540e\u7684\u63cf\u8ff0\uff0c\u4e0d\u8981\u5305\u542b\u4efb\u4f55\u89e3\u91ca\u6216\u524d\u7f00\u3002[/SYSTEM_PROMPT][INST]{\"prompt\": \"{prompt}\", \"width\": {width}, \"height\": {height}}[/INST]",
   "find": "{prompt}",
   "replace": [
    "88:94",
    0
   ]
  },
  "class_type": "StringReplace",
  "_meta": {
   "title": "Replace Text"
  }
 },
 "88:94": {
  "inputs": {
   "value": "A stylized cinematic side-profile medium shot portrait of a young European woman with sleek dark hair in a tight low bun, wearing a crisp white ruffled-collar shirt, eyes closed in serene contemplation, standing against a moody, dark gradient deep indigo-blue twilight sky with layered misty mountain silhouettes in the background, extreme high-contrast split neon lighting: 95% of the scene bathed in deep, saturated cool cyan-blue ambient light (dim, moody, low-key), with a sharp, intense, vivid neon pink-orange rim light tracing her facial profile, neck, and collar, creating bold color blocking and a surreal, artistic aesthetic, minimalist composition, high-fashion editorial, 8K, ultra-sharp focus on subject, moody desaturated blue tones, dramatic contrast, atmospheric depth, tranquil introspective vibe, dark atmospheric background, no overexposure, stylized color grading, neon rim light glow, low-key cool fill light."
  },
  "class_type": "PrimitiveStringMultiline",
  "_meta": {
   "title": "String (Multiline - Prompt)"
  }
 },
 "88:95": {
  "inputs": {
   "max_length": 2048,
   "sampling_mode": "on",
   "thinking": false,
   "use_default_template": true,
   "mtp": "auto",
   "clip": [
    "88:98",
    0
   ],
   "prompt": [
    "88:102",
    0
   ],
   "sampling_mode.temperature": 0.6,
   "sampling_mode.top_k": 64,
   "sampling_mode.top_p": 0.8,
   "sampling_mode.min_p": 0.05,
   "sampling_mode.repetition_penalty": 1.05,
   "sampling_mode.presence_penalty": 0,
   "sampling_mode.seed": 0
  },
  "class_type": "TextGenerateV2",
  "_meta": {
   "title": "Generate Text"
  }
 },
 "88:96": {
  "inputs": {
   "value": true
  },
  "class_type": "PrimitiveBoolean",
  "_meta": {
   "title": "Enable prompt enhancement?"
  }
 },
 "88:97": {
  "inputs": {
   "switch": [
    "88:96",
    0
   ],
   "on_false": [
    "88:94",
    0
   ],
   "on_true": [
    "88:95",
    0
   ]
  },
  "class_type": "ComfySwitchNode",
  "_meta": {
   "title": "If/Else Switch"
  }
 },
 "88:98": {
  "inputs": {
   "clip_name": "ernie-image-prompt-enhancer.safetensors",
   "type": "flux2",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load CLIP (PE)"
  }
 },
 "88:99": {
  "inputs": {},
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text (Int to String)"
  }
 },
 "88:100": {
  "inputs": {},
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text (Int to String)"
  }
 },
 "88:101": {
  "inputs": {
   "find": "{width}",
   "string": [
    "88:93",
    0
   ],
   "replace": [
    "88:99",
    0
   ]
  },
  "class_type": "StringReplace",
  "_meta": {
   "title": "Replace Text"
  }
 },
 "88:102": {
  "inputs": {
   "find": "{height}",
   "string": [
    "88:101",
    0
   ],
   "replace": [
    "88:100",
    0
   ]
  },
  "class_type": "StringReplace",
  "_meta": {
   "title": "Replace Text"
  }
 },
 "88:103": {
  "inputs": {
   "source": [
    "88:97",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text (Int to String)"
  }
 }
}