Files
CosmicLaca-ComfyUI_Primere_…/Workflow/Development/universal_api.json
T

2483 lines
53 KiB
JSON

{
"id": "3ed198dc-bee5-40d4-a269-63c758e8edff",
"revision": 0,
"last_node_id": 93,
"last_link_id": 754,
"nodes": [
{
"id": 30,
"type": "LoadImage",
"pos": [
-2309.529507958986,
-9.281977659606936
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
687
]
},
{
"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": 41,
"type": "LoadImage",
"pos": [
-1849.529507958986,
570.718022340393
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
686
]
},
{
"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": [
-2759.5295079589832,
-19.281977659606934
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"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": 37,
"type": "LoadImage",
"pos": [
-3199.5295079589832,
540.718022340393
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
684
]
},
{
"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": [
-2299.529507958986,
560.718022340393
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
685
]
},
{
"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": 28,
"type": "LoadImage",
"pos": [
-3189.5295079589832,
-19.281977659606934
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"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": 36,
"type": "LoadImage",
"pos": [
-1849.529507958986,
0.7180223403930712
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
688
]
},
{
"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": 4,
"type": "PrimereAnyOutput",
"pos": [
-1837.7398895556041,
1168.2535218522207
],
"size": [
1190.348591275147,
1020.0648981547242
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 749
}
],
"outputs": [],
"title": "Primere Any Debug - SCHEMA",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"{\n \"provider\": \"Mistral\",\n \"service\": \"Chat\",\n \"response_handler\": \"Mistral_Chat.py\",\n \"reference_images_handler\": \"Mistral.py\",\n \"import_modules\": [\n \"from mistralai.client import Mistral\"\n ],\n \"possible_parameters\": {\n \"model\": [\n \"mistral-large-latest\",\n \"mistral-medium-latest\",\n \"mistral-small-latest\",\n \"mistral-tiny-latest\",\n \"ministral-3b-latest\",\n \"codestral-latest\",\n \"devstral-latest\",\n \"mistral-vibe-cli-latest\",\n \"devstral-medium-latest\",\n \"magistral-medium-latest\",\n \"ministral-14b-latest\",\n \"ministral-3b-latest\",\n \"ministral-8b-latest\"\n ],\n \"response\": [\n \"text\",\n \"json_object\",\n \"json_schema\"\n ],\n \"role\": [\n \"user\",\n \"system\"\n ],\n \"safe_prompt\": [\n false,\n true\n ],\n \"frequency_penalty\": \"FLOAT\",\n \"presence_penalty\": \"FLOAT\",\n \"temperature\": \"FLOAT\",\n \"top_p\": \"FLOAT\",\n \"max_tokens\": \"INT\"\n },\n \"request\": {\n \"method\": \"SDK\",\n \"endpoint\": \"client.chat.complete\",\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"{{model}}\",\n \"messages\": [\n {\n \"role\": \"{{role}}\",\n \"content\": \"{{prompt}}\"\n }\n ],\n \"stream\": false,\n \"frequency_penalty\": \"{{frequency_penalty}}\",\n \"presence_penalty\": \"{{presence_penalty}}\",\n \"random_seed\": \"{{seed}}\",\n \"safe_prompt\": \"{{safe_prompt}}\",\n \"temperature\": \"{{temperature}}\",\n \"top_p\": \"{{top_p}}\",\n \"n\": \"{{batch}}\",\n \"max_tokens\": \"{{max_tokens}}\",\n \"response_format\": {\n \"type\": \"{{response}}\"\n }\n }\n }\n }\n}"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 18,
"type": "LoadImage",
"pos": [
-2759.6928296656233,
538.6656744396611
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
689
]
},
{
"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": 85,
"type": "PrimereMultiPath",
"pos": [
-877.4082912107186,
-548.34399682935
],
"size": [
270,
382
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "path_1",
"type": "PATH",
"link": 723
},
{
"name": "path_2",
"shape": 7,
"type": "PATH",
"link": 725
},
{
"name": "path_3",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_4",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_5",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_6",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_7",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_8",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_9",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_10",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_11",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_12",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_13",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_14",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_15",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_16",
"shape": 7,
"type": "PATH",
"link": null
}
],
"outputs": [
{
"name": "path_list",
"type": "PATH",
"links": [
740
]
}
],
"properties": {
"Node name for S&R": "PrimereMultiPath"
},
"widgets_values": [
false,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 86,
"type": "PrimerePathSelector",
"pos": [
-1405.5045940911036,
-341.6739961646898
],
"size": [
478.227297399902,
156
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "final_path",
"type": "PATH",
"links": [
725
]
},
{
"name": "path_type",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "PrimerePathSelector"
},
"widgets_values": [
true,
null,
"No path selected"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 78,
"type": "PrimerePathSelector",
"pos": [
-1397.4904215141992,
-550.5634594428881
],
"size": [
478.227297399902,
156
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "final_path",
"type": "PATH",
"links": [
723
]
},
{
"name": "path_type",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "PrimerePathSelector"
},
"widgets_values": [
true,
null,
"No path selected"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 87,
"type": "PrimereMultiPath",
"pos": [
-887.5916265927982,
-118.2127061280558
],
"size": [
270,
382
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "path_1",
"type": "PATH",
"link": 727
},
{
"name": "path_2",
"shape": 7,
"type": "PATH",
"link": 728
},
{
"name": "path_3",
"shape": 7,
"type": "PATH",
"link": 729
},
{
"name": "path_4",
"shape": 7,
"type": "PATH",
"link": 730
},
{
"name": "path_5",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_6",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_7",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_8",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_9",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_10",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_11",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_12",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_13",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_14",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_15",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "path_16",
"shape": 7,
"type": "PATH",
"link": null
}
],
"outputs": [
{
"name": "path_list",
"type": "PATH",
"links": [
745
]
}
],
"properties": {
"Node name for S&R": "PrimereMultiPath"
},
"widgets_values": [
false,
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 79,
"type": "PrimerePathSelector",
"pos": [
-1419.6035267937398,
313.3752593513626
],
"size": [
786.2303646972653,
156
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "final_path",
"type": "PATH",
"links": [
727
]
},
{
"name": "path_type",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "PrimerePathSelector"
},
"widgets_values": [
true,
null,
"No path selected"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 80,
"type": "PrimerePathSelector",
"pos": [
-1413.5190347527248,
512.5039814949166
],
"size": [
778.6389204101558,
156
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "final_path",
"type": "PATH",
"links": [
728
]
},
{
"name": "path_type",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "PrimerePathSelector"
},
"widgets_values": [
true,
null,
"No path selected"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 81,
"type": "PrimerePathSelector",
"pos": [
-1417.6066150583447,
714.8088251480929
],
"size": [
779.7235911743162,
156
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "final_path",
"type": "PATH",
"links": [
729
]
},
{
"name": "path_type",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "PrimerePathSelector"
},
"widgets_values": [
true,
null,
"No path selected"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 82,
"type": "PrimerePathSelector",
"pos": [
-1414.3644019707422,
914.0156614784377
],
"size": [
771.0474761230469,
156
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "final_path",
"type": "PATH",
"links": [
730
]
},
{
"name": "path_type",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "PrimerePathSelector"
},
"widgets_values": [
true,
null,
"No path selected"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 39,
"type": "LoadImage",
"pos": [
-2756.362040157467,
-569.1342927357786
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"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": 83,
"type": "LoadImage",
"pos": [
-3189.1821719084437,
-571.8883629088976
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.14.1"
},
"widgets_values": [
"r8Q6tkZK5795yi9rLf20h_EfRZdjbd.jpg",
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 22,
"type": "LoadImage",
"pos": [
-1844.293392548744,
-562.5433956546383
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"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": 38,
"type": "LoadImage",
"pos": [
-2305.3798029791355,
-567.741935514648
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"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": 42,
"type": "PreviewImage",
"pos": [
-1888.7932448320628,
-1199.1291426990847
],
"size": [
2324.0069677273495,
581.7454612396214
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 691
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 5,
"type": "PrimereAnyOutput",
"pos": [
-619.8867079921087,
1122.488362098251
],
"size": [
926.2206882503098,
1078.7652401045225
],
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 750
}
],
"outputs": [],
"title": "Primere Any Debug - RENDERED",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"{\n \"provider\": \"Mistral\",\n \"endpoint\": \"client.chat.complete\",\n \"method\": \"SDK\",\n \"headers\": {},\n \"query\": {},\n \"body\": null,\n \"sdk_call\": {\n \"kwargs\": {\n \"model\": \"mistral-large-latest\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"What is the capital of UK?\"\n }\n ],\n \"stream\": false,\n \"frequency_penalty\": 0.0,\n \"presence_penalty\": 0.0,\n \"random_seed\": 50747000850263,\n \"safe_prompt\": false,\n \"temperature\": 0.7,\n \"top_p\": 1.0,\n \"n\": 1,\n \"max_tokens\": 2000,\n \"response_format\": {\n \"type\": \"text\"\n }\n }\n },\n \"request_exclusions\": []\n}"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 6,
"type": "PrimereAnyOutput",
"pos": [
-614.7778692052702,
2256.7095254385586
],
"size": [
906.2637000063987,
628.220628990278
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 752
}
],
"outputs": [],
"title": "Primere Any Debug - REQUEST BODY",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"{\n \"model\": \"mistral-large-latest\",\n \"role\": \"user\",\n \"prompt\": \"What is the capital of UK?\",\n \"frequency_penalty\": 0.0,\n \"presence_penalty\": 0.0,\n \"seed\": 50747000850263,\n \"safe_prompt\": false,\n \"temperature\": 0.7,\n \"top_p\": 1.0,\n \"batch\": 1,\n \"max_tokens\": 2000,\n \"response\": \"text\"\n}"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 58,
"type": "LoadImage",
"pos": [
-598.2958867244873,
687.2355513303223
],
"size": [
327.5351346026613,
386.2967736602784
],
"flags": {},
"order": 18,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
738
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.14.1"
},
"widgets_values": [
"Image_A662_20260902_134540_258750579776_2072x3024_1.jpg",
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 75,
"type": "LoadImage",
"pos": [
-600.6347527210087,
253.82658388766464
],
"size": [
327.5351346026613,
386.2967736602784
],
"flags": {},
"order": 19,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
739
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.14.1"
},
"widgets_values": [
"Image_A642_20260902_134125_832184619664671_2072x3024_1.jpg",
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 47,
"type": "PrimereAnyOutput",
"pos": [
347.25227136807405,
678.9519444328213
],
"size": [
887.1002652508323,
1079.130111868482
],
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 751
}
],
"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\": \"mistral-large-latest\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"What is the capital of UK?\"\n }\n ],\n \"stream\": false,\n \"frequency_penalty\": 0.0,\n \"presence_penalty\": 0.0,\n \"random_seed\": 50747000850263,\n \"safe_prompt\": false,\n \"temperature\": 0.7,\n \"top_p\": 1.0,\n \"n\": 1,\n \"max_tokens\": 2000,\n \"response_format\": {\n \"type\": \"text\"\n }\n}"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "PrimereAnyOutput",
"pos": [
1299.6709562415458,
1154.130078302757
],
"size": [
1066.9028946534431,
1163.5127427084483
],
"flags": {},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 753
}
],
"outputs": [],
"title": "Primere Any Debug - API SCHEMAS",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"({'schema': {'provider': 'Mistral', 'service': 'Chat', 'response_handler': 'Mistral_Chat.py', 'reference_images_handler': 'Mistral.py', 'import_modules': ['from mistralai.client import Mistral'], 'possible_parameters': {'model': ['mistral-large-latest', 'mistral-medium-latest', 'mistral-small-latest', 'mistral-tiny-latest', 'ministral-3b-latest', 'codestral-latest', 'devstral-latest', 'mistral-vibe-cli-latest', 'devstral-medium-latest', 'magistral-medium-latest', 'ministral-14b-latest', 'ministral-3b-latest', 'ministral-8b-latest'], 'response': ['text', 'json_object', 'json_schema'], 'role': ['user', 'system'], 'safe_prompt': [False, True], 'frequency_penalty': 'FLOAT', 'presence_penalty': 'FLOAT', 'temperature': 'FLOAT', 'top_p': 'FLOAT', 'max_tokens': 'INT'}, 'request': {'method': 'SDK', 'endpoint': 'client.chat.complete', 'sdk_call': {'args': [], 'kwargs': {'model': '{{model}}', 'messages': [{'role': '{{role}}', 'content': '{{prompt}}'}], 'stream': False, 'frequency_penalty': '{{frequency_penalty}}', 'presence_penalty': '{{presence_penalty}}', 'random_seed': '{{seed}}', 'safe_prompt': '{{safe_prompt}}', 'temperature': '{{temperature}}', 'top_p': '{{top_p}}', 'n': '{{batch}}', 'max_tokens': '{{max_tokens}}', 'response_format': {'type': '{{response}}'}}}}}, 'selected_parameters': {'prompt': 'What is the capital of UK?', 'width': 1365, 'height': 768, 'aspect_ratio': '16:9', 'seed': 50747000850263, 'debug_mode': False, 'batch': 1, 'model': 'mistral-large-latest', 'response': 'text', 'role': 'user', 'safe_prompt': False, 'frequency_penalty': 0, 'presence_penalty': 0, 'temperature': 0.7, 'top_p': 1, 'max_tokens': 2000}, 'used_values': {'model': 'mistral-large-latest', 'role': 'user', 'prompt': 'What is the capital of UK?', 'frequency_penalty': 0.0, 'presence_penalty': 0.0, 'seed': 50747000850263, 'safe_prompt': False, 'temperature': 0.7, 'top_p': 1.0, 'batch': 1, 'max_tokens': 2000, 'response': 'text'}, 'selected_service': 'Chat', 'rendered': {'provider': 'Mistral', 'endpoint': 'client.chat.complete', 'method': 'SDK', 'headers': {}, 'query': {}, 'body': None, 'sdk_call': {'kwargs': {'model': 'mistral-large-latest', 'messages': [{'role': 'user', 'content': 'What is the capital of UK?'}], 'stream': False, 'frequency_penalty': 0.0, 'presence_penalty': 0.0, 'random_seed': 50747000850263, 'safe_prompt': False, 'temperature': 0.7, 'top_p': 1.0, 'n': 1, 'max_tokens': 2000, 'response_format': {'type': 'text'}}}, 'request_exclusions': []}, 'api_result': {'_type': 'ChatCompletionResponse', 'id': '9101ad4712e94aa1b27cee3cd9ab690f', 'object': 'chat.completion', 'model': 'mistral-large-latest', 'usage': {'_type': 'UsageInfo', 'prompt_tokens': 10, 'completion_tokens': 36, 'total_tokens': 46, 'prompt_audio_seconds': Unset()}, 'created': 1778672666, 'choices': [{'_type': 'ChatCompletionChoice', 'index': 0, 'finish_reason': 'stop', 'message': {'_type': 'AssistantMessage', 'role': 'assistant', 'content': 'The capital of the **United Kingdom (UK)** is **London**.\\n\\nLondon is also the largest city in the UK and serves as its political, economic, and cultural center.', 'tool_calls': None, 'prefix': False}, 'messages': None}]}, 'api_error': None},)"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 16,
"type": "PrimereFastSeed",
"pos": [
468.3868133688827,
476.50854716353905
],
"size": [
330.364340787964,
149.12278620629877
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
53,
744
]
}
],
"properties": {
"Node name for S&R": "PrimereFastSeed",
"cnr_id": "comfyui_primere_nodes",
"ver": "782a54aaf8138894f4bfd2254326af3564da4cbb"
},
"widgets_values": [
"Random",
42,
"Last seed: [50747000850263]"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 2,
"type": "PrimereAnyOutput",
"pos": [
481.5708260875125,
105.29145441869733
],
"size": [
747.0956014552244,
88
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 747
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"<mistralai.client.sdk.Mistral object at 0x000001C3E5C6E490>"
]
},
{
"id": 3,
"type": "PrimereAnyOutput",
"pos": [
488.18882627897494,
236.9792907188056
],
"size": [
322.334039018799,
88
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 748
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"Mistral"
]
},
{
"id": 90,
"type": "LoadImage",
"pos": [
476.37846760967176,
-1155.8868927678675
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
731
]
},
{
"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": 89,
"type": "LoadImage",
"pos": [
923.2152017348058,
-1146.9105609876922
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
732
]
},
{
"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": 88,
"type": "LoadImage",
"pos": [
1356.0353334857807,
-1144.156490814573
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
733
]
},
{
"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-28-37.jpg",
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 91,
"type": "LoadImage",
"pos": [
1794.083601958559,
-1137.8443095086955
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
734
]
},
{
"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": 92,
"type": "LoadImage",
"pos": [
2246.5668920072644,
-1128.9074952723063
],
"size": [
412.12756911804206,
508.84732322692867
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
735
]
},
{
"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": 15,
"type": "PrimereResolution",
"pos": [
892.7955680893259,
309.1699408483429
],
"size": [
361.37166959228534,
310
],
"flags": {},
"order": 30,
"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": [
741
]
},
{
"name": "HEIGHT",
"type": "INT",
"links": [
742
]
},
{
"name": "SQUARE_SHAPE",
"type": "INT",
"links": null
},
{
"name": "ASPECT_RATIO",
"type": "STRING",
"links": [
743
]
}
],
"properties": {
"Node name for S&R": "PrimereResolution",
"cnr_id": "comfyui_primere_nodes",
"ver": "782a54aaf8138894f4bfd2254326af3564da4cbb"
},
"widgets_values": [
"HD screen [16:9]",
false,
1024,
false,
"Horizontal",
false,
false,
1.6,
2.8
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 27,
"type": "PrimerePreviewImage",
"pos": [
1299.5657499361994,
-535.7278327133808
],
"size": [
1073.2593828125005,
1628.4858571984864
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 746
},
{
"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",
"ERROR: Cannot list target for Checkpoint",
null
]
},
{
"id": 77,
"type": "PrimereMultiImage",
"pos": [
-590.2012907744918,
-546.0380461675578
],
"size": [
308.59738991477275,
622
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 731
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 732
},
{
"name": "image_3",
"shape": 7,
"type": "IMAGE",
"link": 733
},
{
"name": "image_4",
"shape": 7,
"type": "IMAGE",
"link": 734
},
{
"name": "image_5",
"shape": 7,
"type": "IMAGE",
"link": 735
},
{
"name": "image_6",
"shape": 7,
"type": "IMAGE",
"link": 684
},
{
"name": "image_7",
"shape": 7,
"type": "IMAGE",
"link": 685
},
{
"name": "image_8",
"shape": 7,
"type": "IMAGE",
"link": 686
},
{
"name": "image_9",
"shape": 7,
"type": "IMAGE",
"link": 687
},
{
"name": "image_10",
"shape": 7,
"type": "IMAGE",
"link": 688
},
{
"name": "image_11",
"shape": 7,
"type": "IMAGE",
"link": 689
},
{
"name": "image_12",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "image_13",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "image_14",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "image_15",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "image_16",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE_LIST",
"type": "IMAGE",
"links": [
737
]
},
{
"name": "IMAGE_BATCH",
"type": "IMAGE",
"links": null
},
{
"name": "IMAGE_CONCAT",
"type": "IMAGE",
"links": [
691
]
}
],
"properties": {
"Node name for S&R": "PrimereMultiImage"
},
"widgets_values": [
false,
5,
true,
1.2,
true,
true,
"white",
true,
"Horizontal",
true,
6,
"black"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 44,
"type": "PrimereAnyOutput",
"pos": [
348.8631474425314,
1815.5421473646813
],
"size": [
886.5942706627679,
739.8065007039345
],
"flags": {},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 754
}
],
"outputs": [],
"title": "Primere Any Debug - API RESULT",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"{'_type': 'ChatCompletionResponse', 'id': '9101ad4712e94aa1b27cee3cd9ab690f', 'object': 'chat.completion', 'model': 'mistral-large-latest', 'usage': {'_type': 'UsageInfo', 'prompt_tokens': 10, 'completion_tokens': 36, 'total_tokens': 46, 'prompt_audio_seconds': Unset()}, 'created': 1778672666, 'choices': [{'_type': 'ChatCompletionChoice', 'index': 0, 'finish_reason': 'stop', 'message': {'_type': 'AssistantMessage', 'role': 'assistant', 'content': 'The capital of the **United Kingdom (UK)** is **London**.\\n\\nLondon is also the largest city in the UK and serves as its political, economic, and cultural center.', 'tool_calls': None, 'prefix': False}, 'messages': None}]}"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 55,
"type": "PrimitiveStringMultiline",
"pos": [
3203.499121106186,
-1152.0485974562798
],
"size": [
733.2619240917973,
382.46790301705124
],
"flags": {},
"order": 26,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": []
}
],
"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.\n\ne:\\!Works\\AI\\AIPICS\\ComfyAPI\\[time(%Y-%m-Week-%W)]"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 9,
"type": "PrimitiveStringMultiline",
"pos": [
480.79284780821257,
-541.1178926016723
],
"size": [
790.9581696081548,
595.7926347113871
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
736
]
}
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.14.1"
},
"widgets_values": [
"What is the capital of UK?"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 93,
"type": "PrimereApiProcessor",
"pos": [
-253.36638311324856,
-548.3233034269159
],
"size": [
687.9337945859295,
1166
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "prompt",
"type": "STRING",
"link": 736
},
{
"name": "negative_prompt",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "reference_images",
"shape": 7,
"type": "IMAGE",
"link": 737
},
{
"name": "first_image",
"shape": 7,
"type": "IMAGE",
"link": 738
},
{
"name": "last_image",
"shape": 7,
"type": "IMAGE",
"link": 739
},
{
"name": "frontal_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "reference_video",
"shape": 7,
"type": "PATH",
"link": 740
},
{
"name": "width",
"shape": 7,
"type": "INT",
"link": 741
},
{
"name": "height",
"shape": 7,
"type": "INT",
"link": 742
},
{
"name": "aspect_ratio",
"shape": 7,
"type": "STRING",
"link": 743
},
{
"name": "seed",
"shape": 7,
"type": "INT",
"link": 744
},
{
"name": "custom_path_1",
"shape": 7,
"type": "PATH",
"link": 745
},
{
"name": "custom_path_2",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "custom_path_3",
"shape": 7,
"type": "PATH",
"link": null
},
{
"name": "custom_path_4",
"shape": 7,
"type": "PATH",
"link": null
}
],
"outputs": [
{
"name": "RESULT",
"type": "IMAGE",
"links": [
746
]
},
{
"name": "CLIENT",
"type": "APICLIENT",
"links": [
747
]
},
{
"name": "PROVIDER",
"type": "STRING",
"links": [
748
]
},
{
"name": "SCHEMA",
"type": "TUPLE",
"links": [
749
]
},
{
"name": "RENDERED",
"type": "TUPLE",
"links": [
750
]
},
{
"name": "RAW_PAYLOAD",
"type": "TUPLE",
"links": [
751
]
},
{
"name": "REQUEST_BODY",
"type": "TUPLE",
"links": [
752
]
},
{
"name": "API_SCHEMAS",
"type": "TUPLE",
"links": [
753
]
},
{
"name": "API_RESULT",
"type": "TUPLE",
"links": [
754
]
}
],
"properties": {
"Node name for S&R": "PrimereApiProcessor"
},
"widgets_values": [
null,
true,
false,
"Mistral",
"Chat",
1,
true,
"e:\\!Works\\AI\\AIPICS\\ComfyAPI\\[time(%Y-%m-Week-%W)]",
"Test",
true,
true,
true,
"API",
"_",
true,
true,
1,
false,
"jpg",
95,
true,
true,
true,
"mistral-large-latest",
"text",
"user",
false,
0,
0,
0.7,
1,
2000
],
"color": "#233",
"bgcolor": "#355"
}
],
"links": [
[
53,
16,
0,
15,
0,
"INT"
],
[
684,
37,
0,
77,
5,
"IMAGE"
],
[
685,
40,
0,
77,
6,
"IMAGE"
],
[
686,
41,
0,
77,
7,
"IMAGE"
],
[
687,
30,
0,
77,
8,
"IMAGE"
],
[
688,
36,
0,
77,
9,
"IMAGE"
],
[
689,
18,
0,
77,
10,
"IMAGE"
],
[
691,
77,
2,
42,
0,
"IMAGE"
],
[
723,
78,
0,
85,
0,
"PATH"
],
[
725,
86,
0,
85,
1,
"PATH"
],
[
727,
79,
0,
87,
0,
"PATH"
],
[
728,
80,
0,
87,
1,
"PATH"
],
[
729,
81,
0,
87,
2,
"PATH"
],
[
730,
82,
0,
87,
3,
"PATH"
],
[
731,
90,
0,
77,
0,
"IMAGE"
],
[
732,
89,
0,
77,
1,
"IMAGE"
],
[
733,
88,
0,
77,
2,
"IMAGE"
],
[
734,
91,
0,
77,
3,
"IMAGE"
],
[
735,
92,
0,
77,
4,
"IMAGE"
],
[
736,
9,
0,
93,
0,
"STRING"
],
[
737,
77,
0,
93,
2,
"IMAGE"
],
[
738,
58,
0,
93,
3,
"IMAGE"
],
[
739,
75,
0,
93,
4,
"IMAGE"
],
[
740,
85,
0,
93,
6,
"PATH"
],
[
741,
15,
0,
93,
7,
"INT"
],
[
742,
15,
1,
93,
8,
"INT"
],
[
743,
15,
3,
93,
9,
"STRING"
],
[
744,
16,
0,
93,
10,
"INT"
],
[
745,
87,
0,
93,
11,
"PATH"
],
[
746,
93,
0,
27,
0,
"IMAGE"
],
[
747,
93,
1,
2,
0,
"APICLIENT"
],
[
748,
93,
2,
3,
0,
"STRING"
],
[
749,
93,
3,
4,
0,
"TUPLE"
],
[
750,
93,
4,
5,
0,
"TUPLE"
],
[
751,
93,
5,
47,
0,
"TUPLE"
],
[
752,
93,
6,
6,
0,
"TUPLE"
],
[
753,
93,
7,
8,
0,
"TUPLE"
],
[
754,
93,
8,
44,
0,
"TUPLE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.42409761837248516,
"offset": [
3072.4423686010905,
1104.3747250677122
]
},
"frontendVersion": "1.43.18"
},
"version": 0.4
}