186 lines
3.5 KiB
JSON
186 lines
3.5 KiB
JSON
{
|
|
"id": "",
|
|
"revision": 0,
|
|
"last_node_id": 3,
|
|
"last_link_id": 1,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "GenAssetRenameAsset",
|
|
"pos": [
|
|
450,
|
|
-520
|
|
],
|
|
"size": [
|
|
360,
|
|
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
|
|
},
|
|
{
|
|
"localized_name": "new_name",
|
|
"name": "new_name",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "new_name"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "asset_id",
|
|
"name": "asset_id",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "asset_name",
|
|
"name": "asset_name",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "status_json",
|
|
"name": "status_json",
|
|
"type": "STRING",
|
|
"links": [
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "GenAssetRenameAsset"
|
|
},
|
|
"widgets_values": [
|
|
"https://genasset.xyz",
|
|
"ComfyUI/user/genasset.json",
|
|
"PASTE_ASSET_ID",
|
|
"Renamed Asset"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "DisplayAny",
|
|
"pos": [
|
|
850,
|
|
-520
|
|
],
|
|
"size": [
|
|
420,
|
|
230
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "input",
|
|
"name": "input",
|
|
"type": "*",
|
|
"link": 1
|
|
},
|
|
{
|
|
"localized_name": "mode",
|
|
"name": "mode",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "mode"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DisplayAny"
|
|
},
|
|
"widgets_values": [
|
|
"json",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-900,
|
|
520
|
|
],
|
|
"size": [
|
|
980,
|
|
300
|
|
],
|
|
"flags": {},
|
|
"order": 99,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"## Rename Asset In GenAsset\n\nWhat it is:\nRenames an existing asset.\n\nHow to use:\n1. Paste `asset_id`.\n2. Set `new_name`.\n3. Queue."
|
|
],
|
|
"title": "Rename Asset notes",
|
|
"color": "#1e3a8a",
|
|
"bgcolor": "#1d4e89"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
2,
|
|
2,
|
|
0,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.72,
|
|
"offset": [
|
|
920.0,
|
|
560.0
|
|
]
|
|
},
|
|
"node_versions": {}
|
|
},
|
|
"version": 0.4
|
|
} |