@worldlabsai/client 0.4.0 → 0.5.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.
@@ -106,6 +106,23 @@ export interface paths {
106
106
  patch?: never;
107
107
  trace?: never;
108
108
  };
109
+ "/api/v2/tasks:posedImages2Splats": {
110
+ parameters: {
111
+ query?: never;
112
+ header?: never;
113
+ path?: never;
114
+ cookie?: never;
115
+ };
116
+ get?: never;
117
+ put?: never;
118
+ /** Submit the posedImages2Splats task */
119
+ post: operations["submit_posedImages2Splats_api_v2_tasks_posedImages2Splats_post"];
120
+ delete?: never;
121
+ options?: never;
122
+ head?: never;
123
+ patch?: never;
124
+ trace?: never;
125
+ };
109
126
  "/api/v2/tasks:splats2Mesh": {
110
127
  parameters: {
111
128
  query?: never;
@@ -607,20 +624,37 @@ export interface components {
607
624
  * @enum {string}
608
625
  */
609
626
  AssetState: "CREATED" | "UPLOADING" | "READY" | "DELETED";
627
+ /**
628
+ * AtlasChiselContextFrameAsset
629
+ * @description A context frame: its camera plus a depth, an image, or both.
630
+ */
631
+ AtlasChiselContextFrameAsset: {
632
+ /** @description Source image as a URL or inline asset, or null (depth-only). */
633
+ imageAsset?: components["schemas"]["TaskAsset"] | null;
634
+ /** @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. */
635
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
636
+ /** @description Camera-to-world pose and intrinsics. */
637
+ camera: components["schemas"]["PinholeCamera"];
638
+ /**
639
+ * Depth
640
+ * @description Depth buffer aligned to the camera, with an optional mask; null for an image-only frame.
641
+ */
642
+ depth?: components["schemas"]["MaskedLogDepthBufferAsset"] | components["schemas"]["MaskedLinearDepthBufferAsset"] | null;
643
+ };
610
644
  /**
611
645
  * AtlasChiselModelParameters
612
- * @description Model-specific parameters forwarded to the atlasChisel servable.
646
+ * @description Sampling controls for atlasChisel.
613
647
  */
614
648
  AtlasChiselModelParameters: {
615
649
  /**
616
650
  * Seed
617
- * @description RNG seed forwarded to the servable when set.
651
+ * @description Random seed for image generation.
618
652
  * @default 42
619
653
  */
620
654
  seed?: number | null;
621
655
  /**
622
656
  * Numsteps
623
- * @description Diffusion step count. Unset uses the served model's own sampler.
657
+ * @description Number of denoising steps. Omit to use the model's default.
624
658
  */
625
659
  numSteps?: number | null;
626
660
  };
@@ -641,14 +675,16 @@ export interface components {
641
675
  purgeContentOnOperationCompletion?: boolean | null;
642
676
  /**
643
677
  * Contextframes
644
- * @description Posed depth frames, one per target camera and posed at it, in target order; each camera is 1280x720. Frames may also carry an imageAsset (the view's known pixels) and a maskAsset (8-bit grayscale, white where the frame's image and depth are known), each on every frame or on none: the model keeps the image where the mask is set and generates the rest, takes frames without masks as fully known, and conditions on the depth alone for frames without an image. Frames carry no depth confidenceAsset. Leave empty to generate from the prompt alone.
678
+ * @description Posed frames, one per target camera and posed at it, in target order; each camera is 1280x720. Each frame carries a depth, an imageAsset (the view's known pixels), or both, and may carry a maskAsset (8-bit grayscale, white where the frame's image and depth are known). Send each of depth, imageAsset and maskAsset on every frame or on none: the model keeps the image where the mask is set and generates the rest, takes frames without masks as fully known, conditions on the depth alone for frames without an image, and for frames without depth keeps the image inside the mask and generates the geometry (the frames atlasMasked takes). A depth.maskAsset (8-bit grayscale on the depth grid, white where the depth is known), on every frame or on none, masks the depth apart from the image: the maskAsset then marks only the image and needs an imageAsset beside it. Both masks read as known above half intensity. Frames carry no depth confidenceAsset. Leave empty to generate from the prompt alone.
645
679
  */
646
- contextFrames?: components["schemas"]["PosedDepthAsset"][];
680
+ contextFrames?: components["schemas"]["AtlasChiselContextFrameAsset"][];
647
681
  /**
648
682
  * Sourceframes
649
- * @description Posed RGB photographs of the scene, each an image and its camera in the targets' coordinate convention and scale. The generated views stay consistent with them: the servable feeds them to the model as views it has already committed, so a target that sees the same surfaces keeps their materials, colors, and lighting. Any cameras and any resolution; each is cover-resized and center-cropped onto 1280x720. Frames carry no maskAsset or depth. Together with contextFrames and targetCameras they fill at most 128 views of the servable's rollout, where a context frame costs 3 and a photograph or target one.
683
+ * @description Posed RGB photographs of the scene, each an image and its camera in the targets' coordinate convention and scale. The generated views use them as visual references for materials, colors, and lighting. Any cameras and any resolution; each image is scaled to cover the output dimensions, then center-cropped onto 1280x720. Frames carry no maskAsset or depth. Request sizes must satisfy 3 * contextFrames.length + sourceFrames.length + targetCameras.length <= 128.
650
684
  */
651
685
  sourceFrames?: components["schemas"]["PosedRGBAsset"][];
686
+ /** @description Optional style-reference image that guides appearance; it supplies no camera or geometry. Not applied yet: the current model does not support style references, so frames generate without it. */
687
+ styleReferenceImageAsset?: components["schemas"]["TaskAsset"] | null;
652
688
  /**
653
689
  * Targetcameras
654
690
  * @description Pinhole cameras at 1280x720 for the views to generate, in output order, returned in `frames`. At most 32.
@@ -661,18 +697,18 @@ export interface components {
661
697
  prompt: string;
662
698
  /**
663
699
  * Enhanceprompt
664
- * @description Rewrite the prompt into the structured scene caption the model trained on before inference. Set false to send the prompt as is.
700
+ * @description Expand the prompt into a detailed scene description before generation. Set false to use your wording unchanged.
665
701
  * @default true
666
702
  */
667
703
  enhancePrompt?: boolean;
668
704
  /**
669
705
  * Voxelsize
670
- * @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.
706
+ * @description Side length of the cubes used to simplify depth geometry. Uses normalized scene units, not input distance units: the scene is rescaled so the 90th percentile of inverse depth is approximately 1. The recommended range is 0 to 0.4. Omit or set to 0 to keep the original geometry.
671
707
  */
672
708
  voxelSize?: number | null;
673
709
  /**
674
710
  * Voxelgridorientation
675
- * @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.
711
+ * @description Grid orientation for simplifying depth geometry. 'world' (the default) aligns the grid with the request's world axes so walls aligned with those axes stay flat. 'gauge' aligns the grid with the average camera pose after recentering the scene. Ignored unless voxelSize is set.
676
712
  */
677
713
  voxelGridOrientation?: ("world" | "gauge") | null;
678
714
  /** @description Model-specific parameters for atlasChisel. */
@@ -701,7 +737,7 @@ export interface components {
701
737
  promptUsed?: string | null;
702
738
  /**
703
739
  * Requestid
704
- * @description Meridian request id from servable runtime metadata.
740
+ * @description Generation request ID for troubleshooting.
705
741
  */
706
742
  requestId?: string | null;
707
743
  };
@@ -758,18 +794,18 @@ export interface components {
758
794
  };
759
795
  /**
760
796
  * AtlasGenerateModelParameters
761
- * @description Model-specific parameters forwarded to the atlasGenerate servable.
797
+ * @description Sampling controls for atlasGenerate.
762
798
  */
763
799
  AtlasGenerateModelParameters: {
764
800
  /**
765
801
  * Seed
766
- * @description RNG seed forwarded to the servable when set.
802
+ * @description Random seed for image generation.
767
803
  * @default 42
768
804
  */
769
805
  seed?: number | null;
770
806
  /**
771
807
  * Numsteps
772
- * @description Diffusion step-count override.
808
+ * @description Number of denoising steps. Omit to use the model's default.
773
809
  */
774
810
  numSteps?: number | null;
775
811
  };
@@ -796,7 +832,7 @@ export interface components {
796
832
  base64Outputs?: boolean;
797
833
  /**
798
834
  * Contextframes
799
- * @description Posed RGBD context views: each an image, its depth buffer, and its camera, all required. All context cameras must declare the same width and height. 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.
835
+ * @description Posed RGBD context views: each an image, its depth buffer, and its camera, all required. All context cameras must declare the same width and height. Context depth is required, but does not guide generation in every request. Requests with 32 or more targets generate from the context images and cameras without using their depth. Smaller requests can do the same when their combined context and target counts exceed the depth-guided model's capacity.
800
836
  */
801
837
  contextFrames: components["schemas"]["PosedRGBDAsset"][];
802
838
  /**
@@ -811,13 +847,13 @@ export interface components {
811
847
  prompt?: string | null;
812
848
  /**
813
849
  * Enhanceprompt
814
- * @description Enhance the prompt with the ViewGen preset before inference. With no prompt, the enhancer captions the context images.
850
+ * @description Expand the prompt into a scene description before generation. With no prompt, describe the context images. Set false to use your wording unchanged.
815
851
  * @default true
816
852
  */
817
853
  enhancePrompt?: boolean;
818
854
  /**
819
855
  * Returndepth
820
- * @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. The scale is recovered from camera centres, so a request whose cameras all share one centre (a pure-rotation rig) is rejected. On the hero base route, with more than 19 context frames, or with a masked context frame, a context frame joins the reconstruction only when its image is at the generated resolution and its camera's principal point is centered.
856
+ * @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. The scale is recovered from camera centres, so a request whose cameras all share one centre (a pure-rotation rig) is rejected. When generation uses only images and cameras (see contextFrames), or with more than 19 context frames, a context frame helps reconstruct depth only when its image has the same dimensions as the generated images and its camera's principal point is centered.
821
857
  * @default false
822
858
  */
823
859
  returnDepth?: boolean;
@@ -841,7 +877,7 @@ export interface components {
841
877
  promptUsed?: string | null;
842
878
  /**
843
879
  * Requestid
844
- * @description Meridian request id from servable runtime metadata.
880
+ * @description Generation request ID for troubleshooting.
845
881
  */
846
882
  requestId?: string | null;
847
883
  };
@@ -898,12 +934,12 @@ export interface components {
898
934
  };
899
935
  /**
900
936
  * AtlasMaskedModelParameters
901
- * @description Model-specific parameters forwarded to the atlasMasked servable.
937
+ * @description Sampling controls for atlasMasked.
902
938
  */
903
939
  AtlasMaskedModelParameters: {
904
940
  /**
905
941
  * Seed
906
- * @description RNG seed forwarded to the servable when set.
942
+ * @description Random seed for image generation.
907
943
  * @default 42
908
944
  */
909
945
  seed?: number | null;
@@ -936,7 +972,7 @@ export interface components {
936
972
  contextFrames: components["schemas"]["PosedRGBAAsset"][];
937
973
  /**
938
974
  * Targetcameras
939
- * @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.
975
+ * @description Pinhole cameras for the views to generate, one per context frame in the same order. For best results, targetCameras[i] should match the camera in contextFrames[i]. Different counts or cameras that do not match their context views are accepted, but may produce lower-quality results.
940
976
  */
941
977
  targetCameras: components["schemas"]["PinholeCamera"][];
942
978
  /**
@@ -976,7 +1012,7 @@ export interface components {
976
1012
  promptUsed?: string | null;
977
1013
  /**
978
1014
  * Requestid
979
- * @description Meridian request id from servable runtime metadata.
1015
+ * @description Generation request ID for troubleshooting.
980
1016
  */
981
1017
  requestId?: string | null;
982
1018
  };
@@ -1096,9 +1132,14 @@ export interface components {
1096
1132
  frames: components["schemas"]["FrameRGBAsset"][];
1097
1133
  /**
1098
1134
  * Promptused
1099
- * @description Final prompt supplied to inference, if any.
1135
+ * @description Final prompt for the first output image, if any. See promptsUsed for all images.
1100
1136
  */
1101
1137
  promptUsed?: string | null;
1138
+ /**
1139
+ * Promptsused
1140
+ * @description Final prompts in the same order as frames. Empty for older results.
1141
+ */
1142
+ promptsUsed?: string[];
1102
1143
  /**
1103
1144
  * Aspectratio
1104
1145
  * @description Resolved width-to-height ratio used for generation.
@@ -1790,6 +1831,40 @@ export interface components {
1790
1831
  */
1791
1832
  zMax: number;
1792
1833
  };
1834
+ /**
1835
+ * MaskedLinearDepthBufferAsset
1836
+ * @description Linear-depth EXR plus an optional mask.
1837
+ */
1838
+ MaskedLinearDepthBufferAsset: {
1839
+ /** @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. */
1840
+ confidenceAsset?: components["schemas"]["TaskAsset"] | null;
1841
+ /** @description Optional 8-bit grayscale PNG on the depth grid, as a URL or inline asset: white where the buffer's depth is known, black where it has none. Null when every pixel's depth is known. */
1842
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1843
+ /** @description EXR of linear depth in world units, as a URL or inline asset. */
1844
+ depthAsset: components["schemas"]["TaskAsset"];
1845
+ };
1846
+ /**
1847
+ * MaskedLogDepthBufferAsset
1848
+ * @description Inverted log-depth PNG plus its decode range and an optional mask.
1849
+ */
1850
+ MaskedLogDepthBufferAsset: {
1851
+ /** @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. */
1852
+ confidenceAsset?: components["schemas"]["TaskAsset"] | null;
1853
+ /** @description Optional 8-bit grayscale PNG on the depth grid, as a URL or inline asset: white where the buffer's depth is known, black where it has none. Null when every pixel's depth is known. */
1854
+ maskAsset?: components["schemas"]["TaskAsset"] | null;
1855
+ /** @description Inverted log-depth grayscale PNG, as a URL or inline asset. */
1856
+ logDepthAsset: components["schemas"]["TaskAsset"];
1857
+ /**
1858
+ * Zmin
1859
+ * @description Linear depth in world units encoded as white (1.0).
1860
+ */
1861
+ zMin: number;
1862
+ /**
1863
+ * Zmax
1864
+ * @description Linear depth in world units encoded as black (>0).
1865
+ */
1866
+ zMax: number;
1867
+ };
1793
1868
  /**
1794
1869
  * Operation
1795
1870
  * @description An operation with its result, available through singular reads.
@@ -1942,21 +2017,123 @@ export interface components {
1942
2017
  height: number;
1943
2018
  };
1944
2019
  /**
1945
- * PosedDepthAsset
1946
- * @description A posed depth-only frame: a depth buffer with its camera.
2020
+ * PosedImages2SplatsRequest
2021
+ * @description Body of ``POST /api/v2/tasks:posedImages2Splats``.
1947
2022
  */
1948
- PosedDepthAsset: {
1949
- /** @description Source image as a URL or inline asset, or null (depth-only). */
1950
- imageAsset?: components["schemas"]["TaskAsset"] | null;
1951
- /** @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. */
1952
- maskAsset?: components["schemas"]["TaskAsset"] | null;
1953
- /** @description Camera-to-world pose and intrinsics. */
1954
- camera: components["schemas"]["PinholeCamera"];
2023
+ PosedImages2SplatsRequest: {
1955
2024
  /**
1956
- * Depth
1957
- * @description Depth buffer aligned to the camera.
2025
+ * Webhookurl
2026
+ * @description Where Marble POSTs one signed task.succeeded or task.failed event when this operation finishes; retried for 24 hours. Verify the signature with the public keys at /.well-known/webhooks/jwks.json. Cannot be combined with ?wait=true. https on port 443 only, no IP literals. Developer API only.
1958
2027
  */
1959
- depth: components["schemas"]["LogDepthBufferAsset"] | components["schemas"]["LinearDepthBufferAsset"];
2028
+ webhookUrl?: string | null;
2029
+ /**
2030
+ * Purgecontentonoperationcompletion
2031
+ * @description Purge this operation's outputs and the transient uploads it consumed one hour after it finishes. Omitted, the account's setting applies; true raises it for this operation; false is refused when the account already purges. Uploads in the library are never purged by an operation.
2032
+ */
2033
+ purgeContentOnOperationCompletion?: boolean | null;
2034
+ /**
2035
+ * Prompt
2036
+ * @description Optional scene description. Enhancement combines it with the input images; when omitted, enhancement captions the images.
2037
+ */
2038
+ prompt?: string | null;
2039
+ /**
2040
+ * Enhanceprompt
2041
+ * @description Enhance the prompt using the context images before generation. Set false with a prepared prompt to skip enhancement and reduce latency.
2042
+ * @default true
2043
+ */
2044
+ enhancePrompt?: boolean;
2045
+ /**
2046
+ * Refine
2047
+ * @description Run the refiner after drafting: the free-running loop that places cameras, render-difixes them and trains SSO on the draft until its recipe's step count or wall budget, publishing its level under refinedSplats. Off ends the run at the draft pass, fit at 2,000,000 splats by default or at the one targetSplatCounts entry, and published under draftSplat alone. It runs in a fraction of the time and is billed as a draft.
2048
+ * @default true
2049
+ */
2050
+ refine?: boolean;
2051
+ /**
2052
+ * Targetsplatcounts
2053
+ * @description Splat counts to publish. With refine=false, an explicit list must contain exactly one count, the draft's, returned under draftSplat; omitted, the draft is fit at 2,000,000 splats. With refinement the loop's recipe sets the one level it publishes under refinedSplats, and this list is accepted and ignored.
2054
+ */
2055
+ targetSplatCounts?: number[] | null;
2056
+ /**
2057
+ * Debug
2058
+ * @description Flag for custom debug behavior. Currently has no effect on the pipeline.
2059
+ * @default false
2060
+ */
2061
+ debug?: boolean;
2062
+ /**
2063
+ * Posedframes
2064
+ * @description Ordered posed RGBD frames (at least 2): each image an account asset, inline bytes, or a public URL, with its camera and its depth buffer (a linear-depth EXR under depth.depthAsset, as images2PosedRGBD returns). All frames must share one image size.
2065
+ */
2066
+ posedFrames: components["schemas"]["PosedRGBDAsset"][];
2067
+ };
2068
+ /**
2069
+ * PosedImages2SplatsResponse
2070
+ * @description Public response projected into the completed Operation.
2071
+ *
2072
+ * Each splat is a bare TaskAsset, the shape the task requests take
2073
+ * (splats2Mesh's splatAsset), so a response feeds the next task without
2074
+ * translation.
2075
+ */
2076
+ PosedImages2SplatsResponse: {
2077
+ /**
2078
+ * Refinedsplats
2079
+ * @description Refined splats (SPZ) keyed by splat count.
2080
+ */
2081
+ refinedSplats?: {
2082
+ [key: string]: components["schemas"]["TaskAsset"];
2083
+ };
2084
+ /** @description The splat (SPZ) the run ends on when refine=false: the draft pass's, fit at the requested count (2,000,000 by default). Null when the refiner ran; its levels are under refinedSplats. */
2085
+ draftSplat?: components["schemas"]["TaskAsset"] | null;
2086
+ };
2087
+ /**
2088
+ * PosedImages2SplatsResponseOperation
2089
+ * @description Long-running operation whose successful terminal ``response`` has type ``PosedImages2SplatsResponse``. This is the common Operation envelope with a task-specific response type, not a separate operation resource.
2090
+ */
2091
+ PosedImages2SplatsResponseOperation: {
2092
+ /**
2093
+ * Id
2094
+ * @description Short operation id used in ``/operations/{operation}`` paths.
2095
+ */
2096
+ id: string;
2097
+ /**
2098
+ * Ownerid
2099
+ * @description Account that owns the operation.
2100
+ */
2101
+ ownerId: string;
2102
+ /**
2103
+ * Metadata
2104
+ * @description Task information and optional progress details. Use ``metadata.task`` to interpret a generic operation response, and use ``done`` to determine completion.
2105
+ */
2106
+ metadata?: {
2107
+ [key: string]: unknown;
2108
+ } | null;
2109
+ /**
2110
+ * Done
2111
+ * @description Whether the operation is terminal. When true, a non-null ``error`` indicates failure; otherwise the operation succeeded.
2112
+ */
2113
+ done: boolean;
2114
+ /** @description Failure details when ``done`` is true and the task failed; null while running and after success. */
2115
+ error?: components["schemas"]["OperationError"] | null;
2116
+ /**
2117
+ * Expiresatsecs
2118
+ * @description Task execution deadline as Unix seconds, when one is exposed. This is not an asset URL expiration.
2119
+ */
2120
+ expiresAtSecs?: number | null;
2121
+ /**
2122
+ * Createdatsecs
2123
+ * @description Unix seconds when the operation was accepted.
2124
+ */
2125
+ createdAtSecs?: number | null;
2126
+ /** @description ``PosedImages2SplatsResponse`` result when ``done`` is true and the task succeeded; null while running and after failure. */
2127
+ response?: components["schemas"]["PosedImages2SplatsResponse"] | null;
2128
+ /**
2129
+ * Name
2130
+ * @description Full resource name for the operation.
2131
+ *
2132
+ * For project operations:
2133
+ * ``accounts/{account}/projects/{project}/operations/{operation}``.
2134
+ * Operation paths accept the short ``id``.
2135
+ */
2136
+ readonly name: string;
1960
2137
  };
1961
2138
  /**
1962
2139
  * PosedRGBAAsset
@@ -2459,6 +2636,7 @@ export type AssetPart = components['schemas']['AssetPart'];
2459
2636
  export type AssetPartDeclaration = components['schemas']['AssetPartDeclaration'];
2460
2637
  export type AssetProducer = components['schemas']['AssetProducer'];
2461
2638
  export type AssetState = components['schemas']['AssetState'];
2639
+ export type AtlasChiselContextFrameAsset = components['schemas']['AtlasChiselContextFrameAsset'];
2462
2640
  export type AtlasChiselModelParameters = components['schemas']['AtlasChiselModelParameters'];
2463
2641
  export type AtlasChiselRequest = components['schemas']['AtlasChiselRequest'];
2464
2642
  export type AtlasChiselResponse = components['schemas']['AtlasChiselResponse'];
@@ -2500,13 +2678,17 @@ export type ListAssetsResponse = components['schemas']['ListAssetsResponse'];
2500
2678
  export type ListedOperation = components['schemas']['ListedOperation'];
2501
2679
  export type ListedOperationsResponse = components['schemas']['ListedOperationsResponse'];
2502
2680
  export type LogDepthBufferAsset = components['schemas']['LogDepthBufferAsset'];
2681
+ export type MaskedLinearDepthBufferAsset = components['schemas']['MaskedLinearDepthBufferAsset'];
2682
+ export type MaskedLogDepthBufferAsset = components['schemas']['MaskedLogDepthBufferAsset'];
2503
2683
  export type Operation = components['schemas']['Operation'];
2504
2684
  export type OperationError = components['schemas']['OperationError'];
2505
2685
  export type OperationStatus = components['schemas']['OperationStatus'];
2506
2686
  export type OperationTrace = components['schemas']['OperationTrace'];
2507
2687
  export type PinholeCamera = components['schemas']['PinholeCamera'];
2508
2688
  export type PinholeCameraIntrinsics = components['schemas']['PinholeCameraIntrinsics'];
2509
- export type PosedDepthAsset = components['schemas']['PosedDepthAsset'];
2689
+ export type PosedImages2SplatsRequest = components['schemas']['PosedImages2SplatsRequest'];
2690
+ export type PosedImages2SplatsResponse = components['schemas']['PosedImages2SplatsResponse'];
2691
+ export type PosedImages2SplatsResponseOperation = components['schemas']['PosedImages2SplatsResponseOperation'];
2510
2692
  export type PosedRGBAAsset = components['schemas']['PosedRGBAAsset'];
2511
2693
  export type PosedRGBAsset = components['schemas']['PosedRGBAsset'];
2512
2694
  export type PosedRGBDAsset = components['schemas']['PosedRGBDAsset'];
@@ -2743,6 +2925,45 @@ export interface operations {
2743
2925
  };
2744
2926
  };
2745
2927
  };
2928
+ submit_posedImages2Splats_api_v2_tasks_posedImages2Splats_post: {
2929
+ parameters: {
2930
+ query?: {
2931
+ /** @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. */
2932
+ wait?: boolean;
2933
+ };
2934
+ header?: {
2935
+ /** @description Optional idempotency key. */
2936
+ "Idempotency-Key"?: string | null;
2937
+ };
2938
+ path?: never;
2939
+ cookie?: never;
2940
+ };
2941
+ requestBody: {
2942
+ content: {
2943
+ "application/json": components["schemas"]["PosedImages2SplatsRequest"];
2944
+ };
2945
+ };
2946
+ responses: {
2947
+ /** @description Successful Response */
2948
+ 201: {
2949
+ headers: {
2950
+ [name: string]: unknown;
2951
+ };
2952
+ content: {
2953
+ "application/json": components["schemas"]["PosedImages2SplatsResponseOperation"];
2954
+ };
2955
+ };
2956
+ /** @description Validation Error */
2957
+ 422: {
2958
+ headers: {
2959
+ [name: string]: unknown;
2960
+ };
2961
+ content: {
2962
+ "application/json": components["schemas"]["HTTPValidationError"];
2963
+ };
2964
+ };
2965
+ };
2966
+ };
2746
2967
  submit_splats2Mesh_api_v2_tasks_splats2Mesh_post: {
2747
2968
  parameters: {
2748
2969
  query?: {
@@ -13,6 +13,8 @@ import type {
13
13
  AtlasTextToImageResponseOperation,
14
14
  Images2PosedRGBDRequest,
15
15
  Images2PosedRGBDResponseOperation,
16
+ PosedImages2SplatsRequest,
17
+ PosedImages2SplatsResponseOperation,
16
18
  Splats2MeshRequest,
17
19
  Splats2MeshResponseOperation,
18
20
  } from "./developer-api.gen.ts";
@@ -94,6 +96,20 @@ export const createTasks = (transport: Transport) => ({
94
96
  images2PosedRGBD: async (body: Images2PosedRGBDRequest, options?: SubmitOptions) =>
95
97
  await submitTask<Images2PosedRGBDResponseOperation>(transport, "/api/v2/tasks:images2PosedRGBD", body, options),
96
98
 
99
+ /**
100
+ * Submit the posedImages2Splats task
101
+ * Retries network failures and HTTP 429/502/503/504 up to three times with the same key and body.
102
+ *
103
+ * @param body - Task inputs and settings.
104
+ * @param options - Abort signal, idempotency key, and server-wait preference.
105
+ * @returns An operation to pass to `client.operations.wait` for the typed result.
106
+ * Check the completed operation's `error` before reading its `response`.
107
+ * @throws {ApiError} If the API rejects the submission or retries are exhausted.
108
+ * @beta Requires beta access for your account.
109
+ */
110
+ posedImages2Splats: async (body: PosedImages2SplatsRequest, options?: SubmitOptions) =>
111
+ await submitTask<PosedImages2SplatsResponseOperation>(transport, "/api/v2/tasks:posedImages2Splats", body, options),
112
+
97
113
  /**
98
114
  * Submit the splats2Mesh task
99
115
  * Retries network failures and HTTP 429/502/503/504 up to three times with the same key and body.