@worldlabsai/client 0.1.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 (54) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +109 -0
  3. package/dist/client.d.ts +34 -0
  4. package/dist/client.d.ts.map +1 -0
  5. package/dist/client.js +31 -0
  6. package/dist/client.js.map +1 -0
  7. package/dist/core/assets.d.ts +138 -0
  8. package/dist/core/assets.d.ts.map +1 -0
  9. package/dist/core/assets.js +104 -0
  10. package/dist/core/assets.js.map +1 -0
  11. package/dist/core/index.d.ts +5 -0
  12. package/dist/core/index.d.ts.map +1 -0
  13. package/dist/core/index.js +5 -0
  14. package/dist/core/index.js.map +1 -0
  15. package/dist/core/operations.d.ts +52 -0
  16. package/dist/core/operations.d.ts.map +1 -0
  17. package/dist/core/operations.js +81 -0
  18. package/dist/core/operations.js.map +1 -0
  19. package/dist/core/sleep.d.ts +7 -0
  20. package/dist/core/sleep.d.ts.map +1 -0
  21. package/dist/core/sleep.js +23 -0
  22. package/dist/core/sleep.js.map +1 -0
  23. package/dist/core/tasks.d.ts +27 -0
  24. package/dist/core/tasks.d.ts.map +1 -0
  25. package/dist/core/tasks.js +26 -0
  26. package/dist/core/tasks.js.map +1 -0
  27. package/dist/core/transport.d.ts +84 -0
  28. package/dist/core/transport.d.ts.map +1 -0
  29. package/dist/core/transport.js +171 -0
  30. package/dist/core/transport.js.map +1 -0
  31. package/dist/generated/developer-api.gen.d.ts +2760 -0
  32. package/dist/generated/developer-api.gen.d.ts.map +1 -0
  33. package/dist/generated/developer-api.gen.js +6 -0
  34. package/dist/generated/developer-api.gen.js.map +1 -0
  35. package/dist/generated/tasks.gen.d.ts +153 -0
  36. package/dist/generated/tasks.gen.d.ts.map +1 -0
  37. package/dist/generated/tasks.gen.js +80 -0
  38. package/dist/generated/tasks.gen.js.map +1 -0
  39. package/dist/index.d.ts +4 -0
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/index.js +3 -0
  42. package/dist/index.js.map +1 -0
  43. package/examples/posing.ts +62 -0
  44. package/package.json +49 -0
  45. package/src/client.ts +55 -0
  46. package/src/core/assets.ts +162 -0
  47. package/src/core/index.ts +27 -0
  48. package/src/core/operations.ts +114 -0
  49. package/src/core/sleep.ts +22 -0
  50. package/src/core/tasks.ts +45 -0
  51. package/src/core/transport.ts +246 -0
  52. package/src/generated/developer-api.gen.ts +2760 -0
  53. package/src/generated/tasks.gen.ts +110 -0
  54. package/src/index.ts +24 -0
