339 lines
6.9 KiB
JSON
339 lines
6.9 KiB
JSON
{
|
|
"id": "",
|
|
"revision": 0,
|
|
"last_node_id": 4,
|
|
"last_link_id": 2,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "GenAssetLoadExactVersion",
|
|
"pos": [
|
|
340,
|
|
-620
|
|
],
|
|
"size": [
|
|
320,
|
|
200
|
|
],
|
|
"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": "version_id",
|
|
"name": "version_id",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "version_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": "GenAssetLoadExactVersion"
|
|
},
|
|
"widgets_values": [
|
|
"https://genasset.xyz",
|
|
"ComfyUI/user/genasset.json",
|
|
"PASTE_SOURCE_VERSION_ID"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "GenAssetCreateAsset",
|
|
"pos": [
|
|
760,
|
|
-660
|
|
],
|
|
"size": [
|
|
410,
|
|
320
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
},
|
|
{
|
|
"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_name",
|
|
"name": "asset_name",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "asset_name"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prompt_text",
|
|
"name": "prompt_text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "prompt_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "negative_prompt_text",
|
|
"name": "negative_prompt_text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "negative_prompt_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "model_name",
|
|
"name": "model_name",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "model_name"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "seed",
|
|
"name": "seed",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "seed"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags_csv",
|
|
"name": "tags_csv",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags_csv"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "intent",
|
|
"name": "intent",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "intent"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "extra_metadata_json",
|
|
"name": "extra_metadata_json",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "extra_metadata_json"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"localized_name": "asset_id",
|
|
"name": "asset_id",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "version_id",
|
|
"name": "version_id",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "status_json",
|
|
"name": "status_json",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "GenAssetCreateAsset"
|
|
},
|
|
"widgets_values": [
|
|
"https://genasset.xyz",
|
|
"ComfyUI/user/genasset.json",
|
|
"New Asset From Existing Version",
|
|
"",
|
|
"",
|
|
"",
|
|
0,
|
|
"created_in_comfy",
|
|
"create_asset",
|
|
"{}"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1210,
|
|
-620
|
|
],
|
|
"size": [
|
|
250,
|
|
300
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "images",
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-900,
|
|
520
|
|
],
|
|
"size": [
|
|
980,
|
|
300
|
|
],
|
|
"flags": {},
|
|
"order": 99,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"## Create Asset In GenAsset\n\nWhat it is:\nCreates a new asset using an input image.\n\nHow to use:\n1. Source image can come from any IMAGE node (example uses `Load Version`).\n2. Set `asset_name`.\n3. Queue.\n\nExpected:\nNew asset with a saved version."
|
|
],
|
|
"title": "Create Asset notes",
|
|
"color": "#1e3a8a",
|
|
"bgcolor": "#1d4e89"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
2,
|
|
0,
|
|
3,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.72,
|
|
"offset": [
|
|
920.0,
|
|
560.0
|
|
]
|
|
},
|
|
"node_versions": {}
|
|
},
|
|
"version": 0.4
|
|
} |