Skip to content

Commit

Permalink
Add templating for new storage monitor and serverless api
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
robballantyne committed Dec 3, 2023
1 parent 72db57c commit c3cc549
Show file tree
Hide file tree
Showing 16 changed files with 485 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"input": {
"handler": "Image2Image",
"aws_access_key_id": "your-s3-access-key",
"aws_secret_access_key_id": "your-s3-secret-access-key",
"aws_endpoint_url": "https://my-endpoint.backblaze.com",
"aws_bucket_name": "your-bucket",
"ckpt_name": "v1-5-pruned-emaonly.ckpt",
"include_text": "photograph of a victorian woman, arms outstretched with angel wings. cloudy sky, meadow grass",
"exclude_text": "watermark, text",
"denoise": 0.87,
"input_image": "https://raw.githubusercontent.com/comfyanonymous/ComfyUI/master/input/example.png"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"input": {
"handler": "Text2Image",
"aws_access_key_id": "your-s3-access-key",
"aws_secret_access_key_id": "your-s3-secret-access-key",
"aws_endpoint_url": "https://my-endpoint.backblaze.com",
"aws_bucket_name": "your-bucket",
"steps": 20,
"ckpt_name": "v1-5-pruned-emaonly.ckpt",
"sampler_name": "euler",
"scheduler": "normal",
"include_text": "beautiful scenery nature glass bottle landscape, , purple galaxy bottle,",
"exclude_text": "text, watermark",
"width": 512,
"height": 512,
"batch_size": 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"input": {
"handler": "RawWorkflow",
"aws_access_key_id": "your-s3-access-key",
"aws_secret_access_key_id": "your-s3-secret-access-key",
"aws_endpoint_url": "https://my-endpoint.backblaze.com",
"aws_bucket_name": "your-bucket",
"workflow_json": {
"3": {
"inputs": {
"seed": 891858402356003,
"steps": 20,
"cfg": 8,
"sampler_name": "uni_pc_bh2",
"scheduler": "normal",
"denoise": 1,
"model": [
"34",
0
],
"positive": [
"23",
0
],
"negative": [
"7",
0
],
"latent_image": [
"5",
0
]
},
"class_type": "KSampler"
},
"5": {
"inputs": {
"width": 832,
"height": 384,
"batch_size": 1
},
"class_type": "EmptyLatentImage"
},
"7": {
"inputs": {
"text": "(hands), text, error, cropped, (worst quality:1.2), (low quality:1.2), normal quality, (jpeg artifacts:1.3), signature, watermark, username, blurry, artist name, monochrome, sketch, censorship, censor, (copyright:1.2)",
"clip": [
"34",
1
]
},
"class_type": "CLIPTextEncode"
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"34",
2
]
},
"class_type": "VAEDecode"
},
"9": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"8",
0
]
},
"class_type": "SaveImage"
},
"20": {
"inputs": {
"image": "https://upload.wikimedia.org/wikipedia/commons/3/3e/Stereogram_Tut_Shark_Depthmap.png",
"upload": "image"
},
"class_type": "LoadImage"
},
"23": {
"inputs": {
"strength": 1.0000000000000004,
"conditioning": [
"24",
0
],
"control_net": [
"33",
0
],
"image": [
"20",
0
]
},
"class_type": "ControlNetApply"
},
"24": {
"inputs": {
"text": "underwater photograph shark\n\n\n\n",
"clip": [
"34",
1
]
},
"class_type": "CLIPTextEncode"
},
"33": {
"inputs": {
"control_net_name": "diff_control_sd15_depth_fp16.safetensors",
"model": [
"34",
0
]
},
"class_type": "DiffControlNetLoader"
},
"34": {
"inputs": {
"ckpt_name": "v1-5-pruned-emaonly.ckpt"
},
"class_type": "CheckpointLoaderSimple"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"input": {
"handler": "RawWorkflow",
"aws_access_key_id": "your-s3-access-key",
"aws_secret_access_key_id": "your-s3-secret-access-key",
"aws_endpoint_url": "https://my-endpoint.backblaze.com",
"aws_bucket_name": "your-bucket",
"workflow_json": {
{
"3": {
"inputs": {
"seed": 280823642470253,
"steps": 20,
"cfg": 8,
"sampler_name": "dpmpp_2m",
"scheduler": "normal",
"denoise": 0.8700000000000001,
"model": [
"14",
0
],
"positive": [
"6",
0
],
"negative": [
"7",
0
],
"latent_image": [
"12",
0
]
},
"class_type": "KSampler"
},
"6": {
"inputs": {
"text": "photograph of victorian woman with wings, sky clouds, meadow grass",
"clip": [
"14",
1
]
},
"class_type": "CLIPTextEncode"
},
"7": {
"inputs": {
"text": "watermark, text",
"clip": [
"14",
1
]
},
"class_type": "CLIPTextEncode"
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"14",
2
]
},
"class_type": "VAEDecode"
},
"9": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"8",
0
]
},
"class_type": "SaveImage"
},
"10": {
"inputs": {
"image": "https://raw.githubusercontent.com/comfyanonymous/ComfyUI/master/input/example.png",
"upload": "image"
},
"class_type": "LoadImage"
},
"12": {
"inputs": {
"pixels": [
"10",
0
],
"vae": [
"14",
2
]
},
"class_type": "VAEEncode"
},
"14": {
"inputs": {
"ckpt_name": "v1-5-pruned-emaonly.ckpt"
},
"class_type": "CheckpointLoaderSimple"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"input": {
"handler": "RawWorkflow",
"aws_access_key_id": "your-s3-access-key",
"aws_secret_access_key_id": "your-s3-secret-access-key",
"aws_endpoint_url": "https://my-endpoint.backblaze.com",
"aws_bucket_name": "your-bucket",
"workflow_json": {
{
"3": {
"inputs": {
"seed": 156680208700286,
"steps": 20,
"cfg": 8,
"sampler_name": "euler",
"scheduler": "normal",
"denoise": 1,
"model": [
"4",
0
],
"positive": [
"6",
0
],
"negative": [
"7",
0
],
"latent_image": [
"5",
0
]
},
"class_type": "KSampler"
},
"4": {
"inputs": {
"ckpt_name": "v1-5-pruned-emaonly.ckpt"
},
"class_type": "CheckpointLoaderSimple"
},
"5": {
"inputs": {
"width": 512,
"height": 512,
"batch_size": 1
},
"class_type": "EmptyLatentImage"
},
"6": {
"inputs": {
"text": "beautiful scenery nature glass bottle landscape, , purple galaxy bottle",
"clip": [
"4",
1
]
},
"class_type": "CLIPTextEncode"
},
"7": {
"inputs": {
"text": "text, watermark",
"clip": [
"4",
1
]
},
"class_type": "CLIPTextEncode"
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"4",
2
]
},
"class_type": "VAEDecode"
},
"9": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"8",
0
]
},
"class_type": "SaveImage"
}
}
}
}
}
Loading

0 comments on commit c3cc549

Please sign in to comment.