503 lines
12 KiB
JSON
503 lines
12 KiB
JSON
{
|
||
"last_node_id": 15,
|
||
"last_link_id": 12,
|
||
"nodes": [
|
||
{
|
||
"id": 5,
|
||
"type": "EmptyLatentImage",
|
||
"pos": [
|
||
473,
|
||
609
|
||
],
|
||
"size": {
|
||
"0": 315,
|
||
"1": 106
|
||
},
|
||
"flags": {},
|
||
"order": 0,
|
||
"mode": 0,
|
||
"outputs": [
|
||
{
|
||
"name": "LATENT",
|
||
"type": "LATENT",
|
||
"links": [
|
||
2
|
||
],
|
||
"slot_index": 0,
|
||
"label": "LATENT"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "EmptyLatentImage"
|
||
},
|
||
"widgets_values": [
|
||
512,
|
||
512,
|
||
1
|
||
]
|
||
},
|
||
{
|
||
"id": 8,
|
||
"type": "VAEDecode",
|
||
"pos": [
|
||
1209,
|
||
188
|
||
],
|
||
"size": {
|
||
"0": 210,
|
||
"1": 46
|
||
},
|
||
"flags": {},
|
||
"order": 7,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "samples",
|
||
"type": "LATENT",
|
||
"link": 7,
|
||
"label": "samples"
|
||
},
|
||
{
|
||
"name": "vae",
|
||
"type": "VAE",
|
||
"link": 8,
|
||
"label": "vae"
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
9
|
||
],
|
||
"slot_index": 0,
|
||
"label": "IMAGE"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "VAEDecode"
|
||
}
|
||
},
|
||
{
|
||
"id": 3,
|
||
"type": "KSampler",
|
||
"pos": [
|
||
863,
|
||
186
|
||
],
|
||
"size": {
|
||
"0": 338.0391540527344,
|
||
"1": 571.4179077148438
|
||
},
|
||
"flags": {},
|
||
"order": 6,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"link": 1,
|
||
"label": "model"
|
||
},
|
||
{
|
||
"name": "positive",
|
||
"type": "CONDITIONING",
|
||
"link": 4,
|
||
"label": "positive"
|
||
},
|
||
{
|
||
"name": "negative",
|
||
"type": "CONDITIONING",
|
||
"link": 6,
|
||
"label": "negative"
|
||
},
|
||
{
|
||
"name": "latent_image",
|
||
"type": "LATENT",
|
||
"link": 2,
|
||
"label": "latent_image"
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "LATENT",
|
||
"type": "LATENT",
|
||
"links": [
|
||
7
|
||
],
|
||
"slot_index": 0,
|
||
"label": "LATENT"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "KSampler"
|
||
},
|
||
"widgets_values": [
|
||
817735087992348,
|
||
"randomize",
|
||
20,
|
||
8,
|
||
"dpmpp_2m",
|
||
"karras",
|
||
1
|
||
]
|
||
},
|
||
{
|
||
"id": 4,
|
||
"type": "CheckpointLoaderSimple",
|
||
"pos": [
|
||
-125,
|
||
488
|
||
],
|
||
"size": {
|
||
"0": 315,
|
||
"1": 98
|
||
},
|
||
"flags": {},
|
||
"order": 1,
|
||
"mode": 0,
|
||
"outputs": [
|
||
{
|
||
"name": "MODEL",
|
||
"type": "MODEL",
|
||
"links": [
|
||
1
|
||
],
|
||
"slot_index": 0,
|
||
"label": "MODEL"
|
||
},
|
||
{
|
||
"name": "CLIP",
|
||
"type": "CLIP",
|
||
"links": [
|
||
3,
|
||
5
|
||
],
|
||
"slot_index": 1,
|
||
"label": "CLIP"
|
||
},
|
||
{
|
||
"name": "VAE",
|
||
"type": "VAE",
|
||
"links": [
|
||
8
|
||
],
|
||
"slot_index": 2,
|
||
"label": "VAE"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "CheckpointLoaderSimple"
|
||
},
|
||
"widgets_values": [
|
||
"dreamshaper_8.safetensors"
|
||
]
|
||
},
|
||
{
|
||
"id": 9,
|
||
"type": "SaveImage",
|
||
"pos": [
|
||
1451,
|
||
189
|
||
],
|
||
"size": {
|
||
"0": 239.60360717773438,
|
||
"1": 334.3671569824219
|
||
},
|
||
"flags": {},
|
||
"order": 8,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"link": 9,
|
||
"label": "images"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "SaveImage"
|
||
},
|
||
"widgets_values": [
|
||
"ComfyUI"
|
||
]
|
||
},
|
||
{
|
||
"id": 7,
|
||
"type": "CLIPTextEncode",
|
||
"pos": [
|
||
414,
|
||
370
|
||
],
|
||
"size": {
|
||
"0": 425.27801513671875,
|
||
"1": 180.6060791015625
|
||
},
|
||
"flags": {},
|
||
"order": 3,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "clip",
|
||
"type": "CLIP",
|
||
"link": 5,
|
||
"label": "clip"
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "CONDITIONING",
|
||
"type": "CONDITIONING",
|
||
"links": [
|
||
6
|
||
],
|
||
"slot_index": 0,
|
||
"label": "CONDITIONING"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "CLIPTextEncode"
|
||
},
|
||
"widgets_values": [
|
||
"text, watermark",
|
||
false
|
||
]
|
||
},
|
||
{
|
||
"id": 6,
|
||
"type": "CLIPTextEncode",
|
||
"pos": [
|
||
411,
|
||
137
|
||
],
|
||
"size": {
|
||
"0": 422.84503173828125,
|
||
"1": 164.31304931640625
|
||
},
|
||
"flags": {},
|
||
"order": 4,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "clip",
|
||
"type": "CLIP",
|
||
"link": 3,
|
||
"label": "clip"
|
||
},
|
||
{
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"link": 11,
|
||
"widget": {
|
||
"name": "text"
|
||
},
|
||
"label": "text"
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "CONDITIONING",
|
||
"type": "CONDITIONING",
|
||
"links": [
|
||
4
|
||
],
|
||
"slot_index": 0,
|
||
"label": "CONDITIONING"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "CLIPTextEncode"
|
||
},
|
||
"widgets_values": [
|
||
"beautiful scenery nature glass bottle landscape, , purple galaxy bottle,",
|
||
false
|
||
]
|
||
},
|
||
{
|
||
"id": 14,
|
||
"type": "ShowText|pysssss",
|
||
"pos": [
|
||
392,
|
||
-219
|
||
],
|
||
"size": {
|
||
"0": 341.71337890625,
|
||
"1": 261.8714599609375
|
||
},
|
||
"flags": {},
|
||
"order": 5,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"link": 12,
|
||
"widget": {
|
||
"name": "text"
|
||
},
|
||
"label": "text"
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "STRING",
|
||
"type": "STRING",
|
||
"links": null,
|
||
"shape": 6,
|
||
"label": "STRING"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ShowText|pysssss"
|
||
},
|
||
"widgets_values": [
|
||
"",
|
||
"\n(best quality,4k,8k,highres,masterpiece:1.2),ultra-detailed,(realistic,photorealistic,photo-realistic:1.37),ancient warship,wooden hull,bronze cannons,bearded warriors in armor,rigged sails,stormy sea,crimson flag,medieval architecture,stone decks,rigid ropes,shiny metal,weathered wood,stormy sky,crashing waves,extreme detail description,professional,vivid colors,bokeh"
|
||
]
|
||
},
|
||
{
|
||
"id": 13,
|
||
"type": "Comflowy_LLM",
|
||
"pos": [
|
||
-133,
|
||
-228
|
||
],
|
||
"size": {
|
||
"0": 362.8030700683594,
|
||
"1": 619.6361083984375
|
||
},
|
||
"flags": {},
|
||
"order": 2,
|
||
"mode": 0,
|
||
"outputs": [
|
||
{
|
||
"name": "STRING",
|
||
"type": "STRING",
|
||
"links": [
|
||
11,
|
||
12
|
||
],
|
||
"slot_index": 0,
|
||
"shape": 3,
|
||
"label": "STRING"
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "Comflowy_LLM"
|
||
},
|
||
"widgets_values": [
|
||
"一艘古代战舰",
|
||
"# Role: Stable Diffusion prompt 助理\n你来充当一位有艺术气息的Stable Diffusion prompt 助理。\n\n## 任务\n我用自然语言告诉你要生成的prompt的主题,你的任务是根据这个主题想象一幅完整的画面,然后转化成一份详细的、高质量的prompt,让Stable Diffusion可以生成高质量的图像。\n\n## 背景介绍\nStable Diffusion是一款利用深度学习的文生图模型,支持通过使用 prompt 来产生新的图像,描述要包含或省略的元素。\n\n## prompt 概念\n- prompt 用来描述图像,由普通常见的单词构成,使用英文半角\",\"做为分隔符。\n- negative prompt用来描述你不想在生成的图像中出现的内容。\n- 以\",\"分隔的每个单词或词组称为 tag。所以prompt是由系列由\",\"分隔的tag组成的。\n\n## () 和 [] 语法\n调整关键字强度的等效方法是使用 () 和 []。 (keyword) 将tag的强度增加 1.1 倍,与 (keyword:1.1) 相同,最多可加三层。 [keyword] 将强度降低 0.9 倍,与 (keyword:0.9) 相同。\n\n## Prompt 格式要求\n下面我将说明 prompt 的生成步骤,这里的 prompt 可用于描述人物、风景、物体或抽象数字艺术图画。你可以根据需要添加合理的、但不少于5处的画面细节。\n\n### prompt 要求\n- prompt 内容包含画面主体、材质、附加细节、图像质量、艺术风格、色彩色调、灯光等部分,但你输出的 prompt 不能分段,例如类似\"medium:\"这样的分段描述是不需要的,也不能包含\":\"和\".\"。\n- 画面主体:不简短的英文描述画面主体, 如 A girl in a garden,主体细节概括(主体可以是人、事、物、景)画面核心内容。这部分根据我每次给你的主题来生成。你可以添加更多主题相关的合理的细节。\n- 对于人物主题,你必须描述人物的眼睛、鼻子、嘴唇,例如'beautiful detailed eyes,beautiful detailed lips,extremely detailed eyes and face,longeyelashes',以免Stable Diffusion随机生成变形的面部五官,这点非常重要。你还可以描述人物的外表、情绪、衣服、姿势、视角、动作、背景等。人物属性中,1girl表示一个女孩,2girls表示两个女孩。\n- 材质:用来制作艺术品的材料。 例如:插图、油画、3D 渲染和摄影。 Medium 有很强的效果,因为一个关键字就可以极大地改变风格。\n- 附加细节:画面场景细节,或人物细节,描述画面细节内容,让图像看起来更充实和合理。这部分是可选的,要注意画面的整体和谐,不能与主题冲突。\n- 图像质量:这部分内容开头永远要加上“(best quality,4k,8k,highres,masterpiece:1.2),ultra-detailed,(realistic,photorealistic,photo-realistic:1.37)”, 这是高质量的标志。其它常用的提高质量的tag还有,你可以根据主题的需求添加:HDR,UHD,studio lighting,ultra-fine painting,sharp focus,physically-based rendering,extreme detail description,professional,vivid colors,bokeh。\n- 艺术风格:这部分描述图像的风格。加入恰当的艺术风格,能提升生成的图像效果。常用的艺术风格例如:portraits,landscape,horror,anime,sci-fi,photography,concept artists等。\n- 色彩色调:颜色,通过添加颜色来控制画面的整体颜色。\n- 灯光:整体画面的光线效果。\n\n### 限制:\n- tag 内容用英语单词或短语来描述,并不局限于我给你的单词。注意只能包含关键词或词组。\n- 注意不要输出句子,不要有任何解释。\n- tag数量限制40个以内,单词数量限制在60个以内。\n- tag不要带引号(\"\")。\n- 使用英文半角\",\"做分隔符。\n- tag 按重要性从高到低的顺序排列。\n- 我给你的主题可能是用中文描述,你给出的prompt和negative prompt只用英文,不要包含中文。",
|
||
"THUDM/glm-4-9b-chat",
|
||
"",
|
||
28799307290994,
|
||
"randomize",
|
||
false,
|
||
false
|
||
]
|
||
}
|
||
],
|
||
"links": [
|
||
[
|
||
1,
|
||
4,
|
||
0,
|
||
3,
|
||
0,
|
||
"MODEL"
|
||
],
|
||
[
|
||
2,
|
||
5,
|
||
0,
|
||
3,
|
||
3,
|
||
"LATENT"
|
||
],
|
||
[
|
||
3,
|
||
4,
|
||
1,
|
||
6,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
[
|
||
4,
|
||
6,
|
||
0,
|
||
3,
|
||
1,
|
||
"CONDITIONING"
|
||
],
|
||
[
|
||
5,
|
||
4,
|
||
1,
|
||
7,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
[
|
||
6,
|
||
7,
|
||
0,
|
||
3,
|
||
2,
|
||
"CONDITIONING"
|
||
],
|
||
[
|
||
7,
|
||
3,
|
||
0,
|
||
8,
|
||
0,
|
||
"LATENT"
|
||
],
|
||
[
|
||
8,
|
||
4,
|
||
2,
|
||
8,
|
||
1,
|
||
"VAE"
|
||
],
|
||
[
|
||
9,
|
||
8,
|
||
0,
|
||
9,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
11,
|
||
13,
|
||
0,
|
||
6,
|
||
1,
|
||
"STRING"
|
||
],
|
||
[
|
||
12,
|
||
13,
|
||
0,
|
||
14,
|
||
0,
|
||
"STRING"
|
||
]
|
||
],
|
||
"groups": [],
|
||
"config": {},
|
||
"extra": {
|
||
"ds": {
|
||
"scale": 0.8264462809917354,
|
||
"offset": [
|
||
255.78564012490165,
|
||
461.2748835297254
|
||
]
|
||
}
|
||
},
|
||
"version": 0.4
|
||
} |