interleave.json 5.37 KB
Newer Older
raojy's avatar
first  
raojy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{
  "id": "be8d8cc8-cbee-4189-9901-f3562f2b9815",
  "revision": 0,
  "last_node_id": 6,
  "last_link_id": 8,
  "nodes": [
    {
      "id": 1,
      "type": "SenseNovaU1LocalLoader",
      "pos": [
        -699.5435454242499,
        144.33814729971365
      ],
      "size": [
        504,
        432
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "u1_model",
          "type": "SENSENOVA_U1_LOCAL_MODEL",
          "links": [
            5
          ]
        },
        {
          "name": "model_info_json",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SenseNovaU1LocalLoader"
      },
      "widgets_values": [
        "sensenova/SenseNova-U1-8B-MoT",
        "",
        "cuda",
        "bfloat16",
        "auto",
        "none",
        "",
        "full",
        ""
      ]
    },
    {
      "id": 3,
      "type": "PreviewImage",
      "pos": [
        1558.6051808986454,
        127.84686237113888
      ],
      "size": [
        1080,
        684
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 6
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 4,
      "type": "SenseNovaInterleavePreview",
      "pos": [
        743.748594409936,
        132.9936483478975
      ],
      "size": [
        702.609375,
        2427.171875
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "interleave_result",
          "type": "SENSENOVA_INTERLEAVE_RESULT",
          "link": 7
        },
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "markdown",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SenseNovaInterleavePreview"
      },
      "widgets_values": [
        false,
        ""
      ]
    },
    {
      "id": 5,
      "type": "SenseNovaU1LocalInterleave",
      "pos": [
        -73.00482369366728,
        142.500843346499
      ],
      "size": [
        689.09375,
        955.40625
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "u1_model",
          "type": "SENSENOVA_U1_LOCAL_MODEL",
          "link": 5
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            6,
            8
          ]
        },
        {
          "name": "text",
          "type": "STRING",
          "links": null
        },
        {
          "name": "think_text",
          "type": "STRING",
          "links": null
        },
        {
          "name": "metadata_json",
          "type": "STRING",
          "links": null
        },
        {
          "name": "interleave_result",
          "type": "SENSENOVA_INTERLEAVE_RESULT",
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SenseNovaU1LocalInterleave"
      },
      "widgets_values": [
        "讲一下经典童话《卖火柴的小女孩》,但这次请给出一个温暖的平行宇宙改编版图文绘本。在最后一次擦亮火柴时,出现的不是幻象,而是一只拥有魔法的驯鹿,它载着小女孩飞向了有糖果和壁炉的城堡",
        "2048x1152|16:9",
        "You are a multimodal assistant capable of reasoning with both text and images. You support two modes:\n\nThink Mode: When reasoning is needed, you MUST start with a <think></think> block and place all reasoning inside it. You MUST interleave text with generated images using tags like <image1>, <image2>. Images can ONLY be generated between <think> and </think>, and may be referenced in the final answer.\n\nNon-Think Mode: When no reasoning is needed, directly provide the answer without reasoning. Do not use tags like <image1>, <image2>; present any images naturally alongside the text.\n\nAfter the think block, always provide a concise, user-facing final answer. The answer may include text, images, or both. Match the user's language in both reasoning and the final answer.",
        4,
        1,
        3,
        0,
        1,
        50,
        42,
        "fixed",
        false
      ]
    }
  ],
  "links": [
    [
      5,
      1,
      0,
      5,
      0,
      "SENSENOVA_U1_LOCAL_MODEL"
    ],
    [
      6,
      5,
      0,
      3,
      0,
      "IMAGE"
    ],
    [
      7,
      5,
      4,
      4,
      0,
      "SENSENOVA_INTERLEAVE_RESULT"
    ],
    [
      8,
      5,
      0,
      4,
      1,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "workflowRendererVersion": "Vue",
    "ds": {
      "scale": 0.626887968379132,
      "offset": [
        1496.3740592420436,
        92.9135509708664
      ]
    },
    "frontendVersion": "1.39.19",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}