@nodetool-ai/topaz-nodes 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/dist/.nodetool-build-stamp +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/topaz-base.d.ts +72 -0
- package/dist/topaz-base.d.ts.map +1 -0
- package/dist/topaz-base.js +392 -0
- package/dist/topaz-base.js.map +1 -0
- package/dist/topaz-factory.d.ts +43 -0
- package/dist/topaz-factory.d.ts.map +1 -0
- package/dist/topaz-factory.js +163 -0
- package/dist/topaz-factory.js.map +1 -0
- package/dist/topaz-manifest.json +1084 -0
- package/package.json +67 -0
|
@@ -0,0 +1,1084 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"className": "EnhanceImage",
|
|
4
|
+
"moduleName": "image",
|
|
5
|
+
"modelId": "topaz/image/enhance",
|
|
6
|
+
"title": "Topaz Enhance Image",
|
|
7
|
+
"description": "Topaz Image API — Precision Upscale / Enhance.\n\n topaz, image, upscale, enhance, restore\n\n Multipart POST /image/v1/enhance/async with Topaz precision models. Supports face enhancement, sharpening, denoising, compression repair, and subject-targeted application. Parameters not supported by the chosen model are ignored by the API.",
|
|
8
|
+
"outputType": "image",
|
|
9
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/enhance/async",
|
|
10
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
11
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
12
|
+
"pollInterval": 3000,
|
|
13
|
+
"maxAttempts": 400,
|
|
14
|
+
"fields": [
|
|
15
|
+
{
|
|
16
|
+
"name": "image",
|
|
17
|
+
"type": "image",
|
|
18
|
+
"title": "Image",
|
|
19
|
+
"description": "Source image to enhance. Supported formats: jpeg, png, tiff.",
|
|
20
|
+
"required": true,
|
|
21
|
+
"uploadField": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "model",
|
|
25
|
+
"type": "enum",
|
|
26
|
+
"default": "Standard V2",
|
|
27
|
+
"title": "Model",
|
|
28
|
+
"description": "Topaz precision image model.",
|
|
29
|
+
"required": false,
|
|
30
|
+
"values": [
|
|
31
|
+
"Standard V2",
|
|
32
|
+
"High Fidelity V2",
|
|
33
|
+
"Upscale High Fidelity V3",
|
|
34
|
+
"Low Resolution V2",
|
|
35
|
+
"CGI",
|
|
36
|
+
"Transparency Upscale",
|
|
37
|
+
"Detail",
|
|
38
|
+
"Faces",
|
|
39
|
+
"Text Refine"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "output_width",
|
|
44
|
+
"type": "int",
|
|
45
|
+
"default": 0,
|
|
46
|
+
"title": "Output Width",
|
|
47
|
+
"description": "Output width in pixels (1-32000). 0 leaves height to drive proportional scaling.",
|
|
48
|
+
"required": false,
|
|
49
|
+
"min": 0,
|
|
50
|
+
"max": 32000
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "output_height",
|
|
54
|
+
"type": "int",
|
|
55
|
+
"default": 0,
|
|
56
|
+
"title": "Output Height",
|
|
57
|
+
"description": "Output height in pixels (1-32000). 0 leaves width to drive proportional scaling.",
|
|
58
|
+
"required": false,
|
|
59
|
+
"min": 0,
|
|
60
|
+
"max": 32000
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "output_format",
|
|
64
|
+
"type": "enum",
|
|
65
|
+
"default": "png",
|
|
66
|
+
"title": "Output Format",
|
|
67
|
+
"description": "Encoded format of the returned image.",
|
|
68
|
+
"required": false,
|
|
69
|
+
"values": ["jpeg", "png", "tiff"]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "crop_to_fill",
|
|
73
|
+
"type": "bool",
|
|
74
|
+
"default": false,
|
|
75
|
+
"title": "Crop To Fill",
|
|
76
|
+
"description": "Crop instead of letterbox when the output aspect differs from the source.",
|
|
77
|
+
"required": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "face_enhancement",
|
|
81
|
+
"type": "bool",
|
|
82
|
+
"default": false,
|
|
83
|
+
"title": "Face Enhancement",
|
|
84
|
+
"description": "Enable face recovery pass.",
|
|
85
|
+
"required": false
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "face_enhancement_strength",
|
|
89
|
+
"type": "float",
|
|
90
|
+
"default": 0.8,
|
|
91
|
+
"title": "Face Enhancement Strength",
|
|
92
|
+
"description": "Intensity of face recovery (0 = off, 1 = strongest). Required when face_enhancement=true.",
|
|
93
|
+
"required": false,
|
|
94
|
+
"min": 0.0,
|
|
95
|
+
"max": 1.0
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "face_enhancement_creativity",
|
|
99
|
+
"type": "float",
|
|
100
|
+
"default": 0.3,
|
|
101
|
+
"title": "Face Enhancement Creativity",
|
|
102
|
+
"description": "Realistic (0) ↔ creative (1) face recovery. Required when face_enhancement=true.",
|
|
103
|
+
"required": false,
|
|
104
|
+
"min": 0.0,
|
|
105
|
+
"max": 1.0
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "sharpen",
|
|
109
|
+
"type": "float",
|
|
110
|
+
"default": 0.0,
|
|
111
|
+
"title": "Sharpen",
|
|
112
|
+
"description": "Sharpening strength (0-1).",
|
|
113
|
+
"required": false,
|
|
114
|
+
"min": 0.0,
|
|
115
|
+
"max": 1.0
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "denoise",
|
|
119
|
+
"type": "float",
|
|
120
|
+
"default": 0.0,
|
|
121
|
+
"title": "Denoise",
|
|
122
|
+
"description": "Noise reduction strength (0-1).",
|
|
123
|
+
"required": false,
|
|
124
|
+
"min": 0.0,
|
|
125
|
+
"max": 1.0
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "fix_compression",
|
|
129
|
+
"type": "float",
|
|
130
|
+
"default": 0.0,
|
|
131
|
+
"title": "Fix Compression",
|
|
132
|
+
"description": "Reduce JPEG/compression artifacts (0-1).",
|
|
133
|
+
"required": false,
|
|
134
|
+
"min": 0.0,
|
|
135
|
+
"max": 1.0
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "strength",
|
|
139
|
+
"type": "float",
|
|
140
|
+
"default": 0.0,
|
|
141
|
+
"title": "Strength",
|
|
142
|
+
"description": "Overall model strength (0.01-1). Too high can look unrealistic.",
|
|
143
|
+
"required": false,
|
|
144
|
+
"min": 0.0,
|
|
145
|
+
"max": 1.0
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "subject_detection",
|
|
149
|
+
"type": "enum",
|
|
150
|
+
"default": "",
|
|
151
|
+
"title": "Subject Detection",
|
|
152
|
+
"description": "Restrict enhancements to a subject region.",
|
|
153
|
+
"required": false,
|
|
154
|
+
"values": ["", "foreground", "background", "all"]
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"validation": []
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"className": "EnhanceImageGenerative",
|
|
161
|
+
"moduleName": "image",
|
|
162
|
+
"modelId": "topaz/image/enhance-gen",
|
|
163
|
+
"title": "Topaz Enhance Image (Generative)",
|
|
164
|
+
"description": "Topaz Image API — Generative Upscale (Wonder / Bloom / Redefine).\n\n topaz, image, generative, upscale, prompt\n\n Multipart POST /image/v1/enhance-gen/async. Prompt-guided enhancement with creativity, texture, detail, and face recovery controls. Parameters not supported by the chosen model are ignored.",
|
|
165
|
+
"outputType": "image",
|
|
166
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/enhance-gen/async",
|
|
167
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
168
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
169
|
+
"pollInterval": 3000,
|
|
170
|
+
"maxAttempts": 400,
|
|
171
|
+
"fields": [
|
|
172
|
+
{
|
|
173
|
+
"name": "image",
|
|
174
|
+
"type": "image",
|
|
175
|
+
"title": "Image",
|
|
176
|
+
"description": "Source image to enhance.",
|
|
177
|
+
"required": true,
|
|
178
|
+
"uploadField": true
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "model",
|
|
182
|
+
"type": "enum",
|
|
183
|
+
"default": "Redefine",
|
|
184
|
+
"title": "Model",
|
|
185
|
+
"description": "Topaz generative model.",
|
|
186
|
+
"required": false,
|
|
187
|
+
"values": [
|
|
188
|
+
"Standard MAX",
|
|
189
|
+
"Recover 3",
|
|
190
|
+
"Wonder",
|
|
191
|
+
"Wonder 2",
|
|
192
|
+
"Wonder 3",
|
|
193
|
+
"Redefine",
|
|
194
|
+
"Bloom",
|
|
195
|
+
"Bloom Realism"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "prompt",
|
|
200
|
+
"type": "str",
|
|
201
|
+
"default": "",
|
|
202
|
+
"title": "Prompt",
|
|
203
|
+
"description": "Description of the desired enhancement (max 1024 chars). Ignored when autoprompt=true.",
|
|
204
|
+
"required": false,
|
|
205
|
+
"max": 1024
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "autoprompt",
|
|
209
|
+
"type": "bool",
|
|
210
|
+
"default": true,
|
|
211
|
+
"title": "Auto Prompt",
|
|
212
|
+
"description": "Let Topaz auto-generate a prompt from the image.",
|
|
213
|
+
"required": false
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "creativity",
|
|
217
|
+
"type": "int",
|
|
218
|
+
"default": 3,
|
|
219
|
+
"title": "Creativity",
|
|
220
|
+
"description": "Creative liberty level (1-9). Low = high fidelity; high = more creative.",
|
|
221
|
+
"required": false,
|
|
222
|
+
"min": 1,
|
|
223
|
+
"max": 9
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "texture",
|
|
227
|
+
"type": "int",
|
|
228
|
+
"default": 3,
|
|
229
|
+
"title": "Texture",
|
|
230
|
+
"description": "Texture addition amount (1-5).",
|
|
231
|
+
"required": false,
|
|
232
|
+
"min": 1,
|
|
233
|
+
"max": 5
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "output_width",
|
|
237
|
+
"type": "int",
|
|
238
|
+
"default": 0,
|
|
239
|
+
"title": "Output Width",
|
|
240
|
+
"description": "Output width in pixels (1-32000). 0 leaves height to drive scaling.",
|
|
241
|
+
"required": false,
|
|
242
|
+
"min": 0,
|
|
243
|
+
"max": 32000
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "output_height",
|
|
247
|
+
"type": "int",
|
|
248
|
+
"default": 0,
|
|
249
|
+
"title": "Output Height",
|
|
250
|
+
"description": "Output height in pixels (1-32000). 0 leaves width to drive scaling.",
|
|
251
|
+
"required": false,
|
|
252
|
+
"min": 0,
|
|
253
|
+
"max": 32000
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "output_format",
|
|
257
|
+
"type": "enum",
|
|
258
|
+
"default": "png",
|
|
259
|
+
"title": "Output Format",
|
|
260
|
+
"required": false,
|
|
261
|
+
"values": ["jpeg", "png", "tiff"]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "crop_to_fill",
|
|
265
|
+
"type": "bool",
|
|
266
|
+
"default": false,
|
|
267
|
+
"title": "Crop To Fill",
|
|
268
|
+
"description": "Crop instead of letterbox when the output aspect differs from the source.",
|
|
269
|
+
"required": false
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "face_enhancement",
|
|
273
|
+
"type": "bool",
|
|
274
|
+
"default": true,
|
|
275
|
+
"title": "Face Enhancement",
|
|
276
|
+
"required": false
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "face_enhancement_strength",
|
|
280
|
+
"type": "float",
|
|
281
|
+
"default": 0.8,
|
|
282
|
+
"title": "Face Enhancement Strength",
|
|
283
|
+
"required": false,
|
|
284
|
+
"min": 0.0,
|
|
285
|
+
"max": 1.0
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "face_enhancement_creativity",
|
|
289
|
+
"type": "float",
|
|
290
|
+
"default": 0.3,
|
|
291
|
+
"title": "Face Enhancement Creativity",
|
|
292
|
+
"required": false,
|
|
293
|
+
"min": 0.0,
|
|
294
|
+
"max": 1.0
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "sharpen",
|
|
298
|
+
"type": "float",
|
|
299
|
+
"default": 0.0,
|
|
300
|
+
"title": "Sharpen",
|
|
301
|
+
"required": false,
|
|
302
|
+
"min": 0.0,
|
|
303
|
+
"max": 1.0
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "denoise",
|
|
307
|
+
"type": "float",
|
|
308
|
+
"default": 0.0,
|
|
309
|
+
"title": "Denoise",
|
|
310
|
+
"required": false,
|
|
311
|
+
"min": 0.0,
|
|
312
|
+
"max": 1.0
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "detail",
|
|
316
|
+
"type": "bool",
|
|
317
|
+
"default": false,
|
|
318
|
+
"title": "Add Detail",
|
|
319
|
+
"description": "Add a detail pass after the primary render.",
|
|
320
|
+
"required": false
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "detail_strength",
|
|
324
|
+
"type": "float",
|
|
325
|
+
"default": 1.0,
|
|
326
|
+
"title": "Detail Strength",
|
|
327
|
+
"description": "Strength of the detail pass (0-10). Required when detail=true.",
|
|
328
|
+
"required": false,
|
|
329
|
+
"min": 0.0,
|
|
330
|
+
"max": 10.0
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "subject_detection",
|
|
334
|
+
"type": "enum",
|
|
335
|
+
"default": "",
|
|
336
|
+
"title": "Subject Detection",
|
|
337
|
+
"required": false,
|
|
338
|
+
"values": ["", "foreground", "background", "all"]
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"validation": []
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"className": "SharpenImage",
|
|
345
|
+
"moduleName": "image",
|
|
346
|
+
"modelId": "topaz/image/sharpen",
|
|
347
|
+
"title": "Topaz Sharpen Image",
|
|
348
|
+
"description": "Topaz Image API — Standard Sharpen.\n\n topaz, image, sharpen, blur\n\n Multipart POST /image/v1/sharpen/async. Standard sharpening models for general use, portraits, wildlife, and motion/lens blur recovery. Parameters not supported by the chosen model are ignored.",
|
|
349
|
+
"outputType": "image",
|
|
350
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/sharpen/async",
|
|
351
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
352
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
353
|
+
"pollInterval": 3000,
|
|
354
|
+
"maxAttempts": 400,
|
|
355
|
+
"fields": [
|
|
356
|
+
{
|
|
357
|
+
"name": "image",
|
|
358
|
+
"type": "image",
|
|
359
|
+
"title": "Image",
|
|
360
|
+
"description": "Source image to sharpen.",
|
|
361
|
+
"required": true,
|
|
362
|
+
"uploadField": true
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "model",
|
|
366
|
+
"type": "enum",
|
|
367
|
+
"default": "Sharpen",
|
|
368
|
+
"title": "Model",
|
|
369
|
+
"description": "Standard sharpening model.",
|
|
370
|
+
"required": false,
|
|
371
|
+
"values": [
|
|
372
|
+
"Sharpen",
|
|
373
|
+
"Strong",
|
|
374
|
+
"Auto Sharpen",
|
|
375
|
+
"Portrait",
|
|
376
|
+
"Wildlife",
|
|
377
|
+
"Natural",
|
|
378
|
+
"Refocus",
|
|
379
|
+
"Motion Blur",
|
|
380
|
+
"Lens Blur V2"
|
|
381
|
+
]
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "strength",
|
|
385
|
+
"type": "float",
|
|
386
|
+
"default": 0.5,
|
|
387
|
+
"title": "Strength",
|
|
388
|
+
"description": "Sharpening strength (0-1).",
|
|
389
|
+
"required": false,
|
|
390
|
+
"min": 0.0,
|
|
391
|
+
"max": 1.0
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "denoise",
|
|
395
|
+
"type": "float",
|
|
396
|
+
"default": 0.0,
|
|
397
|
+
"title": "Denoise",
|
|
398
|
+
"description": "Noise reduction applied before sharpening (0-1).",
|
|
399
|
+
"required": false,
|
|
400
|
+
"min": 0.0,
|
|
401
|
+
"max": 1.0
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "output_format",
|
|
405
|
+
"type": "enum",
|
|
406
|
+
"default": "png",
|
|
407
|
+
"title": "Output Format",
|
|
408
|
+
"required": false,
|
|
409
|
+
"values": ["jpeg", "png", "tiff"]
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"validation": []
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"className": "SharpenImageGenerative",
|
|
416
|
+
"moduleName": "image",
|
|
417
|
+
"modelId": "topaz/image/sharpen-gen",
|
|
418
|
+
"title": "Topaz Sharpen Image (Generative)",
|
|
419
|
+
"description": "Topaz Image API — Generative Sharpen.\n\n topaz, image, sharpen, blur, generative\n\n Multipart POST /image/v1/sharpen-gen/async. Super Focus V2/V3 models recover severely blurred images using diffusion.",
|
|
420
|
+
"outputType": "image",
|
|
421
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/sharpen-gen/async",
|
|
422
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
423
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
424
|
+
"pollInterval": 3000,
|
|
425
|
+
"maxAttempts": 400,
|
|
426
|
+
"fields": [
|
|
427
|
+
{
|
|
428
|
+
"name": "image",
|
|
429
|
+
"type": "image",
|
|
430
|
+
"title": "Image",
|
|
431
|
+
"description": "Source image to sharpen.",
|
|
432
|
+
"required": true,
|
|
433
|
+
"uploadField": true
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "model",
|
|
437
|
+
"type": "enum",
|
|
438
|
+
"default": "Super Focus V3",
|
|
439
|
+
"title": "Model",
|
|
440
|
+
"description": "Generative sharpening model.",
|
|
441
|
+
"required": false,
|
|
442
|
+
"values": ["Super Focus V2", "Super Focus V3"]
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "strength",
|
|
446
|
+
"type": "float",
|
|
447
|
+
"default": 0.5,
|
|
448
|
+
"title": "Strength",
|
|
449
|
+
"description": "Recovery strength (0-1).",
|
|
450
|
+
"required": false,
|
|
451
|
+
"min": 0.0,
|
|
452
|
+
"max": 1.0
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "creativity",
|
|
456
|
+
"type": "int",
|
|
457
|
+
"default": 3,
|
|
458
|
+
"title": "Creativity",
|
|
459
|
+
"description": "Creative liberty level (1-9). Low = high fidelity; high = more creative.",
|
|
460
|
+
"required": false,
|
|
461
|
+
"min": 1,
|
|
462
|
+
"max": 9
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "output_format",
|
|
466
|
+
"type": "enum",
|
|
467
|
+
"default": "png",
|
|
468
|
+
"title": "Output Format",
|
|
469
|
+
"required": false,
|
|
470
|
+
"values": ["jpeg", "png", "tiff"]
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"validation": []
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"className": "DenoiseImage",
|
|
477
|
+
"moduleName": "image",
|
|
478
|
+
"modelId": "topaz/image/denoise",
|
|
479
|
+
"title": "Topaz Denoise Image",
|
|
480
|
+
"description": "Topaz Image API — Standard Denoise.\n\n topaz, image, denoise, noise\n\n Multipart POST /image/v1/denoise/async. Normal / Strong / Extreme models for varying noise levels.",
|
|
481
|
+
"outputType": "image",
|
|
482
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/denoise/async",
|
|
483
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
484
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
485
|
+
"pollInterval": 3000,
|
|
486
|
+
"maxAttempts": 400,
|
|
487
|
+
"fields": [
|
|
488
|
+
{
|
|
489
|
+
"name": "image",
|
|
490
|
+
"type": "image",
|
|
491
|
+
"title": "Image",
|
|
492
|
+
"description": "Source image to denoise.",
|
|
493
|
+
"required": true,
|
|
494
|
+
"uploadField": true
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "model",
|
|
498
|
+
"type": "enum",
|
|
499
|
+
"default": "Normal",
|
|
500
|
+
"title": "Model",
|
|
501
|
+
"description": "Denoise model.",
|
|
502
|
+
"required": false,
|
|
503
|
+
"values": ["Normal", "Strong", "Extreme"]
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "strength",
|
|
507
|
+
"type": "float",
|
|
508
|
+
"default": 0.5,
|
|
509
|
+
"title": "Strength",
|
|
510
|
+
"description": "Denoise strength (0-1).",
|
|
511
|
+
"required": false,
|
|
512
|
+
"min": 0.0,
|
|
513
|
+
"max": 1.0
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "sharpen",
|
|
517
|
+
"type": "float",
|
|
518
|
+
"default": 0.0,
|
|
519
|
+
"title": "Sharpen",
|
|
520
|
+
"description": "Sharpening applied after denoise (0-1).",
|
|
521
|
+
"required": false,
|
|
522
|
+
"min": 0.0,
|
|
523
|
+
"max": 1.0
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "output_format",
|
|
527
|
+
"type": "enum",
|
|
528
|
+
"default": "png",
|
|
529
|
+
"title": "Output Format",
|
|
530
|
+
"required": false,
|
|
531
|
+
"values": ["jpeg", "png", "tiff"]
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"validation": []
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"className": "DenoiseImageGenerative",
|
|
538
|
+
"moduleName": "image",
|
|
539
|
+
"modelId": "topaz/image/denoise-gen",
|
|
540
|
+
"title": "Topaz Denoise Image (Generative)",
|
|
541
|
+
"description": "Topaz Image API — Generative Denoise.\n\n topaz, image, denoise, generative\n\n Multipart POST /image/v1/denoise-gen/async. Denoise Max for highest-quality denoising with intelligent detail recovery.",
|
|
542
|
+
"outputType": "image",
|
|
543
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/denoise-gen/async",
|
|
544
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
545
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
546
|
+
"pollInterval": 3000,
|
|
547
|
+
"maxAttempts": 400,
|
|
548
|
+
"fields": [
|
|
549
|
+
{
|
|
550
|
+
"name": "image",
|
|
551
|
+
"type": "image",
|
|
552
|
+
"title": "Image",
|
|
553
|
+
"description": "Source image to denoise.",
|
|
554
|
+
"required": true,
|
|
555
|
+
"uploadField": true
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "model",
|
|
559
|
+
"type": "enum",
|
|
560
|
+
"default": "Denoise Max",
|
|
561
|
+
"title": "Model",
|
|
562
|
+
"description": "Generative denoise model.",
|
|
563
|
+
"required": false,
|
|
564
|
+
"values": ["Denoise Max"]
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "strength",
|
|
568
|
+
"type": "float",
|
|
569
|
+
"default": 0.5,
|
|
570
|
+
"title": "Strength",
|
|
571
|
+
"description": "Denoise strength (0-1).",
|
|
572
|
+
"required": false,
|
|
573
|
+
"min": 0.0,
|
|
574
|
+
"max": 1.0
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "creativity",
|
|
578
|
+
"type": "int",
|
|
579
|
+
"default": 3,
|
|
580
|
+
"title": "Creativity",
|
|
581
|
+
"description": "Creative liberty level (1-9).",
|
|
582
|
+
"required": false,
|
|
583
|
+
"min": 1,
|
|
584
|
+
"max": 9
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "output_format",
|
|
588
|
+
"type": "enum",
|
|
589
|
+
"default": "png",
|
|
590
|
+
"title": "Output Format",
|
|
591
|
+
"required": false,
|
|
592
|
+
"values": ["jpeg", "png", "tiff"]
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"validation": []
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"className": "AdjustLighting",
|
|
599
|
+
"moduleName": "image",
|
|
600
|
+
"modelId": "topaz/image/lighting",
|
|
601
|
+
"title": "Topaz Adjust Lighting",
|
|
602
|
+
"description": "Topaz Image API — Color & Lighting.\n\n topaz, image, lighting, color, white-balance, colorize\n\n Multipart POST /image/v1/lighting/async. Adjust Lighting (exposure), White Balance, and Colorize (B&W → color).",
|
|
603
|
+
"outputType": "image",
|
|
604
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/lighting/async",
|
|
605
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
606
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
607
|
+
"pollInterval": 3000,
|
|
608
|
+
"maxAttempts": 400,
|
|
609
|
+
"fields": [
|
|
610
|
+
{
|
|
611
|
+
"name": "image",
|
|
612
|
+
"type": "image",
|
|
613
|
+
"title": "Image",
|
|
614
|
+
"description": "Source image to adjust.",
|
|
615
|
+
"required": true,
|
|
616
|
+
"uploadField": true
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "model",
|
|
620
|
+
"type": "enum",
|
|
621
|
+
"default": "Adjust V2",
|
|
622
|
+
"title": "Model",
|
|
623
|
+
"description": "Lighting / color model.",
|
|
624
|
+
"required": false,
|
|
625
|
+
"values": ["Adjust V2", "White Balance", "Colorize"]
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "strength",
|
|
629
|
+
"type": "float",
|
|
630
|
+
"default": 0.5,
|
|
631
|
+
"title": "Strength",
|
|
632
|
+
"description": "Adjustment strength (0-1).",
|
|
633
|
+
"required": false,
|
|
634
|
+
"min": 0.0,
|
|
635
|
+
"max": 1.0
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "output_format",
|
|
639
|
+
"type": "enum",
|
|
640
|
+
"default": "png",
|
|
641
|
+
"title": "Output Format",
|
|
642
|
+
"required": false,
|
|
643
|
+
"values": ["jpeg", "png", "tiff"]
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"validation": []
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"className": "RestoreImage",
|
|
650
|
+
"moduleName": "image",
|
|
651
|
+
"modelId": "topaz/image/restore-gen",
|
|
652
|
+
"title": "Topaz Restore Image",
|
|
653
|
+
"description": "Topaz Image API — Generative Restore / Cleanup.\n\n topaz, image, restore, dust, scratch, cleanup\n\n Multipart POST /image/v1/restore-gen/async. Automatic dust & scratch / blemish cleanup.",
|
|
654
|
+
"outputType": "image",
|
|
655
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/restore-gen/async",
|
|
656
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
657
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
658
|
+
"pollInterval": 3000,
|
|
659
|
+
"maxAttempts": 400,
|
|
660
|
+
"fields": [
|
|
661
|
+
{
|
|
662
|
+
"name": "image",
|
|
663
|
+
"type": "image",
|
|
664
|
+
"title": "Image",
|
|
665
|
+
"description": "Source image to restore.",
|
|
666
|
+
"required": true,
|
|
667
|
+
"uploadField": true
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "model",
|
|
671
|
+
"type": "enum",
|
|
672
|
+
"default": "Dust-Scratch V2",
|
|
673
|
+
"title": "Model",
|
|
674
|
+
"description": "Restoration model.",
|
|
675
|
+
"required": false,
|
|
676
|
+
"values": ["Dust-Scratch V2"]
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "strength",
|
|
680
|
+
"type": "float",
|
|
681
|
+
"default": 0.5,
|
|
682
|
+
"title": "Strength",
|
|
683
|
+
"description": "Cleanup strength (0-1).",
|
|
684
|
+
"required": false,
|
|
685
|
+
"min": 0.0,
|
|
686
|
+
"max": 1.0
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "output_format",
|
|
690
|
+
"type": "enum",
|
|
691
|
+
"default": "png",
|
|
692
|
+
"title": "Output Format",
|
|
693
|
+
"required": false,
|
|
694
|
+
"values": ["jpeg", "png", "tiff"]
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"validation": []
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"className": "MatteImage",
|
|
701
|
+
"moduleName": "image",
|
|
702
|
+
"modelId": "topaz/image/matting",
|
|
703
|
+
"title": "Topaz Matte Image",
|
|
704
|
+
"description": "Topaz Image API — Matting / Background Removal.\n\n topaz, image, matte, background, removal, subject\n\n Multipart POST /image/v1/matting/async. Subject isolation (Object) or clean background removal (RemoveBG).",
|
|
705
|
+
"outputType": "image",
|
|
706
|
+
"submitEndpoint": "https://api.topazlabs.com/image/v1/matting/async",
|
|
707
|
+
"statusEndpoint": "https://api.topazlabs.com/image/v1/status/{process_id}",
|
|
708
|
+
"downloadEndpoint": "https://api.topazlabs.com/image/v1/download/{process_id}",
|
|
709
|
+
"pollInterval": 3000,
|
|
710
|
+
"maxAttempts": 400,
|
|
711
|
+
"fields": [
|
|
712
|
+
{
|
|
713
|
+
"name": "image",
|
|
714
|
+
"type": "image",
|
|
715
|
+
"title": "Image",
|
|
716
|
+
"description": "Source image.",
|
|
717
|
+
"required": true,
|
|
718
|
+
"uploadField": true
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "model",
|
|
722
|
+
"type": "enum",
|
|
723
|
+
"default": "RemoveBG",
|
|
724
|
+
"title": "Model",
|
|
725
|
+
"description": "Matting model. Object = subject isolation; RemoveBG = clean background removal.",
|
|
726
|
+
"required": false,
|
|
727
|
+
"values": ["Object", "RemoveBG"]
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "output_format",
|
|
731
|
+
"type": "enum",
|
|
732
|
+
"default": "png",
|
|
733
|
+
"title": "Output Format",
|
|
734
|
+
"description": "Use png to preserve transparency.",
|
|
735
|
+
"required": false,
|
|
736
|
+
"values": ["png", "tiff"]
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"validation": []
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"className": "EnhanceVideo",
|
|
743
|
+
"moduleName": "video",
|
|
744
|
+
"modelId": "topaz/video/enhance",
|
|
745
|
+
"title": "Topaz Enhance Video",
|
|
746
|
+
"description": "Topaz Video API — upscale / enhance pipeline.\n\n topaz, video, upscale, enhance, restore, starlight, astra\n\n POST /video/ → PATCH /video/{id}/accept → multipart PUT upload → PATCH /video/{id}/complete-upload/ → GET /video/{id}/status. Requires source metadata (resolution, frame rate, duration, frame count), probed locally via ffprobe. Includes Proteus, Artemis, Dione, Gaia, Iris, Theia, Rhea, Nyx (denoise), Themis (motion deblur), color, plus generative Starlight (slp-2.5, slhq-1, slm-1, wonder-1, slf-2) and Astra (ast-2).",
|
|
747
|
+
"outputType": "video",
|
|
748
|
+
"videoKind": "upscale",
|
|
749
|
+
"requiredRuntimes": ["ffmpeg"],
|
|
750
|
+
"submitEndpoint": "https://api.topazlabs.com/video/",
|
|
751
|
+
"acceptEndpoint": "https://api.topazlabs.com/video/{request_id}/accept",
|
|
752
|
+
"completeEndpoint": "https://api.topazlabs.com/video/{request_id}/complete-upload/",
|
|
753
|
+
"statusEndpoint": "https://api.topazlabs.com/video/{request_id}/status",
|
|
754
|
+
"pollInterval": 15000,
|
|
755
|
+
"maxAttempts": 1000,
|
|
756
|
+
"fields": [
|
|
757
|
+
{
|
|
758
|
+
"name": "video",
|
|
759
|
+
"type": "video",
|
|
760
|
+
"title": "Video",
|
|
761
|
+
"description": "Source video to enhance. mp4, mov, or mkv.",
|
|
762
|
+
"required": true,
|
|
763
|
+
"uploadField": true
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "model",
|
|
767
|
+
"type": "enum",
|
|
768
|
+
"default": "prob-4",
|
|
769
|
+
"title": "Model",
|
|
770
|
+
"description": "Topaz video upscale / enhancement model. Frame interpolation models live on the Interpolate Video node.",
|
|
771
|
+
"required": false,
|
|
772
|
+
"values": [
|
|
773
|
+
"prob-4",
|
|
774
|
+
"pnat-1",
|
|
775
|
+
"rhea-1",
|
|
776
|
+
"rxl-1",
|
|
777
|
+
"thd-3",
|
|
778
|
+
"thf-4",
|
|
779
|
+
"ahq-12",
|
|
780
|
+
"amq-13",
|
|
781
|
+
"alq-13",
|
|
782
|
+
"amqs-2",
|
|
783
|
+
"alqs-2",
|
|
784
|
+
"aaa-9",
|
|
785
|
+
"iris-2",
|
|
786
|
+
"iris-3",
|
|
787
|
+
"gcg-5",
|
|
788
|
+
"ghq-5",
|
|
789
|
+
"ganim-1",
|
|
790
|
+
"ddv-3",
|
|
791
|
+
"dtv-4",
|
|
792
|
+
"dtd-4",
|
|
793
|
+
"dtvs-2",
|
|
794
|
+
"dtds-2",
|
|
795
|
+
"slp-2.5",
|
|
796
|
+
"slhq-1",
|
|
797
|
+
"slm-1",
|
|
798
|
+
"wonder-1",
|
|
799
|
+
"slf-2",
|
|
800
|
+
"ast-2",
|
|
801
|
+
"nyx-3",
|
|
802
|
+
"nxhf-1",
|
|
803
|
+
"nxl-1",
|
|
804
|
+
"nxf-1",
|
|
805
|
+
"thm-2",
|
|
806
|
+
"color-1"
|
|
807
|
+
]
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"name": "video_type",
|
|
811
|
+
"type": "enum",
|
|
812
|
+
"default": "Progressive",
|
|
813
|
+
"title": "Video Type",
|
|
814
|
+
"description": "Frame/field type of the source.",
|
|
815
|
+
"required": false,
|
|
816
|
+
"values": ["Progressive", "Interlaced", "ProgressiveInterlaced"]
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "auto",
|
|
820
|
+
"type": "enum",
|
|
821
|
+
"default": "Auto",
|
|
822
|
+
"title": "Parameter Mode",
|
|
823
|
+
"description": "Auto = automatic estimation. Manual = use the values below. Relative = auto + manual offsets.",
|
|
824
|
+
"required": false,
|
|
825
|
+
"values": ["Auto", "Manual", "Relative"]
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "output_width",
|
|
829
|
+
"type": "int",
|
|
830
|
+
"default": 0,
|
|
831
|
+
"title": "Output Width",
|
|
832
|
+
"description": "0 = same as source.",
|
|
833
|
+
"required": false,
|
|
834
|
+
"min": 0
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "output_height",
|
|
838
|
+
"type": "int",
|
|
839
|
+
"default": 0,
|
|
840
|
+
"title": "Output Height",
|
|
841
|
+
"description": "0 = same as source.",
|
|
842
|
+
"required": false,
|
|
843
|
+
"min": 0
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "output_frame_rate",
|
|
847
|
+
"type": "float",
|
|
848
|
+
"default": 0,
|
|
849
|
+
"title": "Output Frame Rate",
|
|
850
|
+
"description": "0 = same as source.",
|
|
851
|
+
"required": false,
|
|
852
|
+
"min": 0
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "output_container",
|
|
856
|
+
"type": "enum",
|
|
857
|
+
"default": "mp4",
|
|
858
|
+
"title": "Container",
|
|
859
|
+
"required": false,
|
|
860
|
+
"values": ["mp4", "mov", "mkv"]
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "video_encoder",
|
|
864
|
+
"type": "enum",
|
|
865
|
+
"default": "H264",
|
|
866
|
+
"title": "Video Encoder",
|
|
867
|
+
"required": false,
|
|
868
|
+
"values": ["H264", "H265", "AV1", "VP9"]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "dynamic_compression_level",
|
|
872
|
+
"type": "enum",
|
|
873
|
+
"default": "Mid",
|
|
874
|
+
"title": "Compression Level",
|
|
875
|
+
"description": "Automatic CQP selection. Use videoBitrate-style overrides via the API directly if you need a fixed bitrate.",
|
|
876
|
+
"required": false,
|
|
877
|
+
"values": ["Low", "Mid", "High"]
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "audio_mode",
|
|
881
|
+
"type": "enum",
|
|
882
|
+
"default": "copy",
|
|
883
|
+
"title": "Audio",
|
|
884
|
+
"description": "copy = keep source audio. aac/ac3/pcm = re-encode. none = drop audio.",
|
|
885
|
+
"required": false,
|
|
886
|
+
"values": ["copy", "aac", "ac3", "pcm", "none"]
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "crop_to_fit",
|
|
890
|
+
"type": "bool",
|
|
891
|
+
"default": false,
|
|
892
|
+
"title": "Crop To Fit",
|
|
893
|
+
"description": "Center-crop to the output dimensions instead of letterboxing.",
|
|
894
|
+
"required": false
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "compression",
|
|
898
|
+
"type": "float",
|
|
899
|
+
"default": 0.0,
|
|
900
|
+
"title": "Compression Recovery",
|
|
901
|
+
"description": "Strength of compression recovery (-1 to 1). Used when Parameter Mode is Manual/Relative.",
|
|
902
|
+
"required": false,
|
|
903
|
+
"min": -1.0,
|
|
904
|
+
"max": 1.0
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "details",
|
|
908
|
+
"type": "float",
|
|
909
|
+
"default": 0.0,
|
|
910
|
+
"title": "Details",
|
|
911
|
+
"description": "Detail reconstruction (-1 to 1).",
|
|
912
|
+
"required": false,
|
|
913
|
+
"min": -1.0,
|
|
914
|
+
"max": 1.0
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "noise",
|
|
918
|
+
"type": "float",
|
|
919
|
+
"default": 0.0,
|
|
920
|
+
"title": "Noise Reduction",
|
|
921
|
+
"description": "Noise reduction (-1 to 1).",
|
|
922
|
+
"required": false,
|
|
923
|
+
"min": -1.0,
|
|
924
|
+
"max": 1.0
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "halo",
|
|
928
|
+
"type": "float",
|
|
929
|
+
"default": 0.0,
|
|
930
|
+
"title": "Halo Reduction",
|
|
931
|
+
"description": "Halo reduction (-1 to 1).",
|
|
932
|
+
"required": false,
|
|
933
|
+
"min": -1.0,
|
|
934
|
+
"max": 1.0
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "blur",
|
|
938
|
+
"type": "float",
|
|
939
|
+
"default": 0.0,
|
|
940
|
+
"title": "Sharpness",
|
|
941
|
+
"description": "Sharpness applied to the result (-1 to 1).",
|
|
942
|
+
"required": false,
|
|
943
|
+
"min": -1.0,
|
|
944
|
+
"max": 1.0
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "recover_original_detail",
|
|
948
|
+
"type": "float",
|
|
949
|
+
"default": 0.0,
|
|
950
|
+
"title": "Recover Original Detail",
|
|
951
|
+
"description": "Reintroduce source detail into the output (0 to 1).",
|
|
952
|
+
"required": false,
|
|
953
|
+
"min": 0.0,
|
|
954
|
+
"max": 1.0
|
|
955
|
+
}
|
|
956
|
+
],
|
|
957
|
+
"validation": []
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"className": "InterpolateVideo",
|
|
961
|
+
"moduleName": "video",
|
|
962
|
+
"modelId": "topaz/video/interpolate",
|
|
963
|
+
"title": "Topaz Interpolate Video",
|
|
964
|
+
"description": "Topaz Video API — frame interpolation pipeline.\n\n topaz, video, interpolate, slowmo, fps\n\n Same multi-step pipeline as Enhance Video but with a Frame Interpolation filter. Apollo (apo-8) general slow-motion / fps boost; Apollo Fast (apf-2) speed variant; Chronos (chr-2) natural slow-mo for real-world footage; Chronos Fast (chf-3) speed variant; Aion (aion-1) extreme slow-mo for complex 4K+ motion.",
|
|
965
|
+
"outputType": "video",
|
|
966
|
+
"videoKind": "interpolate",
|
|
967
|
+
"requiredRuntimes": ["ffmpeg"],
|
|
968
|
+
"submitEndpoint": "https://api.topazlabs.com/video/",
|
|
969
|
+
"acceptEndpoint": "https://api.topazlabs.com/video/{request_id}/accept",
|
|
970
|
+
"completeEndpoint": "https://api.topazlabs.com/video/{request_id}/complete-upload/",
|
|
971
|
+
"statusEndpoint": "https://api.topazlabs.com/video/{request_id}/status",
|
|
972
|
+
"pollInterval": 15000,
|
|
973
|
+
"maxAttempts": 1000,
|
|
974
|
+
"fields": [
|
|
975
|
+
{
|
|
976
|
+
"name": "video",
|
|
977
|
+
"type": "video",
|
|
978
|
+
"title": "Video",
|
|
979
|
+
"description": "Source video to interpolate.",
|
|
980
|
+
"required": true,
|
|
981
|
+
"uploadField": true
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "model",
|
|
985
|
+
"type": "enum",
|
|
986
|
+
"default": "apo-8",
|
|
987
|
+
"title": "Model",
|
|
988
|
+
"description": "Frame interpolation model.",
|
|
989
|
+
"required": false,
|
|
990
|
+
"values": ["apo-8", "apf-2", "chr-2", "chf-3", "aion-1"]
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "slowmo",
|
|
994
|
+
"type": "float",
|
|
995
|
+
"default": 1.0,
|
|
996
|
+
"title": "Slow-mo Factor",
|
|
997
|
+
"description": "1.0 = no slow motion. >1 stretches duration (1-16).",
|
|
998
|
+
"required": false,
|
|
999
|
+
"min": 1.0,
|
|
1000
|
+
"max": 16.0
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "fps",
|
|
1004
|
+
"type": "float",
|
|
1005
|
+
"default": 0,
|
|
1006
|
+
"title": "Output FPS",
|
|
1007
|
+
"description": "0 = same as source. Otherwise 15-240. Does not change duration.",
|
|
1008
|
+
"required": false,
|
|
1009
|
+
"min": 0,
|
|
1010
|
+
"max": 240
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "duplicate",
|
|
1014
|
+
"type": "bool",
|
|
1015
|
+
"default": false,
|
|
1016
|
+
"title": "Drop Duplicates",
|
|
1017
|
+
"description": "Analyze input for duplicate frames and remove them before interpolation.",
|
|
1018
|
+
"required": false
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"name": "duplicate_threshold",
|
|
1022
|
+
"type": "float",
|
|
1023
|
+
"default": 0.01,
|
|
1024
|
+
"title": "Duplicate Threshold",
|
|
1025
|
+
"description": "Detection sensitivity for duplicates (0.001-0.1).",
|
|
1026
|
+
"required": false,
|
|
1027
|
+
"min": 0.001,
|
|
1028
|
+
"max": 0.1
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"name": "output_width",
|
|
1032
|
+
"type": "int",
|
|
1033
|
+
"default": 0,
|
|
1034
|
+
"title": "Output Width",
|
|
1035
|
+
"description": "0 = same as source.",
|
|
1036
|
+
"required": false,
|
|
1037
|
+
"min": 0
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "output_height",
|
|
1041
|
+
"type": "int",
|
|
1042
|
+
"default": 0,
|
|
1043
|
+
"title": "Output Height",
|
|
1044
|
+
"description": "0 = same as source.",
|
|
1045
|
+
"required": false,
|
|
1046
|
+
"min": 0
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "output_container",
|
|
1050
|
+
"type": "enum",
|
|
1051
|
+
"default": "mp4",
|
|
1052
|
+
"title": "Container",
|
|
1053
|
+
"required": false,
|
|
1054
|
+
"values": ["mp4", "mov", "mkv"]
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "video_encoder",
|
|
1058
|
+
"type": "enum",
|
|
1059
|
+
"default": "H264",
|
|
1060
|
+
"title": "Video Encoder",
|
|
1061
|
+
"required": false,
|
|
1062
|
+
"values": ["H264", "H265", "AV1", "VP9"]
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"name": "dynamic_compression_level",
|
|
1066
|
+
"type": "enum",
|
|
1067
|
+
"default": "Mid",
|
|
1068
|
+
"title": "Compression Level",
|
|
1069
|
+
"required": false,
|
|
1070
|
+
"values": ["Low", "Mid", "High"]
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "audio_mode",
|
|
1074
|
+
"type": "enum",
|
|
1075
|
+
"default": "copy",
|
|
1076
|
+
"title": "Audio",
|
|
1077
|
+
"description": "copy = keep source audio. aac/ac3/pcm = re-encode. none = drop audio.",
|
|
1078
|
+
"required": false,
|
|
1079
|
+
"values": ["copy", "aac", "ac3", "pcm", "none"]
|
|
1080
|
+
}
|
|
1081
|
+
],
|
|
1082
|
+
"validation": []
|
|
1083
|
+
}
|
|
1084
|
+
]
|