Files
ZHO-ZHO-ZHO-ComfyUI-Phi-3-mini/Phi-3-min Workflows/Phi-3-mini-4k + CosXL【Zho】.json
T

592 lines
9.8 KiB
JSON

{
"last_node_id": 11,
"last_link_id": 15,
"nodes": [
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
750,
810
],
"size": {
"0": 400,
"1": 80
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 8,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
7
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"low quality"
]
},
{
"id": 8,
"type": "CLIPTextEncode",
"pos": [
750,
710
],
"size": {
"0": 400,
"1": 54
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 9,
"slot_index": 0
},
{
"name": "text",
"type": "STRING",
"link": 11,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 3,
"type": "DisplayText_Zho",
"pos": [
1170,
1120
],
"size": {
"0": 410,
"1": 110
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 3,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
11
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "DisplayText_Zho"
},
"widgets_values": [
"",
"\"A stunning Lamborghini Huracán in the wild, breathtaking landscape, all four seasons' beauty, professional camera shot, advertisement, sunset ambiance.\""
]
},
{
"id": 10,
"type": "VAEDecode",
"pos": [
1170,
1020
],
"size": {
"0": 410,
"1": 50
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 13
},
{
"name": "vae",
"type": "VAE",
"link": 14,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 4,
"type": "KSampler",
"pos": [
1170,
710
],
"size": {
"0": 410,
"1": 262
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 6,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 10
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 7,
"slot_index": 2
},
{
"name": "latent_image",
"type": "LATENT",
"link": 12,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
745665541847989,
"randomize",
30,
3,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 6,
"type": "ModelSamplingContinuousEDM",
"pos": [
360,
860
],
"size": {
"0": 370,
"1": 110
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 5,
"slot_index": 0
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
6
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingContinuousEDM"
},
"widgets_values": [
"v_prediction",
120,
0.002
]
},
{
"id": 5,
"type": "CheckpointLoaderSimple",
"pos": [
360,
710
],
"size": {
"0": 370,
"1": 100
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
5
],
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
8,
9
],
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
14
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"cosxl.safetensors"
]
},
{
"id": 1,
"type": "Phi3mini_4k_ModelLoader_Zho",
"pos": [
360,
1180
],
"size": {
"0": 370,
"1": 50
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "Phi3mini_4k",
"type": "PHI3",
"links": [
1
],
"shape": 3,
"slot_index": 0
},
{
"name": "tokenizer",
"type": "TK",
"links": [
2
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Phi3mini_4k_ModelLoader_Zho"
}
},
{
"id": 9,
"type": "EmptyLatentImage",
"pos": [
360,
1020
],
"size": {
"0": 370,
"1": 110
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
12
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
6
]
},
{
"id": 2,
"type": "Phi3mini_4k_Zho",
"pos": [
750,
940
],
"size": {
"0": 400,
"1": 290
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "PHI3",
"link": 1
},
{
"name": "tokenizer",
"type": "TK",
"link": 2
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
3
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Phi3mini_4k_Zho"
},
"widgets_values": [
"炫酷的兰博基尼飞驰在旷野上,风景优美,四季风光,专业镜头,广告片,夕阳",
"You are creating a prompt for Stable Diffusion to generate an image. \nFirst step: understand the input and generate a text prompt for the input. \nSecond step: only respond in English with the prompt itself in phrase, but embellish it as needed but keep it under 200 tokens.",
0.5
]
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
362,
1280
],
"size": {
"0": 1220,
"1": 840
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 15
}
],
"title": "🏖️Phi3mini 4k + CosXL",
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
1,
1,
0,
2,
0,
"PHI3"
],
[
2,
1,
1,
2,
1,
"TK"
],
[
3,
2,
0,
3,
0,
"STRING"
],
[
5,
5,
0,
6,
0,
"MODEL"
],
[
6,
6,
0,
4,
0,
"MODEL"
],
[
7,
7,
0,
4,
2,
"CONDITIONING"
],
[
8,
5,
1,
7,
0,
"CLIP"
],
[
9,
5,
1,
8,
0,
"CLIP"
],
[
10,
8,
0,
4,
1,
"CONDITIONING"
],
[
11,
3,
0,
8,
1,
"STRING"
],
[
12,
9,
0,
4,
3,
"LATENT"
],
[
13,
4,
0,
10,
0,
"LATENT"
],
[
14,
5,
2,
10,
1,
"VAE"
],
[
15,
10,
0,
11,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}