From 666b5d7a60dfc0cca5aad04c7c4b84961184c34a Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Thu, 7 Sep 2023 15:58:39 +1000 Subject: [PATCH] added example workflows --- docs/nodes/exampleWorkflows.md | 16 +- ...img2img upscale w_ Lineart ControlNet.json | 1010 ++++++++++++ docs/workflows/SDXL Text to Image.json | 735 +++++++++ .../SDXL w_Refiner Text to Image.json | 1404 +++++++++++++++++ docs/workflows/Text to Image.json | 573 +++++++ 5 files changed, 3728 insertions(+), 10 deletions(-) create mode 100644 docs/workflows/ESRGAN img2img upscale w_ Lineart ControlNet.json create mode 100644 docs/workflows/SDXL Text to Image.json create mode 100644 docs/workflows/SDXL w_Refiner Text to Image.json create mode 100644 docs/workflows/Text to Image.json diff --git a/docs/nodes/exampleWorkflows.md b/docs/nodes/exampleWorkflows.md index 5f8dabb67c..0f5393532f 100644 --- a/docs/nodes/exampleWorkflows.md +++ b/docs/nodes/exampleWorkflows.md @@ -1,15 +1,11 @@ # Example Workflows -TODO: Will update once uploading workflows is available. +We've curated some example workflows for you to get started with Workflows in InvokeAI -## Text2Image +To use them, download your desired workflow, and use the "Load Workflow" functionality in InvokeAI to load the workflow and start generating images! -## Image2Image +* SD1.5 / SD2 Text to Image +* SDXL Text to Image +* SDXL (with Refiner) Text to Image +* Tiled Upscaling with ControlNet -## ControlNet - -## Upscaling - -## Inpainting / Outpainting - -## LoRAs diff --git a/docs/workflows/ESRGAN img2img upscale w_ Lineart ControlNet.json b/docs/workflows/ESRGAN img2img upscale w_ Lineart ControlNet.json new file mode 100644 index 0000000000..c963ace025 --- /dev/null +++ b/docs/workflows/ESRGAN img2img upscale w_ Lineart ControlNet.json @@ -0,0 +1,1010 @@ +{ + "name": "ESRGAN img2img upscale w_ Lineart ControlNet", + "author": "InvokeAI", + "description": "Sample workflow for using Upscaling with ControlNet with SD1.5", + "version": "1.0.1", + "contact": "invoke@invoke.ai", + "tags": "tiled, upscale controlnet, default", + "notes": "", + "exposedFields": [ + { + "nodeId": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "fieldName": "model" + }, + { + "nodeId": "c394834e-cab7-4c0c-919e-2e35eba7f34e", + "fieldName": "prompt" + }, + { + "nodeId": "465c7e6e-278f-49b0-87ab-642e88cd076f", + "fieldName": "prompt" + }, + { + "nodeId": "4e2833b2-5d35-45ec-ae65-89ea1846a3f4", + "fieldName": "image" + } + ], + "meta": { + "version": "1.0.0" + }, + "nodes": [ + { + "id": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "type": "invocation", + "data": { + "id": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "type": "main_model_loader", + "inputs": { + "model": { + "id": "4fcc98ee-1c70-4ad3-aaee-df72e0d4ecb9", + "name": "model", + "type": "MainModelField", + "fieldKind": "input", + "label": "", + "value": { + "model_name": "stable-diffusion-v1-5", + "base_model": "sd-1", + "model_type": "main" + } + } + }, + "outputs": { + "unet": { + "id": "3ecbc0ff-a7b0-43de-a81f-039210cbda50", + "name": "unet", + "type": "UNetField", + "fieldKind": "output" + }, + "clip": { + "id": "4e55bd72-5409-4fba-9929-4177e4ae9c34", + "name": "clip", + "type": "ClipField", + "fieldKind": "output" + }, + "vae": { + "id": "0095495c-4424-451f-a8f5-26dc840a3c56", + "name": "vae", + "type": "VaeField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 202, + "position": { + "x": 175, + "y": 300 + } + }, + { + "id": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "type": "invocation", + "data": { + "id": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "type": "noise", + "inputs": { + "seed": { + "id": "a64e30f7-f9f4-4d67-a5aa-af5924205f92", + "name": "seed", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "width": { + "id": "054eaa35-63af-41c9-b13f-e9c2aaeeca43", + "name": "width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 512 + }, + "height": { + "id": "6e9a642c-fe1d-477f-ae66-1706471f7d73", + "name": "height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 512 + }, + "use_cpu": { + "id": "caa3c8ba-aed5-44d8-88d9-4f48a75d59a4", + "name": "use_cpu", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": true + } + }, + "outputs": { + "noise": { + "id": "133dbb18-f862-430b-b9a0-613aa8e61c7d", + "name": "noise", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "2e31961a-af0c-497b-9ae2-429cb6c2f5a1", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "eca33bb8-37bb-4bfd-b7c7-3dba01207374", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1400, + "y": 650 + } + }, + { + "id": "c2172a8b-1b5f-4330-acbe-dd2565c3b988", + "type": "invocation", + "data": { + "id": "c2172a8b-1b5f-4330-acbe-dd2565c3b988", + "type": "l2i", + "inputs": { + "tiled": { + "id": "406bccc1-d757-4578-b46e-be6141c03385", + "name": "tiled", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "fp32": { + "id": "960ec115-547c-45c8-af2a-569214d9409c", + "name": "fp32", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "latents": { + "id": "c8658cc5-3762-499d-9cad-eceb8f9dde4e", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "vae": { + "id": "c35cf05c-0985-4bc4-9b05-0c89799bb888", + "name": "vae", + "type": "VaeField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "image": { + "id": "25afb2bc-c964-4cd3-8332-4d0e9ea65d3a", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "aff7065e-8ce0-44aa-bb6e-d16925279fdd", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "6f5e8706-7a9b-4455-beb8-3d2e2ceabbc2", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": true, + "isIntermediate": false + }, + "width": 320, + "height": 266, + "position": { + "x": 2225, + "y": 450 + } + }, + { + "id": "c394834e-cab7-4c0c-919e-2e35eba7f34e", + "type": "invocation", + "data": { + "id": "c394834e-cab7-4c0c-919e-2e35eba7f34e", + "type": "compel", + "inputs": { + "prompt": { + "id": "fef594dd-07d3-47e6-97d0-1803b55a0f26", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Positive Prompt", + "value": "tiger" + }, + "clip": { + "id": "e5639045-aa13-48c2-a172-869774aecab6", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "3249093e-0bc4-42a7-8a9b-2172fb89e915", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 235, + "position": { + "x": 975, + "y": -25 + } + }, + { + "id": "465c7e6e-278f-49b0-87ab-642e88cd076f", + "type": "invocation", + "data": { + "id": "465c7e6e-278f-49b0-87ab-642e88cd076f", + "type": "compel", + "inputs": { + "prompt": { + "id": "9a3ac8ea-7655-4806-ab8c-b7a18a253181", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Negative Prompt", + "value": "" + }, + "clip": { + "id": "1d348def-bb7d-4bab-b983-9f55c933ea67", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "f92febc1-67c4-45d4-b2e4-9ba470e4ccef", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 235, + "position": { + "x": 975, + "y": 250 + } + }, + { + "id": "4e2833b2-5d35-45ec-ae65-89ea1846a3f4", + "type": "invocation", + "data": { + "id": "4e2833b2-5d35-45ec-ae65-89ea1846a3f4", + "type": "image", + "inputs": { + "image": { + "id": "0b2f59b4-9994-4c99-9309-5434c746abb9", + "name": "image", + "type": "ImageField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "image": { + "id": "9a41092e-50ec-4530-95b2-33d9207a8f50", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "6462e3b2-6450-45fd-9fee-0fbe25537ed0", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "94c0d477-8753-4976-ba91-b9eb7ad71285", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 225, + "position": { + "x": 50, + "y": 750 + } + }, + { + "id": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "type": "invocation", + "data": { + "id": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "type": "i2l", + "inputs": { + "image": { + "id": "b69df743-8045-4ffe-bb14-71b7f9c17c5f", + "name": "image", + "type": "ImageField", + "fieldKind": "input", + "label": "" + }, + "vae": { + "id": "a98a3497-34c5-46f7-9eaf-c24eab5d481a", + "name": "vae", + "type": "VaeField", + "fieldKind": "input", + "label": "" + }, + "tiled": { + "id": "706dc2c8-1820-42a7-98e1-bcd631737e7b", + "name": "tiled", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "fp32": { + "id": "5fc3bc04-c66e-46db-be2a-470c9d64b0d8", + "name": "fp32", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + } + }, + "outputs": { + "latents": { + "id": "50b89da5-e7ed-45cd-b74e-83c07e510ccd", + "name": "latents", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "7be69dad-837f-4c98-8ae2-c7aacaa44b52", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "66e3c7ec-3848-4afb-84bb-ff3a09e47089", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 299, + "position": { + "x": 975, + "y": 525 + } + }, + { + "id": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "type": "invocation", + "data": { + "id": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "type": "denoise_latents", + "inputs": { + "noise": { + "id": "6b894db2-ee45-45b6-b531-573311ddea73", + "name": "noise", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "steps": { + "id": "7e7693fe-6c0c-464a-8535-2ed517766c19", + "name": "steps", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 64 + }, + "cfg_scale": { + "id": "890ba738-690c-44a3-97cd-c589257b531a", + "name": "cfg_scale", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 7.5 + }, + "denoising_start": { + "id": "0e157ca8-5c06-499a-be6d-283fb834df32", + "name": "denoising_start", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0.7 + }, + "denoising_end": { + "id": "915bc497-cb58-40a5-8089-2ece7213be21", + "name": "denoising_end", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 1 + }, + "scheduler": { + "id": "694471cd-8708-411b-9d88-2ae725254ff0", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "input", + "label": "", + "value": "euler_a" + }, + "control": { + "id": "b14cff5e-30ea-4d61-b27c-8247063699ad", + "name": "control", + "type": "ControlField", + "fieldKind": "input", + "label": "" + }, + "latents": { + "id": "0528dbfd-d661-4c73-b493-722b27e37201", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "denoise_mask": { + "id": "ea7d6070-4f00-4b77-b49e-ffe1ca0e3fea", + "name": "denoise_mask", + "type": "DenoiseMaskField", + "fieldKind": "input", + "label": "" + }, + "positive_conditioning": { + "id": "56a3fa76-9eb4-4680-8a4d-169696034525", + "name": "positive_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "negative_conditioning": { + "id": "0eed85bc-d5bd-4de4-8155-0c08f1ac5e32", + "name": "negative_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "unet": { + "id": "87ab9e45-a92f-4d47-a9f6-a65fe23373de", + "name": "unet", + "type": "UNetField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "latents": { + "id": "d12e0bd6-7d35-4d12-84c0-540c26ba01c8", + "name": "latents", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "201ca444-2d10-4bab-b6be-e1b5be97e1b0", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "74ce84a5-b68c-4503-8a7d-bc017024678a", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 558, + "position": { + "x": 1800, + "y": 350 + } + }, + { + "id": "39abdb3e-f8d1-4b0a-bab1-547d9e25b78e", + "type": "invocation", + "data": { + "id": "39abdb3e-f8d1-4b0a-bab1-547d9e25b78e", + "type": "rand_int", + "inputs": { + "low": { + "id": "10eff2d0-929f-45ca-a1ba-68c3e742db71", + "name": "low", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "high": { + "id": "b6e39169-e6ee-496a-8046-5444497036c2", + "name": "high", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 2147483647 + } + }, + "outputs": { + "value": { + "id": "cc477a7a-36bc-458f-b7ac-6717bac6f12b", + "name": "value", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 975, + "y": 850 + } + }, + { + "id": "08c41d50-fb10-43a9-a58b-fc15ee678a83", + "type": "invocation", + "data": { + "id": "08c41d50-fb10-43a9-a58b-fc15ee678a83", + "type": "esrgan", + "inputs": { + "image": { + "id": "01b92996-26aa-412b-9eba-d13cb7b370a8", + "name": "image", + "type": "ImageField", + "fieldKind": "input", + "label": "" + }, + "model_name": { + "id": "3fc7bf6a-e181-4236-b746-48b011351af1", + "name": "model_name", + "type": "enum", + "fieldKind": "input", + "label": "", + "value": "RealESRGAN_x2plus.pth" + } + }, + "outputs": { + "image": { + "id": "6feb0664-c61d-4fcd-8226-ed81591dcb0c", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "61650a80-7d2f-4509-8600-574c5cc6e569", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "fcb00841-f068-475e-ac90-0874313fd7fa", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 282, + "position": { + "x": 475, + "y": 725 + } + }, + { + "id": "30598d37-cf80-4e12-896a-7683cf727e77", + "type": "invocation", + "data": { + "id": "30598d37-cf80-4e12-896a-7683cf727e77", + "type": "controlnet", + "inputs": { + "image": { + "id": "d44259eb-bc93-4d4b-9665-a7895e5a77ab", + "name": "image", + "type": "ImageField", + "fieldKind": "input", + "label": "" + }, + "control_model": { + "id": "2021065f-d5c9-47ad-bfea-03eea03a19ce", + "name": "control_model", + "type": "ControlNetModelField", + "fieldKind": "input", + "label": "", + "value": { + "model_name": "sd-controlnet-canny", + "base_model": "sd-1" + } + }, + "control_weight": { + "id": "f856e29f-303f-4507-8c39-71ccc636f67c", + "name": "control_weight", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 1 + }, + "begin_step_percent": { + "id": "f9187fa7-1510-439d-9c9b-e5fa990639b0", + "name": "begin_step_percent", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "end_step_percent": { + "id": "3f7c15c3-2b80-49a8-8eec-57d277c37364", + "name": "end_step_percent", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 1 + }, + "control_mode": { + "id": "f34cb991-ecb5-423c-865f-9890b2fa9d23", + "name": "control_mode", + "type": "enum", + "fieldKind": "input", + "label": "", + "value": "balanced" + }, + "resize_mode": { + "id": "552142f6-f6a6-4291-803c-68caefec7c6d", + "name": "resize_mode", + "type": "enum", + "fieldKind": "input", + "label": "", + "value": "just_resize" + } + }, + "outputs": { + "control": { + "id": "6160265b-4a8d-4fc5-8e1f-d793a353d2db", + "name": "control", + "type": "ControlField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 480, + "position": { + "x": 1375, + "y": 875 + } + }, + { + "id": "b79732f8-6126-4d06-9c8a-4e84bd5b1ac9", + "type": "invocation", + "data": { + "id": "b79732f8-6126-4d06-9c8a-4e84bd5b1ac9", + "type": "vae_loader", + "inputs": { + "vae_model": { + "id": "b68038ae-b8cb-4e29-9581-da50d55af462", + "name": "vae_model", + "type": "VaeModelField", + "fieldKind": "input", + "label": "", + "value": { + "model_name": "sd-vae-ft-mse", + "base_model": "sd-1" + } + } + }, + "outputs": { + "vae": { + "id": "82f4ba9d-5e3a-4b48-b7a4-37de956663d7", + "name": "vae", + "type": "VaeField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 138, + "position": { + "x": 175, + "y": 525 + } + }, + { + "id": "b10d39ab-7bc9-48bc-b883-2fd50920876d", + "type": "invocation", + "data": { + "id": "b10d39ab-7bc9-48bc-b883-2fd50920876d", + "type": "canny_image_processor", + "inputs": { + "image": { + "id": "dee9cdf2-9b3f-4d20-8433-ef7d6f6526bd", + "name": "image", + "type": "ImageField", + "fieldKind": "input", + "label": "" + }, + "low_threshold": { + "id": "4eaefd37-9fbe-4b73-8a17-c60d4e1d7e39", + "name": "low_threshold", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 100 + }, + "high_threshold": { + "id": "c394720b-546b-464e-8f53-d20bfda4ee04", + "name": "high_threshold", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 200 + } + }, + "outputs": { + "image": { + "id": "80fcdf76-dfc3-41a1-99ea-5ab2aa5fde07", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "3fa5e5a9-ff60-44d2-8d91-635d0c798f15", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "01a10c42-d485-4436-af8b-03d71c59bc8c", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 339, + "position": { + "x": 925, + "y": 925 + } + } + ], + "edges": [ + { + "source": "39abdb3e-f8d1-4b0a-bab1-547d9e25b78e", + "target": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "id": "39abdb3e-f8d1-4b0a-bab1-547d9e25b78e-167ffc36-4cb7-425c-ae55-e88f80a1d6fe-collapsed", + "type": "collapsed" + }, + { + "source": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "sourceHandle": "clip", + "target": "c394834e-cab7-4c0c-919e-2e35eba7f34e", + "targetHandle": "clip", + "id": "reactflow__edge-aba70c57-2495-4ec1-8d23-02b1d11445c7clip-c394834e-cab7-4c0c-919e-2e35eba7f34eclip", + "type": "default" + }, + { + "source": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "sourceHandle": "clip", + "target": "465c7e6e-278f-49b0-87ab-642e88cd076f", + "targetHandle": "clip", + "id": "reactflow__edge-aba70c57-2495-4ec1-8d23-02b1d11445c7clip-465c7e6e-278f-49b0-87ab-642e88cd076fclip", + "type": "default" + }, + { + "source": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "sourceHandle": "vae", + "target": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "targetHandle": "vae", + "id": "reactflow__edge-aba70c57-2495-4ec1-8d23-02b1d11445c7vae-a7f1336d-516d-4735-826f-3c633dfaa5e8vae", + "type": "default" + }, + { + "source": "aba70c57-2495-4ec1-8d23-02b1d11445c7", + "sourceHandle": "unet", + "target": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "targetHandle": "unet", + "id": "reactflow__edge-aba70c57-2495-4ec1-8d23-02b1d11445c7unet-61613ab2-784d-4a5c-8576-18fd5da065efunet", + "type": "default" + }, + { + "source": "465c7e6e-278f-49b0-87ab-642e88cd076f", + "sourceHandle": "conditioning", + "target": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "targetHandle": "negative_conditioning", + "id": "reactflow__edge-465c7e6e-278f-49b0-87ab-642e88cd076fconditioning-61613ab2-784d-4a5c-8576-18fd5da065efnegative_conditioning", + "type": "default" + }, + { + "source": "c394834e-cab7-4c0c-919e-2e35eba7f34e", + "sourceHandle": "conditioning", + "target": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "targetHandle": "positive_conditioning", + "id": "reactflow__edge-c394834e-cab7-4c0c-919e-2e35eba7f34econditioning-61613ab2-784d-4a5c-8576-18fd5da065efpositive_conditioning", + "type": "default" + }, + { + "source": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "sourceHandle": "noise", + "target": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "targetHandle": "noise", + "id": "reactflow__edge-167ffc36-4cb7-425c-ae55-e88f80a1d6fenoise-61613ab2-784d-4a5c-8576-18fd5da065efnoise", + "type": "default" + }, + { + "source": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "sourceHandle": "latents", + "target": "c2172a8b-1b5f-4330-acbe-dd2565c3b988", + "targetHandle": "latents", + "id": "reactflow__edge-61613ab2-784d-4a5c-8576-18fd5da065eflatents-c2172a8b-1b5f-4330-acbe-dd2565c3b988latents", + "type": "default" + }, + { + "source": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "sourceHandle": "latents", + "target": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "targetHandle": "latents", + "id": "reactflow__edge-a7f1336d-516d-4735-826f-3c633dfaa5e8latents-61613ab2-784d-4a5c-8576-18fd5da065eflatents", + "type": "default" + }, + { + "source": "39abdb3e-f8d1-4b0a-bab1-547d9e25b78e", + "sourceHandle": "value", + "target": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "targetHandle": "seed", + "id": "reactflow__edge-39abdb3e-f8d1-4b0a-bab1-547d9e25b78evalue-167ffc36-4cb7-425c-ae55-e88f80a1d6feseed", + "type": "default" + }, + { + "source": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "sourceHandle": "width", + "target": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "targetHandle": "width", + "id": "reactflow__edge-a7f1336d-516d-4735-826f-3c633dfaa5e8width-167ffc36-4cb7-425c-ae55-e88f80a1d6fewidth", + "type": "default" + }, + { + "source": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "sourceHandle": "height", + "target": "167ffc36-4cb7-425c-ae55-e88f80a1d6fe", + "targetHandle": "height", + "id": "reactflow__edge-a7f1336d-516d-4735-826f-3c633dfaa5e8height-167ffc36-4cb7-425c-ae55-e88f80a1d6feheight", + "type": "default" + }, + { + "source": "4e2833b2-5d35-45ec-ae65-89ea1846a3f4", + "sourceHandle": "image", + "target": "08c41d50-fb10-43a9-a58b-fc15ee678a83", + "targetHandle": "image", + "id": "reactflow__edge-4e2833b2-5d35-45ec-ae65-89ea1846a3f4image-08c41d50-fb10-43a9-a58b-fc15ee678a83image", + "type": "default" + }, + { + "source": "08c41d50-fb10-43a9-a58b-fc15ee678a83", + "sourceHandle": "image", + "target": "a7f1336d-516d-4735-826f-3c633dfaa5e8", + "targetHandle": "image", + "id": "reactflow__edge-08c41d50-fb10-43a9-a58b-fc15ee678a83image-a7f1336d-516d-4735-826f-3c633dfaa5e8image", + "type": "default" + }, + { + "source": "30598d37-cf80-4e12-896a-7683cf727e77", + "sourceHandle": "control", + "target": "61613ab2-784d-4a5c-8576-18fd5da065ef", + "targetHandle": "control", + "id": "reactflow__edge-30598d37-cf80-4e12-896a-7683cf727e77control-61613ab2-784d-4a5c-8576-18fd5da065efcontrol", + "type": "default" + }, + { + "source": "b79732f8-6126-4d06-9c8a-4e84bd5b1ac9", + "sourceHandle": "vae", + "target": "c2172a8b-1b5f-4330-acbe-dd2565c3b988", + "targetHandle": "vae", + "id": "reactflow__edge-b79732f8-6126-4d06-9c8a-4e84bd5b1ac9vae-c2172a8b-1b5f-4330-acbe-dd2565c3b988vae", + "type": "default" + }, + { + "source": "08c41d50-fb10-43a9-a58b-fc15ee678a83", + "sourceHandle": "image", + "target": "b10d39ab-7bc9-48bc-b883-2fd50920876d", + "targetHandle": "image", + "id": "reactflow__edge-08c41d50-fb10-43a9-a58b-fc15ee678a83image-b10d39ab-7bc9-48bc-b883-2fd50920876dimage", + "type": "default" + }, + { + "source": "b10d39ab-7bc9-48bc-b883-2fd50920876d", + "sourceHandle": "image", + "target": "30598d37-cf80-4e12-896a-7683cf727e77", + "targetHandle": "image", + "id": "reactflow__edge-b10d39ab-7bc9-48bc-b883-2fd50920876dimage-30598d37-cf80-4e12-896a-7683cf727e77image", + "type": "default" + } + ] +} \ No newline at end of file diff --git a/docs/workflows/SDXL Text to Image.json b/docs/workflows/SDXL Text to Image.json new file mode 100644 index 0000000000..57f95293eb --- /dev/null +++ b/docs/workflows/SDXL Text to Image.json @@ -0,0 +1,735 @@ +{ + "name": "SDXL Text to Image", + "author": "InvokeAI", + "description": "Sample text to image workflow for SDXL", + "version": "1.0.1", + "contact": "invoke@invoke.ai", + "tags": "text2image, SDXL, default", + "notes": "", + "exposedFields": [ + { + "nodeId": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "fieldName": "model" + }, + { + "nodeId": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "fieldName": "prompt" + }, + { + "nodeId": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "fieldName": "style" + }, + { + "nodeId": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "fieldName": "prompt" + }, + { + "nodeId": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "fieldName": "style" + }, + { + "nodeId": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "fieldName": "steps" + } + ], + "meta": { + "version": "1.0.0" + }, + "nodes": [ + { + "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "type": "sdxl_compel_prompt", + "inputs": { + "prompt": { + "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Negative Prompt", + "value": "" + }, + "style": { + "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", + "name": "style", + "type": "string", + "fieldKind": "input", + "label": "Negative Style", + "value": "" + }, + "original_width": { + "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", + "name": "original_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "original_height": { + "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", + "name": "original_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "crop_top": { + "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", + "name": "crop_top", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "crop_left": { + "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", + "name": "crop_left", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "target_width": { + "id": "44499347-7bd6-4a73-99d6-5a982786db05", + "name": "target_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "target_height": { + "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", + "name": "target_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "clip": { + "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + }, + "clip2": { + "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", + "name": "clip2", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "SDXL Negative Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 764, + "position": { + "x": 1275, + "y": -350 + } + }, + { + "id": "55705012-79b9-4aac-9f26-c0b10309785b", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "55705012-79b9-4aac-9f26-c0b10309785b", + "type": "noise", + "inputs": { + "seed": { + "id": "6431737c-918a-425d-a3b4-5d57e2f35d4d", + "name": "seed", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "width": { + "id": "38fc5b66-fe6e-47c8-bba9-daf58e454ed7", + "name": "width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "height": { + "id": "16298330-e2bf-4872-a514-d6923df53cbb", + "name": "height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "use_cpu": { + "id": "c7c436d3-7a7a-4e76-91e4-c6deb271623c", + "name": "use_cpu", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": true + } + }, + "outputs": { + "noise": { + "id": "50f650dc-0184-4e23-a927-0497a96fe954", + "name": "noise", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "bb8a452b-133d-42d1-ae4a-3843d7e4109a", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "35cfaa12-3b8b-4b7a-a884-327ff3abddd9", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1650, + "y": -300 + } + }, + { + "id": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "type": "l2i", + "inputs": { + "tiled": { + "id": "24f5bc7b-f6a1-425d-8ab1-f50b4db5d0df", + "name": "tiled", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "fp32": { + "id": "b146d873-ffb9-4767-986a-5360504841a2", + "name": "fp32", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": true + }, + "latents": { + "id": "65441abd-7713-4b00-9d8d-3771404002e8", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "vae": { + "id": "a478b833-6e13-4611-9a10-842c89603c74", + "name": "vae", + "type": "VaeField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "image": { + "id": "c87ae925-f858-417a-8940-8708ba9b4b53", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "4bcb8512-b5a1-45f1-9e52-6e92849f9d6c", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "23e41c00-a354-48e8-8f59-5875679c27ab", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": true, + "isIntermediate": false + }, + "width": 320, + "height": 224, + "position": { + "x": 2025, + "y": -250 + } + }, + { + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "type": "rand_int", + "inputs": { + "low": { + "id": "3ec65a37-60ba-4b6c-a0b2-553dd7a84b84", + "name": "low", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "high": { + "id": "085f853a-1a5f-494d-8bec-e4ba29a3f2d1", + "name": "high", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 2147483647 + } + }, + "outputs": { + "value": { + "id": "812ade4d-7699-4261-b9fc-a6c9d2ab55ee", + "name": "value", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "Random Seed", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1650, + "y": -350 + } + }, + { + "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "type": "sdxl_model_loader", + "inputs": { + "model": { + "id": "39f9e799-bc95-4318-a200-30eed9e60c42", + "name": "model", + "type": "SDXLMainModelField", + "fieldKind": "input", + "label": "", + "value": { + "model_name": "stable-diffusion-xl-base-1.0", + "base_model": "sdxl", + "model_type": "main" + } + } + }, + "outputs": { + "unet": { + "id": "2626a45e-59aa-4609-b131-2d45c5eaed69", + "name": "unet", + "type": "UNetField", + "fieldKind": "output" + }, + "clip": { + "id": "7c9c42fa-93d5-4639-ab8b-c4d9b0559baf", + "name": "clip", + "type": "ClipField", + "fieldKind": "output" + }, + "clip2": { + "id": "0dafddcf-a472-49c1-a47c-7b8fab4c8bc9", + "name": "clip2", + "type": "ClipField", + "fieldKind": "output" + }, + "vae": { + "id": "ee6a6997-1b3c-4ff3-99ce-1e7bfba2750c", + "name": "vae", + "type": "VaeField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 234, + "position": { + "x": 475, + "y": 25 + } + }, + { + "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "type": "sdxl_compel_prompt", + "inputs": { + "prompt": { + "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Positive Prompt", + "value": "" + }, + "style": { + "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", + "name": "style", + "type": "string", + "fieldKind": "input", + "label": "Positive Style", + "value": "" + }, + "original_width": { + "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", + "name": "original_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "original_height": { + "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", + "name": "original_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "crop_top": { + "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", + "name": "crop_top", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "crop_left": { + "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", + "name": "crop_left", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "target_width": { + "id": "44499347-7bd6-4a73-99d6-5a982786db05", + "name": "target_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "target_height": { + "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", + "name": "target_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "clip": { + "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + }, + "clip2": { + "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", + "name": "clip2", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "SDXL Positive Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 764, + "position": { + "x": 900, + "y": -350 + } + }, + { + "id": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "type": "denoise_latents", + "inputs": { + "noise": { + "id": "4884a4b7-cc19-4fea-83c7-1f940e6edd24", + "name": "noise", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "steps": { + "id": "4c61675c-b6b9-41ac-b187-b5c13b587039", + "name": "steps", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 36 + }, + "cfg_scale": { + "id": "f8213f35-4637-4a1a-83f4-1f8cfb9ccd2c", + "name": "cfg_scale", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 7.5 + }, + "denoising_start": { + "id": "01e2f30d-0acd-4e21-98b9-a9b8e24c6db2", + "name": "denoising_start", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "denoising_end": { + "id": "3db95479-a73b-4c75-9b44-08daec16b224", + "name": "denoising_end", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 1 + }, + "scheduler": { + "id": "db8430a9-64c3-4c54-ae38-9f597cf7b6d5", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "input", + "label": "", + "value": "euler" + }, + "control": { + "id": "599b49e8-6435-4576-be41-a5155f3a17e3", + "name": "control", + "type": "ControlField", + "fieldKind": "input", + "label": "" + }, + "latents": { + "id": "226f9e91-454e-4159-9fa6-019c0cf29277", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "denoise_mask": { + "id": "de019cb6-7fb5-45bf-a266-22e20889893f", + "name": "denoise_mask", + "type": "DenoiseMaskField", + "fieldKind": "input", + "label": "" + }, + "positive_conditioning": { + "id": "02fc400a-110d-470e-8411-f404f966a949", + "name": "positive_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "negative_conditioning": { + "id": "4bd3bdfa-fcf4-42be-8e47-1e314255798f", + "name": "negative_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "unet": { + "id": "7c2d58a8-b5f1-4e63-8ffd-8ada52c35832", + "name": "unet", + "type": "UNetField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "latents": { + "id": "6a6fa492-de26-4e95-b1d9-a322fe37eb13", + "name": "latents", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "a9790729-7d6c-4418-903d-4da961fccf56", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "fa74efe5-7330-4a3c-b256-c82a544585b4", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 558, + "position": { + "x": 1650, + "y": -250 + } + } + ], + "edges": [ + { + "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "target": "55705012-79b9-4aac-9f26-c0b10309785b", + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2-55705012-79b9-4aac-9f26-c0b10309785b-collapsed", + "type": "collapsed" + }, + { + "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "sourceHandle": "value", + "target": "55705012-79b9-4aac-9f26-c0b10309785b", + "targetHandle": "seed", + "id": "reactflow__edge-ea94bc37-d995-4a83-aa99-4af42479f2f2value-55705012-79b9-4aac-9f26-c0b10309785bseed", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip", + "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "targetHandle": "clip", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-faf965a4-7530-427b-b1f3-4ba6505c2a08clip", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip2", + "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "targetHandle": "clip2", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-faf965a4-7530-427b-b1f3-4ba6505c2a08clip2", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip", + "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "targetHandle": "clip", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip2", + "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "targetHandle": "clip2", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip2", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "vae", + "target": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "targetHandle": "vae", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22vae-dbcd2f98-d809-48c8-bf64-2635f88a2fe9vae", + "type": "default" + }, + { + "source": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "sourceHandle": "latents", + "target": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "targetHandle": "latents", + "id": "reactflow__edge-87ee6243-fb0d-4f77-ad5f-56591659339elatents-dbcd2f98-d809-48c8-bf64-2635f88a2fe9latents", + "type": "default" + }, + { + "source": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "sourceHandle": "conditioning", + "target": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "targetHandle": "positive_conditioning", + "id": "reactflow__edge-faf965a4-7530-427b-b1f3-4ba6505c2a08conditioning-87ee6243-fb0d-4f77-ad5f-56591659339epositive_conditioning", + "type": "default" + }, + { + "source": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "sourceHandle": "conditioning", + "target": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "targetHandle": "negative_conditioning", + "id": "reactflow__edge-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204conditioning-87ee6243-fb0d-4f77-ad5f-56591659339enegative_conditioning", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "unet", + "target": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "targetHandle": "unet", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22unet-87ee6243-fb0d-4f77-ad5f-56591659339eunet", + "type": "default" + }, + { + "source": "55705012-79b9-4aac-9f26-c0b10309785b", + "sourceHandle": "noise", + "target": "87ee6243-fb0d-4f77-ad5f-56591659339e", + "targetHandle": "noise", + "id": "reactflow__edge-55705012-79b9-4aac-9f26-c0b10309785bnoise-87ee6243-fb0d-4f77-ad5f-56591659339enoise", + "type": "default" + } + ] +} diff --git a/docs/workflows/SDXL w_Refiner Text to Image.json b/docs/workflows/SDXL w_Refiner Text to Image.json new file mode 100644 index 0000000000..22ffb8262d --- /dev/null +++ b/docs/workflows/SDXL w_Refiner Text to Image.json @@ -0,0 +1,1404 @@ +{ + "name": "SDXL w/Refiner Text to Image", + "author": "InvokeAI", + "description": "Sample text to image workflow for SDXL with the refiner", + "version": "1.0.1", + "contact": "invoke@invoke.ai", + "tags": "text2image, SDXL, default, refiner", + "notes": "", + "exposedFields": [ + { + "nodeId": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "fieldName": "model" + }, + { + "nodeId": "65b56526-ef0a-4c1f-adda-1017c925b063", + "fieldName": "steps" + }, + { + "nodeId": "06a30867-1e9d-461f-bd58-14a63cc997dd", + "fieldName": "scheduler" + }, + { + "nodeId": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "fieldName": "model" + }, + { + "nodeId": "a9352523-613a-43e3-b97f-dade7ec317e5", + "fieldName": "steps" + }, + { + "nodeId": "b2b35add-929d-4538-aecb-02c661768b29", + "fieldName": "value" + }, + { + "nodeId": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", + "fieldName": "value" + }, + { + "nodeId": "5639e3bc-b769-4ae5-9262-72db703c5a7b", + "fieldName": "value" + }, + { + "nodeId": "8d54b9db-3662-43af-8369-9a277e063f3b", + "fieldName": "value" + } + ], + "meta": { + "version": "1.0.0" + }, + "nodes": [ + { + "id": "a9352523-613a-43e3-b97f-dade7ec317e5", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "a9352523-613a-43e3-b97f-dade7ec317e5", + "type": "denoise_latents", + "inputs": { + "noise": { + "id": "962fb1ba-341c-441c-940b-1543caafab29", + "name": "noise", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "steps": { + "id": "2b76247b-cc60-4ef0-8a51-290700590805", + "name": "steps", + "type": "integer", + "fieldKind": "input", + "label": "Refiner Steps", + "value": 36 + }, + "cfg_scale": { + "id": "f13c5cf5-6198-4183-9b47-0a44c5666a2a", + "name": "cfg_scale", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 7.5 + }, + "denoising_start": { + "id": "397bb49d-7d00-465b-a918-456910d7fedb", + "name": "denoising_start", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0.8 + }, + "denoising_end": { + "id": "dac6aa2a-d074-4e86-af0c-def573dd69ac", + "name": "denoising_end", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 1 + }, + "scheduler": { + "id": "34f9f11c-f2fc-48b2-b015-ededbf2d000f", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "input", + "label": "", + "value": "euler" + }, + "control": { + "id": "80c69321-e712-453b-b8a8-b4e03d37844c", + "name": "control", + "type": "ControlField", + "fieldKind": "input", + "label": "" + }, + "latents": { + "id": "8122d26c-ad2f-4f65-93d5-9ebb426bdba4", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "denoise_mask": { + "id": "5dc048d6-28c3-4db4-9e8b-652006616c17", + "name": "denoise_mask", + "type": "DenoiseMaskField", + "fieldKind": "input", + "label": "" + }, + "positive_conditioning": { + "id": "dd5cab6f-6dbd-4791-a21a-ef0544f26f8f", + "name": "positive_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "negative_conditioning": { + "id": "5efedcb9-3286-426a-ad57-f77b2d7d1898", + "name": "negative_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "unet": { + "id": "3ebc07f0-4cd7-4f4d-a5b3-a8ce13383305", + "name": "unet", + "type": "UNetField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "latents": { + "id": "ca9c565a-1dda-428c-9fdf-7c51eb7fa9c5", + "name": "latents", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "d91b7cbd-fe5c-4c92-923e-241d1a63648c", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "af9ee999-a666-42a8-8e5c-d04518c4aa8e", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 558, + "position": { + "x": 1650, + "y": -150 + } + }, + { + "id": "b2b35add-929d-4538-aecb-02c661768b29", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "b2b35add-929d-4538-aecb-02c661768b29", + "type": "string", + "inputs": { + "value": { + "id": "89854c84-cbc1-4b60-921d-4bade11cab66", + "name": "value", + "type": "string", + "fieldKind": "input", + "label": "Positive Prompt", + "value": "super cute tiger" + } + }, + "outputs": { + "value": { + "id": "3617404e-e483-4e2e-8550-7080a1ef283f", + "name": "value", + "type": "string", + "fieldKind": "output" + } + }, + "label": "Positive Prompt", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": -75 + } + }, + { + "id": "8d54b9db-3662-43af-8369-9a277e063f3b", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "8d54b9db-3662-43af-8369-9a277e063f3b", + "type": "string", + "inputs": { + "value": { + "id": "89854c84-cbc1-4b60-921d-4bade11cab66", + "name": "value", + "type": "string", + "fieldKind": "input", + "label": "Negative Style", + "value": "" + } + }, + "outputs": { + "value": { + "id": "3617404e-e483-4e2e-8550-7080a1ef283f", + "name": "value", + "type": "string", + "fieldKind": "output" + } + }, + "label": "Negative Style", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": 75 + } + }, + { + "id": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", + "type": "string", + "inputs": { + "value": { + "id": "89854c84-cbc1-4b60-921d-4bade11cab66", + "name": "value", + "type": "string", + "fieldKind": "input", + "label": "Positive Style", + "value": "" + } + }, + "outputs": { + "value": { + "id": "3617404e-e483-4e2e-8550-7080a1ef283f", + "name": "value", + "type": "string", + "fieldKind": "output" + } + }, + "label": "Postive Style", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": -25 + } + }, + { + "id": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", + "type": "sdxl_refiner_compel_prompt", + "inputs": { + "style": { + "id": "c6f91ecf-370f-44d0-8243-63724e75510a", + "name": "style", + "type": "string", + "fieldKind": "input", + "label": "Negative Style", + "value": "" + }, + "original_width": { + "id": "956f6eca-8324-41eb-a8dd-fa9b34164ca6", + "name": "original_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "original_height": { + "id": "a41bb3a1-7664-4dac-b6ae-6f4dff3828a9", + "name": "original_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "crop_top": { + "id": "81936e19-0ae7-4006-9d7c-e359fc7c7d15", + "name": "crop_top", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "crop_left": { + "id": "be94ddb8-88cc-4d6b-a2c0-f2b43143bfa1", + "name": "crop_left", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "aesthetic_score": { + "id": "60f380de-87b4-4535-b3ef-545a6e57283e", + "name": "aesthetic_score", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 6 + }, + "clip2": { + "id": "773c4054-c005-46ad-92c4-5c1fa4506041", + "name": "clip2", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "63e16bfa-59d8-4d6f-abda-ad979b26adb5", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "SDXL Refiner Negative Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 520, + "position": { + "x": 1625, + "y": -925 + } + }, + { + "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "type": "sdxl_compel_prompt", + "inputs": { + "prompt": { + "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Negative Prompt", + "value": "" + }, + "style": { + "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", + "name": "style", + "type": "string", + "fieldKind": "input", + "label": "Negative Style", + "value": "" + }, + "original_width": { + "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", + "name": "original_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "original_height": { + "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", + "name": "original_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "crop_top": { + "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", + "name": "crop_top", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "crop_left": { + "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", + "name": "crop_left", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "target_width": { + "id": "44499347-7bd6-4a73-99d6-5a982786db05", + "name": "target_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "target_height": { + "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", + "name": "target_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "clip": { + "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + }, + "clip2": { + "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", + "name": "clip2", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "SDXL Negative Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 764, + "position": { + "x": 900, + "y": -925 + } + }, + { + "id": "55705012-79b9-4aac-9f26-c0b10309785b", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "55705012-79b9-4aac-9f26-c0b10309785b", + "type": "noise", + "inputs": { + "seed": { + "id": "6431737c-918a-425d-a3b4-5d57e2f35d4d", + "name": "seed", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "width": { + "id": "38fc5b66-fe6e-47c8-bba9-daf58e454ed7", + "name": "width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "height": { + "id": "16298330-e2bf-4872-a514-d6923df53cbb", + "name": "height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "use_cpu": { + "id": "c7c436d3-7a7a-4e76-91e4-c6deb271623c", + "name": "use_cpu", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": true + } + }, + "outputs": { + "noise": { + "id": "50f650dc-0184-4e23-a927-0497a96fe954", + "name": "noise", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "bb8a452b-133d-42d1-ae4a-3843d7e4109a", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "35cfaa12-3b8b-4b7a-a884-327ff3abddd9", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1275, + "y": -200 + } + }, + { + "id": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "type": "l2i", + "inputs": { + "tiled": { + "id": "24f5bc7b-f6a1-425d-8ab1-f50b4db5d0df", + "name": "tiled", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "fp32": { + "id": "b146d873-ffb9-4767-986a-5360504841a2", + "name": "fp32", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": true + }, + "latents": { + "id": "65441abd-7713-4b00-9d8d-3771404002e8", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "vae": { + "id": "a478b833-6e13-4611-9a10-842c89603c74", + "name": "vae", + "type": "VaeField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "image": { + "id": "c87ae925-f858-417a-8940-8708ba9b4b53", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "4bcb8512-b5a1-45f1-9e52-6e92849f9d6c", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "23e41c00-a354-48e8-8f59-5875679c27ab", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": true, + "isIntermediate": false + }, + "width": 320, + "height": 266, + "position": { + "x": 2075, + "y": -400 + } + }, + { + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "type": "rand_int", + "inputs": { + "low": { + "id": "3ec65a37-60ba-4b6c-a0b2-553dd7a84b84", + "name": "low", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "high": { + "id": "085f853a-1a5f-494d-8bec-e4ba29a3f2d1", + "name": "high", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 2147483647 + } + }, + "outputs": { + "value": { + "id": "812ade4d-7699-4261-b9fc-a6c9d2ab55ee", + "name": "value", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "Random Seed", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1275, + "y": -250 + } + }, + { + "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "type": "sdxl_model_loader", + "inputs": { + "model": { + "id": "39f9e799-bc95-4318-a200-30eed9e60c42", + "name": "model", + "type": "SDXLMainModelField", + "fieldKind": "input", + "label": "", + "value": { + "model_name": "stable-diffusion-xl-base-1.0", + "base_model": "sdxl", + "model_type": "main" + } + } + }, + "outputs": { + "unet": { + "id": "2626a45e-59aa-4609-b131-2d45c5eaed69", + "name": "unet", + "type": "UNetField", + "fieldKind": "output" + }, + "clip": { + "id": "7c9c42fa-93d5-4639-ab8b-c4d9b0559baf", + "name": "clip", + "type": "ClipField", + "fieldKind": "output" + }, + "clip2": { + "id": "0dafddcf-a472-49c1-a47c-7b8fab4c8bc9", + "name": "clip2", + "type": "ClipField", + "fieldKind": "output" + }, + "vae": { + "id": "ee6a6997-1b3c-4ff3-99ce-1e7bfba2750c", + "name": "vae", + "type": "VaeField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": 175 + } + }, + { + "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "type": "sdxl_compel_prompt", + "inputs": { + "prompt": { + "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Positive Prompt", + "value": "" + }, + "style": { + "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", + "name": "style", + "type": "string", + "fieldKind": "input", + "label": "Positive Style", + "value": "" + }, + "original_width": { + "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", + "name": "original_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "original_height": { + "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", + "name": "original_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "crop_top": { + "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", + "name": "crop_top", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "crop_left": { + "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", + "name": "crop_left", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "target_width": { + "id": "44499347-7bd6-4a73-99d6-5a982786db05", + "name": "target_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "target_height": { + "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", + "name": "target_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "clip": { + "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + }, + "clip2": { + "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", + "name": "clip2", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "SDXL Positive Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 764, + "position": { + "x": 550, + "y": -925 + } + }, + { + "id": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", + "type": "sdxl_refiner_compel_prompt", + "inputs": { + "style": { + "id": "c6f91ecf-370f-44d0-8243-63724e75510a", + "name": "style", + "type": "string", + "fieldKind": "input", + "label": "Positive Style", + "value": "" + }, + "original_width": { + "id": "956f6eca-8324-41eb-a8dd-fa9b34164ca6", + "name": "original_width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "original_height": { + "id": "a41bb3a1-7664-4dac-b6ae-6f4dff3828a9", + "name": "original_height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 1024 + }, + "crop_top": { + "id": "81936e19-0ae7-4006-9d7c-e359fc7c7d15", + "name": "crop_top", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "crop_left": { + "id": "be94ddb8-88cc-4d6b-a2c0-f2b43143bfa1", + "name": "crop_left", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "aesthetic_score": { + "id": "60f380de-87b4-4535-b3ef-545a6e57283e", + "name": "aesthetic_score", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 6 + }, + "clip2": { + "id": "773c4054-c005-46ad-92c4-5c1fa4506041", + "name": "clip2", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "63e16bfa-59d8-4d6f-abda-ad979b26adb5", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "SDXL Refiner Positive Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 520, + "position": { + "x": 1275, + "y": -925 + } + }, + { + "id": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "type": "sdxl_refiner_model_loader", + "inputs": { + "model": { + "id": "2f09431c-096b-4848-b580-b37be773839d", + "name": "model", + "type": "SDXLRefinerModelField", + "fieldKind": "input", + "label": "Refiner Model", + "value": { + "model_name": "stable-diffusion-xl-refiner-1.0", + "base_model": "sdxl-refiner", + "model_type": "main" + } + } + }, + "outputs": { + "unet": { + "id": "c06b335a-7f65-4165-9ca2-40107eb9c85b", + "name": "unet", + "type": "UNetField", + "fieldKind": "output" + }, + "clip2": { + "id": "81ec105e-cc1f-4b78-a5bb-8df3a4dd2574", + "name": "clip2", + "type": "ClipField", + "fieldKind": "output" + }, + "vae": { + "id": "f516feab-873d-47ec-a946-b8f15eed4bed", + "name": "vae", + "type": "VaeField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": 225 + } + }, + { + "id": "5639e3bc-b769-4ae5-9262-72db703c5a7b", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "5639e3bc-b769-4ae5-9262-72db703c5a7b", + "type": "string", + "inputs": { + "value": { + "id": "89854c84-cbc1-4b60-921d-4bade11cab66", + "name": "value", + "type": "string", + "fieldKind": "input", + "label": "Negative Prompt", + "value": "" + } + }, + "outputs": { + "value": { + "id": "3617404e-e483-4e2e-8550-7080a1ef283f", + "name": "value", + "type": "string", + "fieldKind": "output" + } + }, + "label": "Negative Prompt", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": 25 + } + }, + { + "id": "65b56526-ef0a-4c1f-adda-1017c925b063", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "65b56526-ef0a-4c1f-adda-1017c925b063", + "type": "denoise_latents", + "inputs": { + "noise": { + "id": "962fb1ba-341c-441c-940b-1543caafab29", + "name": "noise", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "steps": { + "id": "2b76247b-cc60-4ef0-8a51-290700590805", + "name": "steps", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 36 + }, + "cfg_scale": { + "id": "f13c5cf5-6198-4183-9b47-0a44c5666a2a", + "name": "cfg_scale", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 7.5 + }, + "denoising_start": { + "id": "397bb49d-7d00-465b-a918-456910d7fedb", + "name": "denoising_start", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "denoising_end": { + "id": "dac6aa2a-d074-4e86-af0c-def573dd69ac", + "name": "denoising_end", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0.8 + }, + "scheduler": { + "id": "34f9f11c-f2fc-48b2-b015-ededbf2d000f", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "input", + "label": "", + "value": "euler" + }, + "control": { + "id": "80c69321-e712-453b-b8a8-b4e03d37844c", + "name": "control", + "type": "ControlField", + "fieldKind": "input", + "label": "" + }, + "latents": { + "id": "8122d26c-ad2f-4f65-93d5-9ebb426bdba4", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "denoise_mask": { + "id": "5dc048d6-28c3-4db4-9e8b-652006616c17", + "name": "denoise_mask", + "type": "DenoiseMaskField", + "fieldKind": "input", + "label": "" + }, + "positive_conditioning": { + "id": "dd5cab6f-6dbd-4791-a21a-ef0544f26f8f", + "name": "positive_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "negative_conditioning": { + "id": "5efedcb9-3286-426a-ad57-f77b2d7d1898", + "name": "negative_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "unet": { + "id": "3ebc07f0-4cd7-4f4d-a5b3-a8ce13383305", + "name": "unet", + "type": "UNetField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "latents": { + "id": "ca9c565a-1dda-428c-9fdf-7c51eb7fa9c5", + "name": "latents", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "d91b7cbd-fe5c-4c92-923e-241d1a63648c", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "af9ee999-a666-42a8-8e5c-d04518c4aa8e", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 558, + "position": { + "x": 1275, + "y": -150 + } + }, + { + "id": "06a30867-1e9d-461f-bd58-14a63cc997dd", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "06a30867-1e9d-461f-bd58-14a63cc997dd", + "type": "scheduler", + "inputs": { + "scheduler": { + "id": "0be5a5a0-3388-41e1-a6c4-10d414d8fe5b", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "input", + "label": "", + "value": "euler" + } + }, + "outputs": { + "scheduler": { + "id": "cafdef9d-61cd-4f43-be91-356a1d65afca", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 700, + "y": 125 + } + } + ], + "edges": [ + { + "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "target": "55705012-79b9-4aac-9f26-c0b10309785b", + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2-55705012-79b9-4aac-9f26-c0b10309785b-collapsed", + "type": "collapsed" + }, + { + "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "sourceHandle": "value", + "target": "55705012-79b9-4aac-9f26-c0b10309785b", + "targetHandle": "seed", + "id": "reactflow__edge-ea94bc37-d995-4a83-aa99-4af42479f2f2value-55705012-79b9-4aac-9f26-c0b10309785bseed", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip", + "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "targetHandle": "clip", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-faf965a4-7530-427b-b1f3-4ba6505c2a08clip", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip2", + "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "targetHandle": "clip2", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-faf965a4-7530-427b-b1f3-4ba6505c2a08clip2", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip", + "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "targetHandle": "clip", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "clip2", + "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "targetHandle": "clip2", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip2", + "type": "default" + }, + { + "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "sourceHandle": "clip2", + "target": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", + "targetHandle": "clip2", + "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0clip2-f0e06b70-9f53-44e3-8f5f-63d813b6b579clip2", + "type": "default" + }, + { + "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "sourceHandle": "clip2", + "target": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", + "targetHandle": "clip2", + "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0clip2-fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1clip2", + "type": "default" + }, + { + "source": "5639e3bc-b769-4ae5-9262-72db703c5a7b", + "sourceHandle": "value", + "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "targetHandle": "prompt", + "id": "reactflow__edge-5639e3bc-b769-4ae5-9262-72db703c5a7bvalue-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204prompt", + "type": "default" + }, + { + "source": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", + "sourceHandle": "value", + "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "targetHandle": "style", + "id": "reactflow__edge-f1a6a160-4c36-4902-8eeb-8b1c23e81bc8value-faf965a4-7530-427b-b1f3-4ba6505c2a08style", + "type": "default" + }, + { + "source": "b2b35add-929d-4538-aecb-02c661768b29", + "sourceHandle": "value", + "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "targetHandle": "prompt", + "id": "reactflow__edge-b2b35add-929d-4538-aecb-02c661768b29value-faf965a4-7530-427b-b1f3-4ba6505c2a08prompt", + "type": "default" + }, + { + "source": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", + "sourceHandle": "value", + "target": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", + "targetHandle": "style", + "id": "reactflow__edge-f1a6a160-4c36-4902-8eeb-8b1c23e81bc8value-f0e06b70-9f53-44e3-8f5f-63d813b6b579style", + "type": "default" + }, + { + "source": "8d54b9db-3662-43af-8369-9a277e063f3b", + "sourceHandle": "value", + "target": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", + "targetHandle": "style", + "id": "reactflow__edge-8d54b9db-3662-43af-8369-9a277e063f3bvalue-fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1style", + "type": "default" + }, + { + "source": "faf965a4-7530-427b-b1f3-4ba6505c2a08", + "sourceHandle": "conditioning", + "target": "65b56526-ef0a-4c1f-adda-1017c925b063", + "targetHandle": "positive_conditioning", + "id": "reactflow__edge-faf965a4-7530-427b-b1f3-4ba6505c2a08conditioning-65b56526-ef0a-4c1f-adda-1017c925b063positive_conditioning", + "type": "default" + }, + { + "source": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "sourceHandle": "conditioning", + "target": "65b56526-ef0a-4c1f-adda-1017c925b063", + "targetHandle": "negative_conditioning", + "id": "reactflow__edge-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204conditioning-65b56526-ef0a-4c1f-adda-1017c925b063negative_conditioning", + "type": "default" + }, + { + "source": "55705012-79b9-4aac-9f26-c0b10309785b", + "sourceHandle": "noise", + "target": "65b56526-ef0a-4c1f-adda-1017c925b063", + "targetHandle": "noise", + "id": "reactflow__edge-55705012-79b9-4aac-9f26-c0b10309785bnoise-65b56526-ef0a-4c1f-adda-1017c925b063noise", + "type": "default" + }, + { + "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", + "sourceHandle": "unet", + "target": "65b56526-ef0a-4c1f-adda-1017c925b063", + "targetHandle": "unet", + "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22unet-65b56526-ef0a-4c1f-adda-1017c925b063unet", + "type": "default" + }, + { + "source": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", + "sourceHandle": "conditioning", + "target": "a9352523-613a-43e3-b97f-dade7ec317e5", + "targetHandle": "negative_conditioning", + "id": "reactflow__edge-fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1conditioning-a9352523-613a-43e3-b97f-dade7ec317e5negative_conditioning", + "type": "default" + }, + { + "source": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", + "sourceHandle": "conditioning", + "target": "a9352523-613a-43e3-b97f-dade7ec317e5", + "targetHandle": "positive_conditioning", + "id": "reactflow__edge-f0e06b70-9f53-44e3-8f5f-63d813b6b579conditioning-a9352523-613a-43e3-b97f-dade7ec317e5positive_conditioning", + "type": "default" + }, + { + "source": "a9352523-613a-43e3-b97f-dade7ec317e5", + "sourceHandle": "latents", + "target": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "targetHandle": "latents", + "id": "reactflow__edge-a9352523-613a-43e3-b97f-dade7ec317e5latents-dbcd2f98-d809-48c8-bf64-2635f88a2fe9latents", + "type": "default" + }, + { + "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "sourceHandle": "vae", + "target": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "targetHandle": "vae", + "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0vae-dbcd2f98-d809-48c8-bf64-2635f88a2fe9vae", + "type": "default" + }, + { + "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", + "sourceHandle": "unet", + "target": "a9352523-613a-43e3-b97f-dade7ec317e5", + "targetHandle": "unet", + "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0unet-a9352523-613a-43e3-b97f-dade7ec317e5unet", + "type": "default" + }, + { + "source": "65b56526-ef0a-4c1f-adda-1017c925b063", + "sourceHandle": "latents", + "target": "a9352523-613a-43e3-b97f-dade7ec317e5", + "targetHandle": "latents", + "id": "reactflow__edge-65b56526-ef0a-4c1f-adda-1017c925b063latents-a9352523-613a-43e3-b97f-dade7ec317e5latents", + "type": "default" + }, + { + "source": "06a30867-1e9d-461f-bd58-14a63cc997dd", + "sourceHandle": "scheduler", + "target": "65b56526-ef0a-4c1f-adda-1017c925b063", + "targetHandle": "scheduler", + "id": "reactflow__edge-06a30867-1e9d-461f-bd58-14a63cc997ddscheduler-65b56526-ef0a-4c1f-adda-1017c925b063scheduler", + "type": "default" + }, + { + "source": "06a30867-1e9d-461f-bd58-14a63cc997dd", + "sourceHandle": "scheduler", + "target": "a9352523-613a-43e3-b97f-dade7ec317e5", + "targetHandle": "scheduler", + "id": "reactflow__edge-06a30867-1e9d-461f-bd58-14a63cc997ddscheduler-a9352523-613a-43e3-b97f-dade7ec317e5scheduler", + "type": "default" + }, + { + "source": "8d54b9db-3662-43af-8369-9a277e063f3b", + "sourceHandle": "value", + "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", + "targetHandle": "style", + "id": "reactflow__edge-8d54b9db-3662-43af-8369-9a277e063f3bvalue-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204style", + "type": "default" + } + ] +} diff --git a/docs/workflows/Text to Image.json b/docs/workflows/Text to Image.json new file mode 100644 index 0000000000..7239a2247f --- /dev/null +++ b/docs/workflows/Text to Image.json @@ -0,0 +1,573 @@ +{ + "name": "Text to Image", + "author": "InvokeAI", + "description": "Sample text to image workflow for Stable Diffusion 1.5/2", + "version": "1.0.1", + "contact": "invoke@invoke.ai", + "tags": "text2image, SD1.5, SD2, default", + "notes": "", + "exposedFields": [ + { + "nodeId": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "fieldName": "model" + }, + { + "nodeId": "7d8bf987-284f-413a-b2fd-d825445a5d6c", + "fieldName": "prompt" + }, + { + "nodeId": "93dc02a4-d05b-48ed-b99c-c9b616af3402", + "fieldName": "prompt" + }, + { + "nodeId": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "fieldName": "steps" + } + ], + "meta": { + "version": "1.0.0" + }, + "nodes": [ + { + "id": "93dc02a4-d05b-48ed-b99c-c9b616af3402", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "93dc02a4-d05b-48ed-b99c-c9b616af3402", + "type": "compel", + "inputs": { + "prompt": { + "id": "7739aff6-26cb-4016-8897-5a1fb2305e4e", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Negative Prompt", + "value": "" + }, + "clip": { + "id": "48d23dce-a6ae-472a-9f8c-22a714ea5ce0", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "37cf3a9d-f6b7-4b64-8ff6-2558c5ecc447", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "Negative Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 235, + "position": { + "x": 1400, + "y": -75 + } + }, + { + "id": "55705012-79b9-4aac-9f26-c0b10309785b", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "55705012-79b9-4aac-9f26-c0b10309785b", + "type": "noise", + "inputs": { + "seed": { + "id": "6431737c-918a-425d-a3b4-5d57e2f35d4d", + "name": "seed", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "width": { + "id": "38fc5b66-fe6e-47c8-bba9-daf58e454ed7", + "name": "width", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 512 + }, + "height": { + "id": "16298330-e2bf-4872-a514-d6923df53cbb", + "name": "height", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 512 + }, + "use_cpu": { + "id": "c7c436d3-7a7a-4e76-91e4-c6deb271623c", + "name": "use_cpu", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": true + } + }, + "outputs": { + "noise": { + "id": "50f650dc-0184-4e23-a927-0497a96fe954", + "name": "noise", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "bb8a452b-133d-42d1-ae4a-3843d7e4109a", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "35cfaa12-3b8b-4b7a-a884-327ff3abddd9", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 364, + "position": { + "x": 1000, + "y": 350 + } + }, + { + "id": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "type": "l2i", + "inputs": { + "tiled": { + "id": "24f5bc7b-f6a1-425d-8ab1-f50b4db5d0df", + "name": "tiled", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "fp32": { + "id": "b146d873-ffb9-4767-986a-5360504841a2", + "name": "fp32", + "type": "boolean", + "fieldKind": "input", + "label": "", + "value": false + }, + "latents": { + "id": "65441abd-7713-4b00-9d8d-3771404002e8", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "vae": { + "id": "a478b833-6e13-4611-9a10-842c89603c74", + "name": "vae", + "type": "VaeField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "image": { + "id": "c87ae925-f858-417a-8940-8708ba9b4b53", + "name": "image", + "type": "ImageField", + "fieldKind": "output" + }, + "width": { + "id": "4bcb8512-b5a1-45f1-9e52-6e92849f9d6c", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "23e41c00-a354-48e8-8f59-5875679c27ab", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": true, + "isIntermediate": false + }, + "width": 320, + "height": 266, + "position": { + "x": 1800, + "y": 200 + } + }, + { + "id": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "type": "main_model_loader", + "inputs": { + "model": { + "id": "993eabd2-40fd-44fe-bce7-5d0c7075ddab", + "name": "model", + "type": "MainModelField", + "fieldKind": "input", + "label": "", + "value": { + "model_name": "stable-diffusion-v1-5", + "base_model": "sd-1", + "model_type": "main" + } + } + }, + "outputs": { + "unet": { + "id": "5c18c9db-328d-46d0-8cb9-143391c410be", + "name": "unet", + "type": "UNetField", + "fieldKind": "output" + }, + "clip": { + "id": "6effcac0-ec2f-4bf5-a49e-a2c29cf921f4", + "name": "clip", + "type": "ClipField", + "fieldKind": "output" + }, + "vae": { + "id": "57683ba3-f5f5-4f58-b9a2-4b83dacad4a1", + "name": "vae", + "type": "VaeField", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1000, + "y": 200 + } + }, + { + "id": "7d8bf987-284f-413a-b2fd-d825445a5d6c", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "7d8bf987-284f-413a-b2fd-d825445a5d6c", + "type": "compel", + "inputs": { + "prompt": { + "id": "7739aff6-26cb-4016-8897-5a1fb2305e4e", + "name": "prompt", + "type": "string", + "fieldKind": "input", + "label": "Positive Prompt", + "value": "" + }, + "clip": { + "id": "48d23dce-a6ae-472a-9f8c-22a714ea5ce0", + "name": "clip", + "type": "ClipField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "conditioning": { + "id": "37cf3a9d-f6b7-4b64-8ff6-2558c5ecc447", + "name": "conditioning", + "type": "ConditioningField", + "fieldKind": "output" + } + }, + "label": "Positive Compel Prompt", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 235, + "position": { + "x": 1000, + "y": -75 + } + }, + { + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "type": "rand_int", + "inputs": { + "low": { + "id": "3ec65a37-60ba-4b6c-a0b2-553dd7a84b84", + "name": "low", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "high": { + "id": "085f853a-1a5f-494d-8bec-e4ba29a3f2d1", + "name": "high", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 2147483647 + } + }, + "outputs": { + "value": { + "id": "812ade4d-7699-4261-b9fc-a6c9d2ab55ee", + "name": "value", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "Random Seed", + "isOpen": false, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 32, + "position": { + "x": 1000, + "y": 275 + } + }, + { + "id": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "type": "invocation", + "data": { + "version": "1.0.0", + "id": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "type": "denoise_latents", + "inputs": { + "noise": { + "id": "8b18f3eb-40d2-45c1-9a9d-28d6af0dce2b", + "name": "noise", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "steps": { + "id": "0be4373c-46f3-441c-80a7-a4bb6ceb498c", + "name": "steps", + "type": "integer", + "fieldKind": "input", + "label": "", + "value": 36 + }, + "cfg_scale": { + "id": "107267ce-4666-4cd7-94b3-7476b7973ae9", + "name": "cfg_scale", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 7.5 + }, + "denoising_start": { + "id": "d2ce9f0f-5fc2-48b2-b917-53442941e9a1", + "name": "denoising_start", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 0 + }, + "denoising_end": { + "id": "8ad51505-b8d0-422a-beb8-96fc6fc6b65f", + "name": "denoising_end", + "type": "float", + "fieldKind": "input", + "label": "", + "value": 1 + }, + "scheduler": { + "id": "53092874-a43b-4623-91a2-76e62fdb1f2e", + "name": "scheduler", + "type": "Scheduler", + "fieldKind": "input", + "label": "", + "value": "euler" + }, + "control": { + "id": "7abe57cc-469d-437e-ad72-a18efa28215f", + "name": "control", + "type": "ControlField", + "fieldKind": "input", + "label": "" + }, + "latents": { + "id": "add8bbe5-14d0-42d4-a867-9c65ab8dd129", + "name": "latents", + "type": "LatentsField", + "fieldKind": "input", + "label": "" + }, + "denoise_mask": { + "id": "f373a190-0fc8-45b7-ae62-c4aa8e9687e1", + "name": "denoise_mask", + "type": "DenoiseMaskField", + "fieldKind": "input", + "label": "" + }, + "positive_conditioning": { + "id": "c7160303-8a23-4f15-9197-855d48802a7f", + "name": "positive_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "negative_conditioning": { + "id": "fd750efa-1dfc-4d0b-accb-828e905ba320", + "name": "negative_conditioning", + "type": "ConditioningField", + "fieldKind": "input", + "label": "" + }, + "unet": { + "id": "af1f41ba-ce2a-4314-8d7f-494bb5800381", + "name": "unet", + "type": "UNetField", + "fieldKind": "input", + "label": "" + } + }, + "outputs": { + "latents": { + "id": "8508d04d-f999-4a44-94d0-388ab1401d27", + "name": "latents", + "type": "LatentsField", + "fieldKind": "output" + }, + "width": { + "id": "93dc8287-0a2a-4320-83a4-5e994b7ba23e", + "name": "width", + "type": "integer", + "fieldKind": "output" + }, + "height": { + "id": "d9862f5c-0ab5-46fa-8c29-5059bb581d96", + "name": "height", + "type": "integer", + "fieldKind": "output" + } + }, + "label": "", + "isOpen": true, + "notes": "", + "embedWorkflow": false, + "isIntermediate": true + }, + "width": 320, + "height": 558, + "position": { + "x": 1400, + "y": 200 + } + } + ], + "edges": [ + { + "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", + "sourceHandle": "value", + "target": "55705012-79b9-4aac-9f26-c0b10309785b", + "targetHandle": "seed", + "id": "reactflow__edge-ea94bc37-d995-4a83-aa99-4af42479f2f2value-55705012-79b9-4aac-9f26-c0b10309785bseed", + "type": "default" + }, + { + "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "sourceHandle": "clip", + "target": "7d8bf987-284f-413a-b2fd-d825445a5d6c", + "targetHandle": "clip", + "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8clip-7d8bf987-284f-413a-b2fd-d825445a5d6cclip", + "type": "default" + }, + { + "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "sourceHandle": "clip", + "target": "93dc02a4-d05b-48ed-b99c-c9b616af3402", + "targetHandle": "clip", + "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8clip-93dc02a4-d05b-48ed-b99c-c9b616af3402clip", + "type": "default" + }, + { + "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "sourceHandle": "vae", + "target": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "targetHandle": "vae", + "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8vae-dbcd2f98-d809-48c8-bf64-2635f88a2fe9vae", + "type": "default" + }, + { + "source": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "sourceHandle": "latents", + "target": "dbcd2f98-d809-48c8-bf64-2635f88a2fe9", + "targetHandle": "latents", + "id": "reactflow__edge-75899702-fa44-46d2-b2d5-3e17f234c3e7latents-dbcd2f98-d809-48c8-bf64-2635f88a2fe9latents", + "type": "default" + }, + { + "source": "7d8bf987-284f-413a-b2fd-d825445a5d6c", + "sourceHandle": "conditioning", + "target": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "targetHandle": "positive_conditioning", + "id": "reactflow__edge-7d8bf987-284f-413a-b2fd-d825445a5d6cconditioning-75899702-fa44-46d2-b2d5-3e17f234c3e7positive_conditioning", + "type": "default" + }, + { + "source": "93dc02a4-d05b-48ed-b99c-c9b616af3402", + "sourceHandle": "conditioning", + "target": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "targetHandle": "negative_conditioning", + "id": "reactflow__edge-93dc02a4-d05b-48ed-b99c-c9b616af3402conditioning-75899702-fa44-46d2-b2d5-3e17f234c3e7negative_conditioning", + "type": "default" + }, + { + "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", + "sourceHandle": "unet", + "target": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "targetHandle": "unet", + "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8unet-75899702-fa44-46d2-b2d5-3e17f234c3e7unet", + "type": "default" + }, + { + "source": "55705012-79b9-4aac-9f26-c0b10309785b", + "sourceHandle": "noise", + "target": "75899702-fa44-46d2-b2d5-3e17f234c3e7", + "targetHandle": "noise", + "id": "reactflow__edge-55705012-79b9-4aac-9f26-c0b10309785bnoise-75899702-fa44-46d2-b2d5-3e17f234c3e7noise", + "type": "default" + } + ] +}