- Add code quality tools: flake8, mypy, black, pre-commit - Add .gitattributes for line ending consistency - Add .secrets.baseline for secret scanning - Update GitHub workflows for better CI/CD - Update documentation formatting and examples - Add CLAUDE.md for AI assistant guidance - Add scripts directory for automation tools - Update project configuration in pyproject.toml - Improve type hints and code formatting across all modules - Update test configurations and fixtures
260 lines
5.0 KiB
JSON
260 lines
5.0 KiB
JSON
{
|
|
"id": "41469b2d-d616-479d-879a-95cdc6074a37",
|
|
"revision": 0,
|
|
"last_node_id": 6,
|
|
"last_link_id": 5,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "ResolutionCalculator",
|
|
"pos": [
|
|
60,
|
|
430
|
|
],
|
|
"size": [
|
|
315,
|
|
126
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 5
|
|
},
|
|
{
|
|
"name": "latent",
|
|
"shape": 7,
|
|
"type": "LATENT",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"slot_index": 0,
|
|
"links": [
|
|
1,
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"slot_index": 1,
|
|
"links": [
|
|
2,
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "ComfyAssets/ComfyUI-KikoTools",
|
|
"ver": "965ad60c74d7f25b1acce890d9c06518e46e6d0b",
|
|
"Node name for S&R": "ResolutionCalculator",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
2.5
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-250,
|
|
430
|
|
],
|
|
"size": [
|
|
274.080078125,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
5
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.40",
|
|
"widget_ue_connectable": {},
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"image-2025-06-13-105737.jpg",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "Display Int (rgthree)",
|
|
"pos": [
|
|
420,
|
|
360
|
|
],
|
|
"size": [
|
|
210,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"dir": 3,
|
|
"name": "input",
|
|
"type": "INT",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "rgthree-comfy",
|
|
"ver": "1.0.2506081210",
|
|
"Node name for S&R": "Display Int (rgthree)",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "Display Int (rgthree)",
|
|
"pos": [
|
|
430,
|
|
530
|
|
],
|
|
"size": [
|
|
210,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"dir": 3,
|
|
"name": "input",
|
|
"type": "INT",
|
|
"link": 4
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "rgthree-comfy",
|
|
"ver": "1.0.2506081210",
|
|
"widget_ue_connectable": {},
|
|
"Node name for S&R": "Display Int (rgthree)"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "Note",
|
|
"pos": [
|
|
-150,
|
|
170
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {
|
|
"text": "Resolution Calculator Example\n\nThis node calculates upscaled dimensions from:\n- IMAGE tensors (connect from image loaders)\n- LATENT tensors (connect from VAE encode/generation)\n\nUse cases:\n- Calculate target dimensions for upscalers\n- Plan memory usage for large generations\n- Ensure dimensions are divisible by 8\n\nScale factors optimized for SDXL and FLUX models.",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
"Resolution Calculator Example\n\nThis node calculates upscaled dimensions from:\n- IMAGE tensors (connect from image loaders)\n- LATENT tensors (connect from VAE encode/generation)\n\nUse cases:\n- Calculate target dimensions for upscalers\n- Plan memory usage for large generations\n- Ensure dimensions are divisible by 8\n\nScale factors optimized for SDXL and FLUX models."
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
3,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
2,
|
|
1,
|
|
1,
|
|
3,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
3,
|
|
1,
|
|
0,
|
|
4,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
4,
|
|
1,
|
|
1,
|
|
5,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
5,
|
|
6,
|
|
0,
|
|
1,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ue_links": [],
|
|
"ds": {
|
|
"scale": 0.7972024500000015,
|
|
"offset": [
|
|
709.6391289161842,
|
|
-90.0127389290854
|
|
]
|
|
},
|
|
"links_added_by_ue": [],
|
|
"frontendVersion": "1.21.7",
|
|
"VHS_latentpreview": true,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
}
|