{ "id": "3ed198dc-bee5-40d4-a269-63c758e8edff", "revision": 0, "last_node_id": 49, "last_link_id": 294, "nodes": [ { "id": 22, "type": "LoadImage", "pos": [ -1034.1039162302618, -536.5149387988644 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 207 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "2025-03-18_16-10-01.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 30, "type": "LoadImage", "pos": [ -1520, 20 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 213 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "GP_00006-20230606215857-152545594-hq-scale-2_00x.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 36, "type": "LoadImage", "pos": [ -1060, 30 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 214 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "IMG_1074.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 28, "type": "LoadImage", "pos": [ -2400, 10 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 3, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 209 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "4FJRSS25ACABU531-94S-P-META.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 37, "type": "LoadImage", "pos": [ -2410, 570 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 4, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 210 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "2025-03-21_09-26-43.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 40, "type": "LoadImage", "pos": [ -1510, 590 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 5, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 211 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "2025-03-22_15-24-00.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 18, "type": "LoadImage", "pos": [ -1463.6929609110477, -541.514916458471 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 215 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "348368277_936696344247420_4680049320151257292_n.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 4, "type": "PrimereAnyOutput", "pos": [ -1518.8590176831076, 1165.6289970492114 ], "size": [ 850.4711965960701, 1262.834388548706 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 289 } ], "outputs": [], "title": "Primere Any Debug - SCHEMA", "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "{\n \"provider\": \"OpenAI\",\n \"service\": \"OpenAI_GPT\",\n \"response_handler\": \"OpenAI_Image.py\",\n \"import_modules\": [\n \"from openai import OpenAI\"\n ],\n \"possible_parameters\": {\n \"model\": [\n \"chatgpt-image-latest\",\n \"gpt-image-1.5\",\n \"gpt-image-1\",\n \"gpt-image-1-mini\"\n ],\n \"gen_method\": [\n \"generate\",\n \"edit\"\n ],\n \"background\": [\n \"auto\",\n \"transparent\",\n \"opaque\"\n ],\n \"moderation\": [\n \"low\",\n \"auto\"\n ],\n \"input_fidelity\": [\n \"high\",\n \"low\"\n ],\n \"output_format\": [\n \"jpeg\",\n \"png\",\n \"webp\"\n ],\n \"output_compression\": \"INT\",\n \"quality\": [\n \"high\",\n \"low\",\n \"medium\",\n \"auto\"\n ],\n \"size\": [\n \"1024x1024\",\n \"1536x1024\",\n \"1024x1536\",\n \"auto\"\n ]\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"output_format\",\n \"equals\": \"png\"\n },\n \"remove\": [\n \"output_compression\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"edit\"\n },\n \"remove\": [\n \"moderation\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"generate\"\n },\n \"remove\": [\n \"image\",\n \"reference_images\",\n \"input_fidelity\"\n ]\n }\n ],\n \"request\": {\n \"method\": \"SDK\",\n \"endpoint\": \"client.images.{{gen_method}}\",\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"{{model}}\",\n \"image\": \"{{reference_images}}\",\n \"prompt\": \"{{prompt}}\",\n \"n\": \"{{batch}}\",\n \"moderation\": \"{{moderation}}\",\n \"input_fidelity\": \"{{input_fidelity}}\",\n \"background\": \"{{background}}\",\n \"output_format\": \"{{output_format}}\",\n \"output_compression\": \"{{output_compression}}\",\n \"size\": \"{{size}}\",\n \"quality\": \"{{quality}}\"\n }\n }\n }\n}" ], "color": "#322", "bgcolor": "#533" }, { "id": 39, "type": "LoadImage", "pos": [ -1960, 580 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 245 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "tmpbncl5y7d.png", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 38, "type": "LoadImage", "pos": [ -1912.6212466799445, -539.9999999999999 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 244 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "ComfyUI_temp_ejydc_00003_.png", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 3, "type": "PrimereAnyOutput", "pos": [ 573.486169897627, -710.2392168493096 ], "size": [ 450.9361328125, 88 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 288 } ], "outputs": [], "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "OpenAI" ] }, { "id": 41, "type": "LoadImage", "pos": [ -1060, 600 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 212 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "selyemkendo-7-3.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 29, "type": "LoadImage", "pos": [ -1970, 10 ], "size": [ 412.12756911804206, 508.84732322692867 ], "flags": {}, "order": 10, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 208 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "4FJRSS25TLONF542-11S-P-META.jpg", "image" ], "color": "#432", "bgcolor": "#653" }, { "id": 2, "type": "PrimereAnyOutput", "pos": [ 562.6930916032595, -853.9760202140844 ], "size": [ 682.0786325349364, 88 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 287 } ], "outputs": [], "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "" ] }, { "id": 15, "type": "PrimereResolution", "pos": [ 463.6623051612252, -94.55294258110021 ], "size": [ 361.37166959228534, 310 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "seed", "shape": 7, "type": "INT", "link": 53 }, { "name": "model_version", "shape": 7, "type": "STRING", "link": null }, { "name": "model_concept", "shape": 7, "type": "STRING", "link": null } ], "outputs": [ { "name": "WIDTH", "type": "INT", "links": [ 282 ] }, { "name": "HEIGHT", "type": "INT", "links": [ 283 ] }, { "name": "SQUARE_SHAPE", "type": "INT", "links": null }, { "name": "ASPECT_RATIO", "type": "STRING", "links": [ 284 ] } ], "properties": { "Node name for S&R": "PrimereResolution", "cnr_id": "comfyui_primere_nodes", "ver": "782a54aaf8138894f4bfd2254326af3564da4cbb" }, "widgets_values": [ "HD+ screen [16:10]", false, 1024, false, "Horizontal", false, false, 1.6, 2.8 ], "color": "#232", "bgcolor": "#353" }, { "id": 16, "type": "PrimereFastSeed", "pos": [ 866.7850392596297, 23.212314541041348 ], "size": [ 330.364340787964, 149.12278620629877 ], "flags": {}, "order": 11, "mode": 0, "inputs": [], "outputs": [ { "name": "SEED", "type": "INT", "links": [ 53, 285 ] } ], "properties": { "Node name for S&R": "PrimereFastSeed", "cnr_id": "comfyui_primere_nodes", "ver": "782a54aaf8138894f4bfd2254326af3564da4cbb" }, "widgets_values": [ "Random", 42, "Last seed: [784560880586642]" ], "color": "#223", "bgcolor": "#335" }, { "id": 9, "type": "PrimitiveStringMultiline", "pos": [ 480.79284780821257, -541.1178926016723 ], "size": [ 733.2619240917973, 382.46790301705124 ], "flags": {}, "order": 12, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 280 ] } ], "properties": { "Node name for S&R": "PrimitiveStringMultiline", "cnr_id": "comfy-core", "ver": "0.14.1" }, "widgets_values": [ "The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images." ], "color": "#232", "bgcolor": "#353" }, { "id": 42, "type": "PreviewImage", "pos": [ -1911.866591853913, -1189.5097461843127 ], "size": [ 2324.0069677273495, 581.7454612396214 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 205 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 44, "type": "PrimereAnyOutput", "pos": [ 338.36461572048563, 1560.962322389034 ], "size": [ 886.5942706627679, 739.8065007039345 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 294 } ], "outputs": [], "title": "Primere Any Debug - API RESULT", "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "{\n \"_type\": \"ImagesResponse\",\n \"created\": 1772801053,\n \"background\": \"opaque\",\n \"data\": [\n {\n \"_type\": \"Image\",\n \"b64_json\": \"[base64 omitted: 390392 chars]\",\n \"revised_prompt\": null,\n \"url\": null\n }\n ],\n \"output_format\": \"jpeg\",\n \"quality\": \"high\",\n \"size\": \"1536x1024\",\n \"usage\": {\n \"_type\": \"Usage\",\n \"input_tokens\": 27775,\n \"input_tokens_details\": {\n \"_type\": \"UsageInputTokensDetails\",\n \"image_tokens\": 27416,\n \"text_tokens\": 359\n },\n \"output_tokens\": 9300,\n \"total_tokens\": 37075\n }\n}" ], "color": "#432", "bgcolor": "#653" }, { "id": 6, "type": "PrimereAnyOutput", "pos": [ -611.8018295909516, 1557.6890585049641 ], "size": [ 906.2637000063987, 628.220628990278 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 292 } ], "outputs": [], "title": "Primere Any Debug - REQUEST BODY", "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "{\n \"gen_method\": \"edit\",\n \"model\": \"chatgpt-image-latest\",\n \"reference_images\": \"[reference_images omitted]\",\n \"prompt\": \"The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images.\",\n \"batch\": 1,\n \"input_fidelity\": \"high\",\n \"background\": \"auto\",\n \"output_format\": \"jpeg\",\n \"output_compression\": 90,\n \"size\": \"1536x1024\",\n \"quality\": \"high\"\n}" ], "color": "#232", "bgcolor": "#353" }, { "id": 8, "type": "PrimereAnyOutput", "pos": [ 1268.1764423504324, 1143.6319790907205 ], "size": [ 1066.9028946534431, 1163.5127427084483 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 293 } ], "outputs": [], "title": "Primere Any Debug - API SCHEMAS", "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "[\n {\n \"schema\": {\n \"provider\": \"OpenAI\",\n \"service\": \"OpenAI_GPT\",\n \"response_handler\": \"OpenAI_Image.py\",\n \"import_modules\": [\n \"from openai import OpenAI\"\n ],\n \"possible_parameters\": {\n \"model\": [\n \"chatgpt-image-latest\",\n \"gpt-image-1.5\",\n \"gpt-image-1\",\n \"gpt-image-1-mini\"\n ],\n \"gen_method\": [\n \"generate\",\n \"edit\"\n ],\n \"background\": [\n \"auto\",\n \"transparent\",\n \"opaque\"\n ],\n \"moderation\": [\n \"low\",\n \"auto\"\n ],\n \"input_fidelity\": [\n \"high\",\n \"low\"\n ],\n \"output_format\": [\n \"jpeg\",\n \"png\",\n \"webp\"\n ],\n \"output_compression\": \"INT\",\n \"quality\": [\n \"high\",\n \"low\",\n \"medium\",\n \"auto\"\n ],\n \"size\": [\n \"1024x1024\",\n \"1536x1024\",\n \"1024x1536\",\n \"auto\"\n ]\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"output_format\",\n \"equals\": \"png\"\n },\n \"remove\": [\n \"output_compression\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"edit\"\n },\n \"remove\": [\n \"moderation\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"generate\"\n },\n \"remove\": [\n \"image\",\n \"reference_images\",\n \"input_fidelity\"\n ]\n }\n ],\n \"request\": {\n \"method\": \"SDK\",\n \"endpoint\": \"client.images.{{gen_method}}\",\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"{{model}}\",\n \"image\": \"{{reference_images}}\",\n \"prompt\": \"{{prompt}}\",\n \"n\": \"{{batch}}\",\n \"moderation\": \"{{moderation}}\",\n \"input_fidelity\": \"{{input_fidelity}}\",\n \"background\": \"{{background}}\",\n \"output_format\": \"{{output_format}}\",\n \"output_compression\": \"{{output_compression}}\",\n \"size\": \"{{size}}\",\n \"quality\": \"{{quality}}\"\n }\n }\n }\n },\n \"selected_parameters\": {\n \"prompt\": \"The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images.\",\n \"width\": 1295,\n \"height\": 810,\n \"debug_mode\": false,\n \"aspect_ratio\": \"16:10\",\n \"seed\": 784560880586642,\n \"batch\": 1,\n \"model\": \"chatgpt-image-latest\",\n \"gen_method\": \"edit\",\n \"background\": \"auto\",\n \"moderation\": \"low\",\n \"input_fidelity\": \"high\",\n \"output_format\": \"jpeg\",\n \"output_compression\": 90,\n \"quality\": \"high\",\n \"size\": \"1536x1024\"\n },\n \"used_values\": {\n \"gen_method\": \"edit\",\n \"model\": \"chatgpt-image-latest\",\n \"reference_images\": \"[reference_images omitted]\",\n \"prompt\": \"The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images.\",\n \"batch\": 1,\n \"input_fidelity\": \"high\",\n \"background\": \"auto\",\n \"output_format\": \"jpeg\",\n \"output_compression\": 90,\n \"size\": \"1536x1024\",\n \"quality\": \"high\"\n },\n \"selected_service\": \"OpenAI_GPT\",\n \"rendered\": {\n \"provider\": \"OpenAI\",\n \"endpoint\": \"client.images.edit\",\n \"method\": \"SDK\",\n \"headers\": {},\n \"query\": {},\n \"body\": null,\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"chatgpt-image-latest\",\n \"image\": [\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_98083.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_13939.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_82773.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_70608.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_37268.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_27127.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_36775.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_47092.png\"\n }\n ],\n \"prompt\": \"The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images.\",\n \"n\": 1,\n \"input_fidelity\": \"high\",\n \"background\": \"auto\",\n \"output_format\": \"jpeg\",\n \"output_compression\": 90,\n \"size\": \"1536x1024\",\n \"quality\": \"high\"\n }\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"output_format\",\n \"equals\": \"png\"\n },\n \"remove\": [\n \"output_compression\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"edit\"\n },\n \"remove\": [\n \"moderation\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"generate\"\n },\n \"remove\": [\n \"image\",\n \"reference_images\",\n \"input_fidelity\"\n ]\n }\n ]\n },\n \"api_result\": {\n \"_type\": \"ImagesResponse\",\n \"created\": 1772801053,\n \"background\": \"opaque\",\n \"data\": [\n {\n \"_type\": \"Image\",\n \"b64_json\": \"[base64 omitted: 390392 chars]\",\n \"revised_prompt\": null,\n \"url\": null\n }\n ],\n \"output_format\": \"jpeg\",\n \"quality\": \"high\",\n \"size\": \"1536x1024\",\n \"usage\": {\n \"_type\": \"Usage\",\n \"input_tokens\": 27775,\n \"input_tokens_details\": {\n \"_type\": \"UsageInputTokensDetails\",\n \"image_tokens\": 27416,\n \"text_tokens\": 359\n },\n \"output_tokens\": 9300,\n \"total_tokens\": 37075\n }\n },\n \"api_error\": null\n }\n]" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 27, "type": "PrimerePreviewImage", "pos": [ 1257.865396292278, -548.2530556894246 ], "size": [ 1073.2593828125005, 1628.4858571984864 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "shape": 7, "type": "IMAGE", "link": 286 }, { "name": "image_metadata", "shape": 7, "type": "TUPLE", "link": null } ], "outputs": [], "properties": { "Node name for S&R": "PrimerePreviewImage", "cnr_id": "comfyui_primere_nodes", "ver": "834548535af27d52c9b7e6359af399a18cd8260e" }, "widgets_values": [ false, "jpeg", 0, 95, "Checkpoint", "Overwrite", false, "ERROR: Cannot list target for Checkpoint", null ] }, { "id": 47, "type": "PrimereAnyOutput", "pos": [ 340.75284553762964, 414.93515503963226 ], "size": [ 887.1002652508323, 1079.130111868482 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 291 } ], "outputs": [], "title": "Primere Any Debug - RAW PAYLOAD", "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "{\n \"model\": \"chatgpt-image-latest\",\n \"image\": [\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_98083.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_13939.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_82773.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_70608.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_37268.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_27127.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_36775.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_47092.png\"\n }\n ],\n \"prompt\": \"The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images.\",\n \"n\": 1,\n \"input_fidelity\": \"high\",\n \"background\": \"auto\",\n \"output_format\": \"jpeg\",\n \"output_compression\": 90,\n \"size\": \"1536x1024\",\n \"quality\": \"high\"\n}" ], "color": "#232", "bgcolor": "#353" }, { "id": 5, "type": "PrimereAnyOutput", "pos": [ -617.7612735264098, 421.41974285392627 ], "size": [ 926.2206882503098, 1078.7652401045225 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "input", "type": "*", "link": 290 } ], "outputs": [], "title": "Primere Any Debug - RENDERED", "properties": { "Node name for S&R": "PrimereAnyOutput", "cnr_id": "comfyui_primere_nodes", "ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361" }, "widgets_values": [ "{\n \"provider\": \"OpenAI\",\n \"endpoint\": \"client.images.edit\",\n \"method\": \"SDK\",\n \"headers\": {},\n \"query\": {},\n \"body\": null,\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"chatgpt-image-latest\",\n \"image\": [\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_98083.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_13939.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_82773.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_70608.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_37268.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_27127.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_36775.png\"\n },\n {\n \"_type\": \"BytesIO\",\n \"name\": \"image_47092.png\"\n }\n ],\n \"prompt\": \"The woman is sitting on the barstool closest to the viewer in the blue kitchen. Paint her hair red, give her a glass of champagne, and dress her in a black leather jacket with the zipper pulled down to reveal a white T-shirt underneath. Place a baseball cap on her head. She is wearing black jeans and a black belt. She is also wearing an elegant, silky, red women's neck scarf. Place the porcelain vase on the kitchen table. She holds a bug spray in her other hand and sprays it at a giant spider climbing on the wall. The woman is frightened. Her dog barks at the spider. Keep everything else unchanged. Follow all attached reference images.\",\n \"n\": 1,\n \"input_fidelity\": \"high\",\n \"background\": \"auto\",\n \"output_format\": \"jpeg\",\n \"output_compression\": 90,\n \"size\": \"1536x1024\",\n \"quality\": \"high\"\n }\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"output_format\",\n \"equals\": \"png\"\n },\n \"remove\": [\n \"output_compression\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"edit\"\n },\n \"remove\": [\n \"moderation\"\n ]\n },\n {\n \"when\": {\n \"path\": \"gen_method\",\n \"equals\": \"generate\"\n },\n \"remove\": [\n \"image\",\n \"reference_images\",\n \"input_fidelity\"\n ]\n }\n ]\n}" ], "color": "#322", "bgcolor": "#533" }, { "id": 17, "type": "PrimereMultiImage", "pos": [ -590.2012907744918, -546.0380461675578 ], "size": [ 289.7421875, 518 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 245 }, { "name": "image_2", "shape": 7, "type": "IMAGE", "link": 244 }, { "name": "image_3", "shape": 7, "type": "IMAGE", "link": 207 }, { "name": "image_4", "shape": 7, "type": "IMAGE", "link": 208 }, { "name": "image_5", "shape": 7, "type": "IMAGE", "link": 209 }, { "name": "image_6", "shape": 7, "type": "IMAGE", "link": 210 }, { "name": "image_7", "shape": 7, "type": "IMAGE", "link": 211 }, { "name": "image_8", "shape": 7, "type": "IMAGE", "link": 212 }, { "name": "image_9", "shape": 7, "type": "IMAGE", "link": 213 }, { "name": "image_10", "shape": 7, "type": "IMAGE", "link": 214 }, { "name": "image_11", "shape": 7, "type": "IMAGE", "link": 215 }, { "name": "image_12", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "IMAGE_LIST", "type": "IMAGE", "links": [ 281 ] }, { "name": "IMAGE_BATCH", "type": "IMAGE", "links": null }, { "name": "IMAGE_CONCAT", "type": "IMAGE", "links": [ 205 ] } ], "properties": { "Node name for S&R": "PrimereMultiImage", "cnr_id": "comfyui_primere_nodes", "ver": "782a54aaf8138894f4bfd2254326af3564da4cbb" }, "widgets_values": [ false, true, 1, true, true, "white", true, "Horizontal", true, 0, "white" ], "color": "#432", "bgcolor": "#653" }, { "id": 49, "type": "PrimereApiProcessor", "pos": [ -261.240011586027, -548.3233034269158 ], "size": [ 689.7263434140546, 914 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "prompt", "type": "STRING", "link": 280 }, { "name": "negative_prompt", "shape": 7, "type": "STRING", "link": null }, { "name": "reference_images", "shape": 7, "type": "IMAGE", "link": 281 }, { "name": "first_image", "shape": 7, "type": "IMAGE", "link": null }, { "name": "last_image", "shape": 7, "type": "IMAGE", "link": null }, { "name": "width", "shape": 7, "type": "INT", "link": 282 }, { "name": "height", "shape": 7, "type": "INT", "link": 283 }, { "name": "aspect_ratio", "shape": 7, "type": "STRING", "link": 284 }, { "name": "seed", "shape": 7, "type": "INT", "link": 285 } ], "outputs": [ { "name": "RESULT", "type": "IMAGE", "links": [ 286 ] }, { "name": "CLIENT", "type": "APICLIENT", "links": [ 287 ] }, { "name": "PROVIDER", "type": "STRING", "links": [ 288 ] }, { "name": "SCHEMA", "type": "TUPLE", "links": [ 289 ] }, { "name": "RENDERED", "type": "TUPLE", "links": [ 290 ] }, { "name": "RAW_PAYLOAD", "type": "TUPLE", "links": [ 291 ] }, { "name": "REQUEST_BODY", "type": "TUPLE", "links": [ 292 ] }, { "name": "API_SCHEMAS", "type": "TUPLE", "links": [ 293 ] }, { "name": "API_RESULT", "type": "TUPLE", "links": [ 294 ] } ], "properties": { "Node name for S&R": "PrimereApiProcessor" }, "widgets_values": [ true, true, "Gemini", "Nanobanana", 1, true, "e:\\!Works\\AI\\AIPICS\\ComfyAPI\\[time(%Y-%m-Week-%W)]", "None", true, true, true, "API", "_", true, true, 1, false, "jpg", 95, true, true, "1K", "gemini-2.5-flash-image", "minimal", false ], "color": "#233", "bgcolor": "#355" } ], "links": [ [ 53, 16, 0, 15, 0, "INT" ], [ 205, 17, 2, 42, 0, "IMAGE" ], [ 207, 22, 0, 17, 2, "IMAGE" ], [ 208, 29, 0, 17, 3, "IMAGE" ], [ 209, 28, 0, 17, 4, "IMAGE" ], [ 210, 37, 0, 17, 5, "IMAGE" ], [ 211, 40, 0, 17, 6, "IMAGE" ], [ 212, 41, 0, 17, 7, "IMAGE" ], [ 213, 30, 0, 17, 8, "IMAGE" ], [ 214, 36, 0, 17, 9, "IMAGE" ], [ 215, 18, 0, 17, 10, "IMAGE" ], [ 244, 38, 0, 17, 1, "IMAGE" ], [ 245, 39, 0, 17, 0, "IMAGE" ], [ 280, 9, 0, 49, 0, "STRING" ], [ 281, 17, 0, 49, 2, "IMAGE" ], [ 282, 15, 0, 49, 5, "INT" ], [ 283, 15, 1, 49, 6, "INT" ], [ 284, 15, 3, 49, 7, "STRING" ], [ 285, 16, 0, 49, 8, "INT" ], [ 286, 49, 0, 27, 0, "IMAGE" ], [ 287, 49, 1, 2, 0, "APICLIENT" ], [ 288, 49, 2, 3, 0, "STRING" ], [ 289, 49, 3, 4, 0, "TUPLE" ], [ 290, 49, 4, 5, 0, "TUPLE" ], [ 291, 49, 5, 47, 0, "TUPLE" ], [ 292, 49, 6, 6, 0, "TUPLE" ], [ 293, 49, 7, 8, 0, "TUPLE" ], [ 294, 49, 8, 44, 0, "TUPLE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.620921323059155, "offset": [ 1302.7558648239421, 1023.1223018588521 ] }, "frontendVersion": "1.39.19" }, "version": 0.4 }