222 lines
4.3 KiB
JSON
222 lines
4.3 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": "GenAssetDisplayAny",
|
|
"pos": [
|
|
850,
|
|
-520
|
|
],
|
|
"size": [
|
|
460,
|
|
300
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "title",
|
|
"name": "title",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "title"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "fallback_text",
|
|
"name": "fallback_text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "fallback_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "format",
|
|
"name": "format",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "format"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "max_characters",
|
|
"name": "max_characters",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "max_characters"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "value",
|
|
"name": "value",
|
|
"type": "*",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "value",
|
|
"name": "value",
|
|
"type": "*",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "GenAssetDisplayAny"
|
|
},
|
|
"widgets_values": [
|
|
"Rename asset status",
|
|
"",
|
|
"json",
|
|
12000
|
|
]
|
|
},
|
|
{
|
|
"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,
|
|
4,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.72,
|
|
"offset": [
|
|
920.0,
|
|
560.0
|
|
]
|
|
},
|
|
"node_versions": {}
|
|
},
|
|
"version": 0.4
|
|
}
|