@executioncontrolprotocol/adobe-firefly-services 0.13.0

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.
Files changed (134) hide show
  1. package/README.md +81 -0
  2. package/dist/auth/ims.d.ts +42 -0
  3. package/dist/auth/ims.d.ts.map +1 -0
  4. package/dist/auth/ims.js +54 -0
  5. package/dist/auth/ims.js.map +1 -0
  6. package/dist/generated/audio-video/capabilities.d.ts +37 -0
  7. package/dist/generated/audio-video/capabilities.d.ts.map +1 -0
  8. package/dist/generated/audio-video/capabilities.js +488 -0
  9. package/dist/generated/audio-video/capabilities.js.map +1 -0
  10. package/dist/generated/audio-video/index.d.ts +3 -0
  11. package/dist/generated/audio-video/index.d.ts.map +1 -0
  12. package/dist/generated/audio-video/index.js +3 -0
  13. package/dist/generated/audio-video/index.js.map +1 -0
  14. package/dist/generated/audio-video/schemas.d.ts +84 -0
  15. package/dist/generated/audio-video/schemas.d.ts.map +1 -0
  16. package/dist/generated/audio-video/schemas.js +476 -0
  17. package/dist/generated/audio-video/schemas.js.map +1 -0
  18. package/dist/generated/creative-production/capabilities.d.ts +11 -0
  19. package/dist/generated/creative-production/capabilities.d.ts.map +1 -0
  20. package/dist/generated/creative-production/capabilities.js +168 -0
  21. package/dist/generated/creative-production/capabilities.js.map +1 -0
  22. package/dist/generated/creative-production/index.d.ts +3 -0
  23. package/dist/generated/creative-production/index.d.ts.map +1 -0
  24. package/dist/generated/creative-production/index.js +3 -0
  25. package/dist/generated/creative-production/index.js.map +1 -0
  26. package/dist/generated/creative-production/schemas.d.ts +23 -0
  27. package/dist/generated/creative-production/schemas.d.ts.map +1 -0
  28. package/dist/generated/creative-production/schemas.js +130 -0
  29. package/dist/generated/creative-production/schemas.js.map +1 -0
  30. package/dist/generated/express/capabilities.d.ts +11 -0
  31. package/dist/generated/express/capabilities.d.ts.map +1 -0
  32. package/dist/generated/express/capabilities.js +114 -0
  33. package/dist/generated/express/capabilities.js.map +1 -0
  34. package/dist/generated/express/index.d.ts +3 -0
  35. package/dist/generated/express/index.d.ts.map +1 -0
  36. package/dist/generated/express/index.js +3 -0
  37. package/dist/generated/express/index.js.map +1 -0
  38. package/dist/generated/express/schemas.d.ts +36 -0
  39. package/dist/generated/express/schemas.d.ts.map +1 -0
  40. package/dist/generated/express/schemas.js +136 -0
  41. package/dist/generated/express/schemas.js.map +1 -0
  42. package/dist/generated/firefly/capabilities.d.ts +29 -0
  43. package/dist/generated/firefly/capabilities.d.ts.map +1 -0
  44. package/dist/generated/firefly/capabilities.js +307 -0
  45. package/dist/generated/firefly/capabilities.js.map +1 -0
  46. package/dist/generated/firefly/index.d.ts +3 -0
  47. package/dist/generated/firefly/index.d.ts.map +1 -0
  48. package/dist/generated/firefly/index.js +3 -0
  49. package/dist/generated/firefly/index.js.map +1 -0
  50. package/dist/generated/firefly/schemas.d.ts +107 -0
  51. package/dist/generated/firefly/schemas.d.ts.map +1 -0
  52. package/dist/generated/firefly/schemas.js +453 -0
  53. package/dist/generated/firefly/schemas.js.map +1 -0
  54. package/dist/generated/illustrator/capabilities.d.ts +17 -0
  55. package/dist/generated/illustrator/capabilities.d.ts.map +1 -0
  56. package/dist/generated/illustrator/capabilities.js +169 -0
  57. package/dist/generated/illustrator/capabilities.js.map +1 -0
  58. package/dist/generated/illustrator/index.d.ts +3 -0
  59. package/dist/generated/illustrator/index.d.ts.map +1 -0
  60. package/dist/generated/illustrator/index.js +3 -0
  61. package/dist/generated/illustrator/index.js.map +1 -0
  62. package/dist/generated/illustrator/schemas.d.ts +56 -0
  63. package/dist/generated/illustrator/schemas.d.ts.map +1 -0
  64. package/dist/generated/illustrator/schemas.js +237 -0
  65. package/dist/generated/illustrator/schemas.js.map +1 -0
  66. package/dist/generated/indesign/capabilities.d.ts +33 -0
  67. package/dist/generated/indesign/capabilities.d.ts.map +1 -0
  68. package/dist/generated/indesign/capabilities.js +390 -0
  69. package/dist/generated/indesign/capabilities.js.map +1 -0
  70. package/dist/generated/indesign/index.d.ts +3 -0
  71. package/dist/generated/indesign/index.d.ts.map +1 -0
  72. package/dist/generated/indesign/index.js +3 -0
  73. package/dist/generated/indesign/index.js.map +1 -0
  74. package/dist/generated/indesign/schemas.d.ts +26 -0
  75. package/dist/generated/indesign/schemas.d.ts.map +1 -0
  76. package/dist/generated/indesign/schemas.js +250 -0
  77. package/dist/generated/indesign/schemas.js.map +1 -0
  78. package/dist/generated/index.d.ts +4 -0
  79. package/dist/generated/index.d.ts.map +1 -0
  80. package/dist/generated/index.js +98 -0
  81. package/dist/generated/index.js.map +1 -0
  82. package/dist/generated/photoshop/capabilities.d.ts +15 -0
  83. package/dist/generated/photoshop/capabilities.d.ts.map +1 -0
  84. package/dist/generated/photoshop/capabilities.js +143 -0
  85. package/dist/generated/photoshop/capabilities.js.map +1 -0
  86. package/dist/generated/photoshop/index.d.ts +3 -0
  87. package/dist/generated/photoshop/index.d.ts.map +1 -0
  88. package/dist/generated/photoshop/index.js +3 -0
  89. package/dist/generated/photoshop/index.js.map +1 -0
  90. package/dist/generated/photoshop/schemas.d.ts +154 -0
  91. package/dist/generated/photoshop/schemas.d.ts.map +1 -0
  92. package/dist/generated/photoshop/schemas.js +718 -0
  93. package/dist/generated/photoshop/schemas.js.map +1 -0
  94. package/dist/generated/substance3d/capabilities.d.ts +23 -0
  95. package/dist/generated/substance3d/capabilities.d.ts.map +1 -0
  96. package/dist/generated/substance3d/capabilities.js +236 -0
  97. package/dist/generated/substance3d/capabilities.js.map +1 -0
  98. package/dist/generated/substance3d/index.d.ts +3 -0
  99. package/dist/generated/substance3d/index.d.ts.map +1 -0
  100. package/dist/generated/substance3d/index.js +3 -0
  101. package/dist/generated/substance3d/index.js.map +1 -0
  102. package/dist/generated/substance3d/schemas.d.ts +78 -0
  103. package/dist/generated/substance3d/schemas.d.ts.map +1 -0
  104. package/dist/generated/substance3d/schemas.js +517 -0
  105. package/dist/generated/substance3d/schemas.js.map +1 -0
  106. package/dist/http/async-job.d.ts +27 -0
  107. package/dist/http/async-job.d.ts.map +1 -0
  108. package/dist/http/async-job.js +28 -0
  109. package/dist/http/async-job.js.map +1 -0
  110. package/dist/http/client.d.ts +53 -0
  111. package/dist/http/client.d.ts.map +1 -0
  112. package/dist/http/client.js +75 -0
  113. package/dist/http/client.js.map +1 -0
  114. package/dist/index.d.ts +32 -0
  115. package/dist/index.d.ts.map +1 -0
  116. package/dist/index.js +49 -0
  117. package/dist/index.js.map +1 -0
  118. package/dist/runtime/invoke.d.ts +54 -0
  119. package/dist/runtime/invoke.d.ts.map +1 -0
  120. package/dist/runtime/invoke.js +64 -0
  121. package/dist/runtime/invoke.js.map +1 -0
  122. package/openapi/audio-video/audio-video-api.json +8333 -0
  123. package/openapi/audio-video/translate-lipsync-openapi.json +1967 -0
  124. package/openapi/content-tagging/SOURCE.md +10 -0
  125. package/openapi/creative-production/workflow-builder-api.yaml +1002 -0
  126. package/openapi/express/ffs-express-api.json +2262 -0
  127. package/openapi/firefly/firefly-api.json +4964 -0
  128. package/openapi/illustrator/illustrator-api-beta.json +1329 -0
  129. package/openapi/illustrator/illustrator-api.json +2447 -0
  130. package/openapi/indesign/indesignapi.json +2907 -0
  131. package/openapi/overlays/schema-fixes.json +95 -0
  132. package/openapi/photoshop/photoshopv2-api.json +5395 -0
  133. package/openapi/substance3d/openapi.yaml +3583 -0
  134. package/package.json +36 -0
