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

1631 lines
50 KiB
JSON

{
"id": "3ed198dc-bee5-40d4-a269-63c758e8edff",
"revision": 0,
"last_node_id": 76,
"last_link_id": 678,
"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": 23,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 670
}
],
"outputs": [],
"title": "Primere Any Debug - SCHEMA",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"{\n \"provider\": \"Gemini\",\n \"service\": \"Nanobanana\",\n \"response_handler\": \"Gemini_Nanobanana.py\",\n \"import_modules\": [\n \"from google import genai\",\n \"from google.genai import types\"\n ],\n \"possible_parameters\": {\n \"aspect_ratio\": [\n \"1:1\",\n \"1:4\",\n \"1:8\",\n \"2:3\",\n \"3:2\",\n \"3:4\",\n \"4:1\",\n \"4:3\",\n \"4:5\",\n \"5:4\",\n \"8:1\",\n \"9:16\",\n \"16:9\",\n \"21:9\"\n ],\n \"resolution\": [\n \"1K\",\n \"512px\",\n \"2K\",\n \"4K\"\n ],\n \"model\": [\n \"gemini-2.5-flash-image\",\n \"gemini-3-pro-image-preview\",\n \"gemini-3.1-flash-image-preview\"\n ],\n \"thinking_level\": [\n \"minimal\",\n \"high\"\n ],\n \"include_thoughts\": [\n false,\n true\n ]\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-2.5-flash-image\"\n },\n \"remove\": [\n \"config.thinking_config\",\n \"thinking_level\",\n \"include_thoughts\"\n ]\n },\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-3-pro-image-preview\"\n },\n \"remove\": [\n \"config.thinking_config\"\n ]\n }\n ],\n \"request\": {\n \"method\": \"SDK\",\n \"endpoint\": \"client.models.generate_content\",\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"{{model}}\",\n \"contents\": [\n \"{{prompt}}\",\n \"{{reference_images}}\"\n ],\n \"config\": {\n \"$call\": \"types.GenerateContentConfig\",\n \"$args\": [],\n \"$kwargs\": {\n \"response_modalities\": [\n \"{{config_response_modalities_0}}\"\n ],\n \"image_config\": {\n \"$call\": \"types.ImageConfig\",\n \"$args\": [],\n \"$kwargs\": {\n \"aspect_ratio\": \"{{aspect_ratio}}\",\n \"image_size\": \"{{image_size}}\"\n }\n }\n }\n }\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": 22,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 669
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"Gemini"
]
},
{
"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": 21,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 668
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"<google.genai.client.Client object at 0x000001EB76885D10>"
]
},
{
"id": 44,
"type": "PrimereAnyOutput",
"pos": [
338.36461572048563,
1560.962322389034
],
"size": [
886.5942706627679,
739.8065007039345
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 675
}
],
"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\": \"GenerateContentResponse\",\n \"sdk_http_response\": {\n \"_type\": \"HttpResponse\",\n \"headers\": {\n \"content-type\": \"application/json; charset=UTF-8\",\n \"vary\": \"Origin, X-Origin, Referer\",\n \"content-encoding\": \"gzip\",\n \"date\": \"Sat, 07 Mar 2026 13:13:13 GMT\",\n \"server\": \"scaffolding on HTTPServer2\",\n \"x-xss-protection\": \"0\",\n \"x-frame-options\": \"SAMEORIGIN\",\n \"x-content-type-options\": \"nosniff\",\n \"server-timing\": \"gfet4t7; dur=16857\",\n \"alt-svc\": \"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\n \"transfer-encoding\": \"chunked\"\n },\n \"body\": null\n },\n \"candidates\": [\n {\n \"_type\": \"Candidate\",\n \"content\": {\n \"_type\": \"Content\",\n \"parts\": [\n {\n \"_type\": \"Part\",\n \"media_resolution\": null,\n \"code_execution_result\": null,\n \"executable_code\": null,\n \"file_data\": null,\n \"function_call\": null,\n \"function_response\": null,\n \"inline_data\": {\n \"_type\": \"Blob\",\n \"data\": \"[binary data omitted: 675850 bytes]\",\n \"display_name\": null,\n \"mime_type\": \"image/jpeg\"\n },\n \"text\": null,\n \"thought\": null,\n \"thought_signature\": \"[binary data omitted: 1241489 bytes]\",\n \"video_metadata\": null\n }\n ],\n \"role\": \"model\"\n },\n \"citation_metadata\": null,\n \"finish_message\": null,\n \"token_count\": null,\n \"finish_reason\": \"STOP\",\n \"grounding_metadata\": null,\n \"avg_logprobs\": null,\n \"index\": 0,\n \"logprobs_result\": null,\n \"safety_ratings\": null,\n \"url_context_metadata\": null\n }\n ],\n \"create_time\": null,\n \"model_version\": \"gemini-3-pro-image-preview\",\n \"prompt_feedback\": null,\n \"response_id\": \"aSSsabvDI6fXvdIPyd2WiQw\",\n \"usage_metadata\": {\n \"_type\": \"GenerateContentResponseUsageMetadata\",\n \"cache_tokens_details\": null,\n \"cached_content_token_count\": null,\n \"candidates_token_count\": 1202,\n \"candidates_tokens_details\": [\n {\n \"_type\": \"ModalityTokenCount\",\n \"modality\": \"IMAGE\",\n \"token_count\": 1120\n }\n ],\n \"prompt_token_count\": 30,\n \"prompt_tokens_details\": [\n {\n \"_type\": \"ModalityTokenCount\",\n \"modality\": \"TEXT\",\n \"token_count\": 30\n }\n ],\n \"thoughts_token_count\": 197,\n \"tool_use_prompt_token_count\": null,\n \"tool_use_prompt_tokens_details\": null,\n \"total_token_count\": 1429,\n \"traffic_type\": null\n },\n \"automatic_function_calling_history\": [],\n \"parsed\": null\n}"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 8,
"type": "PrimereAnyOutput",
"pos": [
1268.1764423504324,
1143.6319790907205
],
"size": [
1066.9028946534431,
1163.5127427084483
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 674
}
],
"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\": \"Gemini\",\n \"service\": \"Nanobanana\",\n \"response_handler\": \"Gemini_Nanobanana.py\",\n \"import_modules\": [\n \"from google import genai\",\n \"from google.genai import types\"\n ],\n \"possible_parameters\": {\n \"aspect_ratio\": [\n \"1:1\",\n \"1:4\",\n \"1:8\",\n \"2:3\",\n \"3:2\",\n \"3:4\",\n \"4:1\",\n \"4:3\",\n \"4:5\",\n \"5:4\",\n \"8:1\",\n \"9:16\",\n \"16:9\",\n \"21:9\"\n ],\n \"resolution\": [\n \"1K\",\n \"512px\",\n \"2K\",\n \"4K\"\n ],\n \"model\": [\n \"gemini-2.5-flash-image\",\n \"gemini-3-pro-image-preview\",\n \"gemini-3.1-flash-image-preview\"\n ],\n \"thinking_level\": [\n \"minimal\",\n \"high\"\n ],\n \"include_thoughts\": [\n false,\n true\n ]\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-2.5-flash-image\"\n },\n \"remove\": [\n \"config.thinking_config\",\n \"thinking_level\",\n \"include_thoughts\"\n ]\n },\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-3-pro-image-preview\"\n },\n \"remove\": [\n \"config.thinking_config\"\n ]\n }\n ],\n \"request\": {\n \"method\": \"SDK\",\n \"endpoint\": \"client.models.generate_content\",\n \"sdk_call\": {\n \"args\": [],\n \"kwargs\": {\n \"model\": \"{{model}}\",\n \"contents\": [\n \"{{prompt}}\",\n \"{{reference_images}}\"\n ],\n \"config\": {\n \"$call\": \"types.GenerateContentConfig\",\n \"$args\": [],\n \"$kwargs\": {\n \"response_modalities\": [\n \"{{config_response_modalities_0}}\"\n ],\n \"image_config\": {\n \"$call\": \"types.ImageConfig\",\n \"$args\": [],\n \"$kwargs\": {\n \"aspect_ratio\": \"{{aspect_ratio}}\",\n \"image_size\": \"{{image_size}}\"\n }\n }\n }\n }\n }\n }\n }\n },\n \"selected_parameters\": {\n \"prompt\": \"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance.\",\n \"width\": 768,\n \"height\": 1365,\n \"aspect_ratio\": \"9:16\",\n \"batch\": 1,\n \"seed\": 909722619731632,\n \"debug_mode\": false,\n \"resolution\": \"1K\",\n \"model\": \"gemini-3-pro-image-preview\",\n \"thinking_level\": \"minimal\",\n \"include_thoughts\": false\n },\n \"used_values\": {\n \"model\": \"gemini-3-pro-image-preview\",\n \"prompt\": \"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance.\",\n \"config_response_modalities_0\": \"IMAGE\",\n \"aspect_ratio\": \"9:16\",\n \"image_size\": \"1K\"\n },\n \"selected_service\": \"Nanobanana\",\n \"rendered\": {\n \"provider\": \"Gemini\",\n \"endpoint\": \"client.models.generate_content\",\n \"method\": \"SDK\",\n \"headers\": {},\n \"query\": {},\n \"body\": null,\n \"sdk_call\": {\n \"kwargs\": {\n \"model\": \"gemini-3-pro-image-preview\",\n \"contents\": [\n \"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance.\"\n ],\n \"config\": {\n \"$call\": \"types.GenerateContentConfig\",\n \"$kwargs\": {\n \"response_modalities\": [\n \"IMAGE\"\n ],\n \"image_config\": {\n \"$call\": \"types.ImageConfig\",\n \"$kwargs\": {\n \"aspect_ratio\": \"9:16\",\n \"image_size\": \"1K\"\n }\n }\n }\n }\n }\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-2.5-flash-image\"\n },\n \"remove\": [\n \"config.thinking_config\",\n \"thinking_level\",\n \"include_thoughts\"\n ]\n },\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-3-pro-image-preview\"\n },\n \"remove\": [\n \"config.thinking_config\"\n ]\n }\n ]\n },\n \"api_result\": {\n \"_type\": \"GenerateContentResponse\",\n \"sdk_http_response\": {\n \"_type\": \"HttpResponse\",\n \"headers\": {\n \"content-type\": \"application/json; charset=UTF-8\",\n \"vary\": \"Origin, X-Origin, Referer\",\n \"content-encoding\": \"gzip\",\n \"date\": \"Sat, 07 Mar 2026 13:13:13 GMT\",\n \"server\": \"scaffolding on HTTPServer2\",\n \"x-xss-protection\": \"0\",\n \"x-frame-options\": \"SAMEORIGIN\",\n \"x-content-type-options\": \"nosniff\",\n \"server-timing\": \"gfet4t7; dur=16857\",\n \"alt-svc\": \"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\n \"transfer-encoding\": \"chunked\"\n },\n \"body\": null\n },\n \"candidates\": [\n {\n \"_type\": \"Candidate\",\n \"content\": {\n \"_type\": \"Content\",\n \"parts\": [\n {\n \"_type\": \"Part\",\n \"media_resolution\": null,\n \"code_execution_result\": null,\n \"executable_code\": null,\n \"file_data\": null,\n \"function_call\": null,\n \"function_response\": null,\n \"inline_data\": {\n \"_type\": \"Blob\",\n \"data\": \"[binary data omitted: 675850 bytes]\",\n \"display_name\": null,\n \"mime_type\": \"image/jpeg\"\n },\n \"text\": null,\n \"thought\": null,\n \"thought_signature\": \"[binary data omitted: 1241489 bytes]\",\n \"video_metadata\": null\n }\n ],\n \"role\": \"model\"\n },\n \"citation_metadata\": null,\n \"finish_message\": null,\n \"token_count\": null,\n \"finish_reason\": \"STOP\",\n \"grounding_metadata\": null,\n \"avg_logprobs\": null,\n \"index\": 0,\n \"logprobs_result\": null,\n \"safety_ratings\": null,\n \"url_context_metadata\": null\n }\n ],\n \"create_time\": null,\n \"model_version\": \"gemini-3-pro-image-preview\",\n \"prompt_feedback\": null,\n \"response_id\": \"aSSsabvDI6fXvdIPyd2WiQw\",\n \"usage_metadata\": {\n \"_type\": \"GenerateContentResponseUsageMetadata\",\n \"cache_tokens_details\": null,\n \"cached_content_token_count\": null,\n \"candidates_token_count\": 1202,\n \"candidates_tokens_details\": [\n {\n \"_type\": \"ModalityTokenCount\",\n \"modality\": \"IMAGE\",\n \"token_count\": 1120\n }\n ],\n \"prompt_token_count\": 30,\n \"prompt_tokens_details\": [\n {\n \"_type\": \"ModalityTokenCount\",\n \"modality\": \"TEXT\",\n \"token_count\": 30\n }\n ],\n \"thoughts_token_count\": 197,\n \"tool_use_prompt_token_count\": null,\n \"tool_use_prompt_tokens_details\": null,\n \"total_token_count\": 1429,\n \"traffic_type\": null\n },\n \"automatic_function_calling_history\": [],\n \"parsed\": null\n },\n \"api_error\": null\n }\n]"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 6,
"type": "PrimereAnyOutput",
"pos": [
-611.8018295909516,
1557.6890585049641
],
"size": [
906.2637000063987,
628.220628990278
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 673
}
],
"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\": \"gemini-3-pro-image-preview\",\n \"prompt\": \"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance.\",\n \"config_response_modalities_0\": \"IMAGE\",\n \"aspect_ratio\": \"9:16\",\n \"image_size\": \"1K\"\n}"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 5,
"type": "PrimereAnyOutput",
"pos": [
-609.6945083896912,
461.75327312736374
],
"size": [
926.2206882503098,
1078.7652401045225
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 671
}
],
"outputs": [],
"title": "Primere Any Debug - RENDERED",
"properties": {
"Node name for S&R": "PrimereAnyOutput",
"cnr_id": "comfyui_primere_nodes",
"ver": "ce14e5d0f46aaa12155853e05132bffb2ee70361"
},
"widgets_values": [
"{\n \"provider\": \"Gemini\",\n \"endpoint\": \"client.models.generate_content\",\n \"method\": \"SDK\",\n \"headers\": {},\n \"query\": {},\n \"body\": null,\n \"sdk_call\": {\n \"kwargs\": {\n \"model\": \"gemini-3-pro-image-preview\",\n \"contents\": [\n \"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance.\"\n ],\n \"config\": {\n \"$call\": \"types.GenerateContentConfig\",\n \"$kwargs\": {\n \"response_modalities\": [\n \"IMAGE\"\n ],\n \"image_config\": {\n \"$call\": \"types.ImageConfig\",\n \"$kwargs\": {\n \"aspect_ratio\": \"9:16\",\n \"image_size\": \"1K\"\n }\n }\n }\n }\n }\n },\n \"request_exclusions\": [\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-2.5-flash-image\"\n },\n \"remove\": [\n \"config.thinking_config\",\n \"thinking_level\",\n \"include_thoughts\"\n ]\n },\n {\n \"when\": {\n \"path\": \"model\",\n \"equals\": \"gemini-3-pro-image-preview\"\n },\n \"remove\": [\n \"config.thinking_config\"\n ]\n }\n ]\n}"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 16,
"type": "PrimereFastSeed",
"pos": [
919.9262216082626,
-135.12732131406113
],
"size": [
330.364340787964,
149.12278620629877
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
53,
666
]
}
],
"properties": {
"Node name for S&R": "PrimereFastSeed",
"cnr_id": "comfyui_primere_nodes",
"ver": "782a54aaf8138894f4bfd2254326af3564da4cbb"
},
"widgets_values": [
"Random",
42,
"Last seed: [909722619731632]"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 9,
"type": "PrimitiveStringMultiline",
"pos": [
480.79284780821257,
-541.1178926016723
],
"size": [
776.6426780712893,
348.84780081063036
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
659
]
}
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.14.1"
},
"widgets_values": [
"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 47,
"type": "PrimereAnyOutput",
"pos": [
341.6491199516921,
459.7499835308432
],
"size": [
887.1002652508323,
1079.130111868482
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 672
}
],
"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\": \"gemini-3-pro-image-preview\",\n \"contents\": [\n \"The woman drinks the champagne glass, throws it behind her, the glass breaks on the ground, and the camera shows her posing from a distance.\"\n ],\n \"config\": {\n \"$call\": \"types.GenerateContentConfig\",\n \"$kwargs\": {\n \"response_modalities\": [\n \"IMAGE\"\n ],\n \"image_config\": {\n \"$call\": \"types.ImageConfig\",\n \"$kwargs\": {\n \"aspect_ratio\": \"9:16\",\n \"image_size\": \"1K\"\n }\n }\n }\n }\n}"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 15,
"type": "PrimereResolution",
"pos": [
907.2304520484324,
74.63197113044764
],
"size": [
361.37166959228534,
310
],
"flags": {},
"order": 17,
"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": [
663
]
},
{
"name": "HEIGHT",
"type": "INT",
"links": [
664
]
},
{
"name": "SQUARE_SHAPE",
"type": "INT",
"links": null
},
{
"name": "ASPECT_RATIO",
"type": "STRING",
"links": [
665
]
}
],
"properties": {
"Node name for S&R": "PrimereResolution",
"cnr_id": "comfyui_primere_nodes",
"ver": "782a54aaf8138894f4bfd2254326af3564da4cbb"
},
"widgets_values": [
"HD screen [16:9]",
false,
1024,
false,
"Vertical",
false,
false,
1.6,
2.8
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 75,
"type": "LoadImage",
"pos": [
480.25580173339836,
13.971520803833
],
"size": [
327.5351346026613,
386.2967736602784
],
"flags": {},
"order": 13,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
662
]
},
{
"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": 42,
"type": "PreviewImage",
"pos": [
-1905.940566463288,
-1196.1764179372424
],
"size": [
2324.0069677273495,
581.7454612396214
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 205
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 55,
"type": "PrimitiveStringMultiline",
"pos": [
1408.3168031778405,
-1012.4710264421508
],
"size": [
733.2619240917973,
382.46790301705124
],
"flags": {},
"order": 14,
"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": 27,
"type": "PrimerePreviewImage",
"pos": [
1278.8618109713557,
-569.2493081772483
],
"size": [
1073.2593828125005,
1628.4858571984864
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 667
},
{
"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": 17,
"type": "PrimereMultiImage",
"pos": [
-590.2012907744918,
-546.0380461675578
],
"size": [
289.7421875,
518
],
"flags": {},
"order": 16,
"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": [
677
]
},
{
"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": 58,
"type": "LoadImage",
"pos": [
-600.5867539794923,
16.56309913330077
],
"size": [
327.5351346026613,
386.2967736602784
],
"flags": {},
"order": 15,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
678
]
},
{
"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": 76,
"type": "PrimereApiProcessor",
"pos": [
-253.36638311324856,
-548.3233034269159
],
"size": [
687.9337945859295,
950
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "prompt",
"type": "STRING",
"link": 659
},
{
"name": "negative_prompt",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "reference_images",
"shape": 7,
"type": "IMAGE",
"link": 677
},
{
"name": "first_image",
"shape": 7,
"type": "IMAGE",
"link": 678
},
{
"name": "last_image",
"shape": 7,
"type": "IMAGE",
"link": 662
},
{
"name": "frontal_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "reference_video",
"shape": 7,
"type": "VIDEO",
"link": null
},
{
"name": "width",
"shape": 7,
"type": "INT",
"link": 663
},
{
"name": "height",
"shape": 7,
"type": "INT",
"link": 664
},
{
"name": "aspect_ratio",
"shape": 7,
"type": "STRING",
"link": 665
},
{
"name": "seed",
"shape": 7,
"type": "INT",
"link": 666
}
],
"outputs": [
{
"name": "RESULT",
"type": "IMAGE",
"links": [
667
]
},
{
"name": "CLIENT",
"type": "APICLIENT",
"links": [
668
]
},
{
"name": "PROVIDER",
"type": "STRING",
"links": [
669
]
},
{
"name": "SCHEMA",
"type": "TUPLE",
"links": [
670
]
},
{
"name": "RENDERED",
"type": "TUPLE",
"links": [
671
]
},
{
"name": "RAW_PAYLOAD",
"type": "TUPLE",
"links": [
672
]
},
{
"name": "REQUEST_BODY",
"type": "TUPLE",
"links": [
673
]
},
{
"name": "API_SCHEMAS",
"type": "TUPLE",
"links": [
674
]
},
{
"name": "API_RESULT",
"type": "TUPLE",
"links": [
675
]
}
],
"properties": {
"Node name for S&R": "PrimereApiProcessor"
},
"widgets_values": [
null,
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-3-pro-image-preview",
"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"
],
[
659,
9,
0,
76,
0,
"STRING"
],
[
662,
75,
0,
76,
4,
"IMAGE"
],
[
663,
15,
0,
76,
7,
"INT"
],
[
664,
15,
1,
76,
8,
"INT"
],
[
665,
15,
3,
76,
9,
"STRING"
],
[
666,
16,
0,
76,
10,
"INT"
],
[
667,
76,
0,
27,
0,
"IMAGE"
],
[
668,
76,
1,
2,
0,
"APICLIENT"
],
[
669,
76,
2,
3,
0,
"STRING"
],
[
670,
76,
3,
4,
0,
"TUPLE"
],
[
671,
76,
4,
5,
0,
"TUPLE"
],
[
672,
76,
5,
47,
0,
"TUPLE"
],
[
673,
76,
6,
6,
0,
"TUPLE"
],
[
674,
76,
7,
8,
0,
"TUPLE"
],
[
675,
76,
8,
44,
0,
"TUPLE"
],
[
677,
17,
0,
76,
2,
"IMAGE"
],
[
678,
58,
0,
76,
3,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
1337.6906736324606,
661.849601344323
]
},
"frontendVersion": "1.39.19"
},
"version": 0.4
}