Calliope 1.1.0: publish backend, web, and example workflows
This commit is contained in:
@@ -0,0 +1,536 @@
|
||||
{
|
||||
"29": {
|
||||
"inputs": {
|
||||
"filename_prefix": "krea2_identity_edit/CharSheet",
|
||||
"images": [
|
||||
"54",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveImage",
|
||||
"_meta": {
|
||||
"title": "(output:image) Character Sheet"
|
||||
}
|
||||
},
|
||||
"53": {
|
||||
"inputs": {
|
||||
"seed": 908245965848740,
|
||||
"steps": 10,
|
||||
"cfg": 1,
|
||||
"sampler_name": "euler",
|
||||
"scheduler": "simple",
|
||||
"denoise": 1,
|
||||
"model": [
|
||||
"120",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"119",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"85",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"135",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "KSampler",
|
||||
"_meta": {
|
||||
"title": "KSampler"
|
||||
}
|
||||
},
|
||||
"54": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"53",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"57",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
},
|
||||
"55": {
|
||||
"inputs": {
|
||||
"unet_name": "Krea-2-Turbo.safetensors",
|
||||
"weight_dtype": "default"
|
||||
},
|
||||
"class_type": "UNETLoader",
|
||||
"_meta": {
|
||||
"title": "Load Diffusion Model"
|
||||
}
|
||||
},
|
||||
"56": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
|
||||
"type": "krea2",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"57": {
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"73": {
|
||||
"inputs": {
|
||||
"pixels": [
|
||||
"123",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"57",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEEncode",
|
||||
"_meta": {
|
||||
"title": "VAE Encode"
|
||||
}
|
||||
},
|
||||
"85": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"grounding_px": 768,
|
||||
"system_prompt": "",
|
||||
"clip": [
|
||||
"56",
|
||||
0
|
||||
],
|
||||
"image": [
|
||||
"123",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Krea2EditGroundedEncode",
|
||||
"_meta": {
|
||||
"title": "negative (leave empty)"
|
||||
}
|
||||
},
|
||||
"117": {
|
||||
"inputs": {
|
||||
"vae": [
|
||||
"57",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEEncode",
|
||||
"_meta": {
|
||||
"title": "VAE Encode"
|
||||
}
|
||||
},
|
||||
"119": {
|
||||
"inputs": {
|
||||
"prompt": "Convert the character in the image to a Character Sheet showing a face close-up, front full body, side full body and back full body views.",
|
||||
"grounding_px": 0,
|
||||
"system_prompt": "",
|
||||
"clip": [
|
||||
"56",
|
||||
0
|
||||
],
|
||||
"image": [
|
||||
"123",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Krea2EditGroundedEncode",
|
||||
"_meta": {
|
||||
"title": "Krea2 Edit (grounded encode)"
|
||||
}
|
||||
},
|
||||
"120": {
|
||||
"inputs": {
|
||||
"ref_boost": 1,
|
||||
"ref_boost_a": 1,
|
||||
"fit_mode": "fit",
|
||||
"model": [
|
||||
"127",
|
||||
0
|
||||
],
|
||||
"source_latent": [
|
||||
"73",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"57",
|
||||
0
|
||||
],
|
||||
"source_image": [
|
||||
"123",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Krea2EditModelPatch",
|
||||
"_meta": {
|
||||
"title": "Krea2 Edit (source patch)"
|
||||
}
|
||||
},
|
||||
"121": {
|
||||
"inputs": {
|
||||
"image": [
|
||||
"123",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "GetImageSize",
|
||||
"_meta": {
|
||||
"title": "Get Image Size"
|
||||
}
|
||||
},
|
||||
"123": {
|
||||
"inputs": {
|
||||
"width": 1024,
|
||||
"height": 1024,
|
||||
"upscale_method": "lanczos",
|
||||
"keep_proportion": "resize",
|
||||
"pad_color": "0, 0, 0",
|
||||
"crop_position": "center",
|
||||
"divisible_by": 2,
|
||||
"device": "cpu",
|
||||
"image": [
|
||||
"147",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ImageResizeKJv2",
|
||||
"_meta": {
|
||||
"title": "Resize Image v2"
|
||||
}
|
||||
},
|
||||
"127": {
|
||||
"inputs": {
|
||||
"lora_name": "krea2\\QuadView_krea2_v1.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"55",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"135": {
|
||||
"inputs": {
|
||||
"width": 1536,
|
||||
"height": 1024,
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "EmptySD3LatentImage",
|
||||
"_meta": {
|
||||
"title": "EmptySD3LatentImage"
|
||||
}
|
||||
},
|
||||
"144": {
|
||||
"inputs": {
|
||||
"text": [
|
||||
"163",
|
||||
0
|
||||
],
|
||||
"clip": [
|
||||
"149",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CLIPTextEncode",
|
||||
"_meta": {
|
||||
"title": "CLIP Text Encode (Prompt)"
|
||||
}
|
||||
},
|
||||
"145": {
|
||||
"inputs": {
|
||||
"width": 1024,
|
||||
"height": 1024,
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "EmptyLatentImage",
|
||||
"_meta": {
|
||||
"title": "Empty Latent Image"
|
||||
}
|
||||
},
|
||||
"146": {
|
||||
"inputs": {
|
||||
"seed": 328782017276463,
|
||||
"steps": 8,
|
||||
"cfg": 1,
|
||||
"sampler_name": "euler",
|
||||
"scheduler": "simple",
|
||||
"denoise": 1,
|
||||
"model": [
|
||||
"159",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"144",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"151",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"145",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "KSampler",
|
||||
"_meta": {
|
||||
"title": "KSampler"
|
||||
}
|
||||
},
|
||||
"147": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"146",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"150",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
},
|
||||
"148": {
|
||||
"inputs": {
|
||||
"unet_name": "Krea-2-Turbo.safetensors",
|
||||
"weight_dtype": "default"
|
||||
},
|
||||
"class_type": "UNETLoader",
|
||||
"_meta": {
|
||||
"title": "Load Diffusion Model"
|
||||
}
|
||||
},
|
||||
"149": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
|
||||
"type": "krea2",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"150": {
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"151": {
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"144",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ConditioningZeroOut",
|
||||
"_meta": {
|
||||
"title": "Conditioning Zero Out"
|
||||
}
|
||||
},
|
||||
"152": {
|
||||
"inputs": {
|
||||
"lora_name": "krea2\\Krea2-realism-V2.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"148",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"153": {
|
||||
"inputs": {
|
||||
"prompt": [
|
||||
"154",
|
||||
0
|
||||
],
|
||||
"max_length": 512,
|
||||
"sampling_mode": "on",
|
||||
"sampling_mode.temperature": 0.7,
|
||||
"sampling_mode.top_k": 64,
|
||||
"sampling_mode.top_p": 0.95,
|
||||
"sampling_mode.min_p": 0.05,
|
||||
"sampling_mode.repetition_penalty": 1.05,
|
||||
"sampling_mode.seed": 0,
|
||||
"sampling_mode.presence_penalty": 0,
|
||||
"thinking": true,
|
||||
"use_default_template": true,
|
||||
"clip": [
|
||||
"149",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextGenerate",
|
||||
"_meta": {
|
||||
"title": "Generate Text"
|
||||
}
|
||||
},
|
||||
"154": {
|
||||
"inputs": {
|
||||
"string_a": [
|
||||
"155",
|
||||
0
|
||||
],
|
||||
"string_b": [
|
||||
"156",
|
||||
0
|
||||
],
|
||||
"delimiter": ""
|
||||
},
|
||||
"class_type": "StringConcatenate",
|
||||
"_meta": {
|
||||
"title": "Concatenate Text"
|
||||
}
|
||||
},
|
||||
"155": {
|
||||
"inputs": {
|
||||
"value": "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"
|
||||
},
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"_meta": {
|
||||
"title": "Text String (System Prompt)"
|
||||
}
|
||||
},
|
||||
"156": {
|
||||
"inputs": {
|
||||
"value": ""
|
||||
},
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"_meta": {
|
||||
"title": "(Input:prompt) Character Prompt Not Sheet"
|
||||
}
|
||||
},
|
||||
"157": {
|
||||
"inputs": {
|
||||
"source": [
|
||||
"158",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewAny",
|
||||
"_meta": {
|
||||
"title": "Preview as Text"
|
||||
}
|
||||
},
|
||||
"158": {
|
||||
"inputs": {
|
||||
"switch": [
|
||||
"161",
|
||||
0
|
||||
],
|
||||
"on_false": [
|
||||
"156",
|
||||
0
|
||||
],
|
||||
"on_true": [
|
||||
"153",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ComfySwitchNode",
|
||||
"_meta": {
|
||||
"title": "If/Else Switch"
|
||||
}
|
||||
},
|
||||
"159": {
|
||||
"inputs": {
|
||||
"switch": [
|
||||
"160",
|
||||
0
|
||||
],
|
||||
"on_false": [
|
||||
"148",
|
||||
0
|
||||
],
|
||||
"on_true": [
|
||||
"152",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ComfySwitchNode",
|
||||
"_meta": {
|
||||
"title": "Switch (Model)"
|
||||
}
|
||||
},
|
||||
"160": {
|
||||
"inputs": {
|
||||
"value": false
|
||||
},
|
||||
"class_type": "PrimitiveBoolean",
|
||||
"_meta": {
|
||||
"title": "Boolean (Enable LoRA?)"
|
||||
}
|
||||
},
|
||||
"161": {
|
||||
"inputs": {
|
||||
"value": true
|
||||
},
|
||||
"class_type": "PrimitiveBoolean",
|
||||
"_meta": {
|
||||
"title": "Boolean (Refine Prompt?)"
|
||||
}
|
||||
},
|
||||
"162": {
|
||||
"inputs": {
|
||||
"string_a": [
|
||||
"157",
|
||||
0
|
||||
],
|
||||
"string_b": "muted minimalist sketch style",
|
||||
"delimiter": ", "
|
||||
},
|
||||
"class_type": "StringConcatenate",
|
||||
"_meta": {
|
||||
"title": "Concatenate Text (LoRA Trigger Word)"
|
||||
}
|
||||
},
|
||||
"163": {
|
||||
"inputs": {
|
||||
"switch": [
|
||||
"160",
|
||||
0
|
||||
],
|
||||
"on_false": [
|
||||
"157",
|
||||
0
|
||||
],
|
||||
"on_true": [
|
||||
"162",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ComfySwitchNode",
|
||||
"_meta": {
|
||||
"title": "If/Else Switch"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user