@@ -0,0 +1,3583 @@
1
+ openapi: 3.1.0
2
+ info:
3
+ description: REST API for Adobe Substance 3D - Firefly Services.
4
+ title: Adobe Substance 3D API - Firefly Services
5
+ version: 1.0.0
6
+ servers:
7
+ - url: 'https://s3d.adobe.io'
8
+ paths:
9
+ /v1/composites/compose:
10
+ post:
11
+ operationId: v1/composites/compose
12
+ summary: Generate 3D object composite
13
+ description: Generate a 3D Object Composite with the Substance 3D API.
14
+ parameters:
15
+ - name: X-User-Token
16
+ in: header
17
+ description: 'A user token referencing the user''s individual account, obtained using their credentials.'
18
+ schema:
19
+ type: string
20
+ - name: wait
21
+ in: query
22
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
23
+ schema:
24
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
25
+ type: boolean
26
+ default: false
27
+ explode: false
28
+ requestBody:
29
+ required: true
30
+ content:
31
+ application/json:
32
+ schema:
33
+ $ref: '#/components/schemas/restv1.ComposeSceneRequest'
34
+ responses:
35
+ '202':
36
+ description: Accepted
37
+ headers:
38
+ Retry-After:
39
+ schema:
40
+ type: string
41
+ content:
42
+ application/json:
43
+ schema:
44
+ $ref: '#/components/schemas/restv1beta.ComposeSceneResponse'
45
+ '400':
46
+ description: Bad Request
47
+ content:
48
+ application/json:
49
+ examples:
50
+ empty_input_body:
51
+ value:
52
+ error_code: empty_input_body
53
+ message: ''
54
+ invalid_json:
55
+ value:
56
+ error_code: invalid_json
57
+ message: ''
58
+ schema:
59
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
60
+ '403':
61
+ description: Forbidden
62
+ content:
63
+ application/json:
64
+ examples:
65
+ access_error:
66
+ value:
67
+ error_code: access_error
68
+ message: ''
69
+ schema:
70
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
71
+ '408':
72
+ description: Request Timeout
73
+ content:
74
+ application/json:
75
+ examples:
76
+ timeout_error:
77
+ value:
78
+ error_code: timeout_error
79
+ message: ''
80
+ schema:
81
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
82
+ '415':
83
+ description: Unsupported Media Type
84
+ content:
85
+ application/json:
86
+ examples:
87
+ invalid_content_type:
88
+ value:
89
+ error_code: invalid_content_type
90
+ message: ''
91
+ schema:
92
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
93
+ '422':
94
+ description: Unprocessable Entity
95
+ content:
96
+ application/json:
97
+ examples:
98
+ validation_error:
99
+ value:
100
+ error_code: validation_error
101
+ message: ''
102
+ schema:
103
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
104
+ '429':
105
+ description: Too Many Requests
106
+ content:
107
+ application/json:
108
+ examples:
109
+ rate_limited:
110
+ value:
111
+ error_code: rate_limited
112
+ message: ''
113
+ schema:
114
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
115
+ '500':
116
+ description: Internal Server Error
117
+ content:
118
+ application/json:
119
+ examples:
120
+ runtime_error:
121
+ value:
122
+ error_code: runtime_error
123
+ message: ''
124
+ schema:
125
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
126
+ tags:
127
+ - Composites
128
+ x-s3d-public: true
129
+ '/v1/jobs/{id}': {}
130
+ /v1/scenes/assemble:
131
+ post:
132
+ operationId: v1/scenes/assemble
133
+ summary: Create 3D scene
134
+ description: Assemble a 3D scene with the Substance 3D API.
135
+ parameters:
136
+ - name: wait
137
+ in: query
138
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
139
+ schema:
140
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
141
+ type: boolean
142
+ default: false
143
+ explode: false
144
+ requestBody:
145
+ required: true
146
+ content:
147
+ application/json:
148
+ schema:
149
+ $ref: '#/components/schemas/restv1beta.CreateSceneRequest'
150
+ responses:
151
+ '202':
152
+ description: Accepted
153
+ headers:
154
+ Retry-After:
155
+ schema:
156
+ type: string
157
+ content:
158
+ application/json:
159
+ schema:
160
+ $ref: '#/components/schemas/restv1beta.CreateSceneResponse'
161
+ '400':
162
+ description: Bad Request
163
+ content:
164
+ application/json:
165
+ examples:
166
+ empty_input_body:
167
+ value:
168
+ error_code: empty_input_body
169
+ message: ''
170
+ invalid_json:
171
+ value:
172
+ error_code: invalid_json
173
+ message: ''
174
+ schema:
175
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
176
+ '403':
177
+ description: Forbidden
178
+ content:
179
+ application/json:
180
+ examples:
181
+ access_error:
182
+ value:
183
+ error_code: access_error
184
+ message: ''
185
+ schema:
186
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
187
+ '408':
188
+ description: Request Timeout
189
+ content:
190
+ application/json:
191
+ examples:
192
+ timeout_error:
193
+ value:
194
+ error_code: timeout_error
195
+ message: ''
196
+ schema:
197
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
198
+ '415':
199
+ description: Unsupported Media Type
200
+ content:
201
+ application/json:
202
+ examples:
203
+ invalid_content_type:
204
+ value:
205
+ error_code: invalid_content_type
206
+ message: ''
207
+ schema:
208
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
209
+ '422':
210
+ description: Unprocessable Entity
211
+ content:
212
+ application/json:
213
+ examples:
214
+ validation_error:
215
+ value:
216
+ error_code: validation_error
217
+ message: ''
218
+ schema:
219
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
220
+ '429':
221
+ description: Too Many Requests
222
+ content:
223
+ application/json:
224
+ examples:
225
+ rate_limited:
226
+ value:
227
+ error_code: rate_limited
228
+ message: ''
229
+ schema:
230
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
231
+ '500':
232
+ description: Internal Server Error
233
+ content:
234
+ application/json:
235
+ examples:
236
+ runtime_error:
237
+ value:
238
+ error_code: runtime_error
239
+ message: ''
240
+ schema:
241
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
242
+ tags:
243
+ - Scenes
244
+ x-s3d-public: true
245
+ /v1/scenes/convert:
246
+ post:
247
+ operationId: v1/scenes/convert
248
+ summary: Convert 3D files
249
+ description: Convert a 3D file into another 3D format with the Substance 3D API.
250
+ parameters:
251
+ - name: wait
252
+ in: query
253
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
254
+ schema:
255
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
256
+ type: boolean
257
+ default: false
258
+ explode: false
259
+ requestBody:
260
+ required: true
261
+ content:
262
+ application/json:
263
+ schema:
264
+ $ref: '#/components/schemas/restv1beta.ModelConvertRequest'
265
+ responses:
266
+ '202':
267
+ description: Accepted
268
+ headers:
269
+ Retry-After:
270
+ schema:
271
+ type: string
272
+ content:
273
+ application/json:
274
+ schema:
275
+ $ref: '#/components/schemas/restv1beta.ModelConvertResponse'
276
+ '400':
277
+ description: Bad Request
278
+ content:
279
+ application/json:
280
+ examples:
281
+ empty_input_body:
282
+ value:
283
+ error_code: empty_input_body
284
+ message: ''
285
+ invalid_json:
286
+ value:
287
+ error_code: invalid_json
288
+ message: ''
289
+ schema:
290
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
291
+ '403':
292
+ description: Forbidden
293
+ content:
294
+ application/json:
295
+ examples:
296
+ access_error:
297
+ value:
298
+ error_code: access_error
299
+ message: ''
300
+ schema:
301
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
302
+ '408':
303
+ description: Request Timeout
304
+ content:
305
+ application/json:
306
+ examples:
307
+ timeout_error:
308
+ value:
309
+ error_code: timeout_error
310
+ message: ''
311
+ schema:
312
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
313
+ '415':
314
+ description: Unsupported Media Type
315
+ content:
316
+ application/json:
317
+ examples:
318
+ invalid_content_type:
319
+ value:
320
+ error_code: invalid_content_type
321
+ message: ''
322
+ schema:
323
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
324
+ '422':
325
+ description: Unprocessable Entity
326
+ content:
327
+ application/json:
328
+ examples:
329
+ validation_error:
330
+ value:
331
+ error_code: validation_error
332
+ message: ''
333
+ schema:
334
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
335
+ '429':
336
+ description: Too Many Requests
337
+ content:
338
+ application/json:
339
+ examples:
340
+ rate_limited:
341
+ value:
342
+ error_code: rate_limited
343
+ message: ''
344
+ schema:
345
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
346
+ '500':
347
+ description: Internal Server Error
348
+ content:
349
+ application/json:
350
+ examples:
351
+ runtime_error:
352
+ value:
353
+ error_code: runtime_error
354
+ message: ''
355
+ schema:
356
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
357
+ tags:
358
+ - Scenes
359
+ x-s3d-public: true
360
+ /v1/scenes/describe:
361
+ post:
362
+ operationId: v1/scenes/describe
363
+ summary: Describe 3D scene
364
+ description: Describe a 3D scene.
365
+ parameters:
366
+ - name: wait
367
+ in: query
368
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
369
+ schema:
370
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
371
+ type: boolean
372
+ default: false
373
+ explode: false
374
+ requestBody:
375
+ required: true
376
+ content:
377
+ application/json:
378
+ schema:
379
+ $ref: '#/components/schemas/restv1beta.SceneDescRequest'
380
+ responses:
381
+ '202':
382
+ description: Accepted
383
+ headers:
384
+ Retry-After:
385
+ schema:
386
+ type: string
387
+ content:
388
+ application/json:
389
+ schema:
390
+ $ref: '#/components/schemas/restv1beta.SceneDescResponse'
391
+ '400':
392
+ description: Bad Request
393
+ content:
394
+ application/json:
395
+ examples:
396
+ empty_input_body:
397
+ value:
398
+ error_code: empty_input_body
399
+ message: ''
400
+ invalid_json:
401
+ value:
402
+ error_code: invalid_json
403
+ message: ''
404
+ schema:
405
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
406
+ '403':
407
+ description: Forbidden
408
+ content:
409
+ application/json:
410
+ examples:
411
+ access_error:
412
+ value:
413
+ error_code: access_error
414
+ message: ''
415
+ schema:
416
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
417
+ '408':
418
+ description: Request Timeout
419
+ content:
420
+ application/json:
421
+ examples:
422
+ timeout_error:
423
+ value:
424
+ error_code: timeout_error
425
+ message: ''
426
+ schema:
427
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
428
+ '415':
429
+ description: Unsupported Media Type
430
+ content:
431
+ application/json:
432
+ examples:
433
+ invalid_content_type:
434
+ value:
435
+ error_code: invalid_content_type
436
+ message: ''
437
+ schema:
438
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
439
+ '422':
440
+ description: Unprocessable Entity
441
+ content:
442
+ application/json:
443
+ examples:
444
+ validation_error:
445
+ value:
446
+ error_code: validation_error
447
+ message: ''
448
+ schema:
449
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
450
+ '429':
451
+ description: Too Many Requests
452
+ content:
453
+ application/json:
454
+ examples:
455
+ rate_limited:
456
+ value:
457
+ error_code: rate_limited
458
+ message: ''
459
+ schema:
460
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
461
+ '500':
462
+ description: Internal Server Error
463
+ content:
464
+ application/json:
465
+ examples:
466
+ runtime_error:
467
+ value:
468
+ error_code: runtime_error
469
+ message: ''
470
+ schema:
471
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
472
+ tags:
473
+ - Scenes
474
+ x-s3d-public: true
475
+ /v1/scenes/render:
476
+ post:
477
+ operationId: v1/scenes/render
478
+ summary: Render 3D object
479
+ description: Render a 3D object with the Substance 3D API.
480
+ parameters:
481
+ - name: wait
482
+ in: query
483
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
484
+ schema:
485
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
486
+ type: boolean
487
+ default: false
488
+ explode: false
489
+ requestBody:
490
+ required: true
491
+ content:
492
+ application/json:
493
+ schema:
494
+ $ref: '#/components/schemas/restv1beta.RenderSceneRequest'
495
+ responses:
496
+ '202':
497
+ description: Accepted
498
+ headers:
499
+ Retry-After:
500
+ schema:
501
+ type: string
502
+ content:
503
+ application/json:
504
+ schema:
505
+ $ref: '#/components/schemas/restv1beta.RenderSceneResponse'
506
+ '400':
507
+ description: Bad Request
508
+ content:
509
+ application/json:
510
+ examples:
511
+ empty_input_body:
512
+ value:
513
+ error_code: empty_input_body
514
+ message: ''
515
+ invalid_json:
516
+ value:
517
+ error_code: invalid_json
518
+ message: ''
519
+ schema:
520
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
521
+ '403':
522
+ description: Forbidden
523
+ content:
524
+ application/json:
525
+ examples:
526
+ access_error:
527
+ value:
528
+ error_code: access_error
529
+ message: ''
530
+ schema:
531
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
532
+ '408':
533
+ description: Request Timeout
534
+ content:
535
+ application/json:
536
+ examples:
537
+ timeout_error:
538
+ value:
539
+ error_code: timeout_error
540
+ message: ''
541
+ schema:
542
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
543
+ '415':
544
+ description: Unsupported Media Type
545
+ content:
546
+ application/json:
547
+ examples:
548
+ invalid_content_type:
549
+ value:
550
+ error_code: invalid_content_type
551
+ message: ''
552
+ schema:
553
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
554
+ '422':
555
+ description: Unprocessable Entity
556
+ content:
557
+ application/json:
558
+ examples:
559
+ validation_error:
560
+ value:
561
+ error_code: validation_error
562
+ message: ''
563
+ schema:
564
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
565
+ '429':
566
+ description: Too Many Requests
567
+ content:
568
+ application/json:
569
+ examples:
570
+ rate_limited:
571
+ value:
572
+ error_code: rate_limited
573
+ message: ''
574
+ schema:
575
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
576
+ '500':
577
+ description: Internal Server Error
578
+ content:
579
+ application/json:
580
+ examples:
581
+ runtime_error:
582
+ value:
583
+ error_code: runtime_error
584
+ message: ''
585
+ schema:
586
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
587
+ tags:
588
+ - Scenes
589
+ x-s3d-public: true
590
+ /v1/scenes/render-basic:
591
+ post:
592
+ operationId: v1/scenes/render-basic
593
+ summary: Render 3D object (basic version)
594
+ description: Render a 3D object (basic version) with the Substance 3D API.
595
+ parameters:
596
+ - name: wait
597
+ in: query
598
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
599
+ schema:
600
+ description: 'Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.'
601
+ type: boolean
602
+ default: false
603
+ explode: false
604
+ requestBody:
605
+ required: true
606
+ content:
607
+ application/json:
608
+ schema:
609
+ $ref: '#/components/schemas/restv1beta.RenderModelRequest'
610
+ responses:
611
+ '202':
612
+ description: Accepted
613
+ headers:
614
+ Retry-After:
615
+ schema:
616
+ type: string
617
+ content:
618
+ application/json:
619
+ schema:
620
+ $ref: '#/components/schemas/restv1beta.RenderModelResponse'
621
+ '400':
622
+ description: Bad Request
623
+ content:
624
+ application/json:
625
+ examples:
626
+ empty_input_body:
627
+ value:
628
+ error_code: empty_input_body
629
+ message: ''
630
+ invalid_json:
631
+ value:
632
+ error_code: invalid_json
633
+ message: ''
634
+ schema:
635
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
636
+ '403':
637
+ description: Forbidden
638
+ content:
639
+ application/json:
640
+ examples:
641
+ access_error:
642
+ value:
643
+ error_code: access_error
644
+ message: ''
645
+ schema:
646
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
647
+ '408':
648
+ description: Request Timeout
649
+ content:
650
+ application/json:
651
+ examples:
652
+ timeout_error:
653
+ value:
654
+ error_code: timeout_error
655
+ message: ''
656
+ schema:
657
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
658
+ '415':
659
+ description: Unsupported Media Type
660
+ content:
661
+ application/json:
662
+ examples:
663
+ invalid_content_type:
664
+ value:
665
+ error_code: invalid_content_type
666
+ message: ''
667
+ schema:
668
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
669
+ '422':
670
+ description: Unprocessable Entity
671
+ content:
672
+ application/json:
673
+ examples:
674
+ validation_error:
675
+ value:
676
+ error_code: validation_error
677
+ message: ''
678
+ schema:
679
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
680
+ '429':
681
+ description: Too Many Requests
682
+ content:
683
+ application/json:
684
+ examples:
685
+ rate_limited:
686
+ value:
687
+ error_code: rate_limited
688
+ message: ''
689
+ schema:
690
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
691
+ '500':
692
+ description: Internal Server Error
693
+ content:
694
+ application/json:
695
+ examples:
696
+ runtime_error:
697
+ value:
698
+ error_code: runtime_error
699
+ message: ''
700
+ schema:
701
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
702
+ tags:
703
+ - Scenes
704
+ x-s3d-public: true
705
+ /v1/spaces:
706
+ post:
707
+ operationId: createSpace_v1
708
+ summary: Create Space
709
+ description: Create a Space from 3D files.
710
+ requestBody:
711
+ required: true
712
+ content:
713
+ multipart/form-data:
714
+ schema:
715
+ type: object
716
+ properties:
717
+ filename:
718
+ description: Filename of the file being uploaded.
719
+ type: string
720
+ format: binary
721
+ contentMediaType: application/octet-stream
722
+ name:
723
+ description: General purpose name for multipart form value.
724
+ type: string
725
+ responses:
726
+ '201':
727
+ description: Created
728
+ content:
729
+ application/json:
730
+ schema:
731
+ $ref: '#/components/schemas/rest_base.Space'
732
+ '400':
733
+ description: Bad Request
734
+ content:
735
+ application/json:
736
+ examples:
737
+ empty_input_body:
738
+ value:
739
+ error_code: empty_input_body
740
+ message: ''
741
+ schema:
742
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
743
+ '403':
744
+ description: Forbidden
745
+ content:
746
+ application/json:
747
+ examples:
748
+ access_error:
749
+ value:
750
+ error_code: access_error
751
+ message: ''
752
+ schema:
753
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
754
+ '408':
755
+ description: Request Timeout
756
+ content:
757
+ application/json:
758
+ examples:
759
+ timeout_error:
760
+ value:
761
+ error_code: timeout_error
762
+ message: ''
763
+ schema:
764
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
765
+ '413':
766
+ description: Request Entity Too Large
767
+ content:
768
+ application/json:
769
+ examples:
770
+ entity_too_large:
771
+ value:
772
+ error_code: entity_too_large
773
+ message: ''
774
+ schema:
775
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
776
+ '422':
777
+ description: Unprocessable Entity
778
+ content:
779
+ application/json:
780
+ examples:
781
+ validation_error:
782
+ value:
783
+ error_code: validation_error
784
+ message: ''
785
+ schema:
786
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
787
+ '429':
788
+ description: Too Many Requests
789
+ content:
790
+ application/json:
791
+ examples:
792
+ rate_limited:
793
+ value:
794
+ error_code: rate_limited
795
+ message: ''
796
+ schema:
797
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
798
+ '500':
799
+ description: Internal Server Error
800
+ content:
801
+ application/json:
802
+ examples:
803
+ runtime_error:
804
+ value:
805
+ error_code: runtime_error
806
+ message: ''
807
+ schema:
808
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
809
+ tags:
810
+ - Spaces
811
+ x-s3d-public: true
812
+ '/v1/spaces/{id}': {}
813
+ /v1beta/3dmodels/convert: {}
814
+ /v1beta/3dmodels/render: {}
815
+ /v1beta/3dmodels/render-turntable: {}
816
+ /v1beta/3dscenes/compose: {}
817
+ /v1beta/3dscenes/create: {}
818
+ /v1beta/3dscenes/get-description: {}
819
+ /v1beta/3dscenes/render: {}
820
+ '/v1beta/jobs/{id}': {}
821
+ /v1beta/spaces: {}
822
+ '/v1beta/spaces/{id}': {}
823
+ '/v2/jobs/{id}': {}
824
+ /v2/spaces:
825
+ post:
826
+ operationId: createSpace_v2
827
+ summary: Create Space API
828
+ description: |
829
+ ## Overview
830
+
831
+ The **Substance 3D API** provides a way to upload and temporarily store files.
832
+ Uploading files requires a **multipart/form-data** request to send data.
833
+
834
+ The request requires a **files** field containing a list of files. Each file's **filename** field can contain a filepath to specify where the file will be stored in the space.
835
+
836
+ Example for this files tree:
837
+
838
+ ```
839
+ ├── textures
840
+ │ ├── diffuse.png
841
+ │ └── normal.png
842
+ └── lighthouse.fbx
843
+ ```
844
+
845
+ HTTP data relative to the previous files tree:
846
+
847
+ ```HTTP
848
+ POST /spaces HTTP/1.1
849
+ Host: localhost:8080
850
+ Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
851
+
852
+ ------WebKitFormBoundary7MA4YWxkTrZu0gW
853
+ Content-Disposition: form-data; name="files"; filename="lighthouse.fbx"
854
+ Content-Type: model/vnd.autodesk.fbx
855
+
856
+ (data)
857
+ ------WebKitFormBoundary7MA4YWxkTrZu0gW
858
+ Content-Disposition: form-data; name="files"; filename="textures/diffuse.png"
859
+ Content-Type: image/png
860
+
861
+ (data)
862
+
863
+ ------WebKitFormBoundary7MA4YWxkTrZu0gW
864
+ Content-Disposition: form-data; name="files"; filename="textures/normal.png"
865
+ Content-Type: image/png
866
+
867
+ (data)
868
+ ------WebKitFormBoundary7MA4YWxkTrZu0gW--
869
+ ```
870
+
871
+ Curl command to create this file tree:
872
+
873
+ ```
874
+ curl -X POST https://s3d.adobe.io/v2/spaces \
875
+ -F "files=@Local/Path/To/The/Local/File/lighthouse.fbx;filename=lighthouse.fbx" \
876
+ -F "files=@Local/Path/To/The/Local/File/diffuse.png;filename=textures/diffuse.png" \
877
+ -F "files=@Local/Path/To/The/Local/File/normal.png;filename=textures/normal.png"
878
+ ```
879
+
880
+ The result of the post is a **JSON** which contained the **id** of the space created.
881
+ Space **id** can be used into a space source to use space content as a source for API operations.
882
+
883
+ Example of a space source:
884
+
885
+ ```json
886
+ {
887
+ "space": {
888
+ "id": "<space_id>"
889
+ }
890
+ }
891
+ ```
892
+ requestBody:
893
+ required: true
894
+ content:
895
+ multipart/form-data:
896
+ schema:
897
+ type: object
898
+ properties:
899
+ files:
900
+ type: array
901
+ items:
902
+ contentMediaType: application/octet-stream
903
+ format: binary
904
+ type: string
905
+ minItems: 1
906
+ required:
907
+ - files
908
+ responses:
909
+ '201':
910
+ description: Created
911
+ content:
912
+ application/json:
913
+ schema:
914
+ $ref: '#/components/schemas/rest_base.Space'
915
+ '400':
916
+ description: Bad Request
917
+ content:
918
+ application/json:
919
+ examples:
920
+ empty_input_body:
921
+ value:
922
+ error_code: empty_input_body
923
+ message: ''
924
+ invalid_multipart:
925
+ value:
926
+ error_code: invalid_multipart
927
+ message: ''
928
+ schema:
929
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
930
+ '403':
931
+ description: Forbidden
932
+ content:
933
+ application/json:
934
+ examples:
935
+ access_error:
936
+ value:
937
+ error_code: access_error
938
+ message: ''
939
+ schema:
940
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
941
+ '408':
942
+ description: Request Timeout
943
+ content:
944
+ application/json:
945
+ examples:
946
+ timeout_error:
947
+ value:
948
+ error_code: timeout_error
949
+ message: ''
950
+ schema:
951
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
952
+ '413':
953
+ description: Request Entity Too Large
954
+ content:
955
+ application/json:
956
+ examples:
957
+ entity_too_large:
958
+ value:
959
+ error_code: entity_too_large
960
+ message: ''
961
+ schema:
962
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
963
+ '422':
964
+ description: Unprocessable Entity
965
+ content:
966
+ application/json:
967
+ examples:
968
+ validation_error:
969
+ value:
970
+ error_code: validation_error
971
+ message: ''
972
+ schema:
973
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
974
+ '429':
975
+ description: Too Many Requests
976
+ content:
977
+ application/json:
978
+ examples:
979
+ rate_limited:
980
+ value:
981
+ error_code: rate_limited
982
+ message: ''
983
+ schema:
984
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
985
+ '500':
986
+ description: Internal Server Error
987
+ content:
988
+ application/json:
989
+ examples:
990
+ runtime_error:
991
+ value:
992
+ error_code: runtime_error
993
+ message: ''
994
+ schema:
995
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
996
+ tags: []
997
+ x-s3d-public: true
998
+ '/v2/spaces/{id}': {}
999
+ /v2/spacesFrameIO:
1000
+ post:
1001
+ operationId: createSpaceFromFrameIO_v2
1002
+ summary: Create Space From Frame IO API
1003
+ description: |-
1004
+ ## Overview
1005
+
1006
+ The **Substance 3D API** provides a way to upload and temporary store files.
1007
+ You can upload folders from **frame.io** to create a space.
1008
+ To upload a folder from frame.io, you must pass the following parameters:
1009
+
1010
+ - **access Token**
1011
+ - **folder ID**
1012
+
1013
+ The result of the post is a **JSON** which contained the **id** of the space created.
1014
+ Space **id** can be used into a space source to use space content as a source for API operations.
1015
+
1016
+ Example of a space source:
1017
+
1018
+ ```json
1019
+ {
1020
+ "space": {
1021
+ "id": "<space_id>"
1022
+ }
1023
+ }
1024
+ ```
1025
+ requestBody:
1026
+ required: true
1027
+ content:
1028
+ application/json:
1029
+ schema:
1030
+ $ref: '#/components/schemas/rest_base.FileFrameIO'
1031
+ responses:
1032
+ '201':
1033
+ description: Created
1034
+ content:
1035
+ application/json:
1036
+ schema:
1037
+ $ref: '#/components/schemas/rest_base.Space'
1038
+ '403':
1039
+ description: Forbidden
1040
+ content:
1041
+ application/json:
1042
+ examples:
1043
+ access_error:
1044
+ value:
1045
+ error_code: access_error
1046
+ message: ''
1047
+ schema:
1048
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1049
+ '408':
1050
+ description: Request Timeout
1051
+ content:
1052
+ application/json:
1053
+ examples:
1054
+ timeout_error:
1055
+ value:
1056
+ error_code: timeout_error
1057
+ message: ''
1058
+ schema:
1059
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1060
+ '413':
1061
+ description: Request Entity Too Large
1062
+ content:
1063
+ application/json:
1064
+ examples:
1065
+ entity_too_large:
1066
+ value:
1067
+ error_code: entity_too_large
1068
+ message: ''
1069
+ schema:
1070
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1071
+ '422':
1072
+ description: Unprocessable Entity
1073
+ content:
1074
+ application/json:
1075
+ examples:
1076
+ validation_error:
1077
+ value:
1078
+ error_code: validation_error
1079
+ message: ''
1080
+ schema:
1081
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1082
+ '429':
1083
+ description: Too Many Requests
1084
+ content:
1085
+ application/json:
1086
+ examples:
1087
+ rate_limited:
1088
+ value:
1089
+ error_code: rate_limited
1090
+ message: ''
1091
+ schema:
1092
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1093
+ '500':
1094
+ description: Internal Server Error
1095
+ content:
1096
+ application/json:
1097
+ examples:
1098
+ runtime_error:
1099
+ value:
1100
+ error_code: runtime_error
1101
+ message: ''
1102
+ schema:
1103
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1104
+ tags: []
1105
+ x-s3d-public: true
1106
+ /v2/spacesNextFrameIO:
1107
+ post:
1108
+ operationId: createSpaceFromNextFrameIO_v2
1109
+ summary: Create Space From Next Frame IO API
1110
+ description: |+
1111
+ ## Overview
1112
+
1113
+ The **Substance 3D API** provides a way to upload and temporary store files.
1114
+ You can upload folders from **next.frame.io** to create a space.
1115
+ To upload a folder from next.frame.io, you must pass the following parameters:
1116
+
1117
+ - **access Token**
1118
+ - **account ID**
1119
+ - **folder ID**
1120
+
1121
+ The result of the post is a **JSON** which contained the **id** of the space created.
1122
+ Space **id** can be used into a space source to use space content as a source for API operations.
1123
+
1124
+ Example of a space source:
1125
+
1126
+ ```json
1127
+ {
1128
+ "space": {
1129
+ "id": "<space_id>"
1130
+ }
1131
+ }
1132
+ ```
1133
+
1134
+ requestBody:
1135
+ required: true
1136
+ content:
1137
+ application/json:
1138
+ schema:
1139
+ $ref: '#/components/schemas/rest_base.FileNextFrameIO'
1140
+ responses:
1141
+ '201':
1142
+ description: Created
1143
+ content:
1144
+ application/json:
1145
+ schema:
1146
+ $ref: '#/components/schemas/rest_base.Space'
1147
+ '403':
1148
+ description: Forbidden
1149
+ content:
1150
+ application/json:
1151
+ examples:
1152
+ access_error:
1153
+ value:
1154
+ error_code: access_error
1155
+ message: ''
1156
+ schema:
1157
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1158
+ '408':
1159
+ description: Request Timeout
1160
+ content:
1161
+ application/json:
1162
+ examples:
1163
+ timeout_error:
1164
+ value:
1165
+ error_code: timeout_error
1166
+ message: ''
1167
+ schema:
1168
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1169
+ '413':
1170
+ description: Request Entity Too Large
1171
+ content:
1172
+ application/json:
1173
+ examples:
1174
+ entity_too_large:
1175
+ value:
1176
+ error_code: entity_too_large
1177
+ message: ''
1178
+ schema:
1179
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1180
+ '422':
1181
+ description: Unprocessable Entity
1182
+ content:
1183
+ application/json:
1184
+ examples:
1185
+ validation_error:
1186
+ value:
1187
+ error_code: validation_error
1188
+ message: ''
1189
+ schema:
1190
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1191
+ '429':
1192
+ description: Too Many Requests
1193
+ content:
1194
+ application/json:
1195
+ examples:
1196
+ rate_limited:
1197
+ value:
1198
+ error_code: rate_limited
1199
+ message: ''
1200
+ schema:
1201
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1202
+ '500':
1203
+ description: Internal Server Error
1204
+ content:
1205
+ application/json:
1206
+ examples:
1207
+ runtime_error:
1208
+ value:
1209
+ error_code: runtime_error
1210
+ message: ''
1211
+ schema:
1212
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1213
+ tags: []
1214
+ x-s3d-public: true
1215
+ /v2/spacesURL:
1216
+ post:
1217
+ operationId: createSpaceURL_v2
1218
+ summary: Create Space from URL API
1219
+ description: |
1220
+ ## Overview
1221
+
1222
+ The **Substance 3D API** provides a way to upload and temporary store files.
1223
+ You can upload one or more files from one or more URLs.
1224
+ For each URL, there is an optional **filepath** parameter that allows you to specify the file name and its path.
1225
+ By combining multiple URLs with different **filepath** paths, you can compose a complete file tree structure.
1226
+
1227
+ Example for this files tree:
1228
+
1229
+ ```
1230
+ ├── textures
1231
+ │ ├── diffuse.png
1232
+ │ └── normal.png
1233
+ └── lighthouse.fbx
1234
+ ```
1235
+
1236
+ Curl request:
1237
+
1238
+ ```
1239
+ curl --request POST \
1240
+ --url https://s3d.adobe.io/v2/spacesURL \
1241
+ --header 'Accept: application/json' \
1242
+ --header 'Authorization: Bearer 123' \
1243
+ --header 'Content-Type: application/json' \
1244
+ --data '[
1245
+ {
1246
+ "filepath": "lighthouse.fbx",
1247
+ "url": "https://url/to/lighthouse.fbx"
1248
+ },
1249
+ {
1250
+ "filepath": "textures/diffuse.png",
1251
+ "url": "https://url/to/diffuse.png"
1252
+ },
1253
+ {
1254
+ "filepath": "textures/normal.png",
1255
+ "url": "https://url/to/normal.png"
1256
+ }
1257
+ ]'
1258
+ ```
1259
+
1260
+ The result of the post is a **JSON** which contained the **id** of the space created.
1261
+ Space **id** can be used into a space source to use space content as a source for API operations.
1262
+
1263
+ Example of a space source:
1264
+
1265
+ ```json
1266
+ {
1267
+ "space": {
1268
+ "id": "<space_id>"
1269
+ }
1270
+ }
1271
+ ```
1272
+ requestBody:
1273
+ required: true
1274
+ content:
1275
+ application/json:
1276
+ schema:
1277
+ type:
1278
+ - array
1279
+ - 'null'
1280
+ items:
1281
+ $ref: '#/components/schemas/rest_base.FileURL'
1282
+ responses:
1283
+ '201':
1284
+ description: Created
1285
+ content:
1286
+ application/json:
1287
+ schema:
1288
+ $ref: '#/components/schemas/rest_base.Space'
1289
+ '403':
1290
+ description: Forbidden
1291
+ content:
1292
+ application/json:
1293
+ examples:
1294
+ access_error:
1295
+ value:
1296
+ error_code: access_error
1297
+ message: ''
1298
+ schema:
1299
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1300
+ '408':
1301
+ description: Request Timeout
1302
+ content:
1303
+ application/json:
1304
+ examples:
1305
+ timeout_error:
1306
+ value:
1307
+ error_code: timeout_error
1308
+ message: ''
1309
+ schema:
1310
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1311
+ '413':
1312
+ description: Request Entity Too Large
1313
+ content:
1314
+ application/json:
1315
+ examples:
1316
+ entity_too_large:
1317
+ value:
1318
+ error_code: entity_too_large
1319
+ message: ''
1320
+ schema:
1321
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1322
+ '422':
1323
+ description: Unprocessable Entity
1324
+ content:
1325
+ application/json:
1326
+ examples:
1327
+ validation_error:
1328
+ value:
1329
+ error_code: validation_error
1330
+ message: ''
1331
+ schema:
1332
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1333
+ '429':
1334
+ description: Too Many Requests
1335
+ content:
1336
+ application/json:
1337
+ examples:
1338
+ rate_limited:
1339
+ value:
1340
+ error_code: rate_limited
1341
+ message: ''
1342
+ schema:
1343
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1344
+ '500':
1345
+ description: Internal Server Error
1346
+ content:
1347
+ application/json:
1348
+ examples:
1349
+ runtime_error:
1350
+ value:
1351
+ error_code: runtime_error
1352
+ message: ''
1353
+ schema:
1354
+ $ref: '#/components/schemas/ffapierrors.FFAPIError'
1355
+ tags: []
1356
+ x-s3d-public: true
1357
+ components:
1358
+ schemas:
1359
+ ffapierrors.FFAPIError:
1360
+ description: The error within the error response.
1361
+ type: object
1362
+ properties:
1363
+ $schema:
1364
+ description: A URL to the JSON schema for this object.
1365
+ type: string
1366
+ format: uri
1367
+ examples:
1368
+ - 'https://s3d.adobe.io/schemas/ffapierrors.FFAPIError.json'
1369
+ readOnly: true
1370
+ error_code:
1371
+ description: Associated error code.
1372
+ type: string
1373
+ error_details:
1374
+ description: Optional list of individual error details.
1375
+ type: array
1376
+ items:
1377
+ type: object
1378
+ message:
1379
+ description: Error message.
1380
+ type: string
1381
+ additionalProperties: false
1382
+ required:
1383
+ - error_code
1384
+ ffapierrors.FFAPIErrorDetail:
1385
+ type: object
1386
+ properties:
1387
+ error_code:
1388
+ description: Error code.
1389
+ type: string
1390
+ error_context:
1391
+ description: Additional context for the error.
1392
+ loc:
1393
+ description: 'Where the error occurred, indicated in dot notation (e.g., body.items[3].tags or path.thing-id).'
1394
+ type: string
1395
+ msg:
1396
+ description: Error message text.
1397
+ type: string
1398
+ additionalProperties: false
1399
+ required:
1400
+ - loc
1401
+ - msg
1402
+ - error_code
1403
+ rest_base.FileFrameIO:
1404
+ type: object
1405
+ properties:
1406
+ $schema:
1407
+ description: A URL to the JSON Schema for this object.
1408
+ type: string
1409
+ format: uri
1410
+ examples:
1411
+ - 'https://s3d.adobe.io/schemas/rest_base.FileFrameIO.json'
1412
+ readOnly: true
1413
+ accessToken:
1414
+ description: 'Frame.io access token or Developer token. See https://developer.frame.io/docs/getting-started/authentication for obtaining a token.'
1415
+ type: string
1416
+ examples:
1417
+ - base64.jwt.token
1418
+ folderId:
1419
+ description: 'Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets. The system will retrieve all content from the specified folder, so choosing a parent folder with many subfolders may exceed the maximum retrieval size limit'
1420
+ type: string
1421
+ examples:
1422
+ - 01234567-89ab-cdef-0123-456789abcdef
1423
+ additionalProperties: false
1424
+ required:
1425
+ - folderId
1426
+ - accessToken
1427
+ rest_base.FileNextFrameIO:
1428
+ type: object
1429
+ properties:
1430
+ $schema:
1431
+ description: A URL to the JSON Schema for this object.
1432
+ type: string
1433
+ format: uri
1434
+ examples:
1435
+ - 'https://s3d.adobe.io/schemas/rest_base.FileNextFrameIO.json'
1436
+ readOnly: true
1437
+ accessToken:
1438
+ description: 'Frame.io access token. See https://developer.adobe.com/frameio/guides/Authentication/ for obtaining a token.'
1439
+ type: string
1440
+ examples:
1441
+ - fio-u-base64url
1442
+ accountId:
1443
+ description: 'Frame.io account ID. This is the account identifier for the next.frame.io account owner. To find your account ID, log in to next.frame.io, navigate to your inbox, and extract the UUID from the URL (e.g., in https://next.frame.io/inbox/abcdefgh-1234-1234-1234-abcdefghijk, the account ID is abcdefgh-1234-1234-1234-abcdefghijk)'
1444
+ type: string
1445
+ examples:
1446
+ - 01234567-89ab-cdef-0123-456789abcdef
1447
+ folderId:
1448
+ description: 'Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets. The system will retrieve all content from the specified folder, so choosing a parent folder with many subfolders may exceed the maximum retrieval size limit'
1449
+ type: string
1450
+ examples:
1451
+ - 01234567-89ab-cdef-0123-456789abcdef
1452
+ additionalProperties: false
1453
+ required:
1454
+ - folderId
1455
+ - accountId
1456
+ - accessToken
1457
+ rest_base.FileURL:
1458
+ type: object
1459
+ properties:
1460
+ filepath:
1461
+ description: 'The filename in the filepath overrides filename. If filepath is unset, will try to detect filename from content disposition header, then url itself. If a path is specified before the filename in the filepath, the file will be mounted at that location in the space.'
1462
+ type: string
1463
+ url:
1464
+ type: string
1465
+ examples:
1466
+ - 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
1467
+ additionalProperties: false
1468
+ required:
1469
+ - url
1470
+ rest_base.MountedSource:
1471
+ type: object
1472
+ properties:
1473
+ frame.io:
1474
+ description: Fetch content from a Frame.io folder. ⚠️ All sources are exclusive.
1475
+ $ref: '#/components/schemas/rest_base.SourceFrameIO'
1476
+ deprecated: true
1477
+ mountPoint:
1478
+ description: Where to mount the content of the source in the virtual job working directory.
1479
+ type: string
1480
+ default: /
1481
+ next.frame.io:
1482
+ description: Fetch content from a next.frame.io folder. ⚠️ All sources are exclusive.
1483
+ $ref: '#/components/schemas/rest_base.SourceFrameIOV4'
1484
+ space:
1485
+ description: 'Read content from an existing space (can be another job''s output, or uploaded manually with the space API). ⚠️ All sources are exclusive.'''
1486
+ $ref: '#/components/schemas/rest_base.SourceSpace'
1487
+ url:
1488
+ description: Fetch content from a URL. ⚠️ All sources are exclusive.
1489
+ $ref: '#/components/schemas/rest_base.SourceURL'
1490
+ additionalProperties: false
1491
+ rest_base.SourceFrameIO:
1492
+ type: object
1493
+ properties:
1494
+ accessToken:
1495
+ description: 'Frame.io access token or Developer token. See https://developer.frame.io/docs/getting-started/authentication for obtaining a token.'
1496
+ type: string
1497
+ folderId:
1498
+ description: 'Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets. The system will retrieve all content from the specified folder, so choosing a parent folder with many subfolders may exceed the maximum retrieval size limit'
1499
+ type: string
1500
+ additionalProperties: false
1501
+ required:
1502
+ - folderId
1503
+ - accessToken
1504
+ rest_base.SourceFrameIOV4:
1505
+ type: object
1506
+ properties:
1507
+ accessToken:
1508
+ description: 'Frame.io access token. See https://developer.adobe.com/frameio/guides/Authentication/ for obtaining a token.'
1509
+ type: string
1510
+ accountId:
1511
+ description: 'Frame.io account ID. This is the account identifier for the next.frame.io account owner. To find your account ID, log in to next.frame.io, navigate to your inbox, and extract the UUID from the URL (e.g., in https://next.frame.io/inbox/abcdefgh-1234-1234-1234-abcdefghijk, the account ID is abcdefgh-1234-1234-1234-abcdefghijk)'
1512
+ type: string
1513
+ folderId:
1514
+ description: 'Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets. The system will retrieve all content from the specified folder, so choosing a parent folder with many subfolders may exceed the maximum retrieval size limit'
1515
+ type: string
1516
+ additionalProperties: false
1517
+ required:
1518
+ - folderId
1519
+ - accountId
1520
+ - accessToken
1521
+ rest_base.SourceSpace:
1522
+ type: object
1523
+ properties:
1524
+ id:
1525
+ description: A space ID.
1526
+ type: string
1527
+ additionalProperties: false
1528
+ required:
1529
+ - id
1530
+ rest_base.SourceURL:
1531
+ type: object
1532
+ properties:
1533
+ filename:
1534
+ description: 'Filename override. If unset, the service will try to detect the filename from the content disposition header, then the URL itself.'
1535
+ type: string
1536
+ url:
1537
+ description: URL to fetch content from.
1538
+ type: string
1539
+ examples:
1540
+ - 'https://cdn.substance3d.com/v2/files/public/stepladder.usdz'
1541
+ additionalProperties: false
1542
+ required:
1543
+ - url
1544
+ rest_base.Space:
1545
+ type: object
1546
+ properties:
1547
+ $schema:
1548
+ description: A URL to the JSON schema for this object.
1549
+ type: string
1550
+ format: uri
1551
+ examples:
1552
+ - 'https://s3d.adobe.io/schemas/rest_base.Space.json'
1553
+ readOnly: true
1554
+ expiry:
1555
+ description: time at which the space will be deleted
1556
+ type: string
1557
+ format: date-time
1558
+ files:
1559
+ description: 'List of all files contained in Space, ordered by name.'
1560
+ type:
1561
+ - array
1562
+ - 'null'
1563
+ items:
1564
+ $ref: '#/components/schemas/rest_base.SpaceFile'
1565
+ id:
1566
+ description: Unique identifier of this Space.
1567
+ type: string
1568
+ url:
1569
+ description: URL to the full description of this Space.
1570
+ type: string
1571
+ archiveUrl:
1572
+ description: URL to fetch the whole space as an archive (usually a ZIP file).
1573
+ additionalProperties: false
1574
+ required:
1575
+ - url
1576
+ - id
1577
+ - expiry
1578
+ - files
1579
+ rest_base.SpaceFile:
1580
+ type: object
1581
+ properties:
1582
+ name:
1583
+ type: string
1584
+ size:
1585
+ type: integer
1586
+ format: int64
1587
+ minimum: 0
1588
+ url:
1589
+ type: string
1590
+ additionalProperties: false
1591
+ required:
1592
+ - url
1593
+ - name
1594
+ - size
1595
+ restv1.ComposeSceneRequest:
1596
+ type: object
1597
+ properties:
1598
+ $schema:
1599
+ description: A URL to the JSON schema for this object.
1600
+ type: string
1601
+ format: uri
1602
+ examples:
1603
+ - 'https://s3d.adobe.io/schemas/restv1.ComposeSceneRequest.json'
1604
+ readOnly: true
1605
+ cameraName:
1606
+ description: Name of an existing camera in the source 3D scene. The camera has to be defined in the scene.
1607
+ type: string
1608
+ contentClass:
1609
+ description: Class of content to generate.
1610
+ type: string
1611
+ default: photo
1612
+ enum:
1613
+ - art
1614
+ - photo
1615
+ customModelId:
1616
+ description: 'ID of the custom model to be used for the generation. You can retrieve your custom model ID (assetId) with the Firefly retrieve custom model endpoint (https://developer.adobe.com/firefly-services/docs/firefly-api/api/#operation/getCustomModels).'
1617
+ type: string
1618
+ enableGroundPlane:
1619
+ description: 'Enable the auto-generated ground plane under the hero asset. This is useful if the 3D scene contains only a hero asset, without additional elements.'
1620
+ type: boolean
1621
+ default: false
1622
+ environment:
1623
+ description: 'Optional environment settings used for all variations. If omitted, an environment will be generated based on the background. If set, the `lightingSeeds` parameter will be ignored.'
1624
+ $ref: '#/components/schemas/types.ComposeEnvironment'
1625
+ environmentExposure:
1626
+ description: 'Exposure, in EV (0=neutral).'
1627
+ type: number
1628
+ format: double
1629
+ maximum: 10
1630
+ minimum: -10
1631
+ heroAsset:
1632
+ description: Name of an existing 'hero asset' in the source 3D scene. The asset has to be defined in the scene.
1633
+ type: string
1634
+ minLength: 1
1635
+ lightingSeeds:
1636
+ description: 'Optional seeds to be used to generate the lighting for the scene. The first seed will be used with the first seed of the background, the second one with the second seed of the background and so on. Background seeds must be defined and the number of lighting seeds should equal the number of background seeds. If not set, random seeds will be used. You will be able to retrieve the seeds used for the generation in the output details of the job.'
1637
+ type: array
1638
+ items:
1639
+ format: int64
1640
+ type: integer
1641
+ maxItems: 4
1642
+ modelVersion:
1643
+ description: Model version to be used to generate the background image with Adobe Firefly.
1644
+ type: string
1645
+ default: image4_ultra
1646
+ enum:
1647
+ - image3_fast
1648
+ - image4_standard
1649
+ - image4_ultra
1650
+ numVariations:
1651
+ description: 'The number of variations to generate. `numVariations` will default to the number of seeds, or to 1 if `seeds` is not specified.'
1652
+ type: integer
1653
+ format: int64
1654
+ maximum: 4
1655
+ minimum: 1
1656
+ prompt:
1657
+ description: Prompt to be used to generate the background image with Adobe Firefly.
1658
+ type: string
1659
+ minLength: 1
1660
+ scene:
1661
+ description: 'Optional scene-level details, such as a custom camera.'
1662
+ $ref: '#/components/schemas/types.ComposeSceneSceneDetails'
1663
+ sceneFile:
1664
+ description: 'The path of the scene file in `sources`. If value is null, the first found scene file will be used.'
1665
+ type: string
1666
+ seeds:
1667
+ description: 'Optional seed value to be used to generate the background image with Adobe Firefly. A seed ensures consistent background image generation. If `seed` is not set, a random seed will be used. Retrieve the seed used for the generation in the output details of the job. If specified with `numVariations`, the number of seeds must be the equal to `numVariations`.'
1668
+ type: array
1669
+ items:
1670
+ format: int64
1671
+ type: integer
1672
+ maxItems: 4
1673
+ size:
1674
+ description: |-
1675
+ The size of the image generations. The supported dimensions for image generations are:
1676
+ | Dimensions | Description |
1677
+ | -----------| ----- |
1678
+ | { "width": 2048, "height": 2048} | Square (1:1) |
1679
+ | { "width": 2304, "height": 1792 } | Landscape (4:3) |
1680
+ | { "width": 1792, "height": 2304 } | Portrait (3:4) |
1681
+ | { "width": 2688, "height": 1536 } | Widescreen (16:9) |
1682
+ | { "width": 1344, "height": 768 } |(7:4) |
1683
+ |{ "width": 1152, "height": 896 } |(9:7) |
1684
+ |{ "width": 896, "height": 1152 } |(7:9) |
1685
+ | { "width": 1024, "height": 1024} | Square (1:1) |
1686
+ $ref: '#/components/schemas/types.OutputSize'
1687
+ sources:
1688
+ description: List of sources to aggregate and run the job against.
1689
+ type: array
1690
+ items:
1691
+ $ref: '#/components/schemas/rest_base.MountedSource'
1692
+ maxItems: 16
1693
+ minItems: 1
1694
+ styleImage:
1695
+ description: Optional 'style image' to be used to generate the background. The style image has to be present in `sources`.
1696
+ type: string
1697
+ additionalProperties: false
1698
+ examples:
1699
+ - cameraName: main_camera
1700
+ heroAsset: bottle
1701
+ prompt: french style kitchen with a glass bottle sitting on an empty wooden table window on the left focal length 50mm
1702
+ sources:
1703
+ - url:
1704
+ url: 'https://cdn.substance3d.com/v2/files/public/compositing_table_bottle.glb'
1705
+ required:
1706
+ - sources
1707
+ - prompt
1708
+ - heroAsset
1709
+ restv1beta.ComposeOutput:
1710
+ type: object
1711
+ properties:
1712
+ backgroundImage:
1713
+ $ref: '#/components/schemas/restv1beta.ComposeOutputImage'
1714
+ image:
1715
+ $ref: '#/components/schemas/restv1beta.ComposeOutputImage'
1716
+ lightingSeed:
1717
+ type: integer
1718
+ format: int64
1719
+ maskImage:
1720
+ $ref: '#/components/schemas/restv1beta.ComposeOutputImage'
1721
+ seed:
1722
+ type: integer
1723
+ format: int64
1724
+ additionalProperties: false
1725
+ required:
1726
+ - seed
1727
+ - lightingSeed
1728
+ - image
1729
+ - backgroundImage
1730
+ - maskImage
1731
+ restv1beta.ComposeOutputImage:
1732
+ type: object
1733
+ properties:
1734
+ url:
1735
+ type: string
1736
+ additionalProperties: false
1737
+ required:
1738
+ - url
1739
+ restv1beta.ComposeSceneJobResult:
1740
+ type: object
1741
+ properties:
1742
+ outputSpace:
1743
+ $ref: '#/components/schemas/rest_base.Space'
1744
+ outputs:
1745
+ type: array
1746
+ items:
1747
+ $ref: '#/components/schemas/restv1beta.ComposeOutput'
1748
+ promptHasBlockedArtists:
1749
+ type: boolean
1750
+ promptHasDeniedWords:
1751
+ type: boolean
1752
+ warnings:
1753
+ type:
1754
+ - array
1755
+ - 'null'
1756
+ items:
1757
+ $ref: '#/components/schemas/types.Warning'
1758
+ additionalProperties: false
1759
+ required:
1760
+ - outputSpace
1761
+ - outputs
1762
+ - promptHasDeniedWords
1763
+ - promptHasBlockedArtists
1764
+ restv1beta.ComposeSceneRequest:
1765
+ type: object
1766
+ properties:
1767
+ $schema:
1768
+ description: A URL to the JSON Schema for this object.
1769
+ type: string
1770
+ format: uri
1771
+ examples:
1772
+ - 'https://s3d.adobe.io/schemas/restv1beta.ComposeSceneRequest.json'
1773
+ readOnly: true
1774
+ cameraName:
1775
+ description: Name of an existing camera in the 3D scene (must be defined in the scene). Mutually exclusive with 'scene.camera'.
1776
+ type: string
1777
+ contentClass:
1778
+ description: 'Class of content to generate: ''photo'' for photorealistic images or ''art'' for artistic renditions. Defaults to ''photo''.'
1779
+ type: string
1780
+ default: photo
1781
+ enum:
1782
+ - art
1783
+ - photo
1784
+ customModelId:
1785
+ description: 'ID of the custom model to be used for the generation. You can retrieve your custom model ID (assetId) with the Firefly retrieve custom model endpoint (https://developer.adobe.com/firefly-services/docs/firefly-api/api/#operation/getCustomModels).'
1786
+ type: string
1787
+ enableGroundPlane:
1788
+ description: Allow to enable the auto-generated ground plane under the hero asset. Useful if the 3D scene contains only a hero asset without additional elements. Disabled by default.
1789
+ type: boolean
1790
+ default: false
1791
+ environment:
1792
+ description: 'Optional environment settings used for all variations. If omitted, an environment will be generated based on the background. If set, the `lightingSeeds` parameter will be ignored.'
1793
+ $ref: '#/components/schemas/types.ComposeEnvironment'
1794
+ environmentExposure:
1795
+ description: 'Exposure, in EV (0=neutral).'
1796
+ type: number
1797
+ format: double
1798
+ maximum: 10
1799
+ minimum: -10
1800
+ heroAsset:
1801
+ description: Name of an existing 'hero asset' in the source 3D scene (the asset has to be defined in the scene).
1802
+ type: string
1803
+ minLength: 1
1804
+ lightingSeeds:
1805
+ description: 'LightingSeeds defines optional, fixed random seeds for reproducible Image-Based Lighting (IBL) when generating AI backgrounds. It is only used when ''environment'' is not provided. Each lighting seed maps to the corresponding background seed by index (first lighting seed with first background seed, etc.) when ''seeds'' is specified. If the number of lighting seeds does not match the number of background seeds, the slice is automatically truncated or padded with random values. When omitted or set to nil, random lighting seeds are generated. The actual seeds used are returned in the response payload.'
1806
+ type: array
1807
+ items:
1808
+ format: int64
1809
+ type: integer
1810
+ maxItems: 4
1811
+ modelVersion:
1812
+ description: 'Model version to be used to generate the background image with Adobe Firefly. If omitted, defaults to ''image3_fast''.'
1813
+ type: string
1814
+ default: image3_fast
1815
+ enum:
1816
+ - image3_fast
1817
+ - image4_standard
1818
+ - image4_ultra
1819
+ numVariations:
1820
+ description: 'The number of variations to generate. `numVariations` will default to the number of seeds, or to 1 if `seeds` is not specified.'
1821
+ type: integer
1822
+ format: int64
1823
+ maximum: 4
1824
+ minimum: 1
1825
+ prompt:
1826
+ description: Prompt to be used to generate the background image with Adobe Firefly.
1827
+ type: string
1828
+ minLength: 1
1829
+ scene:
1830
+ description: 'Optional scene-level details, such as a custom camera.'
1831
+ $ref: '#/components/schemas/types.ComposeSceneSceneDetails'
1832
+ sceneFile:
1833
+ description: 'The path of the scene file in `sources`. If value is null, the first found scene file will be used.'
1834
+ type: string
1835
+ seeds:
1836
+ description: 'Optional seed to be used to generate the background image with Adobe Firefly. Seed ensures consistent background image generation. If `seed` is not set, a random seed will be used. You will be able to retrieve the seed used for the generation in the output details of the job. If specified alongside `numVariations`, the number of seeds must be equal to `numVariations`.'
1837
+ type: array
1838
+ items:
1839
+ format: int64
1840
+ type: integer
1841
+ maxItems: 4
1842
+ size:
1843
+ description: |-
1844
+ Output image dimensions. Supported resolutions:
1845
+ | Dimensions | Description |
1846
+ | -----------| ----- |
1847
+ | { "width": 2048, "height": 2048} | Square (1:1) |
1848
+ | { "width": 2304, "height": 1792 } | Landscape (4:3) |
1849
+ | { "width": 1792, "height": 2304 } | Portrait (3:4) |
1850
+ | { "width": 2688, "height": 1536 } | Widescreen (16:9) |
1851
+ $ref: '#/components/schemas/types.OutputSize'
1852
+ sources:
1853
+ description: List of sources to aggregate and run the job against.
1854
+ type: array
1855
+ items:
1856
+ $ref: '#/components/schemas/rest_base.MountedSource'
1857
+ maxItems: 16
1858
+ minItems: 1
1859
+ styleImage:
1860
+ description: Optional reference image to influence the visual style and aesthetics of the generated background. Must be provided in sources.
1861
+ type: string
1862
+ additionalProperties: false
1863
+ examples:
1864
+ - cameraName: main_camera
1865
+ heroAsset: bottle
1866
+ prompt: french style kitchen with a glass bottle sitting on an empty wooden table window on the left focal length 50mm
1867
+ sources:
1868
+ - url:
1869
+ url: 'https://cdn.substance3d.com/v2/files/public/compositing_table_bottle.glb'
1870
+ required:
1871
+ - sources
1872
+ - prompt
1873
+ - heroAsset
1874
+ restv1beta.ComposeSceneResponse:
1875
+ type: object
1876
+ properties:
1877
+ $schema:
1878
+ description: A URL to the JSON schema for this object.
1879
+ type: string
1880
+ format: uri
1881
+ examples:
1882
+ - 'https://s3d.adobe.io/schemas/restv1beta.ComposeSceneResponse.json'
1883
+ readOnly: true
1884
+ bugReportUrl:
1885
+ description: URL to report a bug about this job.
1886
+ type: string
1887
+ error:
1888
+ description: Potential error that happened during the job processing.
1889
+ type: string
1890
+ id:
1891
+ description: Unique identifier of the job.
1892
+ type: string
1893
+ result:
1894
+ description: Result when the job is successfully finished.
1895
+ $ref: '#/components/schemas/restv1beta.ComposeSceneJobResult'
1896
+ status:
1897
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
1898
+ type: string
1899
+ url:
1900
+ description: URL to fetch/poll for job result in case the job is not finished yet.
1901
+ type: string
1902
+ additionalProperties: false
1903
+ required:
1904
+ - url
1905
+ - id
1906
+ - status
1907
+ - bugReportUrl
1908
+ restv1beta.CreateSceneJobResult:
1909
+ type: object
1910
+ properties:
1911
+ outputSpace:
1912
+ $ref: '#/components/schemas/rest_base.Space'
1913
+ sceneUrl:
1914
+ description: URL for the created scene.
1915
+ type: string
1916
+ additionalProperties: false
1917
+ required:
1918
+ - sceneUrl
1919
+ - outputSpace
1920
+ restv1beta.CreateSceneRequest:
1921
+ type: object
1922
+ properties:
1923
+ $schema:
1924
+ description: A URL to the JSON schema for this object.
1925
+ type: string
1926
+ format: uri
1927
+ examples:
1928
+ - 'https://s3d.adobe.io/schemas/restv1beta.CreateSceneRequest.json'
1929
+ readOnly: true
1930
+ encoding:
1931
+ description: Encoding output format.
1932
+ type: string
1933
+ enum:
1934
+ - glb
1935
+ - gltf
1936
+ - fbx
1937
+ - usdz
1938
+ - usda
1939
+ - usdc
1940
+ - obj
1941
+ fileBaseName:
1942
+ description: Output filename.
1943
+ type: string
1944
+ minLength: 1
1945
+ scene:
1946
+ $ref: '#/components/schemas/types.SceneDescription'
1947
+ sources:
1948
+ description: List of sources to aggregate and run the job against.
1949
+ type: array
1950
+ items:
1951
+ $ref: '#/components/schemas/rest_base.MountedSource'
1952
+ maxItems: 16
1953
+ minItems: 1
1954
+ additionalProperties: false
1955
+ examples:
1956
+ - encoding: usdz
1957
+ fileBaseName: scene
1958
+ scene:
1959
+ models:
1960
+ imports:
1961
+ - file: WaterBottle.glb
1962
+ - file: WaterBottle.glb
1963
+ transform:
1964
+ trs:
1965
+ rotation:
1966
+ euler:
1967
+ - 30
1968
+ - 0
1969
+ - 0
1970
+ scale:
1971
+ - 1
1972
+ - 1
1973
+ - 1
1974
+ translation:
1975
+ - 0.15
1976
+ - 0
1977
+ - 0
1978
+ sources:
1979
+ - url:
1980
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
1981
+ - encoding: usdz
1982
+ fileBaseName: scene
1983
+ scene:
1984
+ models:
1985
+ imports:
1986
+ - file: WaterBottle.glb
1987
+ - file: WaterBottle.glb
1988
+ transform:
1989
+ trs:
1990
+ rotation:
1991
+ euler:
1992
+ - 30
1993
+ - 0
1994
+ - 0
1995
+ scale:
1996
+ - 1
1997
+ - 1
1998
+ - 1
1999
+ translation:
2000
+ - 0.15
2001
+ - 0
2002
+ - 0
2003
+ sources:
2004
+ - url:
2005
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
2006
+ required:
2007
+ - scene
2008
+ - sources
2009
+ - encoding
2010
+ - fileBaseName
2011
+ restv1beta.CreateSceneResponse:
2012
+ type: object
2013
+ properties:
2014
+ $schema:
2015
+ description: A URL to the JSON schema for this object.
2016
+ type: string
2017
+ format: uri
2018
+ examples:
2019
+ - 'https://s3d.adobe.io/schemas/restv1beta.CreateSceneResponse.json'
2020
+ readOnly: true
2021
+ bugReportUrl:
2022
+ description: URL to report a bug about this job.
2023
+ type: string
2024
+ error:
2025
+ description: Potential error that happened during the job processing.
2026
+ type: string
2027
+ id:
2028
+ description: Unique identifier of the job.
2029
+ type: string
2030
+ result:
2031
+ description: Result when the job is successfully finished.
2032
+ $ref: '#/components/schemas/restv1beta.CreateSceneJobResult'
2033
+ status:
2034
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
2035
+ type: string
2036
+ url:
2037
+ description: 'URL to fetch/poll for the job result, in case the job is not finished yet.'
2038
+ type: string
2039
+ additionalProperties: false
2040
+ required:
2041
+ - url
2042
+ - id
2043
+ - status
2044
+ - bugReportUrl
2045
+ restv1beta.ModelConvertJobResult:
2046
+ type: object
2047
+ properties:
2048
+ outputSpace:
2049
+ $ref: '#/components/schemas/rest_base.Space'
2050
+ additionalProperties: false
2051
+ required:
2052
+ - outputSpace
2053
+ restv1beta.ModelConvertRequest:
2054
+ type: object
2055
+ properties:
2056
+ $schema:
2057
+ description: A URL to the JSON schema for this object.
2058
+ type: string
2059
+ format: uri
2060
+ examples:
2061
+ - 'https://s3d.adobe.io/schemas/restv1beta.ModelConvertRequest.json'
2062
+ readOnly: true
2063
+ format:
2064
+ description: Output format.
2065
+ type: string
2066
+ enum:
2067
+ - glb
2068
+ - gltf
2069
+ - fbx
2070
+ - usdz
2071
+ - usda
2072
+ - usdc
2073
+ - obj
2074
+ examples:
2075
+ - glb
2076
+ modelEntrypoint:
2077
+ description: Conversion usually takes the first file that's considered a valid 3D model. Define this entry point to disambiguate when there are multiple options.
2078
+ type: string
2079
+ sources:
2080
+ description: List of sources to aggregate and run the job against.
2081
+ type: array
2082
+ items:
2083
+ $ref: '#/components/schemas/rest_base.MountedSource'
2084
+ maxItems: 16
2085
+ minItems: 1
2086
+ additionalProperties: false
2087
+ examples:
2088
+ - format: glb
2089
+ sources:
2090
+ - url:
2091
+ url: 'https://cdn.substance3d.com/v2/files/public/stepladder.usdz'
2092
+ - format: glb
2093
+ sources:
2094
+ - url:
2095
+ url: 'https://cdn.substance3d.com/v2/files/public/stepladder.usdz'
2096
+ - format: glb
2097
+ sources:
2098
+ - url:
2099
+ url: 'https://cdn.substance3d.com/v2/files/public/stepladder.usdz'
2100
+ required:
2101
+ - format
2102
+ - sources
2103
+ restv1beta.ModelConvertResponse:
2104
+ type: object
2105
+ properties:
2106
+ $schema:
2107
+ description: A URL to the JSON schema for this object.
2108
+ type: string
2109
+ format: uri
2110
+ examples:
2111
+ - 'https://s3d.adobe.io/schemas/restv1beta.ModelConvertResponse.json'
2112
+ readOnly: true
2113
+ bugReportUrl:
2114
+ description: URL to report a bug about this job.
2115
+ type: string
2116
+ error:
2117
+ description: Potential error that happened during the job processing.
2118
+ type: string
2119
+ id:
2120
+ description: Unique identifier of the job.
2121
+ type: string
2122
+ result:
2123
+ description: Result when the job is successfully finished.
2124
+ $ref: '#/components/schemas/restv1beta.ModelConvertJobResult'
2125
+ status:
2126
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
2127
+ type: string
2128
+ url:
2129
+ description: 'URL to fetch/poll for the job result, in case the job is not finished yet.'
2130
+ type: string
2131
+ additionalProperties: false
2132
+ required:
2133
+ - url
2134
+ - id
2135
+ - status
2136
+ - bugReportUrl
2137
+ restv1beta.RenderModelRequest:
2138
+ type: object
2139
+ properties:
2140
+ $schema:
2141
+ description: A URL to the JSON schema for this object.
2142
+ type: string
2143
+ format: uri
2144
+ examples:
2145
+ - 'https://s3d.adobe.io/schemas/restv1beta.RenderModelRequest.json'
2146
+ readOnly: true
2147
+ autoFraming:
2148
+ description: Options related to auto-framing.
2149
+ $ref: '#/components/schemas/types.AutoFramingOptions'
2150
+ background:
2151
+ description: Options related to the background.
2152
+ $ref: '#/components/schemas/types.BackgroundOptions'
2153
+ cameraName:
2154
+ description: 'If set, this camera is used to perform the render. The camera has to be defined in the scene.'
2155
+ type: string
2156
+ extraOutputs:
2157
+ description: Request additional outputs from the renderer.
2158
+ $ref: '#/components/schemas/types.RenderExtraOutputs'
2159
+ groundPlane:
2160
+ description: Options related to the ground plane.
2161
+ $ref: '#/components/schemas/types.GroundPlaneOptions'
2162
+ scene:
2163
+ description: Define rendering scene primitives.
2164
+ $ref: '#/components/schemas/types.SimpleSceneDescription'
2165
+ size:
2166
+ description: Options related to the render size.
2167
+ $ref: '#/components/schemas/types.SizeOptions'
2168
+ sources:
2169
+ description: List of sources to aggregate and run the job against.
2170
+ type: array
2171
+ items:
2172
+ $ref: '#/components/schemas/rest_base.MountedSource'
2173
+ maxItems: 16
2174
+ minItems: 1
2175
+ additionalProperties: false
2176
+ examples:
2177
+ - scene:
2178
+ modelFile: WaterBottle.glb
2179
+ sources:
2180
+ - url:
2181
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
2182
+ - scene:
2183
+ modelFile: WaterBottle.glb
2184
+ sources:
2185
+ - url:
2186
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
2187
+ required:
2188
+ - scene
2189
+ - sources
2190
+ restv1beta.RenderModelResponse:
2191
+ type: object
2192
+ properties:
2193
+ $schema:
2194
+ description: A URL to the JSON schema for this object.
2195
+ type: string
2196
+ format: uri
2197
+ examples:
2198
+ - 'https://s3d.adobe.io/schemas/restv1beta.RenderModelResponse.json'
2199
+ readOnly: true
2200
+ bugReportUrl:
2201
+ description: URL to report a bug about this job.
2202
+ type: string
2203
+ error:
2204
+ description: Potential error that happened during the job processing.
2205
+ type: string
2206
+ id:
2207
+ description: Unique identifier of the job.
2208
+ type: string
2209
+ result:
2210
+ description: Result when the job is successfully finished.
2211
+ $ref: '#/components/schemas/restv1beta.RenderSceneJobResult'
2212
+ status:
2213
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
2214
+ type: string
2215
+ url:
2216
+ description: 'URL to fetch/poll for the job result, in case the job is not finished yet.'
2217
+ type: string
2218
+ additionalProperties: false
2219
+ required:
2220
+ - url
2221
+ - id
2222
+ - status
2223
+ - bugReportUrl
2224
+ restv1beta.RenderModelTurntableRequest:
2225
+ type: object
2226
+ properties:
2227
+ $schema:
2228
+ description: A URL to the JSON schema for this object.
2229
+ type: string
2230
+ format: uri
2231
+ examples:
2232
+ - 'https://s3d.adobe.io/schemas/restv1beta.RenderModelTurntableRequest.json'
2233
+ readOnly: true
2234
+ autoFraming:
2235
+ description: Auto-framing related options.
2236
+ $ref: '#/components/schemas/types.AutoFramingOptions'
2237
+ background:
2238
+ description: Background related options.
2239
+ $ref: '#/components/schemas/types.BackgroundOptions'
2240
+ cameraName:
2241
+ description: 'If set, this camera is used to perform the render. The camera has to be defined in the scene.'
2242
+ type: string
2243
+ exportFrames:
2244
+ description: Whether to export individual frames along with the turntable product.
2245
+ type: boolean
2246
+ default: false
2247
+ framerate:
2248
+ type: integer
2249
+ format: int64
2250
+ default: 25
2251
+ maximum: 30
2252
+ minimum: 5
2253
+ groundPlane:
2254
+ description: Ground plane related options.
2255
+ $ref: '#/components/schemas/types.GroundPlaneOptions'
2256
+ mode:
2257
+ description: 'Set the rotation mode. Options are `rotate_camera` (camera rotates around model), `rotate_model` (model rotates), or `rotate_environment` (environment rotates).'
2258
+ type: string
2259
+ default: rotate_camera
2260
+ enum:
2261
+ - rotate_camera
2262
+ - rotate_model
2263
+ - rotate_environment
2264
+ rotationDirection:
2265
+ description: Set the rotation direction of the turntable.
2266
+ type: string
2267
+ default: clockwise
2268
+ enum:
2269
+ - clockwise
2270
+ - counter_clockwise
2271
+ scene:
2272
+ description: Define rendering scene primitives.
2273
+ $ref: '#/components/schemas/types.SimpleSceneDescription'
2274
+ seconds:
2275
+ type: integer
2276
+ format: int64
2277
+ default: 2
2278
+ maximum: 5
2279
+ minimum: 1
2280
+ size:
2281
+ description: Render size related options.
2282
+ $ref: '#/components/schemas/types.SizeOptions'
2283
+ sources:
2284
+ description: List of sources to aggregate and run the job against.
2285
+ type: array
2286
+ items:
2287
+ $ref: '#/components/schemas/rest_base.MountedSource'
2288
+ maxItems: 16
2289
+ minItems: 1
2290
+ useRasterizer:
2291
+ description: Set to true to use a very fast rendering technique but with less accurate lighting.
2292
+ type: boolean
2293
+ default: false
2294
+ additionalProperties: false
2295
+ examples:
2296
+ - scene:
2297
+ modelFile: WaterBottle.glb
2298
+ sources:
2299
+ - url:
2300
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
2301
+ required:
2302
+ - scene
2303
+ - sources
2304
+ restv1beta.RenderModelTurntableResponse:
2305
+ type: object
2306
+ properties:
2307
+ $schema:
2308
+ description: A URL to the JSON schema for this object.
2309
+ type: string
2310
+ format: uri
2311
+ examples:
2312
+ - 'https://s3d.adobe.io/schemas/restv1beta.RenderModelTurntableResponse.json'
2313
+ readOnly: true
2314
+ bugReportUrl:
2315
+ description: URL to report a bug about this job.
2316
+ type: string
2317
+ error:
2318
+ description: Potential error that happened during the job processing.
2319
+ type: string
2320
+ id:
2321
+ description: Unique identifier of the job.
2322
+ type: string
2323
+ result:
2324
+ description: Result when the job is successfully finished.
2325
+ $ref: '#/components/schemas/restv1beta.RenderSceneTurntableJobResult'
2326
+ status:
2327
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
2328
+ type: string
2329
+ url:
2330
+ description: 'URL to fetch/poll for the job result, in case the job is not finished yet.'
2331
+ type: string
2332
+ additionalProperties: false
2333
+ required:
2334
+ - url
2335
+ - id
2336
+ - status
2337
+ - bugReportUrl
2338
+ restv1beta.RenderSceneJobResult:
2339
+ type: object
2340
+ properties:
2341
+ distanceToCameraUrl:
2342
+ description: 'URL to the distance-to-camera map in NumPy .npy format, present when exportDistanceToCamera was requested'
2343
+ type: string
2344
+ materialIds:
2345
+ $ref: '#/components/schemas/types.IdsMapData'
2346
+ materialMasks:
2347
+ type: array
2348
+ items:
2349
+ $ref: '#/components/schemas/types.MaskNameToFileBinding'
2350
+ matteUrl:
2351
+ description: 'URL to the matte grayscale image, present when exportMatte was requested'
2352
+ type: string
2353
+ objectIds:
2354
+ $ref: '#/components/schemas/types.IdsMapData'
2355
+ objectMasks:
2356
+ type: array
2357
+ items:
2358
+ $ref: '#/components/schemas/types.MaskNameToFileBinding'
2359
+ outputSpace:
2360
+ $ref: '#/components/schemas/rest_base.Space'
2361
+ renderUrl:
2362
+ description: URL to the rendered scene.
2363
+ type: string
2364
+ warnings:
2365
+ type:
2366
+ - array
2367
+ - 'null'
2368
+ items:
2369
+ $ref: '#/components/schemas/types.Warning'
2370
+ additionalProperties: false
2371
+ required:
2372
+ - renderUrl
2373
+ - outputSpace
2374
+ restv1beta.RenderSceneRequest:
2375
+ type: object
2376
+ properties:
2377
+ $schema:
2378
+ description: A URL to the JSON schema for this object.
2379
+ type: string
2380
+ format: uri
2381
+ examples:
2382
+ - 'https://s3d.adobe.io/schemas/restv1beta.RenderSceneRequest.json'
2383
+ readOnly: true
2384
+ autoFraming:
2385
+ description: Auto-framing related options.
2386
+ $ref: '#/components/schemas/types.AutoFramingOptions'
2387
+ background:
2388
+ description: Background related options.
2389
+ $ref: '#/components/schemas/types.BackgroundOptions'
2390
+ cameraName:
2391
+ description: 'If set, this camera is used to perform the render. The camera has to be defined in the scene.'
2392
+ type: string
2393
+ extraOutputs:
2394
+ description: Request additional outputs from the renderer.
2395
+ $ref: '#/components/schemas/types.RenderExtraOutputs'
2396
+ groundPlane:
2397
+ description: Options related to the ground plane.
2398
+ $ref: '#/components/schemas/types.GroundPlaneOptions'
2399
+ scene:
2400
+ description: Define rendering scene primitives.
2401
+ $ref: '#/components/schemas/types.SceneDescription'
2402
+ size:
2403
+ description: Render size related options.
2404
+ $ref: '#/components/schemas/types.SizeOptions'
2405
+ sources:
2406
+ description: List of sources to aggregate and run the job against.
2407
+ type: array
2408
+ items:
2409
+ $ref: '#/components/schemas/rest_base.MountedSource'
2410
+ maxItems: 16
2411
+ minItems: 1
2412
+ additionalProperties: false
2413
+ examples:
2414
+ - scene:
2415
+ models:
2416
+ imports:
2417
+ - file: WaterBottle.glb
2418
+ sources:
2419
+ - url:
2420
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
2421
+ - scene:
2422
+ models:
2423
+ imports:
2424
+ - file: WaterBottle.glb
2425
+ sources:
2426
+ - url:
2427
+ url: 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb'
2428
+ required:
2429
+ - scene
2430
+ - sources
2431
+ restv1beta.RenderSceneResponse:
2432
+ type: object
2433
+ properties:
2434
+ $schema:
2435
+ description: A URL to the JSON schema for this object.
2436
+ type: string
2437
+ format: uri
2438
+ examples:
2439
+ - 'https://s3d.adobe.io/schemas/restv1beta.RenderSceneResponse.json'
2440
+ readOnly: true
2441
+ bugReportUrl:
2442
+ description: URL to report a bug about this job.
2443
+ type: string
2444
+ error:
2445
+ description: Potential error that happened during the job processing.
2446
+ type: string
2447
+ id:
2448
+ description: Unique identifier of the job.
2449
+ type: string
2450
+ result:
2451
+ description: Result when the job is successfully finished.
2452
+ $ref: '#/components/schemas/restv1beta.RenderSceneJobResult'
2453
+ status:
2454
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
2455
+ type: string
2456
+ url:
2457
+ description: 'URL to fetch/poll for the job result, in case the job is not finished yet.'
2458
+ type: string
2459
+ additionalProperties: false
2460
+ required:
2461
+ - url
2462
+ - id
2463
+ - status
2464
+ - bugReportUrl
2465
+ restv1beta.RenderSceneTurntableJobResult:
2466
+ type: object
2467
+ properties:
2468
+ framesUrls:
2469
+ description: List of URLs to the rendered frames. The rendered frames are ordered by frame number.
2470
+ type: array
2471
+ items:
2472
+ type: string
2473
+ outputSpace:
2474
+ $ref: '#/components/schemas/rest_base.Space'
2475
+ renderUrl:
2476
+ description: URL to the rendered scene.
2477
+ type: string
2478
+ warnings:
2479
+ type:
2480
+ - array
2481
+ - 'null'
2482
+ items:
2483
+ $ref: '#/components/schemas/types.Warning'
2484
+ additionalProperties: false
2485
+ required:
2486
+ - framesUrls
2487
+ - renderUrl
2488
+ - outputSpace
2489
+ restv1beta.SceneDescJobResult:
2490
+ type: object
2491
+ properties:
2492
+ stats:
2493
+ $ref: '#/components/schemas/types.SceneStatsInfo'
2494
+ additionalProperties: false
2495
+ required:
2496
+ - stats
2497
+ restv1beta.SceneDescRequest:
2498
+ type: object
2499
+ properties:
2500
+ $schema:
2501
+ description: A URL to the JSON schema for this object.
2502
+ type: string
2503
+ format: uri
2504
+ examples:
2505
+ - 'https://s3d.adobe.io/schemas/restv1beta.SceneDescRequest.json'
2506
+ readOnly: true
2507
+ sceneFile:
2508
+ description: 'Path to the scene file in `sources`. If the value is `null`, the first found scene file will be used.'
2509
+ type: string
2510
+ sources:
2511
+ description: List of sources to aggregate and run the job against.
2512
+ type: array
2513
+ items:
2514
+ $ref: '#/components/schemas/rest_base.MountedSource'
2515
+ maxItems: 16
2516
+ minItems: 1
2517
+ additionalProperties: false
2518
+ examples:
2519
+ - sources:
2520
+ - url:
2521
+ url: 'https://cdn.substance3d.com/v2/files/public/stepladder.usdz'
2522
+ - sources:
2523
+ - url:
2524
+ url: 'https://cdn.substance3d.com/v2/files/public/stepladder.usdz'
2525
+ required:
2526
+ - sources
2527
+ restv1beta.SceneDescResponse:
2528
+ type: object
2529
+ properties:
2530
+ $schema:
2531
+ description: A URL to the JSON schema for this object.
2532
+ type: string
2533
+ format: uri
2534
+ examples:
2535
+ - 'https://s3d.adobe.io/schemas/restv1beta.SceneDescResponse.json'
2536
+ readOnly: true
2537
+ bugReportUrl:
2538
+ description: URL to report a bug about this job.
2539
+ type: string
2540
+ error:
2541
+ description: Potential error that happened during the job processing.
2542
+ type: string
2543
+ id:
2544
+ description: Unique identifier of the job.
2545
+ type: string
2546
+ result:
2547
+ description: Result when the job is successfully finished.
2548
+ $ref: '#/components/schemas/restv1beta.SceneDescJobResult'
2549
+ status:
2550
+ description: 'Status of the job. Can be `not_started`, `running`, `succeeded`, or `failed`.'
2551
+ type: string
2552
+ url:
2553
+ description: 'URL to fetch/poll for the job result, in case the job is not finished yet.'
2554
+ type: string
2555
+ additionalProperties: false
2556
+ required:
2557
+ - url
2558
+ - id
2559
+ - status
2560
+ - bugReportUrl
2561
+ types.AutoFramingOptions:
2562
+ type: object
2563
+ properties:
2564
+ algorithm:
2565
+ type: string
2566
+ default: auto
2567
+ enum:
2568
+ - auto
2569
+ - bounding_cylinder
2570
+ - frustum_fit
2571
+ zoomFactor:
2572
+ description: A value of 1 indicates tight framing. Less than 1 is a zoom-out. Greater than 1 is a zoom-in.
2573
+ type: number
2574
+ format: double
2575
+ default: 0.8
2576
+ maximum: 100
2577
+ minimum: 0.001
2578
+ additionalProperties: false
2579
+ types.AzimuthAltitude:
2580
+ type: object
2581
+ properties:
2582
+ altitude:
2583
+ description: 'Altitude, in degrees, from -90 to 90 degrees.'
2584
+ type: number
2585
+ format: double
2586
+ maximum: 90
2587
+ minimum: -90
2588
+ azimuth:
2589
+ description: 'Rotation around the vertical axis, in degrees.'
2590
+ type: number
2591
+ format: double
2592
+ lookAt:
2593
+ description: Look at point coordinates.
2594
+ type:
2595
+ - array
2596
+ - 'null'
2597
+ items:
2598
+ format: double
2599
+ type: number
2600
+ maxItems: 3
2601
+ minItems: 3
2602
+ radius:
2603
+ description: Distance to the `lookAt` point.
2604
+ type: number
2605
+ format: double
2606
+ minimum: 0
2607
+ additionalProperties: false
2608
+ required:
2609
+ - azimuth
2610
+ - altitude
2611
+ - lookAt
2612
+ - radius
2613
+ types.BackgroundOptions:
2614
+ type: object
2615
+ properties:
2616
+ backgroundColor:
2617
+ description: 'RGBA background color. Has an effect only if `showEnvironment` is `false`. Each component has to be in the [0,1] range.'
2618
+ type:
2619
+ - array
2620
+ - 'null'
2621
+ items:
2622
+ format: double
2623
+ type: number
2624
+ default:
2625
+ - 0
2626
+ - 0
2627
+ - 0
2628
+ - 0
2629
+ examples:
2630
+ - - 0
2631
+ - 0
2632
+ - 0
2633
+ - 0
2634
+ maxItems: 4
2635
+ minItems: 4
2636
+ backgroundImage:
2637
+ description: 'Path to a background image. If set, will be used as the background.'
2638
+ type: string
2639
+ showEnvironment:
2640
+ description: Show the environment map as the background.
2641
+ type: boolean
2642
+ default: false
2643
+ additionalProperties: false
2644
+ types.CameraStats:
2645
+ type: object
2646
+ properties:
2647
+ aspectRatio:
2648
+ type: number
2649
+ format: double
2650
+ fStop:
2651
+ type: number
2652
+ format: double
2653
+ focalLength:
2654
+ type: number
2655
+ format: double
2656
+ focusDistance:
2657
+ type: number
2658
+ format: double
2659
+ horizontalAperture:
2660
+ type: number
2661
+ format: double
2662
+ horizontalApertureOffset:
2663
+ type: number
2664
+ format: double
2665
+ name:
2666
+ type: string
2667
+ projection:
2668
+ type: string
2669
+ verticalAperture:
2670
+ type: number
2671
+ format: double
2672
+ verticalApertureOffset:
2673
+ type: number
2674
+ format: double
2675
+ additionalProperties: false
2676
+ required:
2677
+ - name
2678
+ - focalLength
2679
+ - horizontalAperture
2680
+ - verticalAperture
2681
+ - aspectRatio
2682
+ - horizontalApertureOffset
2683
+ - verticalApertureOffset
2684
+ - fStop
2685
+ - focusDistance
2686
+ - projection
2687
+ types.ComposeEnvironment:
2688
+ type: object
2689
+ properties:
2690
+ file:
2691
+ description: 'Path of environment file in `sources`. If value is null, the environment file will be generated.'
2692
+ type: string
2693
+ rotation:
2694
+ description: Controls the orientation of the environment map.
2695
+ $ref: '#/components/schemas/types.Rotation'
2696
+ additionalProperties: false
2697
+ required:
2698
+ - file
2699
+ types.ComposeSceneSceneDetails:
2700
+ type: object
2701
+ properties:
2702
+ camera:
2703
+ description: Custom camera definition for the scene render. Mutually exclusive with 'cameraName' at the top level. Use this to define camera parameters programmatically instead of referencing a named camera from the 3D scene.
2704
+ $ref: '#/components/schemas/types.SceneCamera'
2705
+ additionalProperties: false
2706
+ types.ExportMasksOptions:
2707
+ type: object
2708
+ properties:
2709
+ selection:
2710
+ description: 'The list of masks to be exported, accepts glob expressions. If empty, all masks will be exported.'
2711
+ type:
2712
+ - array
2713
+ - 'null'
2714
+ items:
2715
+ type: string
2716
+ additionalProperties: false
2717
+ types.FormatOptions:
2718
+ type: object
2719
+ properties:
2720
+ usd:
2721
+ description: options specific to USD file format
2722
+ $ref: '#/components/schemas/types.UsdOptions'
2723
+ additionalProperties: false
2724
+ required:
2725
+ - usd
2726
+ types.GroundPlaneOptions:
2727
+ type: object
2728
+ properties:
2729
+ autoGroundScene:
2730
+ description: Automatically position the scene on the ground plane. Moves the scene along the vertical axis.
2731
+ type: boolean
2732
+ default: true
2733
+ enable:
2734
+ description: Enable/disable the ground plane.
2735
+ type: boolean
2736
+ default: true
2737
+ reflections:
2738
+ description: Enable/disable reflections onto the ground plane.
2739
+ type: boolean
2740
+ default: false
2741
+ reflectionsOpacity:
2742
+ description: Controls the opacity of the reflections. Useful for compositing purposes.
2743
+ type: number
2744
+ format: double
2745
+ default: 1
2746
+ maximum: 1
2747
+ minimum: 0
2748
+ reflectionsRoughness:
2749
+ description: Controls the roughness of the reflections. Useful for compositing purposes.
2750
+ type: number
2751
+ format: double
2752
+ default: 0
2753
+ maximum: 1
2754
+ minimum: 0
2755
+ shadows:
2756
+ description: Controls whether the ground plane catches shadows or not.
2757
+ type: boolean
2758
+ default: true
2759
+ shadowsOpacity:
2760
+ description: Controls the opacity of cast shadows. Only has effect if shadows are enabled.
2761
+ type: number
2762
+ format: double
2763
+ default: 1
2764
+ maximum: 1
2765
+ minimum: 0
2766
+ additionalProperties: false
2767
+ types.IdsMapData:
2768
+ type: object
2769
+ properties:
2770
+ fileName:
2771
+ description: The Ids map file name.
2772
+ type: string
2773
+ ids:
2774
+ description: List of name to color bindings.
2775
+ type:
2776
+ - array
2777
+ - 'null'
2778
+ items:
2779
+ $ref: '#/components/schemas/types.NameToColorBinding'
2780
+ additionalProperties: false
2781
+ required:
2782
+ - fileName
2783
+ - ids
2784
+ types.MaskNameToFileBinding:
2785
+ type: object
2786
+ properties:
2787
+ fileName:
2788
+ description: The file name.
2789
+ type: string
2790
+ name:
2791
+ description: The name in the 3D scene.
2792
+ type: string
2793
+ additionalProperties: false
2794
+ required:
2795
+ - name
2796
+ - fileName
2797
+ types.Material:
2798
+ type: object
2799
+ properties:
2800
+ sbs:
2801
+ description: The PBR material definition.
2802
+ $ref: '#/components/schemas/types.SbsMaterial'
2803
+ solidColor:
2804
+ description: The solid color material definition.
2805
+ $ref: '#/components/schemas/types.SolidColorMaterial'
2806
+ additionalProperties: false
2807
+ types.MaterialAssign:
2808
+ type: object
2809
+ properties:
2810
+ material:
2811
+ description: The material definition.
2812
+ $ref: '#/components/schemas/types.Material'
2813
+ materialName:
2814
+ description: 'Desired material name, it will be sanitized to make a valid USD prim name.'
2815
+ type: string
2816
+ nodeList:
2817
+ description: List of nodes under which geometric primitives will have this material assigned. Each entry can be a full node name or a glob expression.
2818
+ type:
2819
+ - array
2820
+ - 'null'
2821
+ items:
2822
+ type: string
2823
+ assignByDefault:
2824
+ description: Set to true to assign this material by default to all geometric primitives.
2825
+ excludeFromDefault:
2826
+ description: List of nodes to exclude from default assignment.
2827
+ additionalProperties: false
2828
+ required:
2829
+ - materialName
2830
+ - material
2831
+ - nodeList
2832
+ types.MaterialOverride:
2833
+ type: object
2834
+ properties:
2835
+ absorptionColorFactor:
2836
+ description: 'RGB float color value, for example white is [1.0,1.0,1.0].'
2837
+ type: array
2838
+ items:
2839
+ format: double
2840
+ type: number
2841
+ default:
2842
+ - 0
2843
+ - 0
2844
+ - 0
2845
+ maxItems: 3
2846
+ minItems: 3
2847
+ absorptionColorTexture:
2848
+ type: string
2849
+ absorptionDistanceFactor:
2850
+ type: number
2851
+ format: double
2852
+ minimum: 0
2853
+ absorptionDistanceTexture:
2854
+ type: string
2855
+ baseColorFactor:
2856
+ description: 'RGB float color value, for example white is [1.0,1.0,1.0].'
2857
+ type: array
2858
+ items:
2859
+ format: double
2860
+ type: number
2861
+ default:
2862
+ - 0
2863
+ - 0
2864
+ - 0
2865
+ maxItems: 3
2866
+ minItems: 3
2867
+ baseColorTexture:
2868
+ type: string
2869
+ coatColorFactor:
2870
+ description: 'RGB float color value, for example white is [1.0,1.0,1.0].'
2871
+ type: array
2872
+ items:
2873
+ format: double
2874
+ type: number
2875
+ default:
2876
+ - 0
2877
+ - 0
2878
+ - 0
2879
+ maxItems: 3
2880
+ minItems: 3
2881
+ coatColorTexture:
2882
+ type: string
2883
+ coatOpacityFactor:
2884
+ type: number
2885
+ format: double
2886
+ maximum: 1
2887
+ minimum: 0
2888
+ coatOpacityTexture:
2889
+ type: string
2890
+ coatRoughnessFactor:
2891
+ type: number
2892
+ format: double
2893
+ maximum: 1
2894
+ minimum: 0
2895
+ coatRoughnessTexture:
2896
+ type: string
2897
+ materialName:
2898
+ type: string
2899
+ metallicFactor:
2900
+ type: number
2901
+ format: double
2902
+ maximum: 1
2903
+ minimum: 0
2904
+ metallicTexture:
2905
+ type: string
2906
+ normalFactor:
2907
+ type: array
2908
+ items:
2909
+ format: double
2910
+ type: number
2911
+ maxItems: 3
2912
+ minItems: 3
2913
+ normalTexture:
2914
+ type: string
2915
+ opacityFactor:
2916
+ type: number
2917
+ format: double
2918
+ minimum: 0
2919
+ opacityTexture:
2920
+ type: string
2921
+ pbrMaterial:
2922
+ $ref: '#/components/schemas/types.SbsMaterial'
2923
+ roughnessFactor:
2924
+ type: number
2925
+ format: double
2926
+ maximum: 1
2927
+ minimum: 0
2928
+ roughnessTexture:
2929
+ type: string
2930
+ translucencyFactor:
2931
+ type: number
2932
+ format: double
2933
+ maximum: 1
2934
+ minimum: 0
2935
+ translucencyTexture:
2936
+ type: string
2937
+ volumeThicknessFactor:
2938
+ type: number
2939
+ format: double
2940
+ minimum: 0
2941
+ volumeThicknessTexture:
2942
+ type: string
2943
+ additionalProperties: false
2944
+ required:
2945
+ - materialName
2946
+ types.NameToColorBinding:
2947
+ type: object
2948
+ properties:
2949
+ color:
2950
+ description: Corresponding color in the ID map.
2951
+ type: string
2952
+ default:
2953
+ - 0
2954
+ - 0
2955
+ - 0
2956
+ contentEncoding: base64
2957
+ name:
2958
+ description: Name in 3D scene.
2959
+ type: string
2960
+ additionalProperties: false
2961
+ required:
2962
+ - name
2963
+ - color
2964
+ types.OutputSize:
2965
+ type: object
2966
+ properties:
2967
+ height:
2968
+ type: integer
2969
+ format: int64
2970
+ default: 1536
2971
+ maximum: 2688
2972
+ minimum: 1
2973
+ width:
2974
+ type: integer
2975
+ format: int64
2976
+ default: 2688
2977
+ maximum: 2688
2978
+ minimum: 1
2979
+ additionalProperties: false
2980
+ required:
2981
+ - width
2982
+ - height
2983
+ types.RenderExtraOutputExportMatte:
2984
+ type: object
2985
+ properties:
2986
+ includeNodes:
2987
+ description: 'Nodes to be included into the matte, the list can contain glob patterns. If empty, the matte will contain all scene objects.'
2988
+ type:
2989
+ - array
2990
+ - 'null'
2991
+ items:
2992
+ type: string
2993
+ additionalProperties: false
2994
+ required:
2995
+ - includeNodes
2996
+ types.RenderExtraOutputs:
2997
+ type: object
2998
+ properties:
2999
+ exportDistanceToCamera:
3000
+ description: export a distance-to-camera map as a NumPy .npy file (float32 2D array)
3001
+ type: boolean
3002
+ default: false
3003
+ exportMaterialIds:
3004
+ description: Export an image with one color per material.
3005
+ type: boolean
3006
+ default: false
3007
+ exportMaterialMasks:
3008
+ description: Export one mask per material.
3009
+ $ref: '#/components/schemas/types.ExportMasksOptions'
3010
+ exportMatte:
3011
+ description: export compositing matte for a selection of objects
3012
+ $ref: '#/components/schemas/types.RenderExtraOutputExportMatte'
3013
+ exportObjectIds:
3014
+ description: Export an image with one color per object.
3015
+ type: boolean
3016
+ default: false
3017
+ exportObjectMasks:
3018
+ description: Export one mask per object.
3019
+ $ref: '#/components/schemas/types.ExportMasksOptions'
3020
+ additionalProperties: false
3021
+ types.RendererConfig:
3022
+ type: object
3023
+ properties:
3024
+ type:
3025
+ description: Renderer to use. 'ssca' is the default path-tracing renderer; 'rtx' uses NVidia RTX renderer.
3026
+ type: string
3027
+ enum:
3028
+ - ssca
3029
+ - rtx
3030
+ additionalProperties: false
3031
+ required:
3032
+ - type
3033
+ types.Rotation:
3034
+ type: object
3035
+ properties:
3036
+ euler:
3037
+ description: Euler angles in degrees.
3038
+ type: array
3039
+ items:
3040
+ format: double
3041
+ type: number
3042
+ examples:
3043
+ - - 0
3044
+ - 0
3045
+ - 0
3046
+ maxItems: 3
3047
+ minItems: 3
3048
+ quaternion:
3049
+ description: 'In W,X,Y,Z order.'
3050
+ type: array
3051
+ items:
3052
+ format: double
3053
+ type: number
3054
+ examples:
3055
+ - - 1
3056
+ - 0
3057
+ - 0
3058
+ - 0
3059
+ maxItems: 4
3060
+ minItems: 4
3061
+ additionalProperties: false
3062
+ types.SbsMaterial:
3063
+ type: object
3064
+ properties:
3065
+ preset:
3066
+ description: Select a preset to be used for the substance material rendering.
3067
+ type: string
3068
+ resolution:
3069
+ description: Substance material render resolution. This should be a power of two.
3070
+ type: integer
3071
+ format: int64
3072
+ enum:
3073
+ - 16
3074
+ - 32
3075
+ - 64
3076
+ - 128
3077
+ - 256
3078
+ - 512
3079
+ - 1024
3080
+ - 2048
3081
+ - 4096
3082
+ maximum: 4096
3083
+ minimum: 16
3084
+ rotation:
3085
+ description: Texture space rotation.
3086
+ type: number
3087
+ format: double
3088
+ sbsar:
3089
+ description: 'Path to a substance material; if not set, the first substance 3D material found in sources will be used.'
3090
+ type: string
3091
+ scale:
3092
+ description: Texture space scale.
3093
+ type: array
3094
+ items:
3095
+ format: double
3096
+ type: number
3097
+ maxItems: 2
3098
+ minItems: 2
3099
+ translation:
3100
+ description: Texture space translation.
3101
+ type: array
3102
+ items:
3103
+ format: double
3104
+ type: number
3105
+ maxItems: 2
3106
+ minItems: 2
3107
+ additionalProperties: false
3108
+ types.SceneBaseFile:
3109
+ type: object
3110
+ properties:
3111
+ file:
3112
+ description: Path to the scene file in `sources`.
3113
+ type: string
3114
+ modelsRootNodeName:
3115
+ description: 'Define root node for models in scene graph. If not found, the node which is parent of all models in the scene will be used. If this node doesn''t exist, a new node will be created under global root.'
3116
+ type: string
3117
+ additionalProperties: false
3118
+ required:
3119
+ - file
3120
+ types.SceneCamera:
3121
+ type: object
3122
+ properties:
3123
+ focal:
3124
+ description: 'Camera focal length, in mm.'
3125
+ type: number
3126
+ format: double
3127
+ default: 50
3128
+ maximum: 1000
3129
+ minimum: 10
3130
+ sensorWidth:
3131
+ description: 'Camera sensor width, in mm.'
3132
+ type: number
3133
+ format: double
3134
+ default: 36
3135
+ maximum: 100
3136
+ minimum: 1
3137
+ transform:
3138
+ description: Controls the position and angle of the camera.
3139
+ $ref: '#/components/schemas/types.Transform'
3140
+ additionalProperties: false
3141
+ types.SceneDescription:
3142
+ type: object
3143
+ properties:
3144
+ baseFile:
3145
+ description: 'Define a scene from a file. If value is `null`, an empty scene will be created.'
3146
+ $ref: '#/components/schemas/types.SceneBaseFile'
3147
+ camera:
3148
+ description: Define a new camera for the scene.
3149
+ $ref: '#/components/schemas/types.SceneCamera'
3150
+ environment:
3151
+ description: Define the environment for the scene. Override the previous existing environment.
3152
+ $ref: '#/components/schemas/types.SceneEnvironment'
3153
+ formatOptions:
3154
+ description: define options specific for model file format
3155
+ $ref: '#/components/schemas/types.FormatOptions'
3156
+ materials:
3157
+ description: Assign new materials to geometric primitives.
3158
+ type:
3159
+ - array
3160
+ - 'null'
3161
+ items:
3162
+ $ref: '#/components/schemas/types.MaterialAssign'
3163
+ metersPerUnit:
3164
+ description: 'Length of a scene unit, in meters. Defaults to `baseFile` meters per unit if any, or 0.01 (centimeters) otherwise.'
3165
+ type: number
3166
+ format: double
3167
+ exclusiveMinimum: 0
3168
+ models:
3169
+ description: Define additional models for the scene.
3170
+ $ref: '#/components/schemas/types.SceneModels'
3171
+ additionalProperties: false
3172
+ types.SceneEnvironment:
3173
+ type: object
3174
+ properties:
3175
+ exposure:
3176
+ description: 'Exposure, in EV (0=neutral).'
3177
+ type: number
3178
+ format: double
3179
+ default: 0
3180
+ maximum: 10
3181
+ minimum: -10
3182
+ file:
3183
+ description: 'Path to the environment file in `sources`. If the value is `null`, the first found environment file will be used.'
3184
+ type: string
3185
+ preserveLights:
3186
+ description: 'A scene may contain 3D lights, like area lights or spot lights. By default, all those lights are removed when a new environment is set. Set this option to `true` to preserve the scene 3D lights.'
3187
+ type: boolean
3188
+ default: false
3189
+ rotation:
3190
+ description: Controls the orientation of the environment map.
3191
+ $ref: '#/components/schemas/types.Rotation'
3192
+ additionalProperties: false
3193
+ types.SceneModel:
3194
+ type: object
3195
+ properties:
3196
+ anchorName:
3197
+ description: 'Node name in scene graph which used as parent for the model. If anchor is not found, a node with the anchor name will be generated under models root node. And If value is `null`, a node will be generated under models root node.'
3198
+ type: string
3199
+ file:
3200
+ description: 'Path to the model file in `sources`. If the value is `null`, the first found model file will be used.'
3201
+ type: string
3202
+ formatOptions:
3203
+ description: Define options specific for the model file format.
3204
+ $ref: '#/components/schemas/types.FormatOptions'
3205
+ materialOverrides:
3206
+ description: Define material overrides.
3207
+ type:
3208
+ - array
3209
+ - 'null'
3210
+ items:
3211
+ $ref: '#/components/schemas/types.MaterialOverride'
3212
+ transform:
3213
+ description: 'Transform applied on the anchor node. Overrides the previous value, if it exists.'
3214
+ $ref: '#/components/schemas/types.Transform'
3215
+ additionalProperties: false
3216
+ types.SceneModels:
3217
+ type: object
3218
+ properties:
3219
+ imports:
3220
+ description: List of model import definitions.
3221
+ type:
3222
+ - array
3223
+ - 'null'
3224
+ items:
3225
+ $ref: '#/components/schemas/types.SceneModel'
3226
+ modelsRootNodeTransform:
3227
+ description: 'Global transformation applied on the models root node defined in the scene. Overrides the previous value, if it exists.'
3228
+ $ref: '#/components/schemas/types.Transform'
3229
+ additionalProperties: false
3230
+ types.SceneStatsBoundingBox:
3231
+ type: object
3232
+ properties:
3233
+ max:
3234
+ type:
3235
+ - array
3236
+ - 'null'
3237
+ items:
3238
+ format: double
3239
+ type: number
3240
+ min:
3241
+ type:
3242
+ - array
3243
+ - 'null'
3244
+ items:
3245
+ format: double
3246
+ type: number
3247
+ additionalProperties: false
3248
+ required:
3249
+ - min
3250
+ - max
3251
+ types.SceneStatsInfo:
3252
+ type: object
3253
+ properties:
3254
+ cameraNames:
3255
+ type:
3256
+ - array
3257
+ - 'null'
3258
+ items:
3259
+ type: string
3260
+ materialNames:
3261
+ type:
3262
+ - array
3263
+ - 'null'
3264
+ items:
3265
+ type: string
3266
+ metersPerSceneUnit:
3267
+ type: number
3268
+ format: double
3269
+ nodesHierarchy:
3270
+ $ref: '#/components/schemas/types.SceneStatsNode'
3271
+ numEquivalentTriangles:
3272
+ type: integer
3273
+ format: int64
3274
+ numExtraPolygons:
3275
+ type: integer
3276
+ format: int64
3277
+ numFaces:
3278
+ type: integer
3279
+ format: int64
3280
+ numLines:
3281
+ type: integer
3282
+ format: int64
3283
+ numMeshes:
3284
+ type: integer
3285
+ format: int64
3286
+ numPoints:
3287
+ type: integer
3288
+ format: int64
3289
+ numQuads:
3290
+ type: integer
3291
+ format: int64
3292
+ numSubMeshes:
3293
+ type: integer
3294
+ format: int64
3295
+ numTextures:
3296
+ type: integer
3297
+ format: int64
3298
+ numTriangles:
3299
+ type: integer
3300
+ format: int64
3301
+ numVertices:
3302
+ type: integer
3303
+ format: int64
3304
+ sceneUpAxis:
3305
+ type: string
3306
+ additionalProperties: false
3307
+ required:
3308
+ - metersPerSceneUnit
3309
+ - sceneUpAxis
3310
+ - numVertices
3311
+ - numEquivalentTriangles
3312
+ - numPoints
3313
+ - numLines
3314
+ - numTriangles
3315
+ - numQuads
3316
+ - numExtraPolygons
3317
+ - numFaces
3318
+ - numMeshes
3319
+ - numSubMeshes
3320
+ - numTextures
3321
+ - cameraNames
3322
+ - materialNames
3323
+ - nodesHierarchy
3324
+ types.SceneStatsNode:
3325
+ type: object
3326
+ properties:
3327
+ assignedMaterialName:
3328
+ type: string
3329
+ cameraStats:
3330
+ $ref: '#/components/schemas/types.CameraStats'
3331
+ children:
3332
+ type:
3333
+ - array
3334
+ - 'null'
3335
+ items:
3336
+ $ref: '#/components/schemas/types.SceneStatsNode'
3337
+ name:
3338
+ type: string
3339
+ type:
3340
+ type: string
3341
+ variants:
3342
+ type:
3343
+ - array
3344
+ - 'null'
3345
+ items:
3346
+ $ref: '#/components/schemas/types.SceneStatsNodeVariant'
3347
+ worldSpaceBoundingBox:
3348
+ $ref: '#/components/schemas/types.SceneStatsBoundingBox'
3349
+ additionalProperties: false
3350
+ required:
3351
+ - name
3352
+ - type
3353
+ types.SceneStatsNodeVariant:
3354
+ type: object
3355
+ properties:
3356
+ currentValue:
3357
+ type: string
3358
+ name:
3359
+ type: string
3360
+ values:
3361
+ type:
3362
+ - array
3363
+ - 'null'
3364
+ items:
3365
+ type: string
3366
+ additionalProperties: false
3367
+ required:
3368
+ - name
3369
+ - values
3370
+ - currentValue
3371
+ types.ShadowCatchingMaterial:
3372
+ type: object
3373
+ properties:
3374
+ reflectionOpacity:
3375
+ type: number
3376
+ format: double
3377
+ default: 0
3378
+ roughness:
3379
+ type: number
3380
+ format: double
3381
+ default: 0
3382
+ shadowOpacity:
3383
+ type: number
3384
+ format: double
3385
+ default: 0
3386
+ additionalProperties: false
3387
+ required:
3388
+ - reflectionOpacity
3389
+ - roughness
3390
+ - shadowOpacity
3391
+ types.SimpleSceneDescription:
3392
+ type: object
3393
+ properties:
3394
+ camera:
3395
+ description: Define a new camera for the scene.
3396
+ $ref: '#/components/schemas/types.SceneCamera'
3397
+ environment:
3398
+ description: Define the environment for the scene. Override the previous existing environment.
3399
+ $ref: '#/components/schemas/types.SceneEnvironment'
3400
+ formatOptions:
3401
+ description: Define options specific for the model file format.
3402
+ $ref: '#/components/schemas/types.FormatOptions'
3403
+ materialOverrides:
3404
+ description: Define material overrides.
3405
+ type:
3406
+ - array
3407
+ - 'null'
3408
+ items:
3409
+ $ref: '#/components/schemas/types.MaterialOverride'
3410
+ materials:
3411
+ description: Assign new materials to geometric primitives.
3412
+ type:
3413
+ - array
3414
+ - 'null'
3415
+ items:
3416
+ $ref: '#/components/schemas/types.MaterialAssign'
3417
+ metersPerUnit:
3418
+ description: 'Length of a scene unit, in meters. Defaults to 0.01 (centimeters).'
3419
+ type: number
3420
+ format: double
3421
+ exclusiveMinimum: 0
3422
+ modelFile:
3423
+ description: 'Path to the model file in `sources`. If the value is `null`, the first found model file will be used.'
3424
+ type: string
3425
+ modelTransform:
3426
+ description: Transform applied on the model.
3427
+ $ref: '#/components/schemas/types.Transform'
3428
+ additionalProperties: false
3429
+ types.SizeOptions:
3430
+ type: object
3431
+ properties:
3432
+ height:
3433
+ description: Render height.
3434
+ type: integer
3435
+ format: int64
3436
+ maximum: 2304
3437
+ minimum: 16
3438
+ width:
3439
+ description: Render width.
3440
+ type: integer
3441
+ format: int64
3442
+ maximum: 3840
3443
+ minimum: 16
3444
+ additionalProperties: false
3445
+ required:
3446
+ - width
3447
+ - height
3448
+ types.SolidColorMaterial:
3449
+ type: object
3450
+ properties:
3451
+ color:
3452
+ description: 'RGB color of the solid material, each component has to be in the [0,1] range.'
3453
+ type:
3454
+ - array
3455
+ - 'null'
3456
+ items:
3457
+ format: double
3458
+ type: number
3459
+ default:
3460
+ - 0
3461
+ - 0
3462
+ - 0
3463
+ maxItems: 3
3464
+ minItems: 3
3465
+ metallicFactor:
3466
+ description: 'Metallic factor of the solid material, has to be in the [0,1] range.'
3467
+ type: number
3468
+ format: double
3469
+ maximum: 1
3470
+ minimum: 0
3471
+ roughnessFactor:
3472
+ description: 'Roughness factor of the solid material, has to be in the [0,1] range.'
3473
+ type: number
3474
+ format: double
3475
+ maximum: 1
3476
+ minimum: 0
3477
+ additionalProperties: false
3478
+ required:
3479
+ - color
3480
+ types.TRS:
3481
+ type: object
3482
+ properties:
3483
+ rotation:
3484
+ $ref: '#/components/schemas/types.Rotation'
3485
+ scale:
3486
+ type:
3487
+ - array
3488
+ - 'null'
3489
+ items:
3490
+ format: double
3491
+ type: number
3492
+ maxItems: 3
3493
+ minItems: 3
3494
+ translation:
3495
+ type:
3496
+ - array
3497
+ - 'null'
3498
+ items:
3499
+ format: double
3500
+ type: number
3501
+ examples:
3502
+ - - 0
3503
+ - 0
3504
+ - 0
3505
+ maxItems: 3
3506
+ minItems: 3
3507
+ additionalProperties: false
3508
+ required:
3509
+ - translation
3510
+ - rotation
3511
+ - scale
3512
+ types.Transform:
3513
+ type: object
3514
+ properties:
3515
+ azimuthAltitude:
3516
+ description: 'Transform is defined by azimuth, altitude and radius terms. If set, do not set `matrix` or `trs`.'
3517
+ $ref: '#/components/schemas/types.AzimuthAltitude'
3518
+ matrix:
3519
+ description: 'Transform is defined as a matrix. If set, do not set `trs` or `azimuthAltitude`.'
3520
+ type: array
3521
+ items:
3522
+ format: double
3523
+ type: number
3524
+ maxItems: 16
3525
+ minItems: 16
3526
+ trs:
3527
+ description: 'Transform is defined by translation, rotation and scale terms. If set, do not set `matrix` or `azimuthAltitude`.'
3528
+ $ref: '#/components/schemas/types.TRS'
3529
+ additionalProperties: false
3530
+ types.UsdOptions:
3531
+ type: object
3532
+ properties:
3533
+ variants:
3534
+ description: List of USD variants definition applied on USD primitives.
3535
+ type:
3536
+ - array
3537
+ - 'null'
3538
+ items:
3539
+ $ref: '#/components/schemas/types.UsdVariant'
3540
+ additionalProperties: false
3541
+ required:
3542
+ - variants
3543
+ types.UsdVariant:
3544
+ type: object
3545
+ properties:
3546
+ primName:
3547
+ description: name of the USD prim on which the variant is defined
3548
+ type: string
3549
+ variant:
3550
+ description: name of the variant option to apply from the variant set
3551
+ type: string
3552
+ variantSet:
3553
+ description: name of the variant set to select from
3554
+ type: string
3555
+ additionalProperties: false
3556
+ required:
3557
+ - primName
3558
+ - variantSet
3559
+ - variant
3560
+ types.Warning:
3561
+ type: object
3562
+ properties:
3563
+ context:
3564
+ type: string
3565
+ message:
3566
+ type: string
3567
+ additionalProperties: false
3568
+ required:
3569
+ - context
3570
+ - message
3571
+ securitySchemes:
3572
+ bearerAuth:
3573
+ description: 'Adobe service-to-service (S2S) access token. Pass `Authorization: Bearer <Token>`. The token is not a JWT.'
3574
+ scheme: bearer
3575
+ type: http
3576
+ ApiKeyAuth:
3577
+ type: apiKey
3578
+ in: header
3579
+ name: x-api-key
3580
+ description: 'Your client ID, which acts as the API key. Pass `x-api-key: <API_KEY>` using `<API_KEY>` as the placeholder in examples.'
3581
+ security:
3582
+ - bearerAuth: []
3583
+ ApiKeyAuth: []