1710 lines
54 KiB
JSON
1710 lines
54 KiB
JSON
{
|
||
"dependencies": {
|
||
"check_state": "unchecked",
|
||
"checked_at": null,
|
||
"missing": [],
|
||
"model_locations": "待目标机提供",
|
||
"models": [
|
||
"Krea2\\Krea2_Detailer_细节滑块.safetensors",
|
||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"node_packs": [],
|
||
"node_types": [
|
||
"CLIPLoader",
|
||
"CLIPTextEncode",
|
||
"ComfySwitchNode",
|
||
"ConditioningZeroOut",
|
||
"EmptyLatentImage",
|
||
"KSampler",
|
||
"LoraLoaderModelOnly",
|
||
"MarkdownNote",
|
||
"Note",
|
||
"PreviewAny",
|
||
"PrimitiveBoolean",
|
||
"PrimitiveStringMultiline",
|
||
"ResolutionSelector",
|
||
"SaveImage",
|
||
"StringConcatenate",
|
||
"TextGenerate",
|
||
"UNETLoader",
|
||
"VAEDecode",
|
||
"VAELoader",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81"
|
||
],
|
||
"source": null
|
||
},
|
||
"draft": true,
|
||
"errors": [
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "包含子图:需原 ComfyUI API 导出及差分核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:SaveImage"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:ResolutionSelector"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:b0e5ca93-2731-42b9-8e0a-d28ea851ff81"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "未得到可执行节点"
|
||
}
|
||
],
|
||
"io": {
|
||
"inputs": [],
|
||
"outputs": []
|
||
},
|
||
"materials": [],
|
||
"params": [],
|
||
"purpose": "Krea2 文生图含 TextGenerate、文本拼接、开关及 KSampler。",
|
||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||
"source_links": [
|
||
{
|
||
"link": [
|
||
44,
|
||
30,
|
||
0,
|
||
29,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
69,
|
||
49,
|
||
0,
|
||
30,
|
||
3,
|
||
"INT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
71,
|
||
49,
|
||
1,
|
||
30,
|
||
4,
|
||
"INT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 10,
|
||
"origin_id": 11,
|
||
"origin_slot": 0,
|
||
"target_id": 6,
|
||
"target_slot": 0,
|
||
"type": "CLIP"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 40,
|
||
"origin_id": 28,
|
||
"origin_slot": 0,
|
||
"target_id": 6,
|
||
"target_slot": 1,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 30,
|
||
"origin_id": 22,
|
||
"origin_slot": 0,
|
||
"target_id": 3,
|
||
"target_slot": 0,
|
||
"type": "MODEL"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 4,
|
||
"origin_id": 6,
|
||
"origin_slot": 0,
|
||
"target_id": 3,
|
||
"target_slot": 1,
|
||
"type": "CONDITIONING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 14,
|
||
"origin_id": 13,
|
||
"origin_slot": 0,
|
||
"target_id": 3,
|
||
"target_slot": 2,
|
||
"type": "CONDITIONING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 2,
|
||
"origin_id": 5,
|
||
"origin_slot": 0,
|
||
"target_id": 3,
|
||
"target_slot": 3,
|
||
"type": "LATENT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 7,
|
||
"origin_id": 3,
|
||
"origin_slot": 0,
|
||
"target_id": 8,
|
||
"target_slot": 0,
|
||
"type": "LATENT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 12,
|
||
"origin_id": 12,
|
||
"origin_slot": 0,
|
||
"target_id": 8,
|
||
"target_slot": 1,
|
||
"type": "VAE"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 13,
|
||
"origin_id": 6,
|
||
"origin_slot": 0,
|
||
"target_id": 13,
|
||
"target_slot": 0,
|
||
"type": "CONDITIONING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 16,
|
||
"origin_id": 10,
|
||
"origin_slot": 0,
|
||
"target_id": 15,
|
||
"target_slot": 0,
|
||
"type": "MODEL"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 18,
|
||
"origin_id": 11,
|
||
"origin_slot": 0,
|
||
"target_id": 16,
|
||
"target_slot": 0,
|
||
"type": "CLIP"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 19,
|
||
"origin_id": 17,
|
||
"origin_slot": 0,
|
||
"target_id": 16,
|
||
"target_slot": 4,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 21,
|
||
"origin_id": 18,
|
||
"origin_slot": 0,
|
||
"target_id": 17,
|
||
"target_slot": 0,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 22,
|
||
"origin_id": 19,
|
||
"origin_slot": 0,
|
||
"target_id": 17,
|
||
"target_slot": 1,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 27,
|
||
"origin_id": 21,
|
||
"origin_slot": 0,
|
||
"target_id": 20,
|
||
"target_slot": 0,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 34,
|
||
"origin_id": 19,
|
||
"origin_slot": 0,
|
||
"target_id": 21,
|
||
"target_slot": 0,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 33,
|
||
"origin_id": 16,
|
||
"origin_slot": 0,
|
||
"target_id": 21,
|
||
"target_slot": 1,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 32,
|
||
"origin_id": 24,
|
||
"origin_slot": 0,
|
||
"target_id": 21,
|
||
"target_slot": 2,
|
||
"type": "BOOLEAN"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 28,
|
||
"origin_id": 10,
|
||
"origin_slot": 0,
|
||
"target_id": 22,
|
||
"target_slot": 0,
|
||
"type": "MODEL"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 29,
|
||
"origin_id": 15,
|
||
"origin_slot": 0,
|
||
"target_id": 22,
|
||
"target_slot": 1,
|
||
"type": "MODEL"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 31,
|
||
"origin_id": 23,
|
||
"origin_slot": 0,
|
||
"target_id": 22,
|
||
"target_slot": 2,
|
||
"type": "BOOLEAN"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 41,
|
||
"origin_id": 20,
|
||
"origin_slot": 0,
|
||
"target_id": 27,
|
||
"target_slot": 0,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 37,
|
||
"origin_id": 20,
|
||
"origin_slot": 0,
|
||
"target_id": 28,
|
||
"target_slot": 0,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 38,
|
||
"origin_id": 27,
|
||
"origin_slot": 0,
|
||
"target_id": 28,
|
||
"target_slot": 1,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 42,
|
||
"origin_id": 23,
|
||
"origin_slot": 0,
|
||
"target_id": 28,
|
||
"target_slot": 2,
|
||
"type": "BOOLEAN"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 43,
|
||
"origin_id": 8,
|
||
"origin_slot": 0,
|
||
"target_id": -20,
|
||
"target_slot": 0,
|
||
"type": "IMAGE"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 45,
|
||
"origin_id": -10,
|
||
"origin_slot": 0,
|
||
"target_id": 19,
|
||
"target_slot": 0,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 46,
|
||
"origin_id": -10,
|
||
"origin_slot": 1,
|
||
"target_id": 24,
|
||
"target_slot": 0,
|
||
"type": "BOOLEAN"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 49,
|
||
"origin_id": -10,
|
||
"origin_slot": 2,
|
||
"target_id": 16,
|
||
"target_slot": 5,
|
||
"type": "INT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 50,
|
||
"origin_id": -10,
|
||
"origin_slot": 3,
|
||
"target_id": 5,
|
||
"target_slot": 0,
|
||
"type": "INT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 51,
|
||
"origin_id": -10,
|
||
"origin_slot": 4,
|
||
"target_id": 5,
|
||
"target_slot": 1,
|
||
"type": "INT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 56,
|
||
"origin_id": -10,
|
||
"origin_slot": 5,
|
||
"target_id": 3,
|
||
"target_slot": 4,
|
||
"type": "INT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 57,
|
||
"origin_id": -10,
|
||
"origin_slot": 6,
|
||
"target_id": 23,
|
||
"target_slot": 0,
|
||
"type": "BOOLEAN"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 58,
|
||
"origin_id": -10,
|
||
"origin_slot": 7,
|
||
"target_id": 15,
|
||
"target_slot": 1,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 59,
|
||
"origin_id": -10,
|
||
"origin_slot": 8,
|
||
"target_id": 15,
|
||
"target_slot": 2,
|
||
"type": "FLOAT"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 60,
|
||
"origin_id": -10,
|
||
"origin_slot": 9,
|
||
"target_id": 27,
|
||
"target_slot": 1,
|
||
"type": "STRING"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 61,
|
||
"origin_id": -10,
|
||
"origin_slot": 10,
|
||
"target_id": 10,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 62,
|
||
"origin_id": -10,
|
||
"origin_slot": 11,
|
||
"target_id": 11,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
},
|
||
{
|
||
"link": {
|
||
"id": 63,
|
||
"origin_id": -10,
|
||
"origin_slot": 12,
|
||
"target_id": 12,
|
||
"target_slot": 0,
|
||
"type": "COMBO"
|
||
},
|
||
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
|
||
}
|
||
],
|
||
"source_nodes": [
|
||
{
|
||
"class_type": "SaveImage",
|
||
"inputs": [
|
||
{
|
||
"link": 44,
|
||
"localized_name": "图片",
|
||
"name": "images",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "文件名前缀",
|
||
"name": "filename_prefix",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "filename_prefix"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "29",
|
||
"source_values": [
|
||
"Krea2_turbo"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "47",
|
||
"source_values": [
|
||
"Download the style LoRAs used in this workflow from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras). Place the `.safetensors` files in `ComfyUI/models/loras/`.\n\n| LoRA | Trigger Words | Recommended Strength |\n|------------------------|--------------------------------------|-------|\n| `krea2_darkbrush` | `monochrome ink wash style` | `1.0` |\n| `krea2_dotmatrix` | `monochrome stippling style` | `1.0` |\n| `krea2_kidsdrawing` | `naive expressive sketch style` | `1.0` |\n| `krea2_neondrip` | `textured abstract style` | `1.0` |\n| `krea2_rainywindow` | `rainy window style` | `1.0` |\n| `krea2_retroanime` | `purple retro anime style` | `1.0` |\n| `krea2_softwatercolor` | `art deco watercolor style` | `1.0` |\n| `krea2_sunsetblur` | `ethereal motion blur style` | `1.0` |\n| `krea2_vintagetarot` | `vintage tarot style` | `1.0` |"
|
||
],
|
||
"title": "LoRA Trigger Words and Settings"
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "48",
|
||
"source_values": [
|
||
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\nFor BF16 and NVFP4 variants, see [Comfy-Org/Krea-2](https://huggingface.co/Comfy-Org/Krea-2)\n\n**diffusion_models**\n\n- [krea2_turbo_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors)\n\n**vae**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors)\n\n**loras**\n\n- [krea2_darkbrush.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_darkbrush.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── krea2_turbo_fp8_scaled.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 loras/\n│ └── krea2_darkbrush.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
|
||
],
|
||
"title": "Model Links"
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "50",
|
||
"source_values": [
|
||
"Guide: [krea-2](https://docs.comfy.org/tutorials/image/krea/krea-2)\n\nThis workflow generates images with **Krea-2 Turbo**, a fast distilled text-to-image model. The workflow is organized into a few parts: each handles a different step so you can generate quickly without digging through every node.\n\n## Text to Image (Krea-2 Turbo) Subgraph\n\nDouble-click this node to open the full pipeline. Inside, the canvas is grouped into several areas:\n\n**Models**: Loads the diffusion model, text encoder, VAE, and optional style LoRA (`LoraLoaderModelOnly`).\n\n**Prompt**: Enter your image description in **Text String (User Prompt)**.\n\n**Prompt Enhancement**: Expands your prompt before generation. Enabled by default (`prompt_enhance`). You can turn it off to use your prompt as-is, or replace the built-in module with **OpenAI** or **Gemini** API nodes.\n\n**Feature Switch**: Quick toggles on the left side of the subgraph:\n- `prompt_enhance`: enable or disable prompt expansion\n- `enable_lora?`: enable or disable the style LoRA\n\n**Image Generation**: Handles latent sizing, sampling (8 steps), and VAE decode to produce the final image.\n\nWhen using a LoRA, set `enable_lora?` to true, select the matching file in **LoraLoaderModelOnly**, and adjust `lora_strength` as needed.\n\n## LoRA & Trigger Word (CustomCombo)\n\nOn the main canvas, the **CustomCombo** node is where you choose which style LoRA you are using (e.g. `krea2_coolblue`, `krea2_darkbrush`). The workflow uses your selection to automatically append the correct **trigger word** to your prompt.\n\n- Download LoRA files from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras) and place them in `ComfyUI/models/loras/`\n- Select the LoRA name that matches the file loaded inside the subgraph\n- The trigger word is applied for you: no need to type it manually\n- For trigger words and recommended strength values, see the **LoRA Trigger Words and Settings** note beside this workflow\n"
|
||
],
|
||
"title": "Note: Krea-2"
|
||
},
|
||
{
|
||
"class_type": "ResolutionSelector",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "宽高比",
|
||
"name": "aspect_ratio",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "aspect_ratio"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "百万像素",
|
||
"name": "megapixels",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "megapixels"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "倍数",
|
||
"name": "multiple",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "multiple"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "49",
|
||
"source_values": [
|
||
"9:16 (Portrait Widescreen)",
|
||
1.5,
|
||
8
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "51",
|
||
"source_values": [
|
||
"1、需要自动提示词的,就开启提示词增强\n2、需要lora,就开启lora选项,选择对应风格lora\n3、调整lora强调,调整风格控制强度"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"name": "value",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "value"
|
||
}
|
||
},
|
||
{
|
||
"label": "prompt_enhance",
|
||
"link": null,
|
||
"name": "value_1",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "value_1"
|
||
}
|
||
},
|
||
{
|
||
"label": "LLM_max_token",
|
||
"link": null,
|
||
"name": "max_length",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "max_length"
|
||
}
|
||
},
|
||
{
|
||
"link": 69,
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
}
|
||
},
|
||
{
|
||
"link": 71,
|
||
"name": "height",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "height"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "seed",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "seed"
|
||
}
|
||
},
|
||
{
|
||
"label": "enable_lora?",
|
||
"link": null,
|
||
"name": "value_2",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "value_2"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "lora_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "lora_name"
|
||
}
|
||
},
|
||
{
|
||
"label": "lora_strength",
|
||
"link": null,
|
||
"name": "strength_model",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "strength_model"
|
||
}
|
||
},
|
||
{
|
||
"label": "lora_trigger_word",
|
||
"link": null,
|
||
"name": "string_b",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "string_b"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "unet_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "unet_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "clip_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "clip_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"name": "vae_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "vae_name"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "30",
|
||
"source_values": [
|
||
"1女孩,单人,户外,双手背在身后,看向观众,手持,衬衫,天空,云,水,刘海,信件,回望,站立,白天,多云天空,闭着嘴,山,脸红,手持信件,海洋,信封,山脉地平线,手持信封,爱心,风景,蓝天,蝴蝶结,从背后看,裙子,湖泊,情书,明日方舟,黄昏(明日方舟),明日方舟.",
|
||
true,
|
||
512,
|
||
1024,
|
||
1024,
|
||
456139010705266,
|
||
false,
|
||
"Krea2\\Krea2_Detailer_细节滑块.safetensors",
|
||
1.5,
|
||
"写实风格",
|
||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "CLIPTextEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 10,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": 40,
|
||
"localized_name": "文本",
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "text"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/6",
|
||
"source_values": [
|
||
"A high-contrast, hyper-stylized fashion editorial portrait shot against a saturated mustard-yellow seamless backdrop, with the central figure rendered in crisp desaturated black-and-white, creating a striking duotone aesthetic reminiscent of David LaChapelle meets Helmut Newton with a punk-gothic edge.\n\nThe subject is a fierce young woman with a platinum-bleached, spiked liberty mohawk crown of hair, her expression cold and commanding as she stares directly into the lens. She wears a cropped black leather biker jacket exploding with oversized metallic conical studs and spikes across the shoulders, paired with a minimal black bikini bottom, sheer black thigh-high stockings, and chunky knee-high lace-up combat platform boots. Her toned, athletic physique is fully exposed at the midriff.\n\nShe sits regally upon an ornate throne carved in the shape of a snarling, fanged beast's head — part dragon, part demonic feline — its silver-grey surface intricately detailed with bones, scales, and gothic ornamentation. Her booted foot rests on a battered metal road case wrapped in heavy chains and covered in stickers and band decals.\n\nIn her right hand she grips a massive medieval war scythe, its long wooden shaft wrapped in leather, the enormous curved blade arcing dramatically over her head. Perched on her left fist, talons gripping her knuckles, is a majestic American bald eagle with pristine white head feathers and a sharp yellow beak, staring off to the side with predatory alertness.\n\nStudio lighting is hard and theatrical, casting crisp shadows. The composition is symmetrical, iconic, and poster-like — punk rock goddess of war meets American mythology. Hyperrealistic, high-fashion photography, 8k, sharp detail, magazine cover quality."
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "EmptyLatentImage",
|
||
"inputs": [
|
||
{
|
||
"link": 50,
|
||
"localized_name": "宽度",
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
}
|
||
},
|
||
{
|
||
"link": 51,
|
||
"localized_name": "高度",
|
||
"name": "height",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "height"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "批量大小",
|
||
"name": "batch_size",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "batch_size"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/5",
|
||
"source_values": [
|
||
1024,
|
||
1024,
|
||
1
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "KSampler",
|
||
"inputs": [
|
||
{
|
||
"link": 30,
|
||
"localized_name": "模型",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 4,
|
||
"localized_name": "正面条件",
|
||
"name": "positive",
|
||
"type": "CONDITIONING"
|
||
},
|
||
{
|
||
"link": 14,
|
||
"localized_name": "负面条件",
|
||
"name": "negative",
|
||
"type": "CONDITIONING"
|
||
},
|
||
{
|
||
"link": 2,
|
||
"localized_name": "Latent图像",
|
||
"name": "latent_image",
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": 56,
|
||
"localized_name": "种子",
|
||
"name": "seed",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "seed"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "步数",
|
||
"name": "steps",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "steps"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "cfg",
|
||
"name": "cfg",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "cfg"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "采样器名称",
|
||
"name": "sampler_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "sampler_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "调度器",
|
||
"name": "scheduler",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "scheduler"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "降噪",
|
||
"name": "denoise",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "denoise"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/3",
|
||
"source_values": [
|
||
456139010705266,
|
||
"randomize",
|
||
8,
|
||
1,
|
||
"euler",
|
||
"simple",
|
||
1
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAEDecode",
|
||
"inputs": [
|
||
{
|
||
"link": 7,
|
||
"localized_name": "Latent",
|
||
"name": "samples",
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": 12,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"type": "VAE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/8",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "UNETLoader",
|
||
"inputs": [
|
||
{
|
||
"link": 61,
|
||
"localized_name": "UNet名称",
|
||
"name": "unet_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "unet_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "数据类型",
|
||
"name": "weight_dtype",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "weight_dtype"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/10",
|
||
"source_values": [
|
||
"krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "CLIPLoader",
|
||
"inputs": [
|
||
{
|
||
"link": 62,
|
||
"localized_name": "CLIP名称",
|
||
"name": "clip_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "clip_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "类型",
|
||
"name": "type",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "type"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "设备",
|
||
"name": "device",
|
||
"shape": 7,
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "device"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/11",
|
||
"source_values": [
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"krea2",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAELoader",
|
||
"inputs": [
|
||
{
|
||
"link": 63,
|
||
"localized_name": "vae名称",
|
||
"name": "vae_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "vae_name"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/12",
|
||
"source_values": [
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ConditioningZeroOut",
|
||
"inputs": [
|
||
{
|
||
"link": 13,
|
||
"localized_name": "条件",
|
||
"name": "conditioning",
|
||
"type": "CONDITIONING"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/13",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "LoraLoaderModelOnly",
|
||
"inputs": [
|
||
{
|
||
"link": 16,
|
||
"localized_name": "模型",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 58,
|
||
"localized_name": "LoRA名称",
|
||
"name": "lora_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "lora_name"
|
||
}
|
||
},
|
||
{
|
||
"link": 59,
|
||
"localized_name": "模型强度",
|
||
"name": "strength_model",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "strength_model"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/15",
|
||
"source_values": [
|
||
"Krea2\\Krea2_Detailer_细节滑块.safetensors",
|
||
1.5
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "TextGenerate",
|
||
"inputs": [
|
||
{
|
||
"link": 18,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "视频",
|
||
"name": "video",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "音频",
|
||
"name": "audio",
|
||
"shape": 7,
|
||
"type": "AUDIO"
|
||
},
|
||
{
|
||
"link": 19,
|
||
"localized_name": "提示词",
|
||
"name": "prompt",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "prompt"
|
||
}
|
||
},
|
||
{
|
||
"link": 49,
|
||
"localized_name": "最大长度",
|
||
"name": "max_length",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "max_length"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "采样模式",
|
||
"name": "sampling_mode",
|
||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||
"widget": {
|
||
"name": "sampling_mode"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "温度",
|
||
"name": "sampling_mode.temperature",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.temperature"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "Top K",
|
||
"name": "sampling_mode.top_k",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "sampling_mode.top_k"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "Top P",
|
||
"name": "sampling_mode.top_p",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.top_p"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "最小概率",
|
||
"name": "sampling_mode.min_p",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.min_p"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "重复惩罚",
|
||
"name": "sampling_mode.repetition_penalty",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.repetition_penalty"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "种子",
|
||
"name": "sampling_mode.seed",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "sampling_mode.seed"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "presence_penalty",
|
||
"name": "sampling_mode.presence_penalty",
|
||
"shape": 7,
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.presence_penalty"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "思考模式",
|
||
"name": "thinking",
|
||
"shape": 7,
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "thinking"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "use_default_template",
|
||
"name": "use_default_template",
|
||
"shape": 7,
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "use_default_template"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/16",
|
||
"source_values": [
|
||
"",
|
||
512,
|
||
"on",
|
||
0.7,
|
||
64,
|
||
0.95,
|
||
0.05,
|
||
1.05,
|
||
0,
|
||
0,
|
||
false,
|
||
true
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "PrimitiveStringMultiline",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "值",
|
||
"name": "value",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "value"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/18",
|
||
"source_values": [
|
||
"You are an expert prompt engineer for text-to-image models. Your task is to expand the user's prompt into a highly effective image-generation prompt.\n\nThink step by step about the request before writing the answer:\n- What is the subject and mood?\n- What visual styles, mediums, and lighting options would fit? Consider two or three alternatives and pick the one that best serves the caption.\n- What composition, framing, and grounded details will help the text-to-image model?\n\nThen output a single expanded prompt paragraph.\n\nFollow these rules strictly:\n1. **Faithfulness First:** Preserve all original subjects, actions, colors, and spatial relationships. Do not add new objects, props, characters, or animals unless the user clearly implies them.\n2. **Practical T2I Structure:** Write a prompt that a text-to-image model can parse cleanly. Group subjects with their own attributes and actions. Use grounded phrasing for poses, interactions, and spatial layout.\n3. **Style Planning Stays Internal:** Use your internal reasoning to choose style, medium, framing, and lighting. Do not emit planning tags or wrappers in the visible answer body.\n4. **Text Rendering:** If the user requests visible text, quotes, labels, or typography, specify the exact text clearly and wrap requested words in quotes.\n5. **Avoid Over-Specification:** Do not invent highly specific clothing, colors, materials, or scene details unless the input supports them.\n6. **Structure:** Write one cohesive paragraph after the thinking block. No bullets, JSON, or markdown.\n7. **Respect Existing Detail:** If the user's prompt is already detailed, lightly polish and finalize rather than heavily expanding — preserve their phrasing and direction.\n8. **Respect the Human Form:** Treat depictions of people with dignity. Assume clothing covers genitals and intimate anatomy.\n9. **Preserve User Medium:** When the user explicitly requests a medium (e.g. \"photo of\", \"photograph of\", \"illustration of\", \"painting of\", \"sketch of\", \"3D render of\"), honor it. Do not pivot to a different medium to avoid difficulty — match the user's stated intent.\n\nUser's Input:\n\n"
|
||
],
|
||
"title": "Text String (System Prompt)"
|
||
},
|
||
{
|
||
"class_type": "PrimitiveStringMultiline",
|
||
"inputs": [
|
||
{
|
||
"link": 45,
|
||
"localized_name": "值",
|
||
"name": "value",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "value"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/19",
|
||
"source_values": [
|
||
"1女孩,单人,户外,双手背在身后,看向观众,手持,衬衫,天空,云,水,刘海,信件,回望,站立,白天,多云天空,闭着嘴,山,脸红,手持信件,海洋,信封,山脉地平线,手持信封,爱心,风景,蓝天,蝴蝶结,从背后看,裙子,湖泊,情书,明日方舟,黄昏(明日方舟),明日方舟."
|
||
],
|
||
"title": "Text String (User Prompt)"
|
||
},
|
||
{
|
||
"class_type": "PreviewAny",
|
||
"inputs": [
|
||
{
|
||
"link": 27,
|
||
"localized_name": "源",
|
||
"name": "source",
|
||
"type": "*"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/20",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ComfySwitchNode",
|
||
"inputs": [
|
||
{
|
||
"link": 34,
|
||
"localized_name": "为假时",
|
||
"name": "on_false",
|
||
"type": "STRING"
|
||
},
|
||
{
|
||
"link": 33,
|
||
"localized_name": "为真时",
|
||
"name": "on_true",
|
||
"type": "STRING"
|
||
},
|
||
{
|
||
"link": 32,
|
||
"localized_name": "切换",
|
||
"name": "switch",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "switch"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/21",
|
||
"source_values": [
|
||
false
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ComfySwitchNode",
|
||
"inputs": [
|
||
{
|
||
"link": 28,
|
||
"localized_name": "为假时",
|
||
"name": "on_false",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 29,
|
||
"localized_name": "为真时",
|
||
"name": "on_true",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 31,
|
||
"localized_name": "切换",
|
||
"name": "switch",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "switch"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/22",
|
||
"source_values": [
|
||
false
|
||
],
|
||
"title": "Switch (Model)"
|
||
},
|
||
{
|
||
"class_type": "PrimitiveBoolean",
|
||
"inputs": [
|
||
{
|
||
"link": 57,
|
||
"localized_name": "值",
|
||
"name": "value",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "value"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/23",
|
||
"source_values": [
|
||
false
|
||
],
|
||
"title": "Boolean (Enable LoRA?)"
|
||
},
|
||
{
|
||
"class_type": "StringConcatenate",
|
||
"inputs": [
|
||
{
|
||
"link": 41,
|
||
"localized_name": "字符串A",
|
||
"name": "string_a",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "string_a"
|
||
}
|
||
},
|
||
{
|
||
"link": 60,
|
||
"localized_name": "字符串B",
|
||
"name": "string_b",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "string_b"
|
||
}
|
||
},
|
||
{
|
||
"label": "分隔符",
|
||
"link": null,
|
||
"localized_name": "分隔符",
|
||
"name": "delimiter",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "delimiter"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/27",
|
||
"source_values": [
|
||
"",
|
||
"写实风格",
|
||
", "
|
||
],
|
||
"title": "Concatenate Text (LoRA Trigger Word)"
|
||
},
|
||
{
|
||
"class_type": "ComfySwitchNode",
|
||
"inputs": [
|
||
{
|
||
"link": 37,
|
||
"localized_name": "为假时",
|
||
"name": "on_false",
|
||
"type": "STRING"
|
||
},
|
||
{
|
||
"link": 38,
|
||
"localized_name": "为真时",
|
||
"name": "on_true",
|
||
"type": "STRING"
|
||
},
|
||
{
|
||
"link": 42,
|
||
"localized_name": "切换",
|
||
"name": "switch",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "switch"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/28",
|
||
"source_values": [
|
||
false
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "StringConcatenate",
|
||
"inputs": [
|
||
{
|
||
"link": 21,
|
||
"localized_name": "字符串A",
|
||
"name": "string_a",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "string_a"
|
||
}
|
||
},
|
||
{
|
||
"link": 22,
|
||
"localized_name": "字符串B",
|
||
"name": "string_b",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "string_b"
|
||
}
|
||
},
|
||
{
|
||
"label": "分隔符",
|
||
"link": null,
|
||
"localized_name": "分隔符",
|
||
"name": "delimiter",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "delimiter"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/17",
|
||
"source_values": [
|
||
"",
|
||
"",
|
||
""
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "PrimitiveBoolean",
|
||
"inputs": [
|
||
{
|
||
"link": 46,
|
||
"localized_name": "值",
|
||
"name": "value",
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "value"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/24",
|
||
"source_values": [
|
||
true
|
||
],
|
||
"title": "Boolean (Refine Prompt?)"
|
||
}
|
||
],
|
||
"source_notes": [
|
||
{
|
||
"content": [
|
||
"Download the style LoRAs used in this workflow from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras). Place the `.safetensors` files in `ComfyUI/models/loras/`.\n\n| LoRA | Trigger Words | Recommended Strength |\n|------------------------|--------------------------------------|-------|\n| `krea2_darkbrush` | `monochrome ink wash style` | `1.0` |\n| `krea2_dotmatrix` | `monochrome stippling style` | `1.0` |\n| `krea2_kidsdrawing` | `naive expressive sketch style` | `1.0` |\n| `krea2_neondrip` | `textured abstract style` | `1.0` |\n| `krea2_rainywindow` | `rainy window style` | `1.0` |\n| `krea2_retroanime` | `purple retro anime style` | `1.0` |\n| `krea2_softwatercolor` | `art deco watercolor style` | `1.0` |\n| `krea2_sunsetblur` | `ethereal motion blur style` | `1.0` |\n| `krea2_vintagetarot` | `vintage tarot style` | `1.0` |"
|
||
],
|
||
"node_id": "47"
|
||
},
|
||
{
|
||
"content": [
|
||
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\nFor BF16 and NVFP4 variants, see [Comfy-Org/Krea-2](https://huggingface.co/Comfy-Org/Krea-2)\n\n**diffusion_models**\n\n- [krea2_turbo_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors)\n\n**vae**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors)\n\n**loras**\n\n- [krea2_darkbrush.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_darkbrush.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── krea2_turbo_fp8_scaled.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 loras/\n│ └── krea2_darkbrush.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
|
||
],
|
||
"node_id": "48"
|
||
},
|
||
{
|
||
"content": [
|
||
"Guide: [krea-2](https://docs.comfy.org/tutorials/image/krea/krea-2)\n\nThis workflow generates images with **Krea-2 Turbo**, a fast distilled text-to-image model. The workflow is organized into a few parts: each handles a different step so you can generate quickly without digging through every node.\n\n## Text to Image (Krea-2 Turbo) Subgraph\n\nDouble-click this node to open the full pipeline. Inside, the canvas is grouped into several areas:\n\n**Models**: Loads the diffusion model, text encoder, VAE, and optional style LoRA (`LoraLoaderModelOnly`).\n\n**Prompt**: Enter your image description in **Text String (User Prompt)**.\n\n**Prompt Enhancement**: Expands your prompt before generation. Enabled by default (`prompt_enhance`). You can turn it off to use your prompt as-is, or replace the built-in module with **OpenAI** or **Gemini** API nodes.\n\n**Feature Switch**: Quick toggles on the left side of the subgraph:\n- `prompt_enhance`: enable or disable prompt expansion\n- `enable_lora?`: enable or disable the style LoRA\n\n**Image Generation**: Handles latent sizing, sampling (8 steps), and VAE decode to produce the final image.\n\nWhen using a LoRA, set `enable_lora?` to true, select the matching file in **LoraLoaderModelOnly**, and adjust `lora_strength` as needed.\n\n## LoRA & Trigger Word (CustomCombo)\n\nOn the main canvas, the **CustomCombo** node is where you choose which style LoRA you are using (e.g. `krea2_coolblue`, `krea2_darkbrush`). The workflow uses your selection to automatically append the correct **trigger word** to your prompt.\n\n- Download LoRA files from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras) and place them in `ComfyUI/models/loras/`\n- Select the LoRA name that matches the file loaded inside the subgraph\n- The trigger word is applied for you: no need to type it manually\n- For trigger words and recommended strength values, see the **LoRA Trigger Words and Settings** note beside this workflow\n"
|
||
],
|
||
"node_id": "50"
|
||
},
|
||
{
|
||
"content": [
|
||
"1、需要自动提示词的,就开启提示词增强\n2、需要lora,就开启lora选项,选择对应风格lora\n3、调整lora强调,调整风格控制强度"
|
||
],
|
||
"node_id": "51"
|
||
}
|
||
],
|
||
"source_path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
|
||
"source_review": {
|
||
"complete": false,
|
||
"evidence": {
|
||
"link_count": 42,
|
||
"model_references": [
|
||
"Krea2\\Krea2_Detailer_细节滑块.safetensors",
|
||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"named_value_count": 0,
|
||
"node_count": 27,
|
||
"note_node_ids": [
|
||
"47",
|
||
"48",
|
||
"50",
|
||
"51"
|
||
],
|
||
"unnamed_widget_node_ids": [
|
||
"29",
|
||
"49",
|
||
"30",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/6",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/5",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/3",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/10",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/11",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/12",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/15",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/16",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/18",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/19",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/21",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/22",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/23",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/27",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/28",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/17",
|
||
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/24"
|
||
]
|
||
},
|
||
"instruction": "检查开关选用原始或增强提示词,再核对 SaveImage;本文件与 N 版不能仅按节点集合去重。",
|
||
"purpose": "Krea2 文生图含 TextGenerate、文本拼接、开关及 KSampler。",
|
||
"reviewed_named_fields": [],
|
||
"scope": [
|
||
"结构及用途局部审校",
|
||
"源具名参数/注释/连线/素材模型用途人工语义局部审校"
|
||
],
|
||
"semantic_review": {
|
||
"batch": "HEL-892-third",
|
||
"conclusions": [
|
||
"49两路尺寸进30,30输出保存29",
|
||
"内部15细节LoRA和21/22/28开关决定文本/模型分支。51说明启用提示增强和LoRA,48列FP8参考而10实际选int8_convrot",
|
||
"先核对实际精度选择与风格强度,不把注释推荐当当前值。"
|
||
],
|
||
"evidence_refs": {
|
||
"nodes": [
|
||
{
|
||
"node_id": "29",
|
||
"pointer": "/source_nodes/0"
|
||
},
|
||
{
|
||
"node_id": "48",
|
||
"pointer": "/source_nodes/2"
|
||
},
|
||
{
|
||
"node_id": "49",
|
||
"pointer": "/source_nodes/4"
|
||
},
|
||
{
|
||
"node_id": "51",
|
||
"pointer": "/source_nodes/5"
|
||
},
|
||
{
|
||
"node_id": "30",
|
||
"pointer": "/source_nodes/6"
|
||
},
|
||
{
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/8",
|
||
"pointer": "/source_nodes/10"
|
||
},
|
||
{
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/10",
|
||
"pointer": "/source_nodes/11"
|
||
},
|
||
{
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/15",
|
||
"pointer": "/source_nodes/15"
|
||
},
|
||
{
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/21",
|
||
"pointer": "/source_nodes/20"
|
||
},
|
||
{
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/22",
|
||
"pointer": "/source_nodes/21"
|
||
},
|
||
{
|
||
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/28",
|
||
"pointer": "/source_nodes/24"
|
||
}
|
||
],
|
||
"notes": [
|
||
{
|
||
"node_id": "48",
|
||
"pointer": "/source_notes/1"
|
||
},
|
||
{
|
||
"node_id": "51",
|
||
"pointer": "/source_notes/3"
|
||
}
|
||
],
|
||
"source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)"
|
||
},
|
||
"mechanical_inventory": {
|
||
"link_count": 42,
|
||
"named_value_count": 0,
|
||
"note_count": 4,
|
||
"position_widget_node_count": 20
|
||
},
|
||
"named_parameter_finding": "未发现可由源文件确认的具名参数",
|
||
"operation_check": "49两路尺寸进30,30输出保存29;内部15细节LoRA和21/22/28开关决定文本/模型分支。51说明启用提示增强和LoRA,48列FP8参考而10实际选int8_convrot;先核对实际精度选择与风格强度,不把注释推荐当当前值。",
|
||
"unknowns": [
|
||
"位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证",
|
||
"注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证",
|
||
"静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出",
|
||
"模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对"
|
||
]
|
||
},
|
||
"source_sha": "148c4d90cbd7c4a90ff4f4abf46e974c9ca0b06f",
|
||
"unconfirmed": [
|
||
"逐参数语义、单位、范围和调整效果未定稿",
|
||
"UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出",
|
||
"模型/节点包位置、素材可用性及实际输出未在目标环境核对"
|
||
]
|
||
},
|
||
"source_review_sha": "38bae17267c5f9796c132d89b1cf540134e51b3d7aaab3a9774e1590ff76d317",
|
||
"status": {
|
||
"doc_done": false,
|
||
"exec_verified": false,
|
||
"imported": true
|
||
},
|
||
"steps": [
|
||
"检查开关选用原始或增强提示词,再核对 SaveImage;本文件与 N 版不能仅按节点集合去重。",
|
||
"49两路尺寸进30,30输出保存29;内部15细节LoRA和21/22/28开关决定文本/模型分支。51说明启用提示增强和LoRA,48列FP8参考而10实际选int8_convrot;先核对实际精度选择与风格强度,不把注释推荐当当前值。",
|
||
"打开源工作流 example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json,逐项核对下列源节点与注释。",
|
||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||
],
|
||
"title": "krea2_turbo_文生图"
|
||
}
|