175 lines
3.4 KiB
JSON
175 lines
3.4 KiB
JSON
{
|
|
"id": "",
|
|
"revision": 0,
|
|
"last_node_id": 3,
|
|
"last_link_id": 1,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "GenAssetLoadCurrentVersion",
|
|
"pos": [
|
|
450,
|
|
-520
|
|
],
|
|
"size": [
|
|
350,
|
|
175
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "base_url",
|
|
"name": "base_url",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "base_url"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "token",
|
|
"name": "token",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "token"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "asset_id",
|
|
"name": "asset_id",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "asset_id"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"localized_name": "asset_id",
|
|
"name": "asset_id",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "version_id",
|
|
"name": "version_id",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "workflow_json",
|
|
"name": "workflow_json",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "metadata_json",
|
|
"name": "metadata_json",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "status_json",
|
|
"name": "status_json",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "GenAssetLoadCurrentVersion"
|
|
},
|
|
"widgets_values": [
|
|
"https://genasset.xyz",
|
|
"ComfyUI/user/genasset.json",
|
|
"PASTE_ASSET_ID"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
840,
|
|
-535
|
|
],
|
|
"size": [
|
|
240,
|
|
280
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "images",
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-900,
|
|
520
|
|
],
|
|
"size": [
|
|
980,
|
|
300
|
|
],
|
|
"flags": {},
|
|
"order": 99,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"## Load Current Version For Asset\n\nWhat it is:\nLoads the current/default version image for an asset.\n\nHow to use:\n1. Paste `asset_id`.\n2. Queue.\n\nExpected:\nPreview shows the current version image."
|
|
],
|
|
"title": "Load Current Version notes",
|
|
"color": "#1e3a8a",
|
|
"bgcolor": "#1d4e89"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.72,
|
|
"offset": [
|
|
920.0,
|
|
560.0
|
|
]
|
|
},
|
|
"node_versions": {}
|
|
},
|
|
"version": 0.4
|
|
} |