Files

309 lines
5.7 KiB
JSON

{
"id": "86f628c3-5cac-45e6-8956-d0e41097e9f3",
"revision": 0,
"last_node_id": 4,
"last_link_id": 3,
"nodes": [
{
"id": 1,
"type": "SpicyAPI_Chat",
"pos": [
40,
60
],
"size": [
400,
262
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "images.image_0",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "model",
"type": "COMBO",
"widget": {
"name": "model"
},
"link": null
},
{
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": null
},
{
"name": "system",
"type": "STRING",
"widget": {
"name": "system"
},
"link": null
},
{
"name": "max_tokens",
"type": "INT",
"widget": {
"name": "max_tokens"
},
"link": null
},
{
"name": "temperature",
"type": "FLOAT",
"widget": {
"name": "temperature"
},
"link": null
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
1,
3
]
}
],
"properties": {
"Node name for S&R": "SpicyAPI_Chat"
},
"widgets_values": [
"google/gemini-3.7-flash/chat",
"Write one vivid, concrete image prompt (under 60 words) for: a lighthouse keeper's kitchen at dawn. Reply with the prompt only.",
"",
1024,
-1,
0,
"fixed"
],
"widgets_values_named": {
"model": "google/gemini-3.7-flash/chat",
"prompt": "Write one vivid, concrete image prompt (under 60 words) for: a lighthouse keeper's kitchen at dawn. Reply with the prompt only.",
"system": "",
"max_tokens": 1024,
"temperature": -1,
"seed": 0,
"fixed": "fixed"
}
},
{
"id": 2,
"type": "SpicyAPI_alibaba_z_image_turbo_text_to_image",
"pos": [
520,
60
],
"size": [
400,
228
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 1
},
{
"name": "aspect_ratio",
"type": "COMBO",
"widget": {
"name": "aspect_ratio"
},
"link": null
},
{
"name": "enable_prompt_expansion",
"type": "BOOLEAN",
"widget": {
"name": "enable_prompt_expansion"
},
"link": null
},
{
"name": "output_format",
"type": "COMBO",
"widget": {
"name": "output_format"
},
"link": null
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
2
]
},
{
"name": "task id",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "SpicyAPI_alibaba_z_image_turbo_text_to_image"
},
"widgets_values": [
"",
"1:1",
false,
"png",
0,
"fixed"
],
"widgets_values_named": {
"prompt": "",
"aspect_ratio": "1:1",
"enable_prompt_expansion": false,
"output_format": "png",
"seed": 0,
"fixed": "fixed"
}
},
{
"id": 3,
"type": "SaveImage",
"pos": [
940,
60
],
"size": [
270,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 2
},
{
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {},
"widgets_values": [
"spicyapi/image"
],
"widgets_values_named": {
"filename_prefix": "spicyapi/image"
}
},
{
"id": 4,
"type": "PreviewAny",
"pos": [
520,
440
],
"size": [
210,
122
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 3
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [],
"widgets_values_named": {}
}
],
"links": [
[
1,
1,
0,
2,
0,
"STRING"
],
[
2,
2,
0,
3,
0,
"IMAGE"
],
[
3,
1,
0,
4,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}