-
Notifications
You must be signed in to change notification settings - Fork 13
/
uDM.dfm
353 lines (353 loc) · 9.05 KB
/
uDM.dfm
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
object DM: TDM
Height = 480
Width = 640
object RESTClient1: TRESTClient
Accept = 'application/json, text/plain; q=0.9, text/html;q=0.8,'
AcceptCharset = 'utf-8, *;q=0.8'
BaseURL = 'https://api.replicate.com/v1/predictions'
ContentType = 'application/json'
Params = <>
SynchronizedEvents = False
Left = 160
Top = 64
end
object RESTRequest1: TRESTRequest
AssignedValues = [rvConnectTimeout, rvReadTimeout]
Client = RESTClient1
Method = rmPOST
Params = <
item
Kind = pkHTTPHEADER
Name = 'Authorization'
Options = [poDoNotEncode]
Value = 'Token %api_key%'
end
item
Kind = pkREQUESTBODY
Name = 'body743FA4081F4C440C91A2D44F7691E32F'
Options = [poDoNotEncode]
Value =
'{"version": "%version%","input": {"prompt": "%prompt%","negative' +
'_prompt":"%nprompt%"}}'
ContentTypeStr = 'application/json'
end>
Response = RESTResponse1
SynchronizedEvents = False
Left = 144
Top = 136
end
object RESTResponse1: TRESTResponse
ContentType = 'application/json'
Left = 256
Top = 88
end
object RESTResponseDataSetAdapter1: TRESTResponseDataSetAdapter
Active = True
Dataset = FDMemTable1
FieldDefs = <>
Response = RESTResponse1
TypesMode = Rich
Left = 264
Top = 168
end
object FDMemTable1: TFDMemTable
Active = True
FieldDefs = <
item
Name = 'completed_at'
DataType = ftWideString
Size = 255
end
item
Name = 'created_at'
DataType = ftDateTime
end
item
Name = 'error'
DataType = ftWideString
Size = 255
end
item
Name = 'id'
DataType = ftWideString
Size = 26
end
item
Name = 'input'
DataType = ftWideString
Size = 255
end
item
Name = 'logs'
DataType = ftWideString
Size = 255
end
item
Name = 'metrics'
DataType = ftWideString
Size = 255
end
item
Name = 'output'
DataType = ftWideString
Size = 255
end
item
Name = 'started_at'
DataType = ftWideString
Size = 255
end
item
Name = 'status'
DataType = ftWideString
Size = 8
end
item
Name = 'urls'
DataType = ftWideString
Size = 255
end
item
Name = 'version'
DataType = ftWideString
Size = 64
end
item
Name = 'webhook_completed'
DataType = ftWideString
Size = 255
end>
IndexDefs = <>
FetchOptions.AssignedValues = [evMode]
FetchOptions.Mode = fmAll
ResourceOptions.AssignedValues = [rvSilentMode]
ResourceOptions.SilentMode = True
UpdateOptions.AssignedValues = [uvUpdateChngFields, uvUpdateMode, uvLockMode, uvLockPoint, uvLockWait, uvRefreshMode, uvFetchGeneratorsPoint, uvCheckRequired, uvCheckReadOnly, uvCheckUpdatable]
UpdateOptions.LockWait = True
UpdateOptions.FetchGeneratorsPoint = gpNone
UpdateOptions.CheckRequired = False
StoreDefs = True
Left = 272
Top = 248
end
object RESTClient2: TRESTClient
Accept = 'application/json, text/plain; q=0.9, text/html;q=0.8,'
AcceptCharset = 'utf-8, *;q=0.8'
BaseURL = 'https://api.replicate.com/v1/predictions'
ContentType = 'application/x-www-form-urlencoded'
Params = <>
SynchronizedEvents = False
Left = 448
Top = 88
end
object RESTRequest2: TRESTRequest
AssignedValues = [rvConnectTimeout, rvReadTimeout]
Client = RESTClient2
Params = <
item
Kind = pkHTTPHEADER
Name = 'Authorization'
Options = [poDoNotEncode]
Value = 'Token %api_key%'
end>
Resource = 'cqdlci7y4zbc3fnrhtctvsbucq'
Response = RESTResponse2
SynchronizedEvents = False
Left = 432
Top = 192
end
object RESTResponse2: TRESTResponse
ContentType = 'application/json'
Left = 528
Top = 144
end
object RESTResponseDataSetAdapter2: TRESTResponseDataSetAdapter
Active = True
Dataset = FDMemTable2
FieldDefs = <>
Response = RESTResponse2
TypesMode = Rich
Left = 536
Top = 208
end
object FDMemTable2: TFDMemTable
Active = True
FieldDefs = <
item
Name = 'completed_at'
DataType = ftDateTime
end
item
Name = 'created_at'
DataType = ftDateTime
end
item
Name = 'error'
DataType = ftWideString
Size = 255
end
item
Name = 'id'
DataType = ftWideString
Size = 26
end
item
Name = 'input'
DataType = ftWideString
Size = 255
end
item
Name = 'logs'
DataType = ftWideString
Size = 902
end
item
Name = 'metrics'
DataType = ftWideString
Size = 255
end
item
Name = 'output'
DataType = ftWideString
Size = 255
end
item
Name = 'started_at'
DataType = ftDateTime
end
item
Name = 'status'
DataType = ftWideString
Size = 9
end
item
Name = 'urls'
DataType = ftWideString
Size = 255
end
item
Name = 'version'
DataType = ftWideString
Size = 64
end
item
Name = 'webhook_completed'
DataType = ftWideString
Size = 255
end>
IndexDefs = <>
FetchOptions.AssignedValues = [evMode]
FetchOptions.Mode = fmAll
ResourceOptions.AssignedValues = [rvSilentMode]
ResourceOptions.SilentMode = True
UpdateOptions.AssignedValues = [uvUpdateChngFields, uvUpdateMode, uvLockMode, uvLockPoint, uvLockWait, uvRefreshMode, uvFetchGeneratorsPoint, uvCheckRequired, uvCheckReadOnly, uvCheckUpdatable]
UpdateOptions.LockWait = True
UpdateOptions.FetchGeneratorsPoint = gpNone
UpdateOptions.CheckRequired = False
StoreDefs = True
Left = 488
Top = 288
end
object RESTClient3: TRESTClient
BaseURL = 'https://api.replicate.com/v1/predictions'
Params = <>
SynchronizedEvents = False
Left = 80
Top = 256
end
object RESTRequest3: TRESTRequest
AssignedValues = [rvConnectTimeout, rvReadTimeout]
Client = RESTClient3
Method = rmPOST
Params = <
item
Kind = pkHTTPHEADER
Name = 'Authorization'
Options = [poDoNotEncode]
Value = 'Token %api_key%'
end
item
Kind = pkREQUESTBODY
Name = 'body7E86320BF8944C89A4DFC53FC1BAD6FC'
Value =
'{"version": "d53a494f0f1f4130d39cbe574c25d267910e1fce4e7f4b34fe1' +
'5f22976aed332", "input": {"prompt": "%prompt%"}}'
ContentTypeStr = 'application/json'
end>
Response = RESTResponse3
SynchronizedEvents = False
Left = 88
Top = 320
end
object RESTResponse3: TRESTResponse
Left = 104
Top = 368
end
object RESTResponseDataSetAdapter3: TRESTResponseDataSetAdapter
Dataset = FDMemTable3
FieldDefs = <>
Response = RESTResponse3
TypesMode = Rich
Left = 120
Top = 392
end
object FDMemTable3: TFDMemTable
FetchOptions.AssignedValues = [evMode]
FetchOptions.Mode = fmAll
ResourceOptions.AssignedValues = [rvSilentMode]
ResourceOptions.SilentMode = True
UpdateOptions.AssignedValues = [uvUpdateChngFields, uvUpdateMode, uvLockMode, uvLockPoint, uvLockWait, uvRefreshMode, uvFetchGeneratorsPoint, uvCheckRequired, uvCheckReadOnly, uvCheckUpdatable]
UpdateOptions.LockWait = True
UpdateOptions.FetchGeneratorsPoint = gpNone
UpdateOptions.CheckRequired = False
Left = 208
Top = 384
end
object RESTClient4: TRESTClient
BaseURL = 'https://api.replicate.com/v1/predictions'
Params = <>
SynchronizedEvents = False
Left = 296
Top = 328
end
object RESTRequest4: TRESTRequest
AssignedValues = [rvConnectTimeout, rvReadTimeout]
Client = RESTClient4
Params = <
item
Kind = pkHTTPHEADER
Name = 'Authorization'
Options = [poDoNotEncode]
Value = 'Token %api_key%'
end>
Resource = '7lswsyevjzbi3otimjkwujj5e4'
Response = RESTResponse4
SynchronizedEvents = False
Left = 288
Top = 384
end
object RESTResponse4: TRESTResponse
Left = 368
Top = 352
end
object RESTResponseDataSetAdapter4: TRESTResponseDataSetAdapter
Dataset = FDMemTable4
FieldDefs = <>
Response = RESTResponse4
TypesMode = Rich
Left = 336
Top = 408
end
object FDMemTable4: TFDMemTable
FetchOptions.AssignedValues = [evMode]
FetchOptions.Mode = fmAll
ResourceOptions.AssignedValues = [rvSilentMode]
ResourceOptions.SilentMode = True
UpdateOptions.AssignedValues = [uvUpdateChngFields, uvUpdateMode, uvLockMode, uvLockPoint, uvLockWait, uvRefreshMode, uvFetchGeneratorsPoint, uvCheckRequired, uvCheckReadOnly, uvCheckUpdatable]
UpdateOptions.LockWait = True
UpdateOptions.FetchGeneratorsPoint = gpNone
UpdateOptions.CheckRequired = False
Left = 400
Top = 392
end
end