- Resolved issue with Control Panel displaying concatenated string instead of individual fields from MediaDescribe node. - Updated backend to send structured JSON data instead of formatted string. - Enhanced frontend to parse JSON and display fields in a two-column layout for improved readability. fix(ui-widgets): Add Dimensions Display Widget Troubleshooting Guide - Created a comprehensive troubleshooting guide for the Dimensions Display Widget. - Included quick verification steps, common issues, and detailed testing procedures. docs(ui-widgets): Document Dimensions Display Widget Implementation - Added documentation for the Dimensions Display Widget, detailing its features and UI behavior. - Included examples and troubleshooting tips for users. fix(ui-widgets): Final String Widget Population Fix - Fixed issue where final_string widget was not being updated post-execution. - Implemented onExecuted methods to ensure widget reflects the generated description. docs(ui-widgets): Update README with UI Widgets Documentation - Compiled and organized documentation for various UI widgets. - Included links to related documentation and implementation patterns. feat(ui-widgets): Restore Seed Widget Functionality - Reintroduced seed widget for MediaDescribe node to enable randomization. - Added functionality to force re-execution based on seed changes. fix(ui-widgets): Address Widget Visibility Issues - Resolved issues with unwanted widgets appearing in MediaDescribe node. - Improved widget management to ensure correct visibility based on media type and source. fix(ui-widgets): Implement Widget State Persistence - Added serialization for widget visibility state in GeminiUtilMediaDescribe node. - Ensured UI state is preserved across workflow saves and reloads.
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"last_node_id": 4,
|
|
"last_link_id": 3,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [100, 100],
|
|
"size": { "0": 315, "1": 314 },
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [1],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{ "name": "MASK", "type": "MASK", "links": null, "shape": 3 }
|
|
],
|
|
"properties": { "Node name for S&R": "LoadImage" },
|
|
"widgets_values": ["example.jpg", "image"]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "GeminiUtilImageDescribe",
|
|
"pos": [500, 100],
|
|
"size": { "0": 400, "1": 500 },
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [{ "name": "image", "type": "IMAGE", "link": 1 }],
|
|
"outputs": [
|
|
{
|
|
"name": "description",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "gemini_status",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "final_string",
|
|
"type": "STRING",
|
|
"links": [2],
|
|
"shape": 3,
|
|
"slot_index": 2
|
|
}
|
|
],
|
|
"properties": { "Node name for S&R": "GeminiUtilImageDescribe" },
|
|
"widgets_values": [
|
|
"YOUR_GEMINI_API_KEY_HERE",
|
|
"models/gemini-2.5-flash",
|
|
"Generate a detailed image description...",
|
|
"Please analyze this image...",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "ShowText",
|
|
"pos": [1000, 100],
|
|
"size": { "0": 300, "1": 200 },
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [{ "name": "text", "type": "STRING", "link": 2 }],
|
|
"outputs": [
|
|
{ "name": "text", "type": "STRING", "links": null, "shape": 3 }
|
|
],
|
|
"properties": { "Node name for S&R": "ShowText" },
|
|
"widgets_values": [""]
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 2, 0, "IMAGE"],
|
|
[2, 2, 2, 3, 0, "STRING"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
}
|