@@ -0,0 +1,2760 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/api/v2/health": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** Health check */
14
+ get: operations["api_health_api_v2_health_get"];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ "/api/v2/tasks:atlasChisel": {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ get?: never;
31
+ put?: never;
32
+ /** Submit a atlasChisel task */
33
+ post: operations["submit_atlasChisel_api_v2_tasks_atlasChisel_post"];
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
40
+ "/api/v2/tasks:atlasGenerate": {
41
+ parameters: {
42
+ query?: never;
43
+ header?: never;
44
+ path?: never;
45
+ cookie?: never;
46
+ };
47
+ get?: never;
48
+ put?: never;
49
+ /** Submit a atlasGenerate task */
50
+ post: operations["submit_atlasGenerate_api_v2_tasks_atlasGenerate_post"];
51
+ delete?: never;
52
+ options?: never;
53
+ head?: never;
54
+ patch?: never;
55
+ trace?: never;
56
+ };
57
+ "/api/v2/tasks:atlasMasked": {
58
+ parameters: {
59
+ query?: never;
60
+ header?: never;
61
+ path?: never;
62
+ cookie?: never;
63
+ };
64
+ get?: never;
65
+ put?: never;
66
+ /** Submit a atlasMasked task */
67
+ post: operations["submit_atlasMasked_api_v2_tasks_atlasMasked_post"];
68
+ delete?: never;
69
+ options?: never;
70
+ head?: never;
71
+ patch?: never;
72
+ trace?: never;
73
+ };
74
+ "/api/v2/tasks:atlasTextToImage": {
75
+ parameters: {
76
+ query?: never;
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
80
+ };
81
+ get?: never;
82
+ put?: never;
83
+ /** Submit a atlasTextToImage task */
84
+ post: operations["submit_atlasTextToImage_api_v2_tasks_atlasTextToImage_post"];
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
91
+ "/api/v2/tasks:images2PosedRGBD": {
92
+ parameters: {
93
+ query?: never;
94
+ header?: never;
95
+ path?: never;
96
+ cookie?: never;
97
+ };
98
+ get?: never;
99
+ put?: never;
100
+ /** Submit a images2PosedRGBD task */
101
+ post: operations["submit_images2PosedRGBD_api_v2_tasks_images2PosedRGBD_post"];
102
+ delete?: never;
103
+ options?: never;
104
+ head?: never;
105
+ patch?: never;
106
+ trace?: never;
107
+ };
108
+ "/api/v2/tasks:splats2Mesh": {
109
+ parameters: {
110
+ query?: never;
111
+ header?: never;
112
+ path?: never;
113
+ cookie?: never;
114
+ };
115
+ get?: never;
116
+ put?: never;
117
+ /** Submit a splats2Mesh task */
118
+ post: operations["submit_splats2Mesh_api_v2_tasks_splats2Mesh_post"];
119
+ delete?: never;
120
+ options?: never;
121
+ head?: never;
122
+ patch?: never;
123
+ trace?: never;
124
+ };
125
+ "/api/v2/operations": {
126
+ parameters: {
127
+ query?: never;
128
+ header?: never;
129
+ path?: never;
130
+ cookie?: never;
131
+ };
132
+ /** List a project's long-running operations, newest first */
133
+ get: operations["list_operations_api_v2_operations_get"];
134
+ put?: never;
135
+ post?: never;
136
+ delete?: never;
137
+ options?: never;
138
+ head?: never;
139
+ patch?: never;
140
+ trace?: never;
141
+ };
142
+ "/api/v2/operations/{operation}:trace": {
143
+ parameters: {
144
+ query?: never;
145
+ header?: never;
146
+ path?: never;
147
+ cookie?: never;
148
+ };
149
+ /** Get the public request and response for an operation */
150
+ get: operations["get_operation_trace_api_v2_operations__operation__trace_get"];
151
+ put?: never;
152
+ post?: never;
153
+ delete?: never;
154
+ options?: never;
155
+ head?: never;
156
+ patch?: never;
157
+ trace?: never;
158
+ };
159
+ "/api/v2/operations/{operation}:wait": {
160
+ parameters: {
161
+ query?: never;
162
+ header?: never;
163
+ path?: never;
164
+ cookie?: never;
165
+ };
166
+ get?: never;
167
+ put?: never;
168
+ /** Block until a long-running operation is done */
169
+ post: operations["wait_operation_api_v2_operations__operation__wait_post"];
170
+ delete?: never;
171
+ options?: never;
172
+ head?: never;
173
+ patch?: never;
174
+ trace?: never;
175
+ };
176
+ "/api/v2/operations/{operation}:cancel": {
177
+ parameters: {
178
+ query?: never;
179
+ header?: never;
180
+ path?: never;
181
+ cookie?: never;
182
+ };
183
+ get?: never;
184
+ put?: never;
185
+ /** Record cancellation intent for a long-running operation */
186
+ post: operations["cancel_operation_api_v2_operations__operation__cancel_post"];
187
+ delete?: never;
188
+ options?: never;
189
+ head?: never;
190
+ patch?: never;
191
+ trace?: never;
192
+ };
193
+ "/api/v2/operations/{operation}": {
194
+ parameters: {
195
+ query?: never;
196
+ header?: never;
197
+ path?: never;
198
+ cookie?: never;
199
+ };
200
+ /** Get a long-running operation */
201
+ get: operations["get_operation_api_v2_operations__operation__get"];
202
+ put?: never;
203
+ post?: never;
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
210
+ "/api/v2/assets": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ /** List assets in a project */
218
+ get: operations["list_assets_api_v2_assets_get"];
219
+ put?: never;
220
+ /** Create an asset in a project */
221
+ post: operations["create_asset_api_v2_assets_post"];
222
+ delete?: never;
223
+ options?: never;
224
+ head?: never;
225
+ patch?: never;
226
+ trace?: never;
227
+ };
228
+ "/api/v2/assets/{asset}": {
229
+ parameters: {
230
+ query?: never;
231
+ header?: never;
232
+ path?: never;
233
+ cookie?: never;
234
+ };
235
+ /** Get an asset */
236
+ get: operations["get_asset_api_v2_assets__asset__get"];
237
+ put?: never;
238
+ post?: never;
239
+ /** Delete an asset (soft-delete) */
240
+ delete: operations["delete_asset_api_v2_assets__asset__delete"];
241
+ options?: never;
242
+ head?: never;
243
+ patch?: never;
244
+ trace?: never;
245
+ };
246
+ "/api/v2/assets/{asset}:createUploadUrl": {
247
+ parameters: {
248
+ query?: never;
249
+ header?: never;
250
+ path?: never;
251
+ cookie?: never;
252
+ };
253
+ get?: never;
254
+ put?: never;
255
+ /** Mint a signed upload URL for an asset */
256
+ post: operations["create_upload_url_api_v2_assets__asset__createUploadUrl_post"];
257
+ delete?: never;
258
+ options?: never;
259
+ head?: never;
260
+ patch?: never;
261
+ trace?: never;
262
+ };
263
+ "/api/v2/assets/{asset}:createReadUrl": {
264
+ parameters: {
265
+ query?: never;
266
+ header?: never;
267
+ path?: never;
268
+ cookie?: never;
269
+ };
270
+ get?: never;
271
+ put?: never;
272
+ /** Mint a signed read URL for an asset */
273
+ post: operations["create_read_url_api_v2_assets__asset__createReadUrl_post"];
274
+ delete?: never;
275
+ options?: never;
276
+ head?: never;
277
+ patch?: never;
278
+ trace?: never;
279
+ };
280
+ "/api/v2/assets/{asset}:createUploadUrls": {
281
+ parameters: {
282
+ query?: never;
283
+ header?: never;
284
+ path?: never;
285
+ cookie?: never;
286
+ };
287
+ get?: never;
288
+ put?: never;
289
+ /** Re-mint upload URLs for a typed asset's parts */
290
+ post: operations["create_upload_urls_api_v2_assets__asset__createUploadUrls_post"];
291
+ delete?: never;
292
+ options?: never;
293
+ head?: never;
294
+ patch?: never;
295
+ trace?: never;
296
+ };
297
+ "/api/v2/assets/{asset}:completeUpload": {
298
+ parameters: {
299
+ query?: never;
300
+ header?: never;
301
+ path?: never;
302
+ cookie?: never;
303
+ };
304
+ get?: never;
305
+ put?: never;
306
+ /** Mark an asset upload complete */
307
+ post: operations["complete_upload_api_v2_assets__asset__completeUpload_post"];
308
+ delete?: never;
309
+ options?: never;
310
+ head?: never;
311
+ patch?: never;
312
+ trace?: never;
313
+ };
314
+ "/api/v2/assets:createReadPrefix": {
315
+ parameters: {
316
+ query?: never;
317
+ header?: never;
318
+ path?: never;
319
+ cookie?: never;
320
+ };
321
+ get?: never;
322
+ put?: never;
323
+ /** Mint a signed read prefix for the key's project library */
324
+ post: operations["create_read_prefix_api_v2_assets_createReadPrefix_post"];
325
+ delete?: never;
326
+ options?: never;
327
+ head?: never;
328
+ patch?: never;
329
+ trace?: never;
330
+ };
331
+ }
332
+ export type webhooks = Record<string, never>;
333
+ export interface components {
334
+ schemas: {
335
+ /**
336
+ * Asset
337
+ * @description A project-owned media asset.
338
+ */
339
+ Asset: {
340
+ /**
341
+ * Id
342
+ * @description Asset id, ``asset_<hex>``.
343
+ */
344
+ id: string;
345
+ /**
346
+ * Displayname
347
+ * @description User-visible label.
348
+ */
349
+ displayName: string;
350
+ /**
351
+ * Mimetype
352
+ * @description Media MIME type, e.g. ``image/png``.
353
+ */
354
+ mimeType: string;
355
+ /** @default CREATED */
356
+ state?: components["schemas"]["AssetState"];
357
+ /**
358
+ * Width
359
+ * @description Pixel width when known.
360
+ */
361
+ width?: number | null;
362
+ /**
363
+ * Height
364
+ * @description Pixel height when known.
365
+ */
366
+ height?: number | null;
367
+ /**
368
+ * Sizebytes
369
+ * @description Size in bytes serialized as a string for large-integer compatibility with JSON consumers.
370
+ */
371
+ sizeBytes?: string | null;
372
+ /**
373
+ * Checksum
374
+ * @description Checksum the store reports, e.g. ``crc32c:...``.
375
+ */
376
+ checksum?: string | null;
377
+ /**
378
+ * Createtime
379
+ * @description Server-assigned.
380
+ */
381
+ createTime?: string | null;
382
+ /**
383
+ * Type
384
+ * @description Asset type, e.g. ``image``. Null for an untyped upload.
385
+ */
386
+ type?: string | null;
387
+ /**
388
+ * Parts
389
+ * @description The asset's media files. Empty until the upload completes; an untyped asset then holds one part covering the whole media.
390
+ */
391
+ parts?: components["schemas"]["AssetPart"][];
392
+ /**
393
+ * Structure
394
+ * @description What a reader needs besides the bytes.
395
+ */
396
+ structure?: {
397
+ [key: string]: unknown;
398
+ } | null;
399
+ /** @description Set when a task produced the asset. */
400
+ producedBy?: components["schemas"]["ProducedBy"] | null;
401
+ /**
402
+ * Contentpath
403
+ * @description Where the asset's bytes sit under the project's content prefix, ``<class>/<asset>[/<role>]``, each segment percent-encoded as a URL path segment. Appended to a read prefix's ``baseUrl`` and followed by its ``signedQuery`` it addresses the bytes on the content edge; on its own it grants nothing. A read prefix is minted per project by ``:createReadPrefix`` (on the project for web sessions, on ``/assets`` for API keys); ``:createReadUrl`` stays the single-object download. Null until the bytes exist.
404
+ */
405
+ contentPath?: string | null;
406
+ };
407
+ /**
408
+ * AssetCreate
409
+ * @description Client-provided fields for creating a project-owned asset.
410
+ */
411
+ AssetCreate: {
412
+ /**
413
+ * Displayname
414
+ * @description User-visible label.
415
+ */
416
+ displayName: string;
417
+ /**
418
+ * Type
419
+ * @description Asset type, e.g. ``image``. Decides which part roles the asset may carry and what each may hold. Omit for a single untyped object uploaded through ``:createUploadUrl``.
420
+ */
421
+ type?: string | null;
422
+ /**
423
+ * Parts
424
+ * @description The parts to be uploaded. One grant comes back per part.
425
+ */
426
+ parts?: components["schemas"]["AssetPartDeclaration"][];
427
+ /**
428
+ * Structure
429
+ * @description What a reader needs besides the bytes, in the shape the asset type defines, e.g. an image's camera.
430
+ */
431
+ structure?: {
432
+ [key: string]: unknown;
433
+ } | null;
434
+ /**
435
+ * Base64
436
+ * @description Bytes carried in the request, optionally as a ``data:`` URL. The asset comes back ``READY``. Capped at 10 MiB decoded; above that, declare a part and upload to its grant.
437
+ */
438
+ base64?: string | null;
439
+ /**
440
+ * Url
441
+ * @description A URL the platform fetches. The asset comes back ``READY``. The address is opened by a sandboxed workload, never by the API.
442
+ */
443
+ url?: string | null;
444
+ };
445
+ /**
446
+ * AssetPart
447
+ * @description One media file belonging to an asset.
448
+ *
449
+ * Every field but the role is what the store and the bytes reported at
450
+ * ``:completeUpload``; nothing here is echoed back from the request that
451
+ * declared the part.
452
+ */
453
+ AssetPart: {
454
+ /**
455
+ * Role
456
+ * @description What the part holds, e.g. ``rgb``.
457
+ */
458
+ role: string;
459
+ /**
460
+ * Mimetype
461
+ * @description Media type read off the bytes.
462
+ */
463
+ mimeType?: string | null;
464
+ /**
465
+ * Width
466
+ * @description Pixel width when known.
467
+ */
468
+ width?: number | null;
469
+ /**
470
+ * Height
471
+ * @description Pixel height when known.
472
+ */
473
+ height?: number | null;
474
+ /**
475
+ * Sizebytes
476
+ * @description Size in bytes serialized as a string for large-integer compatibility with JSON consumers.
477
+ */
478
+ sizeBytes?: string | null;
479
+ /**
480
+ * Checksum
481
+ * @description Checksum the store reports, e.g. ``crc32c:...``.
482
+ */
483
+ checksum?: string | null;
484
+ /**
485
+ * Metadata
486
+ * @description The role's own contract, e.g. a depth encoding.
487
+ */
488
+ metadata?: {
489
+ [key: string]: unknown;
490
+ } | null;
491
+ /**
492
+ * State
493
+ * @description ``CREATED`` until the bytes arrive.
494
+ */
495
+ state: string;
496
+ };
497
+ /**
498
+ * AssetPartDeclaration
499
+ * @description A part the client intends to upload.
500
+ *
501
+ * The content type and length are signed into the upload URL, so they bound
502
+ * what may be sent rather than describing what the asset is.
503
+ */
504
+ AssetPartDeclaration: {
505
+ /** Role */
506
+ role: string;
507
+ /** Contenttype */
508
+ contentType: string;
509
+ /**
510
+ * Contentlength
511
+ * @description Upload size in bytes, serialized on the wire as a string.
512
+ */
513
+ contentLength: number;
514
+ /**
515
+ * Metadata
516
+ * @description The role's own contract, e.g. a depth encoding.
517
+ */
518
+ metadata?: {
519
+ [key: string]: unknown;
520
+ } | null;
521
+ };
522
+ /**
523
+ * AssetState
524
+ * @enum {string}
525
+ */
526
+ AssetState: "CREATED" | "UPLOADING" | "READY" | "DELETED";
527
+ /**
528
+ * AtlasChiselModelParameters
529
+ * @description Model-specific parameters forwarded to the atlasChisel servable.
530
+ */
531
+ AtlasChiselModelParameters: {
532
+ /**
533
+ * Seed
534
+ * @description RNG seed forwarded to the servable when set.
535
+ * @default 42
536
+ */
537
+ seed?: number | null;
538
+ /**
539
+ * Cfg
540
+ * @description Classifier-free guidance scale.
541
+ * @default 2.5
542
+ */
543
+ cfg?: number | null;
544
+ /**
545
+ * Numsteps
546
+ * @description Diffusion step count.
547
+ * @default 50
548
+ */
549
+ numSteps?: number | null;
550
+ };
551
+ /**
552
+ * AtlasChiselRequest
553
+ * @description Body of ``POST /api/v2/tasks:atlasChisel``.
554
+ */
555
+ AtlasChiselRequest: {
556
+ /**
557
+ * Contextframes
558
+ * @description Posed depth frames, one per target camera and posed at it, in target order; each camera is 1280x720. Depth only: frames carry no imageAsset, maskAsset, or depth confidenceAsset. Leave empty to generate from the prompt alone.
559
+ */
560
+ contextFrames?: components["schemas"]["PosedDepthAsset"][];
561
+ /**
562
+ * Targetcameras
563
+ * @description Pinhole cameras at 1280x720 for the views to generate, in output order, returned in `frames`. At most 32.
564
+ */
565
+ targetCameras: components["schemas"]["PinholeCamera"][];
566
+ /**
567
+ * Prompt
568
+ * @description Text prompt describing the scene.
569
+ */
570
+ prompt: string;
571
+ /**
572
+ * Enhanceprompt
573
+ * @description Rewrite the prompt into the structured scene caption the model trained on before inference. Set false to send the prompt as is.
574
+ * @default true
575
+ */
576
+ enhancePrompt?: boolean;
577
+ /**
578
+ * Voxelsize
579
+ * @description Voxel side length in the normalized scene gauge (90th-percentile disparity is approximately 1). The recommended range is 0 to 0.4. Omit or set to 0 to keep the original depth conditioning.
580
+ */
581
+ voxelSize?: number | null;
582
+ /**
583
+ * Voxelgridorientation
584
+ * @description Frame the voxelization grid axes align to. 'world' (the default) axis-aligns voxels with the request's world coordinates, so world-axis-aligned faces (blockout walls) quantize flat; 'gauge' keeps the legacy grid aligned to the normalized scene gauge (the recentered mean camera pose). Ignored unless voxelSize is set.
585
+ */
586
+ voxelGridOrientation?: ("world" | "gauge") | null;
587
+ /** @description Model-specific parameters for atlasChisel. */
588
+ modelParameters?: components["schemas"]["AtlasChiselModelParameters"];
589
+ /**
590
+ * Returndepth
591
+ * @description Return the generated frames as posed RGBD: they are reconstructed together so the depth lands in the request's own camera frame and scale, and every entry in `frames` then carries a `depth` buffer. The contextFrames' own depth is not reconstructed or returned. Needs at least two target cameras. Limitation: the depth scale is recovered from the target cameras' centres, so targets that share one centre (a pure-rotation rig) come back with a 0.0 or NaN scale and a success status.
592
+ * @default false
593
+ */
594
+ returnDepth?: boolean;
595
+ };
596
+ /**
597
+ * AtlasChiselResponse
598
+ * @description Public response projected into the completed Operation.
599
+ */
600
+ AtlasChiselResponse: {
601
+ /**
602
+ * Frames
603
+ * @description Generated RGB frames (image + camera), one per target camera in order.
604
+ */
605
+ frames?: components["schemas"]["PosedRGBAsset"][] | null;
606
+ /**
607
+ * Promptused
608
+ * @description Final prompt supplied to inference.
609
+ */
610
+ promptUsed?: string | null;
611
+ /**
612
+ * Requestid
613
+ * @description Meridian request id from servable runtime metadata.
614
+ */
615
+ requestId?: string | null;
616
+ };
617
+ /** AtlasChiselResponseOperation */
618
+ AtlasChiselResponseOperation: {
619
+ /** Id */
620
+ id: string;
621
+ /** Ownerid */
622
+ ownerId: string;
623
+ /** Metadata */
624
+ metadata?: {
625
+ [key: string]: unknown;
626
+ } | null;
627
+ /** Done */
628
+ done: boolean;
629
+ error?: components["schemas"]["OperationError"] | null;
630
+ /** @description Task response payload when the operation is done. */
631
+ response?: components["schemas"]["AtlasChiselResponse"] | null;
632
+ /** Expiresatsecs */
633
+ expiresAtSecs?: number | null;
634
+ /**
635
+ * Createdatsecs
636
+ * @description Unix seconds when the operation was created (output-only).
637
+ */
638
+ createdAtSecs?: number | null;
639
+ /**
640
+ * Name
641
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
642
+ *
643
+ * ``owner_id`` is the owning account, so the public name is derived, not
644
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
645
+ * ignored when the LRO client deserializes a service response.
646
+ */
647
+ readonly name: string;
648
+ };
649
+ /**
650
+ * AtlasGenerateModelParameters
651
+ * @description Model-specific parameters forwarded to the atlasGenerate servable.
652
+ */
653
+ AtlasGenerateModelParameters: {
654
+ /**
655
+ * Seed
656
+ * @description RNG seed forwarded to the servable when set.
657
+ * @default 42
658
+ */
659
+ seed?: number | null;
660
+ /**
661
+ * Cfg
662
+ * @description Classifier-free guidance scale.
663
+ * @default 2.5
664
+ */
665
+ cfg?: number | null;
666
+ /**
667
+ * Numsteps
668
+ * @description Diffusion step count.
669
+ * @default 50
670
+ */
671
+ numSteps?: number | null;
672
+ };
673
+ /**
674
+ * AtlasGenerateRequest
675
+ * @description Body of ``POST /api/v2/tasks:atlasGenerate``.
676
+ */
677
+ AtlasGenerateRequest: {
678
+ /**
679
+ * Contextframes
680
+ * @description Posed RGBD context views: each an image, its depth buffer, and its camera, all required. On the reference-context warp route the depth conditions the generation geometrically, so the generated views stay consistent with the provided scene; the hero base checkpoint conditions on the posed images only and does not consume the depth.
681
+ */
682
+ contextFrames: components["schemas"]["PosedRGBDAsset"][];
683
+ /**
684
+ * Targetcameras
685
+ * @description Pinhole cameras for the views to generate, in output order. Generated frames are returned in `frames`, one per camera.
686
+ */
687
+ targetCameras: components["schemas"]["PinholeCamera"][];
688
+ /**
689
+ * Prompt
690
+ * @description Text prompt describing the scene, if any.
691
+ */
692
+ prompt?: string | null;
693
+ /**
694
+ * Enhanceprompt
695
+ * @description Enhance the prompt with the ViewGen preset before inference. With no prompt, the enhancer captions the context images.
696
+ * @default true
697
+ */
698
+ enhancePrompt?: boolean;
699
+ /**
700
+ * Returndepth
701
+ * @description Return the generated frames as posed RGBD: they are reconstructed together with the context frames so the depth lands in the request's own camera frame and scale, and every entry in `frames` then carries a `depth` buffer. A context frame joins that reconstruction only when its image is at the generated resolution and its camera's principal point is centered. The scale is recovered from the camera centres that joined, so a request whose joined cameras all share one centre (a pure-rotation rig) is rejected.
702
+ * @default false
703
+ */
704
+ returnDepth?: boolean;
705
+ /** @description Model-specific parameters for atlasGenerate. */
706
+ modelParameters?: components["schemas"]["AtlasGenerateModelParameters"];
707
+ };
708
+ /**
709
+ * AtlasGenerateResponse
710
+ * @description Public response projected into the completed Operation.
711
+ */
712
+ AtlasGenerateResponse: {
713
+ /**
714
+ * Frames
715
+ * @description Generated RGB frames (image + camera), one per target camera in order. Every frame also carries a `depth` buffer when the request set returnDepth.
716
+ */
717
+ frames?: components["schemas"]["PosedRGBAsset"][] | null;
718
+ /**
719
+ * Promptused
720
+ * @description Final prompt supplied to inference, if any.
721
+ */
722
+ promptUsed?: string | null;
723
+ /**
724
+ * Requestid
725
+ * @description Meridian request id from servable runtime metadata.
726
+ */
727
+ requestId?: string | null;
728
+ };
729
+ /** AtlasGenerateResponseOperation */
730
+ AtlasGenerateResponseOperation: {
731
+ /** Id */
732
+ id: string;
733
+ /** Ownerid */
734
+ ownerId: string;
735
+ /** Metadata */
736
+ metadata?: {
737
+ [key: string]: unknown;
738
+ } | null;
739
+ /** Done */
740
+ done: boolean;
741
+ error?: components["schemas"]["OperationError"] | null;
742
+ /** @description Task response payload when the operation is done. */
743
+ response?: components["schemas"]["AtlasGenerateResponse"] | null;
744
+ /** Expiresatsecs */
745
+ expiresAtSecs?: number | null;
746
+ /**
747
+ * Createdatsecs
748
+ * @description Unix seconds when the operation was created (output-only).
749
+ */
750
+ createdAtSecs?: number | null;
751
+ /**
752
+ * Name
753
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
754
+ *
755
+ * ``owner_id`` is the owning account, so the public name is derived, not
756
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
757
+ * ignored when the LRO client deserializes a service response.
758
+ */
759
+ readonly name: string;
760
+ };
761
+ /**
762
+ * AtlasMaskedModelParameters
763
+ * @description Model-specific parameters forwarded to the atlasMasked servable.
764
+ */
765
+ AtlasMaskedModelParameters: {
766
+ /**
767
+ * Seed
768
+ * @description RNG seed forwarded to the servable when set.
769
+ * @default 42
770
+ */
771
+ seed?: number | null;
772
+ /**
773
+ * Cfg
774
+ * @description Classifier-free guidance scale.
775
+ * @default 2.5
776
+ */
777
+ cfg?: number | null;
778
+ /**
779
+ * Numsteps
780
+ * @description Diffusion step count.
781
+ * @default 50
782
+ */
783
+ numSteps?: number | null;
784
+ };
785
+ /**
786
+ * AtlasMaskedRequest
787
+ * @description Body of ``POST /api/v2/tasks:atlasMasked``.
788
+ */
789
+ AtlasMaskedRequest: {
790
+ /**
791
+ * Contextframes
792
+ * @description The views to complete, in output order: each an image, its alpha mask, and its camera. The mask is an 8-bit grayscale PNG on the image grid where 1 is kept -- those pixels are the observed image -- and 0 is what the model fills in. Each view is completed at its targetCameras entry of the same index.
793
+ */
794
+ contextFrames: components["schemas"]["PosedRGBAAsset"][];
795
+ /**
796
+ * Targetcameras
797
+ * @description Pinhole cameras for the views to generate, one per context frame in the same order. Warning: the partial checkpoints condition target i on contextFrames[i]'s masked view and were trained with one context view per target, rendered from the target's own viewpoint. A count that differs from contextFrames, or a target off its frame's camera, is accepted but runs outside the training distribution and may generate degraded views.
798
+ */
799
+ targetCameras: components["schemas"]["PinholeCamera"][];
800
+ /**
801
+ * Prompt
802
+ * @description Text prompt describing what belongs in the masked region.
803
+ */
804
+ prompt?: string | null;
805
+ /**
806
+ * Enhanceprompt
807
+ * @description Enhance the prompt with the ViewGen preset before inference. Off by default: the observed pixels already describe the scene, so a completion usually wants the prompt it was given.
808
+ * @default false
809
+ */
810
+ enhancePrompt?: boolean;
811
+ /**
812
+ * Returndepth
813
+ * @description Return the completed frames as posed RGBD: they are reconstructed together so the depth lands in the request's own camera frame and scale, and every entry in `frames` then carries a `depth` buffer. Needs at least two targetCameras. Limitation: the depth scale is recovered from the frames' camera centres, so views that share one centre (a pure-rotation rig) come back with a 0.0 or NaN scale and a success status.
814
+ * @default false
815
+ */
816
+ returnDepth?: boolean;
817
+ /** @description Model-specific parameters for atlasMasked. */
818
+ modelParameters?: components["schemas"]["AtlasMaskedModelParameters"];
819
+ };
820
+ /**
821
+ * AtlasMaskedResponse
822
+ * @description Public response projected into the completed Operation.
823
+ */
824
+ AtlasMaskedResponse: {
825
+ /**
826
+ * Frames
827
+ * @description Generated frames (image + camera): one per target camera, in order. Every frame also carries a `depth` buffer when the request set returnDepth.
828
+ */
829
+ frames?: components["schemas"]["PosedRGBAsset"][] | null;
830
+ /**
831
+ * Promptused
832
+ * @description Final prompt supplied to inference, if any.
833
+ */
834
+ promptUsed?: string | null;
835
+ /**
836
+ * Requestid
837
+ * @description Meridian request id from servable runtime metadata.
838
+ */
839
+ requestId?: string | null;
840
+ };
841
+ /** AtlasMaskedResponseOperation */
842
+ AtlasMaskedResponseOperation: {
843
+ /** Id */
844
+ id: string;
845
+ /** Ownerid */
846
+ ownerId: string;
847
+ /** Metadata */
848
+ metadata?: {
849
+ [key: string]: unknown;
850
+ } | null;
851
+ /** Done */
852
+ done: boolean;
853
+ error?: components["schemas"]["OperationError"] | null;
854
+ /** @description Task response payload when the operation is done. */
855
+ response?: components["schemas"]["AtlasMaskedResponse"] | null;
856
+ /** Expiresatsecs */
857
+ expiresAtSecs?: number | null;
858
+ /**
859
+ * Createdatsecs
860
+ * @description Unix seconds when the operation was created (output-only).
861
+ */
862
+ createdAtSecs?: number | null;
863
+ /**
864
+ * Name
865
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
866
+ *
867
+ * ``owner_id`` is the owning account, so the public name is derived, not
868
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
869
+ * ignored when the LRO client deserializes a service response.
870
+ */
871
+ readonly name: string;
872
+ };
873
+ /**
874
+ * AtlasTextToImageRequest
875
+ * @description Body of ``POST /api/v2/tasks:atlasTextToImage``.
876
+ */
877
+ AtlasTextToImageRequest: {
878
+ /**
879
+ * Prompt
880
+ * @description Text prompt to generate from.
881
+ */
882
+ prompt: string;
883
+ /**
884
+ * Aspectratio
885
+ * @description Output width-to-height ratio. Omit for the model default.
886
+ */
887
+ aspectRatio?: ("16:9" | "9:16" | "4:3" | "3:4" | "1:1") | null;
888
+ /**
889
+ * Enhanceprompt
890
+ * @description Whether to enhance the prompt before generation. Defaults to true.
891
+ * @default true
892
+ */
893
+ enhancePrompt?: boolean;
894
+ /**
895
+ * Seed
896
+ * @description Optional RNG seed.
897
+ */
898
+ seed?: number | null;
899
+ /**
900
+ * Cfg
901
+ * @description Classifier-free guidance scale.
902
+ */
903
+ cfg?: number | null;
904
+ /**
905
+ * Numsteps
906
+ * @description Diffusion step count.
907
+ */
908
+ numSteps?: number | null;
909
+ /**
910
+ * Numsamples
911
+ * @description Number of images to generate.
912
+ */
913
+ numSamples?: number | null;
914
+ /**
915
+ * Returndepth
916
+ * @description Also return each image as a posed RGBD frame in `frames`: depth is estimated per image (metric, single-view) along with the camera it was estimated under.
917
+ * @default false
918
+ */
919
+ returnDepth?: boolean;
920
+ };
921
+ /**
922
+ * AtlasTextToImageResponse
923
+ * @description Public response projected into the completed Operation.
924
+ */
925
+ AtlasTextToImageResponse: {
926
+ /**
927
+ * Generationid
928
+ * @description Stable id for this generation run.
929
+ */
930
+ generationId: string;
931
+ /**
932
+ * Imageurls
933
+ * @description Public URLs of generated PNG images.
934
+ */
935
+ imageUrls: string[];
936
+ /** @description Task outputs using the shared output URL contract. */
937
+ assetOutput?: components["schemas"]["ImageCollectionAssetOutput"] | null;
938
+ /**
939
+ * Enhancedprompt
940
+ * @description Prompt after enhancement, if any.
941
+ */
942
+ enhancedPrompt?: string | null;
943
+ /**
944
+ * Prompt
945
+ * @description Original prompt submitted by the caller.
946
+ */
947
+ prompt?: string | null;
948
+ /**
949
+ * Modelname
950
+ * @description Resolved model display name or slug.
951
+ */
952
+ modelName?: string | null;
953
+ /**
954
+ * Aspectratio
955
+ * @description Resolved width-to-height ratio used for generation.
956
+ */
957
+ aspectRatio?: ("16:9" | "9:16" | "4:3" | "3:4" | "1:1") | null;
958
+ /**
959
+ * Frames
960
+ * @description Only with returnDepth: one posed RGBD frame per image, in imageUrls order, carrying the estimated camera and a `depth` buffer.
961
+ */
962
+ frames?: components["schemas"]["PosedRGBAsset"][] | null;
963
+ };
964
+ /** AtlasTextToImageResponseOperation */
965
+ AtlasTextToImageResponseOperation: {
966
+ /** Id */
967
+ id: string;
968
+ /** Ownerid */
969
+ ownerId: string;
970
+ /** Metadata */
971
+ metadata?: {
972
+ [key: string]: unknown;
973
+ } | null;
974
+ /** Done */
975
+ done: boolean;
976
+ error?: components["schemas"]["OperationError"] | null;
977
+ /** @description Task response payload when the operation is done. */
978
+ response?: components["schemas"]["AtlasTextToImageResponse"] | null;
979
+ /** Expiresatsecs */
980
+ expiresAtSecs?: number | null;
981
+ /**
982
+ * Createdatsecs
983
+ * @description Unix seconds when the operation was created (output-only).
984
+ */
985
+ createdAtSecs?: number | null;
986
+ /**
987
+ * Name
988
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
989
+ *
990
+ * ``owner_id`` is the owning account, so the public name is derived, not
991
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
992
+ * ignored when the LRO client deserializes a service response.
993
+ */
994
+ readonly name: string;
995
+ };
996
+ /**
997
+ * CamerasAutoAnchors
998
+ * @description Find anchor positions automatically, then render from them.
999
+ *
1000
+ * Candidates come from the free space the geometry encloses, and `oriented`
1001
+ * picks which rule judges one valid. The default when a request names no
1002
+ * cameras.
1003
+ */
1004
+ CamerasAutoAnchors: {
1005
+ /**
1006
+ * @description discriminator enum property added by openapi-typescript
1007
+ * @enum {string}
1008
+ */
1009
+ strategy: "auto_anchors";
1010
+ /**
1011
+ * Oriented
1012
+ * @description Judge a candidate by whether the surface faces it, which needs splats whose normals are oriented -- usually only true if they were optimized for it. Leave false to judge by enclosure alone, which is safe on any scene.
1013
+ * @default false
1014
+ */
1015
+ oriented?: boolean;
1016
+ };
1017
+ /**
1018
+ * CamerasExteriorSphere
1019
+ * @description Render from a sphere around the splats, looking inward.
1020
+ *
1021
+ * For anything whose surface can be seen from outside -- an object, a turntable
1022
+ * capture -- no anchors are needed. Cameras are spread evenly over a sphere
1023
+ * bounding the splats and aimed at its center. Naming an
1024
+ * `orientedBoundingBox` sizes that sphere on the splats inside it, which is
1025
+ * what picks one object out of a larger capture.
1026
+ */
1027
+ CamerasExteriorSphere: {
1028
+ /**
1029
+ * @description discriminator enum property added by openapi-typescript
1030
+ * @enum {string}
1031
+ */
1032
+ strategy: "exterior_sphere";
1033
+ };
1034
+ /**
1035
+ * CamerasManualAnchors
1036
+ * @description Render from explicitly placed anchor positions.
1037
+ *
1038
+ * A cubemap is rendered at each anchor, and more cameras are sampled around
1039
+ * it. Anchors belong in open space, with a clear view of the regions that
1040
+ * matter most.
1041
+ */
1042
+ CamerasManualAnchors: {
1043
+ /**
1044
+ * @description discriminator enum property added by openapi-typescript
1045
+ * @enum {string}
1046
+ */
1047
+ strategy: "manual_anchors";
1048
+ /**
1049
+ * Anchors
1050
+ * @description Anchor positions in Three.js coordinates (+X right, +Y up, -Z forward).
1051
+ */
1052
+ anchors: [
1053
+ number,
1054
+ number,
1055
+ number
1056
+ ][];
1057
+ };
1058
+ /**
1059
+ * CancelOperationRequest
1060
+ * @description Body of ``POST /api/v2/operations/{operation}:cancel``.
1061
+ */
1062
+ CancelOperationRequest: {
1063
+ /**
1064
+ * Reason
1065
+ * @description Optional caller-provided reason for cancellation.
1066
+ */
1067
+ reason?: string | null;
1068
+ /**
1069
+ * Requestid
1070
+ * @description Stable cancellation request id; supply to make retries idempotent. Server generates one if omitted.
1071
+ */
1072
+ requestId?: string | null;
1073
+ };
1074
+ /**
1075
+ * CompleteUploadRequest
1076
+ * @description Body of an ``:completeUpload`` request.
1077
+ */
1078
+ CompleteUploadRequest: {
1079
+ /** Checksum */
1080
+ checksum?: string | null;
1081
+ /** Width */
1082
+ width?: number | null;
1083
+ /** Height */
1084
+ height?: number | null;
1085
+ /** Sizebytes */
1086
+ sizeBytes?: number | null;
1087
+ };
1088
+ /**
1089
+ * CoordinateFrame
1090
+ * @description Pose represented by a position and an XYZW quaternion.
1091
+ *
1092
+ * ``coordinate_system`` names the axes convention the pose is expressed in:
1093
+ * ``rub`` (right-up-back, the OpenGL/Three.js convention) or ``rdf``
1094
+ * (right-down-forward, the OpenCV convention). Both the ``coordinateSystem``
1095
+ * (camelCase) and ``coordinate_system`` spellings are accepted.
1096
+ */
1097
+ CoordinateFrame: {
1098
+ /** Position */
1099
+ position: [
1100
+ number,
1101
+ number,
1102
+ number
1103
+ ];
1104
+ /** Quaternion */
1105
+ quaternion: [
1106
+ number,
1107
+ number,
1108
+ number,
1109
+ number
1110
+ ];
1111
+ /**
1112
+ * Coordinatesystem
1113
+ * @default rub
1114
+ * @enum {string}
1115
+ */
1116
+ coordinateSystem?: "rub" | "rdf";
1117
+ };
1118
+ /**
1119
+ * CreateAssetRequest
1120
+ * @description Body of a project-owned asset-create request.
1121
+ */
1122
+ CreateAssetRequest: {
1123
+ /**
1124
+ * Assetid
1125
+ * @description Optional client-supplied resource id.
1126
+ */
1127
+ assetId?: string | null;
1128
+ asset: components["schemas"]["AssetCreate"];
1129
+ };
1130
+ /**
1131
+ * CreateAssetResponse
1132
+ * @description The new asset, plus a grant for every part it declared.
1133
+ */
1134
+ CreateAssetResponse: {
1135
+ /**
1136
+ * Id
1137
+ * @description Asset id, ``asset_<hex>``.
1138
+ */
1139
+ id: string;
1140
+ /**
1141
+ * Displayname
1142
+ * @description User-visible label.
1143
+ */
1144
+ displayName: string;
1145
+ /**
1146
+ * Mimetype
1147
+ * @description Media MIME type, e.g. ``image/png``.
1148
+ */
1149
+ mimeType: string;
1150
+ /** @default CREATED */
1151
+ state?: components["schemas"]["AssetState"];
1152
+ /**
1153
+ * Width
1154
+ * @description Pixel width when known.
1155
+ */
1156
+ width?: number | null;
1157
+ /**
1158
+ * Height
1159
+ * @description Pixel height when known.
1160
+ */
1161
+ height?: number | null;
1162
+ /**
1163
+ * Sizebytes
1164
+ * @description Size in bytes serialized as a string for large-integer compatibility with JSON consumers.
1165
+ */
1166
+ sizeBytes?: string | null;
1167
+ /**
1168
+ * Checksum
1169
+ * @description Checksum the store reports, e.g. ``crc32c:...``.
1170
+ */
1171
+ checksum?: string | null;
1172
+ /**
1173
+ * Createtime
1174
+ * @description Server-assigned.
1175
+ */
1176
+ createTime?: string | null;
1177
+ /**
1178
+ * Type
1179
+ * @description Asset type, e.g. ``image``. Null for an untyped upload.
1180
+ */
1181
+ type?: string | null;
1182
+ /**
1183
+ * Parts
1184
+ * @description The asset's media files. Empty until the upload completes; an untyped asset then holds one part covering the whole media.
1185
+ */
1186
+ parts?: components["schemas"]["AssetPart"][];
1187
+ /**
1188
+ * Structure
1189
+ * @description What a reader needs besides the bytes.
1190
+ */
1191
+ structure?: {
1192
+ [key: string]: unknown;
1193
+ } | null;
1194
+ /** @description Set when a task produced the asset. */
1195
+ producedBy?: components["schemas"]["ProducedBy"] | null;
1196
+ /**
1197
+ * Contentpath
1198
+ * @description Where the asset's bytes sit under the project's content prefix, ``<class>/<asset>[/<role>]``, each segment percent-encoded as a URL path segment. Appended to a read prefix's ``baseUrl`` and followed by its ``signedQuery`` it addresses the bytes on the content edge; on its own it grants nothing. A read prefix is minted per project by ``:createReadPrefix`` (on the project for web sessions, on ``/assets`` for API keys); ``:createReadUrl`` stays the single-object download. Null until the bytes exist.
1199
+ */
1200
+ contentPath?: string | null;
1201
+ /** Uploads */
1202
+ uploads?: components["schemas"]["UploadGrant"][];
1203
+ };
1204
+ /**
1205
+ * CreateReadPrefixResponse
1206
+ * @description One credential for a project's whole library on the content edge.
1207
+ *
1208
+ * A Cloud CDN prefix-signed URL: append an asset's ``contentPath`` to
1209
+ * ``baseUrl`` and then ``?`` plus ``signedQuery`` to address its bytes.
1210
+ * The same ``signedQuery`` serves every asset of the project until
1211
+ * ``expiresAt``; the edge validates it on every request.
1212
+ */
1213
+ CreateReadPrefixResponse: {
1214
+ /**
1215
+ * Baseurl
1216
+ * @description The project's content prefix on the edge, ending in ``/``. Append an asset's ``contentPath`` to address its bytes.
1217
+ */
1218
+ baseUrl: string;
1219
+ /**
1220
+ * Signedquery
1221
+ * @description Query string (without the leading ``?``) authorizing every URL under ``baseUrl``: ``URLPrefix``, ``Expires``, ``KeyName`` and ``Signature`` as Cloud CDN defines them. Knowledge of it grants read access to the project's library until it expires; mint a fresh one rather than persisting this.
1222
+ */
1223
+ signedQuery: string;
1224
+ /**
1225
+ * Expiresat
1226
+ * Format: date-time
1227
+ * @description When the signature stops admitting reads; mint again after.
1228
+ */
1229
+ expiresAt: string;
1230
+ };
1231
+ /** CreateReadUrlResponse */
1232
+ CreateReadUrlResponse: {
1233
+ /**
1234
+ * Readurl
1235
+ * @description Short-lived signed URL for the asset's bytes. Knowledge of the URL grants read access until it expires; mint a fresh one rather than persisting this.
1236
+ */
1237
+ readUrl: string;
1238
+ /**
1239
+ * Expiresat
1240
+ * Format: date-time
1241
+ */
1242
+ expiresAt: string;
1243
+ };
1244
+ /**
1245
+ * CreateUploadUrlRequest
1246
+ * @description Body of an ``:createUploadUrl`` request.
1247
+ *
1248
+ * ``content_length`` is the wire-format string the API contract requires
1249
+ * (JSON's large-integer limitation); the validator parses it to an int so
1250
+ * handlers can pass it to the service layer untouched.
1251
+ */
1252
+ CreateUploadUrlRequest: {
1253
+ /** Contenttype */
1254
+ contentType: string;
1255
+ /**
1256
+ * Contentlength
1257
+ * @description Expected upload size in bytes, serialized on the wire as a string.
1258
+ */
1259
+ contentLength: number;
1260
+ };
1261
+ /**
1262
+ * CreateUploadUrlResponse
1263
+ * @description Upload ticket for a project-owned Asset.
1264
+ */
1265
+ CreateUploadUrlResponse: {
1266
+ /** Uploadurl */
1267
+ uploadUrl: string;
1268
+ /**
1269
+ * Method
1270
+ * @description HTTP verb to use for the upload, e.g. PUT.
1271
+ */
1272
+ method: string;
1273
+ /**
1274
+ * Expiresat
1275
+ * Format: date-time
1276
+ */
1277
+ expiresAt: string;
1278
+ /**
1279
+ * Headers
1280
+ * @description Headers the client MUST include on the upload request.
1281
+ */
1282
+ headers?: {
1283
+ [key: string]: string;
1284
+ };
1285
+ };
1286
+ /**
1287
+ * CreateUploadUrlsRequest
1288
+ * @description Body of a ``:createUploadUrls`` request.
1289
+ */
1290
+ CreateUploadUrlsRequest: {
1291
+ /**
1292
+ * Roles
1293
+ * @description Parts to re-mint. Empty grants every declared part.
1294
+ */
1295
+ roles?: string[];
1296
+ };
1297
+ /** CreateUploadUrlsResponse */
1298
+ CreateUploadUrlsResponse: {
1299
+ /** Uploads */
1300
+ uploads?: components["schemas"]["UploadGrant"][];
1301
+ };
1302
+ /**
1303
+ * Empty
1304
+ * @description Empty response body for endpoints that have no payload.
1305
+ */
1306
+ Empty: Record<string, never>;
1307
+ /**
1308
+ * FrameRGBAsset
1309
+ * @description A frame whose RGB image is always present; camera stays optional.
1310
+ */
1311
+ FrameRGBAsset: {
1312
+ /** @description Source image as a URL or inline asset. */
1313
+ imageAsset: components["schemas"]["TaskAsset"];
1314
+ /** @description Optional alpha mask as a URL or inline asset: an 8-bit grayscale PNG on the image grid whose pixel value / 255 is the alpha in [0, 1] (1 = kept, 0 = excluded). Null when the frame carries no mask. */
1315
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1316
+ /** @description Optional camera-to-world pose and intrinsics. */
1317
+ camera?: components["schemas"]["PinholeCamera"] | null;
1318
+ /**
1319
+ * Depth
1320
+ * @description Optional depth buffer, as an inverted log-depth PNG (logDepthAsset) or a linear-depth EXR (depthAsset).
1321
+ */
1322
+ depth?: components["schemas"]["LogDepthBufferAsset"] | components["schemas"]["LinearDepthBufferAsset"] | null;
1323
+ };
1324
+ /** HTTPValidationError */
1325
+ HTTPValidationError: {
1326
+ /** Detail */
1327
+ detail?: components["schemas"]["ValidationError"][];
1328
+ };
1329
+ /**
1330
+ * ImageCollectionAssetOutput
1331
+ * @description Asset output for tasks that return `files.images.images`.
1332
+ */
1333
+ ImageCollectionAssetOutput: {
1334
+ files: components["schemas"]["ImageCollectionAssetOutputFiles"];
1335
+ };
1336
+ /**
1337
+ * ImageCollectionAssetOutputFiles
1338
+ * @description Asset output files for tasks that return an image collection.
1339
+ */
1340
+ ImageCollectionAssetOutputFiles: {
1341
+ images: components["schemas"]["ImageCollectionFiles"];
1342
+ };
1343
+ /**
1344
+ * ImageCollectionFiles
1345
+ * @description Image family containing the image collection role.
1346
+ */
1347
+ ImageCollectionFiles: {
1348
+ /**
1349
+ * Images
1350
+ * @description Generated image files.
1351
+ */
1352
+ images: string[];
1353
+ };
1354
+ /**
1355
+ * Images2PosedRGBDPerImageResult
1356
+ * @description Per-image reconstruction output.
1357
+ *
1358
+ * Geometry is the depth EXR: unproject it with ``camera`` to recover the
1359
+ * camera-space point cloud. ``camera``'s intrinsics describe the depth grid,
1360
+ * which is whatever grid the backbone reconstructed on, so they are not
1361
+ * necessarily the intrinsics of ``imageAsset``.
1362
+ */
1363
+ Images2PosedRGBDPerImageResult: {
1364
+ /** @description The source image the depth was estimated from. */
1365
+ imageAsset: components["schemas"]["TaskAsset"];
1366
+ /** @description Optional alpha mask as a URL or inline asset: an 8-bit grayscale PNG on the image grid whose pixel value / 255 is the alpha in [0, 1] (1 = kept, 0 = excluded). Null when the frame carries no mask. */
1367
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1368
+ /** @description Camera-to-world pose and intrinsics. */
1369
+ camera: components["schemas"]["PinholeCamera"];
1370
+ /** @description Linear-depth EXR in world units, aligned to camera, beside a confidence map. Multiple frames carry the calibrated keep-probability ('ultimate'); a single frame carries the backbone's own mask ('model'), the only score one view can support. Unproject the depth with the camera intrinsics to recover camera-space points in Three.js convention. */
1371
+ depth: components["schemas"]["LinearDepthBufferAsset"];
1372
+ /**
1373
+ * Centroidworld
1374
+ * @description Ground-plane pivot formed from the mean finite camera-space point transformed into world space and projected to y=0.
1375
+ */
1376
+ centroidWorld: [
1377
+ number,
1378
+ number,
1379
+ number
1380
+ ];
1381
+ };
1382
+ /**
1383
+ * Images2PosedRGBDRequest
1384
+ * @description Body of ``POST /api/v2/tasks:images2PosedRGBD``.
1385
+ */
1386
+ Images2PosedRGBDRequest: {
1387
+ /**
1388
+ * Frames
1389
+ * @description Ordered image inputs (min 1). A frame that carries a camera, a depth buffer or a mask is rejected rather than quietly ignored: none of them reaches the reconstruction.
1390
+ */
1391
+ frames: components["schemas"]["FrameRGBAsset"][];
1392
+ /**
1393
+ * Canonicalizetofirstframe
1394
+ * @description Place the first camera at the origin facing forward.
1395
+ * @default false
1396
+ */
1397
+ canonicalizeToFirstFrame?: boolean;
1398
+ /**
1399
+ * Targetresolution
1400
+ * @description Return the depth, confidence and camera intrinsics on this (width, height) pixel grid. The reconstruction is scaled to cover the requested size and center-cropped to it, so the result is exactly the size asked for and never stretched, and the intrinsics are updated with it -- unprojecting the returned depth with the returned camera gives the same geometry either way. A requested aspect that differs from the reconstruction's costs field of view, since the crop is what makes the size exact, and centroidWorld then describes the cropped view. Omit for the 1280 by 720 default; pass null to take the instance's own default.
1401
+ * @default [
1402
+ * 1280,
1403
+ * 720
1404
+ * ]
1405
+ */
1406
+ targetResolution?: [
1407
+ number,
1408
+ number
1409
+ ] | null;
1410
+ };
1411
+ /**
1412
+ * Images2PosedRGBDResponse
1413
+ * @description Public response projected into the completed Operation.
1414
+ */
1415
+ Images2PosedRGBDResponse: {
1416
+ /**
1417
+ * Results
1418
+ * @description One result per input image.
1419
+ */
1420
+ results: components["schemas"]["Images2PosedRGBDPerImageResult"][];
1421
+ };
1422
+ /** Images2PosedRGBDResponseOperation */
1423
+ Images2PosedRGBDResponseOperation: {
1424
+ /** Id */
1425
+ id: string;
1426
+ /** Ownerid */
1427
+ ownerId: string;
1428
+ /** Metadata */
1429
+ metadata?: {
1430
+ [key: string]: unknown;
1431
+ } | null;
1432
+ /** Done */
1433
+ done: boolean;
1434
+ error?: components["schemas"]["OperationError"] | null;
1435
+ /** @description Task response payload when the operation is done. */
1436
+ response?: components["schemas"]["Images2PosedRGBDResponse"] | null;
1437
+ /** Expiresatsecs */
1438
+ expiresAtSecs?: number | null;
1439
+ /**
1440
+ * Createdatsecs
1441
+ * @description Unix seconds when the operation was created (output-only).
1442
+ */
1443
+ createdAtSecs?: number | null;
1444
+ /**
1445
+ * Name
1446
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
1447
+ *
1448
+ * ``owner_id`` is the owning account, so the public name is derived, not
1449
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
1450
+ * ignored when the LRO client deserializes a service response.
1451
+ */
1452
+ readonly name: string;
1453
+ };
1454
+ /**
1455
+ * LinearDepthBufferAsset
1456
+ * @description Linear-depth EXR (URL or inline asset).
1457
+ */
1458
+ LinearDepthBufferAsset: {
1459
+ /** @description Optional 8-bit grayscale PNG on the depth grid whose pixel value / 255 is the per-pixel depth confidence in [0, 1], as a URL or inline asset. */
1460
+ confidenceAsset?: components["schemas"]["TaskAsset"] | null;
1461
+ /** @description EXR of linear depth in world units, as a URL or inline asset. */
1462
+ depthAsset: components["schemas"]["TaskAsset"];
1463
+ };
1464
+ /** ListAssetsResponse */
1465
+ ListAssetsResponse: {
1466
+ /** Assets */
1467
+ assets?: components["schemas"]["Asset"][];
1468
+ /**
1469
+ * Nextpagetoken
1470
+ * @default
1471
+ */
1472
+ nextPageToken?: string;
1473
+ };
1474
+ /**
1475
+ * ListOperationsResponse
1476
+ * @description A page of operations, newest first.
1477
+ */
1478
+ ListOperationsResponse: {
1479
+ /** Operations */
1480
+ operations: components["schemas"]["Operation"][];
1481
+ /**
1482
+ * Nextpagetoken
1483
+ * @description Token for the next page; absent when there are no more.
1484
+ */
1485
+ nextPageToken?: string | null;
1486
+ };
1487
+ /**
1488
+ * LogDepthBufferAsset
1489
+ * @description Inverted log-depth PNG (URL or inline asset) plus its decode range.
1490
+ */
1491
+ LogDepthBufferAsset: {
1492
+ /** @description Optional 8-bit grayscale PNG on the depth grid whose pixel value / 255 is the per-pixel depth confidence in [0, 1], as a URL or inline asset. */
1493
+ confidenceAsset?: components["schemas"]["TaskAsset"] | null;
1494
+ /** @description Inverted log-depth grayscale PNG, as a URL or inline asset. */
1495
+ logDepthAsset: components["schemas"]["TaskAsset"];
1496
+ /**
1497
+ * Zmin
1498
+ * @description Linear depth in world units encoded as white (1.0).
1499
+ */
1500
+ zMin: number;
1501
+ /**
1502
+ * Zmax
1503
+ * @description Linear depth in world units encoded as black (>0).
1504
+ */
1505
+ zMax: number;
1506
+ };
1507
+ /**
1508
+ * MeshAssetOutput
1509
+ * @description Asset output for tasks that return `files.meshes.mesh`.
1510
+ */
1511
+ MeshAssetOutput: {
1512
+ files: components["schemas"]["MeshAssetOutputFiles"];
1513
+ };
1514
+ /**
1515
+ * MeshAssetOutputFiles
1516
+ * @description Asset output files for mesh tasks.
1517
+ */
1518
+ MeshAssetOutputFiles: {
1519
+ meshes: components["schemas"]["MeshFiles"];
1520
+ };
1521
+ /**
1522
+ * MeshFiles
1523
+ * @description Mesh family containing the generic mesh role.
1524
+ */
1525
+ MeshFiles: {
1526
+ /**
1527
+ * Mesh
1528
+ * @description Generated mesh files.
1529
+ */
1530
+ mesh: string[];
1531
+ };
1532
+ /**
1533
+ * Operation
1534
+ * @description An asynchronous long-running task operation.
1535
+ */
1536
+ Operation: {
1537
+ /** Id */
1538
+ id: string;
1539
+ /** Ownerid */
1540
+ ownerId: string;
1541
+ /** Metadata */
1542
+ metadata?: {
1543
+ [key: string]: unknown;
1544
+ } | null;
1545
+ /** Done */
1546
+ done: boolean;
1547
+ error?: components["schemas"]["OperationError"] | null;
1548
+ /** Response */
1549
+ response?: {
1550
+ [key: string]: unknown;
1551
+ } | null;
1552
+ /** Expiresatsecs */
1553
+ expiresAtSecs?: number | null;
1554
+ /**
1555
+ * Createdatsecs
1556
+ * @description Unix seconds when the operation was created (output-only).
1557
+ */
1558
+ createdAtSecs?: number | null;
1559
+ /**
1560
+ * Name
1561
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
1562
+ *
1563
+ * ``owner_id`` is the owning account, so the public name is derived, not
1564
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
1565
+ * ignored when the LRO client deserializes a service response.
1566
+ */
1567
+ readonly name: string;
1568
+ };
1569
+ /**
1570
+ * OperationError
1571
+ * @description Error payload set on a failed operation.
1572
+ */
1573
+ OperationError: {
1574
+ /**
1575
+ * Code
1576
+ * @description Numeric status code; conventionally a google.rpc.Code value.
1577
+ */
1578
+ code?: number | null;
1579
+ /**
1580
+ * Message
1581
+ * @description Developer-readable error message in English.
1582
+ */
1583
+ message?: string | null;
1584
+ /**
1585
+ * Details
1586
+ * @description Structured error details, matching google.rpc.Status.details.
1587
+ */
1588
+ details?: {
1589
+ [key: string]: unknown;
1590
+ }[];
1591
+ };
1592
+ /**
1593
+ * OperationTrace
1594
+ * @description Public request/response data without the internal task record or raw LRO.
1595
+ */
1596
+ OperationTrace: {
1597
+ /** Operationid */
1598
+ operationId: string;
1599
+ /** Taskname */
1600
+ taskName: string;
1601
+ /** Taskversion */
1602
+ taskVersion: string;
1603
+ /** Request */
1604
+ request: {
1605
+ [key: string]: unknown;
1606
+ };
1607
+ /** Response */
1608
+ response?: {
1609
+ [key: string]: unknown;
1610
+ } | null;
1611
+ };
1612
+ /**
1613
+ * PinholeCamera
1614
+ * @description A posed pinhole camera.
1615
+ *
1616
+ * The axes convention of the pose is carried by
1617
+ * ``extrinsics.coordinate_system``.
1618
+ */
1619
+ PinholeCamera: {
1620
+ extrinsics: components["schemas"]["CoordinateFrame"];
1621
+ intrinsics: components["schemas"]["PinholeCameraIntrinsics"];
1622
+ };
1623
+ /**
1624
+ * PinholeCameraIntrinsics
1625
+ * @description Pinhole camera intrinsics in pixel coordinates (not normalized).
1626
+ *
1627
+ * Pixel coordinates have their origin (0, 0) at the top-left corner of the
1628
+ * image, +x right and +y down, so ``cx``/``cy`` measure from the top-left.
1629
+ * ``width`` and ``height`` are the image size in pixels the intrinsics
1630
+ * refer to. This is independent of the pose's ``coordinate_system``.
1631
+ */
1632
+ PinholeCameraIntrinsics: {
1633
+ /** Fx */
1634
+ fx: number;
1635
+ /** Fy */
1636
+ fy: number;
1637
+ /** Cx */
1638
+ cx: number;
1639
+ /** Cy */
1640
+ cy: number;
1641
+ /** Width */
1642
+ width: number;
1643
+ /** Height */
1644
+ height: number;
1645
+ };
1646
+ /**
1647
+ * PosedDepthAsset
1648
+ * @description A posed depth-only frame: a depth buffer with its camera.
1649
+ */
1650
+ PosedDepthAsset: {
1651
+ /** @description Source image as a URL or inline asset, or null (depth-only). */
1652
+ imageAsset?: components["schemas"]["TaskAsset"] | null;
1653
+ /** @description Optional alpha mask as a URL or inline asset: an 8-bit grayscale PNG on the image grid whose pixel value / 255 is the alpha in [0, 1] (1 = kept, 0 = excluded). Null when the frame carries no mask. */
1654
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1655
+ /** @description Camera-to-world pose and intrinsics. */
1656
+ camera: components["schemas"]["PinholeCamera"];
1657
+ /**
1658
+ * Depth
1659
+ * @description Depth buffer aligned to the camera.
1660
+ */
1661
+ depth: components["schemas"]["LogDepthBufferAsset"] | components["schemas"]["LinearDepthBufferAsset"];
1662
+ };
1663
+ /**
1664
+ * PosedRGBAAsset
1665
+ * @description A posed frame carrying both its RGB image and its alpha mask.
1666
+ */
1667
+ PosedRGBAAsset: {
1668
+ /** @description Source image as a URL or inline asset. */
1669
+ imageAsset: components["schemas"]["TaskAsset"];
1670
+ /** @description Alpha mask as a URL or inline asset: an 8-bit grayscale PNG on the image grid whose pixel value / 255 is the alpha in [0, 1] (1 = kept, 0 = excluded). */
1671
+ maskAsset: components["schemas"]["TaskAsset"];
1672
+ /** @description Camera-to-world pose and intrinsics. */
1673
+ camera: components["schemas"]["PinholeCamera"];
1674
+ /**
1675
+ * Depth
1676
+ * @description Optional depth buffer, as an inverted log-depth PNG (logDepthAsset) or a linear-depth EXR (depthAsset).
1677
+ */
1678
+ depth?: components["schemas"]["LogDepthBufferAsset"] | components["schemas"]["LinearDepthBufferAsset"] | null;
1679
+ };
1680
+ /**
1681
+ * PosedRGBAsset
1682
+ * @description A posed RGB frame: image plus its known camera.
1683
+ */
1684
+ PosedRGBAsset: {
1685
+ /** @description Source image as a URL or inline asset. */
1686
+ imageAsset: components["schemas"]["TaskAsset"];
1687
+ /** @description Optional alpha mask as a URL or inline asset: an 8-bit grayscale PNG on the image grid whose pixel value / 255 is the alpha in [0, 1] (1 = kept, 0 = excluded). Null when the frame carries no mask. */
1688
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1689
+ /** @description Camera-to-world pose and intrinsics. */
1690
+ camera: components["schemas"]["PinholeCamera"];
1691
+ /**
1692
+ * Depth
1693
+ * @description Optional depth buffer, as an inverted log-depth PNG (logDepthAsset) or a linear-depth EXR (depthAsset).
1694
+ */
1695
+ depth?: components["schemas"]["LogDepthBufferAsset"] | components["schemas"]["LinearDepthBufferAsset"] | null;
1696
+ };
1697
+ /**
1698
+ * PosedRGBDAsset
1699
+ * @description A posed frame carrying both its RGB image and its depth buffer.
1700
+ */
1701
+ PosedRGBDAsset: {
1702
+ /** @description Source image as a URL or inline asset. */
1703
+ imageAsset: components["schemas"]["TaskAsset"];
1704
+ /** @description Optional alpha mask as a URL or inline asset: an 8-bit grayscale PNG on the image grid whose pixel value / 255 is the alpha in [0, 1] (1 = kept, 0 = excluded). Null when the frame carries no mask. */
1705
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1706
+ /** @description Camera-to-world pose and intrinsics. */
1707
+ camera: components["schemas"]["PinholeCamera"];
1708
+ /**
1709
+ * Depth
1710
+ * @description Depth buffer aligned to the camera.
1711
+ */
1712
+ depth: components["schemas"]["LogDepthBufferAsset"] | components["schemas"]["LinearDepthBufferAsset"];
1713
+ };
1714
+ /**
1715
+ * ProducedBy
1716
+ * @description The task that produced this asset. Absent on an upload or import.
1717
+ */
1718
+ ProducedBy: {
1719
+ /**
1720
+ * Task
1721
+ * @description The task that produced it, e.g. ``image2DraftSplats``.
1722
+ */
1723
+ task?: string | null;
1724
+ /**
1725
+ * Operation
1726
+ * @description The Operation that produced it.
1727
+ */
1728
+ operation?: string | null;
1729
+ };
1730
+ /**
1731
+ * ResourceOrigin
1732
+ * @description Product surface that created a project resource.
1733
+ * @enum {string}
1734
+ */
1735
+ ResourceOrigin: "APPLET" | "DEVELOPER_API";
1736
+ /**
1737
+ * Splats2MeshAdvancedOptions
1738
+ * @description Advanced reconstruction controls for custom mesh generation.
1739
+ */
1740
+ Splats2MeshAdvancedOptions: {
1741
+ /**
1742
+ * Renderhw
1743
+ * @description Height and width of the main views rendered to measure the splat surface and texture it, in pixels.
1744
+ * @default 1024
1745
+ */
1746
+ renderHw?: number;
1747
+ /**
1748
+ * Renderhwsecondary
1749
+ * @description Height and width of the secondary views, in pixels. The anchor strategies sample extra cameras around each anchor and render them here, covering what the main views miss. `exterior_sphere` and a supplied camera list render no secondary views and ignore this.
1750
+ * @default 640
1751
+ */
1752
+ renderHwSecondary?: number;
1753
+ /**
1754
+ * Normalsource
1755
+ * @description Normals orient the implicit surface the mesh is extracted from. `depth` estimates them from the rendered depth; `render` aggregates the splats' own, which assumes each splat's local z axis points along the surface normal.
1756
+ * @default depth
1757
+ * @enum {string}
1758
+ */
1759
+ normalSource?: "depth" | "render";
1760
+ /**
1761
+ * Resolution
1762
+ * @description Resolution of the grid the implicit surface is built on, across the region's longest side. Powers of two only. This sets the finest detail the mesh can carry.
1763
+ * @default 512
1764
+ */
1765
+ resolution?: number;
1766
+ /**
1767
+ * Trimquantile
1768
+ * @description Drop vertices whose sample density falls below this quantile. Reconstruction closes the surface over regions it saw no samples in, and trimming cuts that invented skin back off. 0 keeps every vertex.
1769
+ * @default 0
1770
+ */
1771
+ trimQuantile?: number;
1772
+ };
1773
+ /**
1774
+ * Splats2MeshOrientedBoundingBox
1775
+ * @description Region to extract, as an oriented box in Three.js coordinates.
1776
+ */
1777
+ Splats2MeshOrientedBoundingBox: {
1778
+ /**
1779
+ * Center
1780
+ * @description Center of the region, in world space.
1781
+ */
1782
+ center: [
1783
+ number,
1784
+ number,
1785
+ number
1786
+ ];
1787
+ /**
1788
+ * Orientation
1789
+ * @description Rotation of the region away from the world axes, as an xyzw quaternion.
1790
+ */
1791
+ orientation: [
1792
+ number,
1793
+ number,
1794
+ number,
1795
+ number
1796
+ ];
1797
+ /**
1798
+ * Halfextents
1799
+ * @description Half the region's size along each of its own axes. All three must be positive.
1800
+ */
1801
+ halfExtents: [
1802
+ number,
1803
+ number,
1804
+ number
1805
+ ];
1806
+ };
1807
+ /**
1808
+ * Splats2MeshRequest
1809
+ * @description Body of a splats2Mesh request.
1810
+ */
1811
+ Splats2MeshRequest: {
1812
+ /**
1813
+ * Cameras
1814
+ * @description Cameras the splats are rendered from. The surface is reconstructed from those renders, so geometry no camera sees is not meshed. Name a strategy -- `auto_anchors` (the default) finds viewpoints in the scene's free space, `manual_anchors` takes them from the request, `exterior_sphere` rings the scene from outside for an object or turntable capture -- or pass a list of cameras to render as given, at most 512, sharing one width and height between 64 and 1024 that becomes the render resolution.
1815
+ */
1816
+ cameras?: components["schemas"]["PinholeCamera"][] | (components["schemas"]["CamerasManualAnchors"] | components["schemas"]["CamerasAutoAnchors"] | components["schemas"]["CamerasExteriorSphere"]) | null;
1817
+ /** @description Finer control over how the splats are rendered and how the surface is extracted. Omit for the defaults. */
1818
+ advancedOptions?: components["schemas"]["Splats2MeshAdvancedOptions"] | null;
1819
+ /** @description Region to extract, as an oriented box in Three.js coordinates. Omit to mesh the whole scene. */
1820
+ orientedBoundingBox?: components["schemas"]["Splats2MeshOrientedBoundingBox"] | null;
1821
+ /**
1822
+ * Targetfaces
1823
+ * @description Decimate the extracted mesh to at most this many faces. A target above the extracted count does nothing. Omit to keep every face.
1824
+ */
1825
+ targetFaces?: number | null;
1826
+ /**
1827
+ * Texturemode
1828
+ * @description Mesh appearance: 'image_texture' projects rendered views onto a UV atlas, 'vertex_color' bakes per-vertex colors, and 'none' leaves the mesh untextured.
1829
+ * @default image_texture
1830
+ * @enum {string}
1831
+ */
1832
+ textureMode?: "image_texture" | "vertex_color" | "none";
1833
+ /**
1834
+ * Texturesize
1835
+ * @description Height and width of the texture atlas, in pixels, for `image_texture` mode. One rendered view plus its border has to fit, so this must be at least 2% above the render size in play: the larger render bank under the anchor strategies, `renderHw` under `exterior_sphere`, or the supplied cameras' own size.
1836
+ * @default 4096
1837
+ */
1838
+ textureSize?: number;
1839
+ /** @description The Gaussian splat scene (.spz) to mesh. Inline base64 must carry a `data:` prefix to declare its media type: asset creation otherwise infers the type from the bytes, and the sniffer knows image formats only. */
1840
+ splatAsset: components["schemas"]["TaskAsset"];
1841
+ };
1842
+ /**
1843
+ * Splats2MeshResponse
1844
+ * @description Public response projected into the completed Operation.
1845
+ */
1846
+ Splats2MeshResponse: {
1847
+ /** @description The generated mesh. The GLB is at `files.meshes.mesh`. */
1848
+ assetOutput?: components["schemas"]["MeshAssetOutput"] | null;
1849
+ /**
1850
+ * Anchorpositions
1851
+ * @description Anchor positions the cameras were generated from, in Three.js coordinates. Null when no anchors were used: cameras were supplied directly, or `exterior_sphere` was chosen.
1852
+ */
1853
+ anchorPositions?: [
1854
+ number,
1855
+ number,
1856
+ number
1857
+ ][] | null;
1858
+ /**
1859
+ * Metadata
1860
+ * @deprecated
1861
+ * @description Deprecated runtime diagnostics. Informational only -- keys are not part of the contract and may change.
1862
+ */
1863
+ metadata?: {
1864
+ [key: string]: string;
1865
+ };
1866
+ };
1867
+ /** Splats2MeshResponseOperation */
1868
+ Splats2MeshResponseOperation: {
1869
+ /** Id */
1870
+ id: string;
1871
+ /** Ownerid */
1872
+ ownerId: string;
1873
+ /** Metadata */
1874
+ metadata?: {
1875
+ [key: string]: unknown;
1876
+ } | null;
1877
+ /** Done */
1878
+ done: boolean;
1879
+ error?: components["schemas"]["OperationError"] | null;
1880
+ /** @description Task response payload when the operation is done. */
1881
+ response?: components["schemas"]["Splats2MeshResponse"] | null;
1882
+ /** Expiresatsecs */
1883
+ expiresAtSecs?: number | null;
1884
+ /**
1885
+ * Createdatsecs
1886
+ * @description Unix seconds when the operation was created (output-only).
1887
+ */
1888
+ createdAtSecs?: number | null;
1889
+ /**
1890
+ * Name
1891
+ * @description Canonical resource name ``accounts/{account}/operations/{operation}``.
1892
+ *
1893
+ * ``owner_id`` is the owning account, so the public name is derived, not
1894
+ * stored. Output-only: serialized for clients (AIP-style), and harmlessly
1895
+ * ignored when the LRO client deserializes a service response.
1896
+ */
1897
+ readonly name: string;
1898
+ };
1899
+ /**
1900
+ * TaskAsset
1901
+ * @description Media input supplied by asset id, inline base64, or public URL.
1902
+ */
1903
+ TaskAsset: {
1904
+ /**
1905
+ * Assetid
1906
+ * @description Account-owned asset id, e.g. `asset_...`.
1907
+ */
1908
+ assetId?: string | null;
1909
+ /**
1910
+ * Base64
1911
+ * @description Base64-encoded media bytes, with or without a data URL prefix. Decoded size must be less than 10 MiB.
1912
+ */
1913
+ base64?: string | null;
1914
+ /**
1915
+ * Url
1916
+ * @description Public HTTP(S) URL containing the media.
1917
+ */
1918
+ url?: string | null;
1919
+ };
1920
+ /**
1921
+ * UploadGrant
1922
+ * @description Permission to upload one part's bytes, straight to the store.
1923
+ */
1924
+ UploadGrant: {
1925
+ /** Role */
1926
+ role: string;
1927
+ /**
1928
+ * Method
1929
+ * @description HTTP verb to use for the upload, e.g. PUT.
1930
+ */
1931
+ method: string;
1932
+ /** Url */
1933
+ url: string;
1934
+ /**
1935
+ * Headers
1936
+ * @description Headers the client MUST include on the upload request.
1937
+ */
1938
+ headers?: {
1939
+ [key: string]: string;
1940
+ };
1941
+ /**
1942
+ * Expiresat
1943
+ * Format: date-time
1944
+ */
1945
+ expiresAt: string;
1946
+ };
1947
+ /** ValidationError */
1948
+ ValidationError: {
1949
+ /** Location */
1950
+ loc: (string | number)[];
1951
+ /** Message */
1952
+ msg: string;
1953
+ /** Error Type */
1954
+ type: string;
1955
+ /** Input */
1956
+ input?: unknown;
1957
+ /** Context */
1958
+ ctx?: Record<string, never>;
1959
+ };
1960
+ /**
1961
+ * WaitOperationRequest
1962
+ * @description Body of ``POST /api/v2/operations/{operation}:wait``.
1963
+ */
1964
+ WaitOperationRequest: {
1965
+ /**
1966
+ * Timeoutsecs
1967
+ * @description Seconds to block waiting for the operation to finish, capped server-side at 30; omit to use the cap. Best-effort: the operation may still be running when this returns.
1968
+ */
1969
+ timeoutSecs?: number | null;
1970
+ };
1971
+ };
1972
+ responses: never;
1973
+ parameters: never;
1974
+ requestBodies: never;
1975
+ headers: never;
1976
+ pathItems: never;
1977
+ }
1978
+ export type Asset = components['schemas']['Asset'];
1979
+ export type AssetCreate = components['schemas']['AssetCreate'];
1980
+ export type AssetPart = components['schemas']['AssetPart'];
1981
+ export type AssetPartDeclaration = components['schemas']['AssetPartDeclaration'];
1982
+ export type AssetState = components['schemas']['AssetState'];
1983
+ export type AtlasChiselModelParameters = components['schemas']['AtlasChiselModelParameters'];
1984
+ export type AtlasChiselRequest = components['schemas']['AtlasChiselRequest'];
1985
+ export type AtlasChiselResponse = components['schemas']['AtlasChiselResponse'];
1986
+ export type AtlasChiselResponseOperation = components['schemas']['AtlasChiselResponseOperation'];
1987
+ export type AtlasGenerateModelParameters = components['schemas']['AtlasGenerateModelParameters'];
1988
+ export type AtlasGenerateRequest = components['schemas']['AtlasGenerateRequest'];
1989
+ export type AtlasGenerateResponse = components['schemas']['AtlasGenerateResponse'];
1990
+ export type AtlasGenerateResponseOperation = components['schemas']['AtlasGenerateResponseOperation'];
1991
+ export type AtlasMaskedModelParameters = components['schemas']['AtlasMaskedModelParameters'];
1992
+ export type AtlasMaskedRequest = components['schemas']['AtlasMaskedRequest'];
1993
+ export type AtlasMaskedResponse = components['schemas']['AtlasMaskedResponse'];
1994
+ export type AtlasMaskedResponseOperation = components['schemas']['AtlasMaskedResponseOperation'];
1995
+ export type AtlasTextToImageRequest = components['schemas']['AtlasTextToImageRequest'];
1996
+ export type AtlasTextToImageResponse = components['schemas']['AtlasTextToImageResponse'];
1997
+ export type AtlasTextToImageResponseOperation = components['schemas']['AtlasTextToImageResponseOperation'];
1998
+ export type CamerasAutoAnchors = components['schemas']['CamerasAutoAnchors'];
1999
+ export type CamerasExteriorSphere = components['schemas']['CamerasExteriorSphere'];
2000
+ export type CamerasManualAnchors = components['schemas']['CamerasManualAnchors'];
2001
+ export type CancelOperationRequest = components['schemas']['CancelOperationRequest'];
2002
+ export type CompleteUploadRequest = components['schemas']['CompleteUploadRequest'];
2003
+ export type CoordinateFrame = components['schemas']['CoordinateFrame'];
2004
+ export type CreateAssetRequest = components['schemas']['CreateAssetRequest'];
2005
+ export type CreateAssetResponse = components['schemas']['CreateAssetResponse'];
2006
+ export type CreateReadPrefixResponse = components['schemas']['CreateReadPrefixResponse'];
2007
+ export type CreateReadUrlResponse = components['schemas']['CreateReadUrlResponse'];
2008
+ export type CreateUploadUrlRequest = components['schemas']['CreateUploadUrlRequest'];
2009
+ export type CreateUploadUrlResponse = components['schemas']['CreateUploadUrlResponse'];
2010
+ export type CreateUploadUrlsRequest = components['schemas']['CreateUploadUrlsRequest'];
2011
+ export type CreateUploadUrlsResponse = components['schemas']['CreateUploadUrlsResponse'];
2012
+ export type Empty = components['schemas']['Empty'];
2013
+ export type FrameRGBAsset = components['schemas']['FrameRGBAsset'];
2014
+ export type HTTPValidationError = components['schemas']['HTTPValidationError'];
2015
+ export type ImageCollectionAssetOutput = components['schemas']['ImageCollectionAssetOutput'];
2016
+ export type ImageCollectionAssetOutputFiles = components['schemas']['ImageCollectionAssetOutputFiles'];
2017
+ export type ImageCollectionFiles = components['schemas']['ImageCollectionFiles'];
2018
+ export type Images2PosedRGBDPerImageResult = components['schemas']['Images2PosedRGBDPerImageResult'];
2019
+ export type Images2PosedRGBDRequest = components['schemas']['Images2PosedRGBDRequest'];
2020
+ export type Images2PosedRGBDResponse = components['schemas']['Images2PosedRGBDResponse'];
2021
+ export type Images2PosedRGBDResponseOperation = components['schemas']['Images2PosedRGBDResponseOperation'];
2022
+ export type LinearDepthBufferAsset = components['schemas']['LinearDepthBufferAsset'];
2023
+ export type ListAssetsResponse = components['schemas']['ListAssetsResponse'];
2024
+ export type ListOperationsResponse = components['schemas']['ListOperationsResponse'];
2025
+ export type LogDepthBufferAsset = components['schemas']['LogDepthBufferAsset'];
2026
+ export type MeshAssetOutput = components['schemas']['MeshAssetOutput'];
2027
+ export type MeshAssetOutputFiles = components['schemas']['MeshAssetOutputFiles'];
2028
+ export type MeshFiles = components['schemas']['MeshFiles'];
2029
+ export type Operation = components['schemas']['Operation'];
2030
+ export type OperationError = components['schemas']['OperationError'];
2031
+ export type OperationTrace = components['schemas']['OperationTrace'];
2032
+ export type PinholeCamera = components['schemas']['PinholeCamera'];
2033
+ export type PinholeCameraIntrinsics = components['schemas']['PinholeCameraIntrinsics'];
2034
+ export type PosedDepthAsset = components['schemas']['PosedDepthAsset'];
2035
+ export type PosedRGBAAsset = components['schemas']['PosedRGBAAsset'];
2036
+ export type PosedRGBAsset = components['schemas']['PosedRGBAsset'];
2037
+ export type PosedRGBDAsset = components['schemas']['PosedRGBDAsset'];
2038
+ export type ProducedBy = components['schemas']['ProducedBy'];
2039
+ export type ResourceOrigin = components['schemas']['ResourceOrigin'];
2040
+ export type Splats2MeshAdvancedOptions = components['schemas']['Splats2MeshAdvancedOptions'];
2041
+ export type Splats2MeshOrientedBoundingBox = components['schemas']['Splats2MeshOrientedBoundingBox'];
2042
+ export type Splats2MeshRequest = components['schemas']['Splats2MeshRequest'];
2043
+ export type Splats2MeshResponse = components['schemas']['Splats2MeshResponse'];
2044
+ export type Splats2MeshResponseOperation = components['schemas']['Splats2MeshResponseOperation'];
2045
+ export type TaskAsset = components['schemas']['TaskAsset'];
2046
+ export type UploadGrant = components['schemas']['UploadGrant'];
2047
+ export type ValidationError = components['schemas']['ValidationError'];
2048
+ export type WaitOperationRequest = components['schemas']['WaitOperationRequest'];
2049
+ export type $defs = Record<string, never>;
2050
+ export interface operations {
2051
+ api_health_api_v2_health_get: {
2052
+ parameters: {
2053
+ query?: never;
2054
+ header?: never;
2055
+ path?: never;
2056
+ cookie?: never;
2057
+ };
2058
+ requestBody?: never;
2059
+ responses: {
2060
+ /** @description Successful Response */
2061
+ 200: {
2062
+ headers: {
2063
+ [name: string]: unknown;
2064
+ };
2065
+ content: {
2066
+ "application/json": {
2067
+ [key: string]: string;
2068
+ };
2069
+ };
2070
+ };
2071
+ };
2072
+ };
2073
+ submit_atlasChisel_api_v2_tasks_atlasChisel_post: {
2074
+ parameters: {
2075
+ query?: {
2076
+ /** @description Block for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running. */
2077
+ wait?: boolean;
2078
+ };
2079
+ header?: {
2080
+ /** @description Optional idempotency key. */
2081
+ "Idempotency-Key"?: string | null;
2082
+ };
2083
+ path?: never;
2084
+ cookie?: never;
2085
+ };
2086
+ requestBody: {
2087
+ content: {
2088
+ "application/json": components["schemas"]["AtlasChiselRequest"];
2089
+ };
2090
+ };
2091
+ responses: {
2092
+ /** @description Successful Response */
2093
+ 201: {
2094
+ headers: {
2095
+ [name: string]: unknown;
2096
+ };
2097
+ content: {
2098
+ "application/json": components["schemas"]["AtlasChiselResponseOperation"];
2099
+ };
2100
+ };
2101
+ /** @description Validation Error */
2102
+ 422: {
2103
+ headers: {
2104
+ [name: string]: unknown;
2105
+ };
2106
+ content: {
2107
+ "application/json": components["schemas"]["HTTPValidationError"];
2108
+ };
2109
+ };
2110
+ };
2111
+ };
2112
+ submit_atlasGenerate_api_v2_tasks_atlasGenerate_post: {
2113
+ parameters: {
2114
+ query?: {
2115
+ /** @description Block for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running. */
2116
+ wait?: boolean;
2117
+ };
2118
+ header?: {
2119
+ /** @description Optional idempotency key. */
2120
+ "Idempotency-Key"?: string | null;
2121
+ };
2122
+ path?: never;
2123
+ cookie?: never;
2124
+ };
2125
+ requestBody: {
2126
+ content: {
2127
+ "application/json": components["schemas"]["AtlasGenerateRequest"];
2128
+ };
2129
+ };
2130
+ responses: {
2131
+ /** @description Successful Response */
2132
+ 201: {
2133
+ headers: {
2134
+ [name: string]: unknown;
2135
+ };
2136
+ content: {
2137
+ "application/json": components["schemas"]["AtlasGenerateResponseOperation"];
2138
+ };
2139
+ };
2140
+ /** @description Validation Error */
2141
+ 422: {
2142
+ headers: {
2143
+ [name: string]: unknown;
2144
+ };
2145
+ content: {
2146
+ "application/json": components["schemas"]["HTTPValidationError"];
2147
+ };
2148
+ };
2149
+ };
2150
+ };
2151
+ submit_atlasMasked_api_v2_tasks_atlasMasked_post: {
2152
+ parameters: {
2153
+ query?: {
2154
+ /** @description Block for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running. */
2155
+ wait?: boolean;
2156
+ };
2157
+ header?: {
2158
+ /** @description Optional idempotency key. */
2159
+ "Idempotency-Key"?: string | null;
2160
+ };
2161
+ path?: never;
2162
+ cookie?: never;
2163
+ };
2164
+ requestBody: {
2165
+ content: {
2166
+ "application/json": components["schemas"]["AtlasMaskedRequest"];
2167
+ };
2168
+ };
2169
+ responses: {
2170
+ /** @description Successful Response */
2171
+ 201: {
2172
+ headers: {
2173
+ [name: string]: unknown;
2174
+ };
2175
+ content: {
2176
+ "application/json": components["schemas"]["AtlasMaskedResponseOperation"];
2177
+ };
2178
+ };
2179
+ /** @description Validation Error */
2180
+ 422: {
2181
+ headers: {
2182
+ [name: string]: unknown;
2183
+ };
2184
+ content: {
2185
+ "application/json": components["schemas"]["HTTPValidationError"];
2186
+ };
2187
+ };
2188
+ };
2189
+ };
2190
+ submit_atlasTextToImage_api_v2_tasks_atlasTextToImage_post: {
2191
+ parameters: {
2192
+ query?: {
2193
+ /** @description Block for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running. */
2194
+ wait?: boolean;
2195
+ };
2196
+ header?: {
2197
+ /** @description Optional idempotency key. */
2198
+ "Idempotency-Key"?: string | null;
2199
+ };
2200
+ path?: never;
2201
+ cookie?: never;
2202
+ };
2203
+ requestBody: {
2204
+ content: {
2205
+ "application/json": components["schemas"]["AtlasTextToImageRequest"];
2206
+ };
2207
+ };
2208
+ responses: {
2209
+ /** @description Successful Response */
2210
+ 201: {
2211
+ headers: {
2212
+ [name: string]: unknown;
2213
+ };
2214
+ content: {
2215
+ "application/json": components["schemas"]["AtlasTextToImageResponseOperation"];
2216
+ };
2217
+ };
2218
+ /** @description Validation Error */
2219
+ 422: {
2220
+ headers: {
2221
+ [name: string]: unknown;
2222
+ };
2223
+ content: {
2224
+ "application/json": components["schemas"]["HTTPValidationError"];
2225
+ };
2226
+ };
2227
+ };
2228
+ };
2229
+ submit_images2PosedRGBD_api_v2_tasks_images2PosedRGBD_post: {
2230
+ parameters: {
2231
+ query?: {
2232
+ /** @description Block for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running. */
2233
+ wait?: boolean;
2234
+ };
2235
+ header?: {
2236
+ /** @description Optional idempotency key. */
2237
+ "Idempotency-Key"?: string | null;
2238
+ };
2239
+ path?: never;
2240
+ cookie?: never;
2241
+ };
2242
+ requestBody: {
2243
+ content: {
2244
+ "application/json": components["schemas"]["Images2PosedRGBDRequest"];
2245
+ };
2246
+ };
2247
+ responses: {
2248
+ /** @description Successful Response */
2249
+ 201: {
2250
+ headers: {
2251
+ [name: string]: unknown;
2252
+ };
2253
+ content: {
2254
+ "application/json": components["schemas"]["Images2PosedRGBDResponseOperation"];
2255
+ };
2256
+ };
2257
+ /** @description Validation Error */
2258
+ 422: {
2259
+ headers: {
2260
+ [name: string]: unknown;
2261
+ };
2262
+ content: {
2263
+ "application/json": components["schemas"]["HTTPValidationError"];
2264
+ };
2265
+ };
2266
+ };
2267
+ };
2268
+ submit_splats2Mesh_api_v2_tasks_splats2Mesh_post: {
2269
+ parameters: {
2270
+ query?: {
2271
+ /** @description Block for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running. */
2272
+ wait?: boolean;
2273
+ };
2274
+ header?: {
2275
+ /** @description Optional idempotency key. */
2276
+ "Idempotency-Key"?: string | null;
2277
+ };
2278
+ path?: never;
2279
+ cookie?: never;
2280
+ };
2281
+ requestBody: {
2282
+ content: {
2283
+ "application/json": components["schemas"]["Splats2MeshRequest"];
2284
+ };
2285
+ };
2286
+ responses: {
2287
+ /** @description Successful Response */
2288
+ 201: {
2289
+ headers: {
2290
+ [name: string]: unknown;
2291
+ };
2292
+ content: {
2293
+ "application/json": components["schemas"]["Splats2MeshResponseOperation"];
2294
+ };
2295
+ };
2296
+ /** @description Validation Error */
2297
+ 422: {
2298
+ headers: {
2299
+ [name: string]: unknown;
2300
+ };
2301
+ content: {
2302
+ "application/json": components["schemas"]["HTTPValidationError"];
2303
+ };
2304
+ };
2305
+ };
2306
+ };
2307
+ list_operations_api_v2_operations_get: {
2308
+ parameters: {
2309
+ query?: {
2310
+ origin?: components["schemas"]["ResourceOrigin"] | null;
2311
+ pageSize?: number;
2312
+ pageToken?: string | null;
2313
+ };
2314
+ header?: never;
2315
+ path?: never;
2316
+ cookie?: never;
2317
+ };
2318
+ requestBody?: never;
2319
+ responses: {
2320
+ /** @description Successful Response */
2321
+ 200: {
2322
+ headers: {
2323
+ [name: string]: unknown;
2324
+ };
2325
+ content: {
2326
+ "application/json": components["schemas"]["ListOperationsResponse"];
2327
+ };
2328
+ };
2329
+ /** @description Validation Error */
2330
+ 422: {
2331
+ headers: {
2332
+ [name: string]: unknown;
2333
+ };
2334
+ content: {
2335
+ "application/json": components["schemas"]["HTTPValidationError"];
2336
+ };
2337
+ };
2338
+ };
2339
+ };
2340
+ get_operation_trace_api_v2_operations__operation__trace_get: {
2341
+ parameters: {
2342
+ query?: never;
2343
+ header?: never;
2344
+ path: {
2345
+ operation: string;
2346
+ };
2347
+ cookie?: never;
2348
+ };
2349
+ requestBody?: never;
2350
+ responses: {
2351
+ /** @description Successful Response */
2352
+ 200: {
2353
+ headers: {
2354
+ [name: string]: unknown;
2355
+ };
2356
+ content: {
2357
+ "application/json": components["schemas"]["OperationTrace"];
2358
+ };
2359
+ };
2360
+ /** @description Validation Error */
2361
+ 422: {
2362
+ headers: {
2363
+ [name: string]: unknown;
2364
+ };
2365
+ content: {
2366
+ "application/json": components["schemas"]["HTTPValidationError"];
2367
+ };
2368
+ };
2369
+ };
2370
+ };
2371
+ wait_operation_api_v2_operations__operation__wait_post: {
2372
+ parameters: {
2373
+ query?: never;
2374
+ header?: never;
2375
+ path: {
2376
+ operation: string;
2377
+ };
2378
+ cookie?: never;
2379
+ };
2380
+ requestBody?: {
2381
+ content: {
2382
+ "application/json": components["schemas"]["WaitOperationRequest"] | null;
2383
+ };
2384
+ };
2385
+ responses: {
2386
+ /** @description Successful Response */
2387
+ 200: {
2388
+ headers: {
2389
+ [name: string]: unknown;
2390
+ };
2391
+ content: {
2392
+ "application/json": components["schemas"]["Operation"];
2393
+ };
2394
+ };
2395
+ /** @description Validation Error */
2396
+ 422: {
2397
+ headers: {
2398
+ [name: string]: unknown;
2399
+ };
2400
+ content: {
2401
+ "application/json": components["schemas"]["HTTPValidationError"];
2402
+ };
2403
+ };
2404
+ };
2405
+ };
2406
+ cancel_operation_api_v2_operations__operation__cancel_post: {
2407
+ parameters: {
2408
+ query?: never;
2409
+ header?: never;
2410
+ path: {
2411
+ operation: string;
2412
+ };
2413
+ cookie?: never;
2414
+ };
2415
+ requestBody?: {
2416
+ content: {
2417
+ "application/json": components["schemas"]["CancelOperationRequest"] | null;
2418
+ };
2419
+ };
2420
+ responses: {
2421
+ /** @description Successful Response */
2422
+ 200: {
2423
+ headers: {
2424
+ [name: string]: unknown;
2425
+ };
2426
+ content: {
2427
+ "application/json": components["schemas"]["Operation"];
2428
+ };
2429
+ };
2430
+ /** @description Validation Error */
2431
+ 422: {
2432
+ headers: {
2433
+ [name: string]: unknown;
2434
+ };
2435
+ content: {
2436
+ "application/json": components["schemas"]["HTTPValidationError"];
2437
+ };
2438
+ };
2439
+ };
2440
+ };
2441
+ get_operation_api_v2_operations__operation__get: {
2442
+ parameters: {
2443
+ query?: {
2444
+ /** @description Block for the operation to finish before returning, up to the server wait cap. */
2445
+ wait?: boolean;
2446
+ };
2447
+ header?: never;
2448
+ path: {
2449
+ operation: string;
2450
+ };
2451
+ cookie?: never;
2452
+ };
2453
+ requestBody?: never;
2454
+ responses: {
2455
+ /** @description Successful Response */
2456
+ 200: {
2457
+ headers: {
2458
+ [name: string]: unknown;
2459
+ };
2460
+ content: {
2461
+ "application/json": components["schemas"]["Operation"];
2462
+ };
2463
+ };
2464
+ /** @description Validation Error */
2465
+ 422: {
2466
+ headers: {
2467
+ [name: string]: unknown;
2468
+ };
2469
+ content: {
2470
+ "application/json": components["schemas"]["HTTPValidationError"];
2471
+ };
2472
+ };
2473
+ };
2474
+ };
2475
+ list_assets_api_v2_assets_get: {
2476
+ parameters: {
2477
+ query?: {
2478
+ origin?: components["schemas"]["ResourceOrigin"] | null;
2479
+ pageSize?: number;
2480
+ pageToken?: string | null;
2481
+ };
2482
+ header?: never;
2483
+ path?: never;
2484
+ cookie?: never;
2485
+ };
2486
+ requestBody?: never;
2487
+ responses: {
2488
+ /** @description Successful Response */
2489
+ 200: {
2490
+ headers: {
2491
+ [name: string]: unknown;
2492
+ };
2493
+ content: {
2494
+ "application/json": components["schemas"]["ListAssetsResponse"];
2495
+ };
2496
+ };
2497
+ /** @description Validation Error */
2498
+ 422: {
2499
+ headers: {
2500
+ [name: string]: unknown;
2501
+ };
2502
+ content: {
2503
+ "application/json": components["schemas"]["HTTPValidationError"];
2504
+ };
2505
+ };
2506
+ };
2507
+ };
2508
+ create_asset_api_v2_assets_post: {
2509
+ parameters: {
2510
+ query?: never;
2511
+ header?: never;
2512
+ path?: never;
2513
+ cookie?: never;
2514
+ };
2515
+ requestBody: {
2516
+ content: {
2517
+ "application/json": components["schemas"]["CreateAssetRequest"];
2518
+ };
2519
+ };
2520
+ responses: {
2521
+ /** @description Successful Response */
2522
+ 201: {
2523
+ headers: {
2524
+ [name: string]: unknown;
2525
+ };
2526
+ content: {
2527
+ "application/json": components["schemas"]["CreateAssetResponse"];
2528
+ };
2529
+ };
2530
+ /** @description Validation Error */
2531
+ 422: {
2532
+ headers: {
2533
+ [name: string]: unknown;
2534
+ };
2535
+ content: {
2536
+ "application/json": components["schemas"]["HTTPValidationError"];
2537
+ };
2538
+ };
2539
+ };
2540
+ };
2541
+ get_asset_api_v2_assets__asset__get: {
2542
+ parameters: {
2543
+ query?: never;
2544
+ header?: never;
2545
+ path: {
2546
+ asset: string;
2547
+ };
2548
+ cookie?: never;
2549
+ };
2550
+ requestBody?: never;
2551
+ responses: {
2552
+ /** @description Successful Response */
2553
+ 200: {
2554
+ headers: {
2555
+ [name: string]: unknown;
2556
+ };
2557
+ content: {
2558
+ "application/json": components["schemas"]["Asset"];
2559
+ };
2560
+ };
2561
+ /** @description Validation Error */
2562
+ 422: {
2563
+ headers: {
2564
+ [name: string]: unknown;
2565
+ };
2566
+ content: {
2567
+ "application/json": components["schemas"]["HTTPValidationError"];
2568
+ };
2569
+ };
2570
+ };
2571
+ };
2572
+ delete_asset_api_v2_assets__asset__delete: {
2573
+ parameters: {
2574
+ query?: never;
2575
+ header?: never;
2576
+ path: {
2577
+ asset: string;
2578
+ };
2579
+ cookie?: never;
2580
+ };
2581
+ requestBody?: never;
2582
+ responses: {
2583
+ /** @description Successful Response */
2584
+ 200: {
2585
+ headers: {
2586
+ [name: string]: unknown;
2587
+ };
2588
+ content: {
2589
+ "application/json": components["schemas"]["Empty"];
2590
+ };
2591
+ };
2592
+ /** @description Validation Error */
2593
+ 422: {
2594
+ headers: {
2595
+ [name: string]: unknown;
2596
+ };
2597
+ content: {
2598
+ "application/json": components["schemas"]["HTTPValidationError"];
2599
+ };
2600
+ };
2601
+ };
2602
+ };
2603
+ create_upload_url_api_v2_assets__asset__createUploadUrl_post: {
2604
+ parameters: {
2605
+ query?: never;
2606
+ header?: never;
2607
+ path: {
2608
+ asset: string;
2609
+ };
2610
+ cookie?: never;
2611
+ };
2612
+ requestBody: {
2613
+ content: {
2614
+ "application/json": components["schemas"]["CreateUploadUrlRequest"];
2615
+ };
2616
+ };
2617
+ responses: {
2618
+ /** @description Successful Response */
2619
+ 200: {
2620
+ headers: {
2621
+ [name: string]: unknown;
2622
+ };
2623
+ content: {
2624
+ "application/json": components["schemas"]["CreateUploadUrlResponse"];
2625
+ };
2626
+ };
2627
+ /** @description Validation Error */
2628
+ 422: {
2629
+ headers: {
2630
+ [name: string]: unknown;
2631
+ };
2632
+ content: {
2633
+ "application/json": components["schemas"]["HTTPValidationError"];
2634
+ };
2635
+ };
2636
+ };
2637
+ };
2638
+ create_read_url_api_v2_assets__asset__createReadUrl_post: {
2639
+ parameters: {
2640
+ query?: never;
2641
+ header?: never;
2642
+ path: {
2643
+ asset: string;
2644
+ };
2645
+ cookie?: never;
2646
+ };
2647
+ requestBody?: never;
2648
+ responses: {
2649
+ /** @description Successful Response */
2650
+ 200: {
2651
+ headers: {
2652
+ [name: string]: unknown;
2653
+ };
2654
+ content: {
2655
+ "application/json": components["schemas"]["CreateReadUrlResponse"];
2656
+ };
2657
+ };
2658
+ /** @description Validation Error */
2659
+ 422: {
2660
+ headers: {
2661
+ [name: string]: unknown;
2662
+ };
2663
+ content: {
2664
+ "application/json": components["schemas"]["HTTPValidationError"];
2665
+ };
2666
+ };
2667
+ };
2668
+ };
2669
+ create_upload_urls_api_v2_assets__asset__createUploadUrls_post: {
2670
+ parameters: {
2671
+ query?: never;
2672
+ header?: never;
2673
+ path: {
2674
+ asset: string;
2675
+ };
2676
+ cookie?: never;
2677
+ };
2678
+ requestBody: {
2679
+ content: {
2680
+ "application/json": components["schemas"]["CreateUploadUrlsRequest"];
2681
+ };
2682
+ };
2683
+ responses: {
2684
+ /** @description Successful Response */
2685
+ 200: {
2686
+ headers: {
2687
+ [name: string]: unknown;
2688
+ };
2689
+ content: {
2690
+ "application/json": components["schemas"]["CreateUploadUrlsResponse"];
2691
+ };
2692
+ };
2693
+ /** @description Validation Error */
2694
+ 422: {
2695
+ headers: {
2696
+ [name: string]: unknown;
2697
+ };
2698
+ content: {
2699
+ "application/json": components["schemas"]["HTTPValidationError"];
2700
+ };
2701
+ };
2702
+ };
2703
+ };
2704
+ complete_upload_api_v2_assets__asset__completeUpload_post: {
2705
+ parameters: {
2706
+ query?: never;
2707
+ header?: never;
2708
+ path: {
2709
+ asset: string;
2710
+ };
2711
+ cookie?: never;
2712
+ };
2713
+ requestBody: {
2714
+ content: {
2715
+ "application/json": components["schemas"]["CompleteUploadRequest"];
2716
+ };
2717
+ };
2718
+ responses: {
2719
+ /** @description Successful Response */
2720
+ 200: {
2721
+ headers: {
2722
+ [name: string]: unknown;
2723
+ };
2724
+ content: {
2725
+ "application/json": components["schemas"]["Asset"];
2726
+ };
2727
+ };
2728
+ /** @description Validation Error */
2729
+ 422: {
2730
+ headers: {
2731
+ [name: string]: unknown;
2732
+ };
2733
+ content: {
2734
+ "application/json": components["schemas"]["HTTPValidationError"];
2735
+ };
2736
+ };
2737
+ };
2738
+ };
2739
+ create_read_prefix_api_v2_assets_createReadPrefix_post: {
2740
+ parameters: {
2741
+ query?: never;
2742
+ header?: never;
2743
+ path?: never;
2744
+ cookie?: never;
2745
+ };
2746
+ requestBody?: never;
2747
+ responses: {
2748
+ /** @description Successful Response */
2749
+ 200: {
2750
+ headers: {
2751
+ [name: string]: unknown;
2752
+ };
2753
+ content: {
2754
+ "application/json": components["schemas"]["CreateReadPrefixResponse"];
2755
+ };
2756
+ };
2757
+ };
2758
+ };
2759
+ }
2760
+ //# sourceMappingURL=developer-api.gen.d.ts.map