{ "last_node_id": 32, "last_link_id": 38, "nodes": [ { "id": 19, "type": "KSampler", "pos": [ 1050, 970 ], "size": { "0": 220, "1": 300 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 22 }, { "name": "positive", "type": "CONDITIONING", "link": 23 }, { "name": "negative", "type": "CONDITIONING", "link": 24 }, { "name": "latent_image", "type": "LATENT", "link": 25 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 29 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 1121195339139873, "fixed", 20, 8, "euler", "normal", 1 ] }, { "id": 21, "type": "CLIPTextEncode", "pos": [ 830, 1090 ], "size": { "0": 210, "1": 50 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 26 }, { "name": "text", "type": "STRING", "link": 27, "widget": { "name": "text" }, "slot_index": 1 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "beautiful scenery nature glass bottle landscape, , purple galaxy bottle," ] }, { "id": 22, "type": "CLIPTextEncode", "pos": [ 830, 1180 ], "size": { "0": 210, "1": 90 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 28 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), tooth, open mouth" ] }, { "id": 23, "type": "VAEDecode", "pos": [ 1050, 1320 ], "size": { "0": 220, "1": 50 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 29 }, { "name": "vae", "type": "VAE", "link": 30 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 33 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 26, "type": "ConcatText_Zho", "pos": [ 1050, 1410 ], "size": { "0": 220, "1": 100 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "text_2", "type": "STRING", "link": 38, "widget": { "name": "text_2" } } ], "outputs": [ { "name": "text", "type": "STRING", "links": [ 27 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConcatText_Zho" }, "widgets_values": [ "xxmixgirl", "" ], "color": "#323", "bgcolor": "#535" }, { "id": 27, "type": "PreviewImage", "pos": [ 1280, 970 ], "size": { "0": 310, "1": 540 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 33 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 28, "type": "SelfAttentionGuidance", "pos": [ 830, 970 ], "size": { "0": 210, "1": 80 }, "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 34, "slot_index": 0 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 22 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SelfAttentionGuidance" }, "widgets_values": [ 0.5, 2 ] }, { "id": 20, "type": "EmptyLatentImage", "pos": [ 510, 1110 ], "size": { "0": 310, "1": 110 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 768, 1280, 1 ] }, { "id": 29, "type": "DisplayText_Zho", "pos": [ 830, 1320 ], "size": [ 210, 190 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 37, "widget": { "name": "text" } } ], "outputs": [ { "name": "text", "type": "STRING", "links": [ 38 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "DisplayText_Zho" }, "widgets_values": [ "", "A cute anime girl with big yellow ears that look like clouds. She's wearing a pink dress and is standing in a field of green grass on a clear day." ], "color": "#323", "bgcolor": "#535" }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ 510, 970 ], "size": [ 310, 100 ], "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 34 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 26, 28 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 30 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "XXMix_9realisticSDXL.safetensors" ] }, { "id": 17, "type": "Gemini_API_S_Zho", "pos": [ 510, 1260 ], "size": { "0": 310, "1": 250 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 21, "slot_index": 0 } ], "outputs": [ { "name": "text", "type": "STRING", "links": [ 37 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Gemini_API_S_Zho" }, "widgets_values": [ "text = ' ' # @param {type:\"string\"}\n\nprompt = \"You are creating a prompt for Stable Diffusion to generate an image. First step: describe this image, then put description into text. Second step: generate a text prompt for %s based on first step. Only respond with the prompt itself, but embellish it as needed but keep it under 80 tokens. \" % text", "gemini-pro-vision", false ], "color": "#323", "bgcolor": "#535" }, { "id": 18, "type": "LoadImage", "pos": [ 230, 970 ], "size": [ 270, 540 ], "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 21 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "example.png", "image" ] } ], "links": [ [ 21, 18, 0, 17, 0, "IMAGE" ], [ 22, 28, 0, 19, 0, "MODEL" ], [ 23, 21, 0, 19, 1, "CONDITIONING" ], [ 24, 22, 0, 19, 2, "CONDITIONING" ], [ 25, 20, 0, 19, 3, "LATENT" ], [ 26, 4, 1, 21, 0, "CLIP" ], [ 27, 26, 0, 21, 1, "STRING" ], [ 28, 4, 1, 22, 0, "CLIP" ], [ 29, 19, 0, 23, 0, "LATENT" ], [ 30, 4, 2, 23, 1, "VAE" ], [ 33, 23, 0, 27, 0, "IMAGE" ], [ 34, 4, 0, 28, 0, "MODEL" ], [ 37, 17, 0, 29, 0, "STRING" ], [ 38, 29, 0, 26, 0, "STRING" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }