82 lines
3.0 KiB
JSON
82 lines
3.0 KiB
JSON
{
|
|
"id": "aeb25fd7-c046-4461-ab5c-f5d7b9fa84a3",
|
|
"revision": 0,
|
|
"last_node_id": 3,
|
|
"last_link_id": 1,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "GenAssetLoadVersion",
|
|
"pos": [-220, 20],
|
|
"size": [420, 220],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "base_url", "type": "STRING", "widget": {"name": "base_url"}, "link": null},
|
|
{"name": "token", "type": "STRING", "widget": {"name": "token"}, "link": null},
|
|
{"name": "asset_id", "type": "STRING", "widget": {"name": "asset_id"}, "link": null},
|
|
{"name": "version_id", "type": "STRING", "widget": {"name": "version_id"}, "link": null}
|
|
],
|
|
"outputs": [
|
|
{"name": "image", "type": "IMAGE", "links": [1], "slot_index": 0},
|
|
{"name": "asset_id", "type": "STRING", "links": null, "slot_index": 1},
|
|
{"name": "version_id", "type": "STRING", "links": null, "slot_index": 2},
|
|
{"name": "workflow_json", "type": "STRING", "links": null, "slot_index": 3},
|
|
{"name": "metadata_json", "type": "STRING", "links": null, "slot_index": 4},
|
|
{"name": "status_json", "type": "STRING", "links": null, "slot_index": 5}
|
|
],
|
|
"properties": {"Node name for S&R": "GenAssetLoadVersion"},
|
|
"widgets_values": [
|
|
"https://genasset.xyz",
|
|
"PASTE_TOKEN",
|
|
"",
|
|
"PASTE_VERSION_ID_FROM_GENASSET_HERE"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "PreviewImage",
|
|
"pos": [270, 20],
|
|
"size": [330, 300],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "images", "type": "IMAGE", "link": 1}
|
|
],
|
|
"outputs": [],
|
|
"properties": {"Node name for S&R": "PreviewImage"},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "MarkdownNote",
|
|
"pos": [-220, 300],
|
|
"size": [820, 260],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "GenAsset load workflow notes",
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"# GenAsset load workflow\n\nFill these fields:\n\n- `base_url`: `https://genasset.xyz` (or your local GenAsset URL)\n- `token`: from GenAsset `Settings -> Tokens`\n- `asset_id`: exact asset UUID (optional)\n- `version_id`: exact version UUID (optional)\n\nLoad modes:\n\n- Exact version: set `version_id`.\n- Latest for one asset: leave `version_id` empty and set `asset_id`.\n- Latest in workspace: leave both empty.\n\nWhere to find ids:\n\n- `asset_id`: asset page -> copy asset id, or `Save To GenAsset` output `asset_id`.\n- `version_id`: version history -> copy version id, or `Save To GenAsset` output `version_id`.\n\nIf preview shows a tiny black 64x64 image, check `status_json.error` and verify `base_url` + `token` target the same workspace as the ids."
|
|
],
|
|
"color": "#243",
|
|
"bgcolor": "#355"
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 2, 0, "IMAGE"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {"scale": 1.0, "offset": [260, 160]},
|
|
"workflowRendererVersion": "LG"
|
|
},
|
|
"version": 0.4
|
|
}
|