@scenario-labs/sdk 2.4.0 → 2.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.
- package/CHANGELOG.md +28 -0
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/lib/workflow_converter.d.mts +3 -0
- package/lib/workflow_converter.d.mts.map +1 -1
- package/lib/workflow_converter.d.ts +3 -0
- package/lib/workflow_converter.d.ts.map +1 -1
- package/lib/workflow_converter.js +62 -34
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +62 -34
- package/lib/workflow_converter.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +269 -31
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +269 -31
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/generate.d.mts +157 -51
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +157 -51
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.js +1 -5
- package/resources/generate.js.map +1 -1
- package/resources/generate.mjs +1 -5
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/jobs.d.mts +30 -12
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +30 -12
- package/resources/jobs.d.ts.map +1 -1
- package/resources/models/description.d.mts +62 -4
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +62 -4
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/examples.d.mts +94 -64
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +94 -64
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/models.d.mts +239 -295
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +239 -295
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +92 -110
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +92 -110
- package/resources/models/train.d.ts.map +1 -1
- package/resources/search.d.mts +2 -2
- package/resources/search.d.ts +2 -2
- package/resources/uploads.d.mts +2 -3
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +2 -3
- package/resources/uploads.d.ts.map +1 -1
- package/resources/usages.d.mts +44 -15
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +44 -15
- package/resources/usages.d.ts.map +1 -1
- package/resources/workflows.d.mts +63 -45
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +63 -45
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +4 -4
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +4 -4
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +1 -1
- package/src/lib/workflow_converter.ts +91 -35
- package/src/resources/assets/assets.ts +300 -62
- package/src/resources/generate.ts +157 -129
- package/src/resources/index.ts +1 -1
- package/src/resources/jobs.ts +27 -37
- package/src/resources/models/description.ts +70 -12
- package/src/resources/models/examples.ts +100 -88
- package/src/resources/models/models.ts +228 -385
- package/src/resources/models/train.ts +89 -139
- package/src/resources/search.ts +2 -2
- package/src/resources/uploads.ts +2 -3
- package/src/resources/usages.ts +47 -20
- package/src/resources/workflows.ts +48 -157
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -245,6 +245,7 @@ export namespace AssetRetrieveResponse {
|
|
|
245
245
|
| 'image-prompt-editing'
|
|
246
246
|
| 'img23d'
|
|
247
247
|
| 'img2img'
|
|
248
|
+
| 'img2splat'
|
|
248
249
|
| 'img2txt'
|
|
249
250
|
| 'img2video'
|
|
250
251
|
| 'inference-control-net'
|
|
@@ -434,6 +435,7 @@ export namespace AssetRetrieveResponse {
|
|
|
434
435
|
| 'image-prompt-editing'
|
|
435
436
|
| 'img23d'
|
|
436
437
|
| 'img2img'
|
|
438
|
+
| 'img2splat'
|
|
437
439
|
| 'img2txt'
|
|
438
440
|
| 'img2video'
|
|
439
441
|
| 'inference-controlnet'
|
|
@@ -778,12 +780,6 @@ export namespace AssetRetrieveResponse {
|
|
|
778
780
|
| 'qwen-image-edit-2511-lora'
|
|
779
781
|
| 'qwen-image-edit-lora'
|
|
780
782
|
| 'qwen-image-lora'
|
|
781
|
-
| 'sd-1_5'
|
|
782
|
-
| 'sd-1_5-composition'
|
|
783
|
-
| 'sd-1_5-lora'
|
|
784
|
-
| 'sd-xl'
|
|
785
|
-
| 'sd-xl-composition'
|
|
786
|
-
| 'sd-xl-lora'
|
|
787
783
|
| 'zimage-de-turbo-lora'
|
|
788
784
|
| 'zimage-lora'
|
|
789
785
|
| 'zimage-turbo-lora';
|
|
@@ -1120,6 +1116,18 @@ export namespace AssetRetrieveResponse {
|
|
|
1120
1116
|
*/
|
|
1121
1117
|
boneCount?: number;
|
|
1122
1118
|
|
|
1119
|
+
/**
|
|
1120
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
1121
|
+
* through to mesh-rendering verbatim.
|
|
1122
|
+
*/
|
|
1123
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
1127
|
+
* through to mesh-rendering verbatim.
|
|
1128
|
+
*/
|
|
1129
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
1130
|
+
|
|
1123
1131
|
/**
|
|
1124
1132
|
* Number of channels of the audio
|
|
1125
1133
|
*/
|
|
@@ -1240,6 +1248,28 @@ export namespace AssetRetrieveResponse {
|
|
|
1240
1248
|
}
|
|
1241
1249
|
|
|
1242
1250
|
export namespace Properties {
|
|
1251
|
+
/**
|
|
1252
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
1253
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
1254
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
1255
|
+
*/
|
|
1256
|
+
export interface CameraTrajectory {
|
|
1257
|
+
/**
|
|
1258
|
+
* Camera eye position in the splat's world frame.
|
|
1259
|
+
*/
|
|
1260
|
+
position: Array<unknown>;
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* Look-at point in the splat's world frame.
|
|
1264
|
+
*/
|
|
1265
|
+
target: Array<unknown>;
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
1269
|
+
*/
|
|
1270
|
+
fov?: number;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1243
1273
|
/**
|
|
1244
1274
|
* Transcription of the audio
|
|
1245
1275
|
*/
|
|
@@ -1392,6 +1422,7 @@ export namespace AssetUpdateResponse {
|
|
|
1392
1422
|
| 'image-prompt-editing'
|
|
1393
1423
|
| 'img23d'
|
|
1394
1424
|
| 'img2img'
|
|
1425
|
+
| 'img2splat'
|
|
1395
1426
|
| 'img2txt'
|
|
1396
1427
|
| 'img2video'
|
|
1397
1428
|
| 'inference-control-net'
|
|
@@ -1581,6 +1612,7 @@ export namespace AssetUpdateResponse {
|
|
|
1581
1612
|
| 'image-prompt-editing'
|
|
1582
1613
|
| 'img23d'
|
|
1583
1614
|
| 'img2img'
|
|
1615
|
+
| 'img2splat'
|
|
1584
1616
|
| 'img2txt'
|
|
1585
1617
|
| 'img2video'
|
|
1586
1618
|
| 'inference-controlnet'
|
|
@@ -1925,12 +1957,6 @@ export namespace AssetUpdateResponse {
|
|
|
1925
1957
|
| 'qwen-image-edit-2511-lora'
|
|
1926
1958
|
| 'qwen-image-edit-lora'
|
|
1927
1959
|
| 'qwen-image-lora'
|
|
1928
|
-
| 'sd-1_5'
|
|
1929
|
-
| 'sd-1_5-composition'
|
|
1930
|
-
| 'sd-1_5-lora'
|
|
1931
|
-
| 'sd-xl'
|
|
1932
|
-
| 'sd-xl-composition'
|
|
1933
|
-
| 'sd-xl-lora'
|
|
1934
1960
|
| 'zimage-de-turbo-lora'
|
|
1935
1961
|
| 'zimage-lora'
|
|
1936
1962
|
| 'zimage-turbo-lora';
|
|
@@ -2267,6 +2293,18 @@ export namespace AssetUpdateResponse {
|
|
|
2267
2293
|
*/
|
|
2268
2294
|
boneCount?: number;
|
|
2269
2295
|
|
|
2296
|
+
/**
|
|
2297
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
2298
|
+
* through to mesh-rendering verbatim.
|
|
2299
|
+
*/
|
|
2300
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
2304
|
+
* through to mesh-rendering verbatim.
|
|
2305
|
+
*/
|
|
2306
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
2307
|
+
|
|
2270
2308
|
/**
|
|
2271
2309
|
* Number of channels of the audio
|
|
2272
2310
|
*/
|
|
@@ -2387,6 +2425,28 @@ export namespace AssetUpdateResponse {
|
|
|
2387
2425
|
}
|
|
2388
2426
|
|
|
2389
2427
|
export namespace Properties {
|
|
2428
|
+
/**
|
|
2429
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
2430
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
2431
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
2432
|
+
*/
|
|
2433
|
+
export interface CameraTrajectory {
|
|
2434
|
+
/**
|
|
2435
|
+
* Camera eye position in the splat's world frame.
|
|
2436
|
+
*/
|
|
2437
|
+
position: Array<unknown>;
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Look-at point in the splat's world frame.
|
|
2441
|
+
*/
|
|
2442
|
+
target: Array<unknown>;
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
2446
|
+
*/
|
|
2447
|
+
fov?: number;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2390
2450
|
/**
|
|
2391
2451
|
* Transcription of the audio
|
|
2392
2452
|
*/
|
|
@@ -2534,6 +2594,7 @@ export interface AssetListResponse {
|
|
|
2534
2594
|
| 'image-prompt-editing'
|
|
2535
2595
|
| 'img23d'
|
|
2536
2596
|
| 'img2img'
|
|
2597
|
+
| 'img2splat'
|
|
2537
2598
|
| 'img2txt'
|
|
2538
2599
|
| 'img2video'
|
|
2539
2600
|
| 'inference-control-net'
|
|
@@ -2723,6 +2784,7 @@ export namespace AssetListResponse {
|
|
|
2723
2784
|
| 'image-prompt-editing'
|
|
2724
2785
|
| 'img23d'
|
|
2725
2786
|
| 'img2img'
|
|
2787
|
+
| 'img2splat'
|
|
2726
2788
|
| 'img2txt'
|
|
2727
2789
|
| 'img2video'
|
|
2728
2790
|
| 'inference-controlnet'
|
|
@@ -3067,12 +3129,6 @@ export namespace AssetListResponse {
|
|
|
3067
3129
|
| 'qwen-image-edit-2511-lora'
|
|
3068
3130
|
| 'qwen-image-edit-lora'
|
|
3069
3131
|
| 'qwen-image-lora'
|
|
3070
|
-
| 'sd-1_5'
|
|
3071
|
-
| 'sd-1_5-composition'
|
|
3072
|
-
| 'sd-1_5-lora'
|
|
3073
|
-
| 'sd-xl'
|
|
3074
|
-
| 'sd-xl-composition'
|
|
3075
|
-
| 'sd-xl-lora'
|
|
3076
3132
|
| 'zimage-de-turbo-lora'
|
|
3077
3133
|
| 'zimage-lora'
|
|
3078
3134
|
| 'zimage-turbo-lora';
|
|
@@ -3409,6 +3465,18 @@ export namespace AssetListResponse {
|
|
|
3409
3465
|
*/
|
|
3410
3466
|
boneCount?: number;
|
|
3411
3467
|
|
|
3468
|
+
/**
|
|
3469
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
3470
|
+
* through to mesh-rendering verbatim.
|
|
3471
|
+
*/
|
|
3472
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
3476
|
+
* through to mesh-rendering verbatim.
|
|
3477
|
+
*/
|
|
3478
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
3479
|
+
|
|
3412
3480
|
/**
|
|
3413
3481
|
* Number of channels of the audio
|
|
3414
3482
|
*/
|
|
@@ -3529,6 +3597,28 @@ export namespace AssetListResponse {
|
|
|
3529
3597
|
}
|
|
3530
3598
|
|
|
3531
3599
|
export namespace Properties {
|
|
3600
|
+
/**
|
|
3601
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
3602
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
3603
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
3604
|
+
*/
|
|
3605
|
+
export interface CameraTrajectory {
|
|
3606
|
+
/**
|
|
3607
|
+
* Camera eye position in the splat's world frame.
|
|
3608
|
+
*/
|
|
3609
|
+
position: Array<unknown>;
|
|
3610
|
+
|
|
3611
|
+
/**
|
|
3612
|
+
* Look-at point in the splat's world frame.
|
|
3613
|
+
*/
|
|
3614
|
+
target: Array<unknown>;
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
3618
|
+
*/
|
|
3619
|
+
fov?: number;
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3532
3622
|
/**
|
|
3533
3623
|
* Transcription of the audio
|
|
3534
3624
|
*/
|
|
@@ -3682,6 +3772,7 @@ export namespace AssetDuplicateResponse {
|
|
|
3682
3772
|
| 'image-prompt-editing'
|
|
3683
3773
|
| 'img23d'
|
|
3684
3774
|
| 'img2img'
|
|
3775
|
+
| 'img2splat'
|
|
3685
3776
|
| 'img2txt'
|
|
3686
3777
|
| 'img2video'
|
|
3687
3778
|
| 'inference-control-net'
|
|
@@ -3871,6 +3962,7 @@ export namespace AssetDuplicateResponse {
|
|
|
3871
3962
|
| 'image-prompt-editing'
|
|
3872
3963
|
| 'img23d'
|
|
3873
3964
|
| 'img2img'
|
|
3965
|
+
| 'img2splat'
|
|
3874
3966
|
| 'img2txt'
|
|
3875
3967
|
| 'img2video'
|
|
3876
3968
|
| 'inference-controlnet'
|
|
@@ -4215,12 +4307,6 @@ export namespace AssetDuplicateResponse {
|
|
|
4215
4307
|
| 'qwen-image-edit-2511-lora'
|
|
4216
4308
|
| 'qwen-image-edit-lora'
|
|
4217
4309
|
| 'qwen-image-lora'
|
|
4218
|
-
| 'sd-1_5'
|
|
4219
|
-
| 'sd-1_5-composition'
|
|
4220
|
-
| 'sd-1_5-lora'
|
|
4221
|
-
| 'sd-xl'
|
|
4222
|
-
| 'sd-xl-composition'
|
|
4223
|
-
| 'sd-xl-lora'
|
|
4224
4310
|
| 'zimage-de-turbo-lora'
|
|
4225
4311
|
| 'zimage-lora'
|
|
4226
4312
|
| 'zimage-turbo-lora';
|
|
@@ -4557,6 +4643,18 @@ export namespace AssetDuplicateResponse {
|
|
|
4557
4643
|
*/
|
|
4558
4644
|
boneCount?: number;
|
|
4559
4645
|
|
|
4646
|
+
/**
|
|
4647
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
4648
|
+
* through to mesh-rendering verbatim.
|
|
4649
|
+
*/
|
|
4650
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
4654
|
+
* through to mesh-rendering verbatim.
|
|
4655
|
+
*/
|
|
4656
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
4657
|
+
|
|
4560
4658
|
/**
|
|
4561
4659
|
* Number of channels of the audio
|
|
4562
4660
|
*/
|
|
@@ -4677,6 +4775,28 @@ export namespace AssetDuplicateResponse {
|
|
|
4677
4775
|
}
|
|
4678
4776
|
|
|
4679
4777
|
export namespace Properties {
|
|
4778
|
+
/**
|
|
4779
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
4780
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
4781
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
4782
|
+
*/
|
|
4783
|
+
export interface CameraTrajectory {
|
|
4784
|
+
/**
|
|
4785
|
+
* Camera eye position in the splat's world frame.
|
|
4786
|
+
*/
|
|
4787
|
+
position: Array<unknown>;
|
|
4788
|
+
|
|
4789
|
+
/**
|
|
4790
|
+
* Look-at point in the splat's world frame.
|
|
4791
|
+
*/
|
|
4792
|
+
target: Array<unknown>;
|
|
4793
|
+
|
|
4794
|
+
/**
|
|
4795
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
4796
|
+
*/
|
|
4797
|
+
fov?: number;
|
|
4798
|
+
}
|
|
4799
|
+
|
|
4680
4800
|
/**
|
|
4681
4801
|
* Transcription of the audio
|
|
4682
4802
|
*/
|
|
@@ -4829,6 +4949,7 @@ export namespace AssetGetBulkResponse {
|
|
|
4829
4949
|
| 'image-prompt-editing'
|
|
4830
4950
|
| 'img23d'
|
|
4831
4951
|
| 'img2img'
|
|
4952
|
+
| 'img2splat'
|
|
4832
4953
|
| 'img2txt'
|
|
4833
4954
|
| 'img2video'
|
|
4834
4955
|
| 'inference-control-net'
|
|
@@ -5018,6 +5139,7 @@ export namespace AssetGetBulkResponse {
|
|
|
5018
5139
|
| 'image-prompt-editing'
|
|
5019
5140
|
| 'img23d'
|
|
5020
5141
|
| 'img2img'
|
|
5142
|
+
| 'img2splat'
|
|
5021
5143
|
| 'img2txt'
|
|
5022
5144
|
| 'img2video'
|
|
5023
5145
|
| 'inference-controlnet'
|
|
@@ -5362,12 +5484,6 @@ export namespace AssetGetBulkResponse {
|
|
|
5362
5484
|
| 'qwen-image-edit-2511-lora'
|
|
5363
5485
|
| 'qwen-image-edit-lora'
|
|
5364
5486
|
| 'qwen-image-lora'
|
|
5365
|
-
| 'sd-1_5'
|
|
5366
|
-
| 'sd-1_5-composition'
|
|
5367
|
-
| 'sd-1_5-lora'
|
|
5368
|
-
| 'sd-xl'
|
|
5369
|
-
| 'sd-xl-composition'
|
|
5370
|
-
| 'sd-xl-lora'
|
|
5371
5487
|
| 'zimage-de-turbo-lora'
|
|
5372
5488
|
| 'zimage-lora'
|
|
5373
5489
|
| 'zimage-turbo-lora';
|
|
@@ -5704,6 +5820,18 @@ export namespace AssetGetBulkResponse {
|
|
|
5704
5820
|
*/
|
|
5705
5821
|
boneCount?: number;
|
|
5706
5822
|
|
|
5823
|
+
/**
|
|
5824
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
5825
|
+
* through to mesh-rendering verbatim.
|
|
5826
|
+
*/
|
|
5827
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
5828
|
+
|
|
5829
|
+
/**
|
|
5830
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
5831
|
+
* through to mesh-rendering verbatim.
|
|
5832
|
+
*/
|
|
5833
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
5834
|
+
|
|
5707
5835
|
/**
|
|
5708
5836
|
* Number of channels of the audio
|
|
5709
5837
|
*/
|
|
@@ -5824,6 +5952,28 @@ export namespace AssetGetBulkResponse {
|
|
|
5824
5952
|
}
|
|
5825
5953
|
|
|
5826
5954
|
export namespace Properties {
|
|
5955
|
+
/**
|
|
5956
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
5957
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
5958
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
5959
|
+
*/
|
|
5960
|
+
export interface CameraTrajectory {
|
|
5961
|
+
/**
|
|
5962
|
+
* Camera eye position in the splat's world frame.
|
|
5963
|
+
*/
|
|
5964
|
+
position: Array<unknown>;
|
|
5965
|
+
|
|
5966
|
+
/**
|
|
5967
|
+
* Look-at point in the splat's world frame.
|
|
5968
|
+
*/
|
|
5969
|
+
target: Array<unknown>;
|
|
5970
|
+
|
|
5971
|
+
/**
|
|
5972
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
5973
|
+
*/
|
|
5974
|
+
fov?: number;
|
|
5975
|
+
}
|
|
5976
|
+
|
|
5827
5977
|
/**
|
|
5828
5978
|
* Transcription of the audio
|
|
5829
5979
|
*/
|
|
@@ -5991,6 +6141,7 @@ export namespace AssetLockResponse {
|
|
|
5991
6141
|
| 'image-prompt-editing'
|
|
5992
6142
|
| 'img23d'
|
|
5993
6143
|
| 'img2img'
|
|
6144
|
+
| 'img2splat'
|
|
5994
6145
|
| 'img2txt'
|
|
5995
6146
|
| 'img2video'
|
|
5996
6147
|
| 'inference-control-net'
|
|
@@ -6180,6 +6331,7 @@ export namespace AssetLockResponse {
|
|
|
6180
6331
|
| 'image-prompt-editing'
|
|
6181
6332
|
| 'img23d'
|
|
6182
6333
|
| 'img2img'
|
|
6334
|
+
| 'img2splat'
|
|
6183
6335
|
| 'img2txt'
|
|
6184
6336
|
| 'img2video'
|
|
6185
6337
|
| 'inference-controlnet'
|
|
@@ -6524,12 +6676,6 @@ export namespace AssetLockResponse {
|
|
|
6524
6676
|
| 'qwen-image-edit-2511-lora'
|
|
6525
6677
|
| 'qwen-image-edit-lora'
|
|
6526
6678
|
| 'qwen-image-lora'
|
|
6527
|
-
| 'sd-1_5'
|
|
6528
|
-
| 'sd-1_5-composition'
|
|
6529
|
-
| 'sd-1_5-lora'
|
|
6530
|
-
| 'sd-xl'
|
|
6531
|
-
| 'sd-xl-composition'
|
|
6532
|
-
| 'sd-xl-lora'
|
|
6533
6679
|
| 'zimage-de-turbo-lora'
|
|
6534
6680
|
| 'zimage-lora'
|
|
6535
6681
|
| 'zimage-turbo-lora';
|
|
@@ -6866,6 +7012,18 @@ export namespace AssetLockResponse {
|
|
|
6866
7012
|
*/
|
|
6867
7013
|
boneCount?: number;
|
|
6868
7014
|
|
|
7015
|
+
/**
|
|
7016
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
7017
|
+
* through to mesh-rendering verbatim.
|
|
7018
|
+
*/
|
|
7019
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
7020
|
+
|
|
7021
|
+
/**
|
|
7022
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
7023
|
+
* through to mesh-rendering verbatim.
|
|
7024
|
+
*/
|
|
7025
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
7026
|
+
|
|
6869
7027
|
/**
|
|
6870
7028
|
* Number of channels of the audio
|
|
6871
7029
|
*/
|
|
@@ -6986,6 +7144,28 @@ export namespace AssetLockResponse {
|
|
|
6986
7144
|
}
|
|
6987
7145
|
|
|
6988
7146
|
export namespace Properties {
|
|
7147
|
+
/**
|
|
7148
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
7149
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
7150
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
7151
|
+
*/
|
|
7152
|
+
export interface CameraTrajectory {
|
|
7153
|
+
/**
|
|
7154
|
+
* Camera eye position in the splat's world frame.
|
|
7155
|
+
*/
|
|
7156
|
+
position: Array<unknown>;
|
|
7157
|
+
|
|
7158
|
+
/**
|
|
7159
|
+
* Look-at point in the splat's world frame.
|
|
7160
|
+
*/
|
|
7161
|
+
target: Array<unknown>;
|
|
7162
|
+
|
|
7163
|
+
/**
|
|
7164
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
7165
|
+
*/
|
|
7166
|
+
fov?: number;
|
|
7167
|
+
}
|
|
7168
|
+
|
|
6989
7169
|
/**
|
|
6990
7170
|
* Transcription of the audio
|
|
6991
7171
|
*/
|
|
@@ -7138,6 +7318,7 @@ export namespace AssetUnlockResponse {
|
|
|
7138
7318
|
| 'image-prompt-editing'
|
|
7139
7319
|
| 'img23d'
|
|
7140
7320
|
| 'img2img'
|
|
7321
|
+
| 'img2splat'
|
|
7141
7322
|
| 'img2txt'
|
|
7142
7323
|
| 'img2video'
|
|
7143
7324
|
| 'inference-control-net'
|
|
@@ -7327,6 +7508,7 @@ export namespace AssetUnlockResponse {
|
|
|
7327
7508
|
| 'image-prompt-editing'
|
|
7328
7509
|
| 'img23d'
|
|
7329
7510
|
| 'img2img'
|
|
7511
|
+
| 'img2splat'
|
|
7330
7512
|
| 'img2txt'
|
|
7331
7513
|
| 'img2video'
|
|
7332
7514
|
| 'inference-controlnet'
|
|
@@ -7671,12 +7853,6 @@ export namespace AssetUnlockResponse {
|
|
|
7671
7853
|
| 'qwen-image-edit-2511-lora'
|
|
7672
7854
|
| 'qwen-image-edit-lora'
|
|
7673
7855
|
| 'qwen-image-lora'
|
|
7674
|
-
| 'sd-1_5'
|
|
7675
|
-
| 'sd-1_5-composition'
|
|
7676
|
-
| 'sd-1_5-lora'
|
|
7677
|
-
| 'sd-xl'
|
|
7678
|
-
| 'sd-xl-composition'
|
|
7679
|
-
| 'sd-xl-lora'
|
|
7680
7856
|
| 'zimage-de-turbo-lora'
|
|
7681
7857
|
| 'zimage-lora'
|
|
7682
7858
|
| 'zimage-turbo-lora';
|
|
@@ -8013,6 +8189,18 @@ export namespace AssetUnlockResponse {
|
|
|
8013
8189
|
*/
|
|
8014
8190
|
boneCount?: number;
|
|
8015
8191
|
|
|
8192
|
+
/**
|
|
8193
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
8194
|
+
* through to mesh-rendering verbatim.
|
|
8195
|
+
*/
|
|
8196
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
8197
|
+
|
|
8198
|
+
/**
|
|
8199
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
8200
|
+
* through to mesh-rendering verbatim.
|
|
8201
|
+
*/
|
|
8202
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
8203
|
+
|
|
8016
8204
|
/**
|
|
8017
8205
|
* Number of channels of the audio
|
|
8018
8206
|
*/
|
|
@@ -8133,6 +8321,28 @@ export namespace AssetUnlockResponse {
|
|
|
8133
8321
|
}
|
|
8134
8322
|
|
|
8135
8323
|
export namespace Properties {
|
|
8324
|
+
/**
|
|
8325
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
8326
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
8327
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
8328
|
+
*/
|
|
8329
|
+
export interface CameraTrajectory {
|
|
8330
|
+
/**
|
|
8331
|
+
* Camera eye position in the splat's world frame.
|
|
8332
|
+
*/
|
|
8333
|
+
position: Array<unknown>;
|
|
8334
|
+
|
|
8335
|
+
/**
|
|
8336
|
+
* Look-at point in the splat's world frame.
|
|
8337
|
+
*/
|
|
8338
|
+
target: Array<unknown>;
|
|
8339
|
+
|
|
8340
|
+
/**
|
|
8341
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
8342
|
+
*/
|
|
8343
|
+
fov?: number;
|
|
8344
|
+
}
|
|
8345
|
+
|
|
8136
8346
|
/**
|
|
8137
8347
|
* Transcription of the audio
|
|
8138
8348
|
*/
|
|
@@ -8299,6 +8509,7 @@ export namespace AssetUploadResponse {
|
|
|
8299
8509
|
| 'image-prompt-editing'
|
|
8300
8510
|
| 'img23d'
|
|
8301
8511
|
| 'img2img'
|
|
8512
|
+
| 'img2splat'
|
|
8302
8513
|
| 'img2txt'
|
|
8303
8514
|
| 'img2video'
|
|
8304
8515
|
| 'inference-control-net'
|
|
@@ -8488,6 +8699,7 @@ export namespace AssetUploadResponse {
|
|
|
8488
8699
|
| 'image-prompt-editing'
|
|
8489
8700
|
| 'img23d'
|
|
8490
8701
|
| 'img2img'
|
|
8702
|
+
| 'img2splat'
|
|
8491
8703
|
| 'img2txt'
|
|
8492
8704
|
| 'img2video'
|
|
8493
8705
|
| 'inference-controlnet'
|
|
@@ -8832,12 +9044,6 @@ export namespace AssetUploadResponse {
|
|
|
8832
9044
|
| 'qwen-image-edit-2511-lora'
|
|
8833
9045
|
| 'qwen-image-edit-lora'
|
|
8834
9046
|
| 'qwen-image-lora'
|
|
8835
|
-
| 'sd-1_5'
|
|
8836
|
-
| 'sd-1_5-composition'
|
|
8837
|
-
| 'sd-1_5-lora'
|
|
8838
|
-
| 'sd-xl'
|
|
8839
|
-
| 'sd-xl-composition'
|
|
8840
|
-
| 'sd-xl-lora'
|
|
8841
9047
|
| 'zimage-de-turbo-lora'
|
|
8842
9048
|
| 'zimage-lora'
|
|
8843
9049
|
| 'zimage-turbo-lora';
|
|
@@ -9174,6 +9380,18 @@ export namespace AssetUploadResponse {
|
|
|
9174
9380
|
*/
|
|
9175
9381
|
boneCount?: number;
|
|
9176
9382
|
|
|
9383
|
+
/**
|
|
9384
|
+
* Recommended preview camera mode emitted by the generator (gsplat route); passed
|
|
9385
|
+
* through to mesh-rendering verbatim.
|
|
9386
|
+
*/
|
|
9387
|
+
cameraMode?: 'aerial' | 'interior' | 'turntable';
|
|
9388
|
+
|
|
9389
|
+
/**
|
|
9390
|
+
* Recommended preview camera path emitted by the generator (gsplat route); passed
|
|
9391
|
+
* through to mesh-rendering verbatim.
|
|
9392
|
+
*/
|
|
9393
|
+
cameraTrajectory?: Array<Properties.CameraTrajectory>;
|
|
9394
|
+
|
|
9177
9395
|
/**
|
|
9178
9396
|
* Number of channels of the audio
|
|
9179
9397
|
*/
|
|
@@ -9294,6 +9512,28 @@ export namespace AssetUploadResponse {
|
|
|
9294
9512
|
}
|
|
9295
9513
|
|
|
9296
9514
|
export namespace Properties {
|
|
9515
|
+
/**
|
|
9516
|
+
* One explicit camera keyframe for the splat route. Several are interpolated over
|
|
9517
|
+
* the requested frames into an orbit/fly-through; a single keyframe renders a
|
|
9518
|
+
* static view. Overrides {@link SplatCameraMode} when provided.
|
|
9519
|
+
*/
|
|
9520
|
+
export interface CameraTrajectory {
|
|
9521
|
+
/**
|
|
9522
|
+
* Camera eye position in the splat's world frame.
|
|
9523
|
+
*/
|
|
9524
|
+
position: Array<unknown>;
|
|
9525
|
+
|
|
9526
|
+
/**
|
|
9527
|
+
* Look-at point in the splat's world frame.
|
|
9528
|
+
*/
|
|
9529
|
+
target: Array<unknown>;
|
|
9530
|
+
|
|
9531
|
+
/**
|
|
9532
|
+
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
9533
|
+
*/
|
|
9534
|
+
fov?: number;
|
|
9535
|
+
}
|
|
9536
|
+
|
|
9297
9537
|
/**
|
|
9298
9538
|
* Transcription of the audio
|
|
9299
9539
|
*/
|
|
@@ -9393,6 +9633,7 @@ export namespace AssetUploadResponse {
|
|
|
9393
9633
|
| 'skybox-base-360'
|
|
9394
9634
|
| 'skybox-hdri'
|
|
9395
9635
|
| 'skybox-upscale-360'
|
|
9636
|
+
| 'splat'
|
|
9396
9637
|
| 'texture'
|
|
9397
9638
|
| 'translate'
|
|
9398
9639
|
| 'upload'
|
|
@@ -9800,12 +10041,6 @@ export namespace AssetUploadResponse {
|
|
|
9800
10041
|
| 'qwen-image-edit-2511-lora'
|
|
9801
10042
|
| 'qwen-image-edit-lora'
|
|
9802
10043
|
| 'qwen-image-lora'
|
|
9803
|
-
| 'sd-1_5'
|
|
9804
|
-
| 'sd-1_5-composition'
|
|
9805
|
-
| 'sd-1_5-lora'
|
|
9806
|
-
| 'sd-xl'
|
|
9807
|
-
| 'sd-xl-composition'
|
|
9808
|
-
| 'sd-xl-lora'
|
|
9809
10044
|
| 'zimage-de-turbo-lora'
|
|
9810
10045
|
| 'zimage-lora'
|
|
9811
10046
|
| 'zimage-turbo-lora'
|
|
@@ -10033,12 +10268,6 @@ export namespace AssetUploadResponse {
|
|
|
10033
10268
|
| 'qwen-image-edit-2511-lora'
|
|
10034
10269
|
| 'qwen-image-edit-lora'
|
|
10035
10270
|
| 'qwen-image-lora'
|
|
10036
|
-
| 'sd-1_5'
|
|
10037
|
-
| 'sd-1_5-composition'
|
|
10038
|
-
| 'sd-1_5-lora'
|
|
10039
|
-
| 'sd-xl'
|
|
10040
|
-
| 'sd-xl-composition'
|
|
10041
|
-
| 'sd-xl-lora'
|
|
10042
10271
|
| 'zimage-de-turbo-lora'
|
|
10043
10272
|
| 'zimage-lora'
|
|
10044
10273
|
| 'zimage-turbo-lora'
|
|
@@ -10304,6 +10533,13 @@ export namespace AssetUploadResponse {
|
|
|
10304
10533
|
cuCost: number;
|
|
10305
10534
|
|
|
10306
10535
|
cuDiscount: number;
|
|
10536
|
+
|
|
10537
|
+
/**
|
|
10538
|
+
* When true, the credits charged for this job are not automatically refunded if
|
|
10539
|
+
* the generation fails, because the model used does not support refund-on-failure.
|
|
10540
|
+
* Absent or false means a failed generation is refunded as usual.
|
|
10541
|
+
*/
|
|
10542
|
+
disableRefund?: boolean;
|
|
10307
10543
|
}
|
|
10308
10544
|
}
|
|
10309
10545
|
}
|
|
@@ -10450,7 +10686,7 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
10450
10686
|
* skybox-base-360, skybox-hdri, skybox-3d, restyle, reframe, generative-fill,
|
|
10451
10687
|
* texture, texture-height, texture-normal, texture-smoothness, texture-metallic,
|
|
10452
10688
|
* texture-edge, texture-ao, texture-albedo, image-prompt-editing, unknown, img23d,
|
|
10453
|
-
* txt23d, video23d, 3d23d, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
10689
|
+
* txt23d, video23d, 3d23d, img2splat, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
10454
10690
|
* 3d-texture-albedo, 3d-texture-normal, 3d-texture-roughness, 3d-texture-metallic,
|
|
10455
10691
|
* img2video, txt2audio, audio2audio, audio2video, video2audio, voice-clone,
|
|
10456
10692
|
* video2video, video2img, txt2img, img2img, txt2video, uploaded, uploaded-video,
|
|
@@ -10510,6 +10746,7 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
10510
10746
|
| 'txt23d'
|
|
10511
10747
|
| 'video23d'
|
|
10512
10748
|
| '3d23d'
|
|
10749
|
+
| 'img2splat'
|
|
10513
10750
|
| '3d23d-texture'
|
|
10514
10751
|
| '3d-texture'
|
|
10515
10752
|
| '3d-texture-mtl'
|
|
@@ -10554,7 +10791,7 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
10554
10791
|
* skybox-base-360, skybox-hdri, skybox-3d, restyle, reframe, generative-fill,
|
|
10555
10792
|
* texture, texture-height, texture-normal, texture-smoothness, texture-metallic,
|
|
10556
10793
|
* texture-edge, texture-ao, texture-albedo, image-prompt-editing, unknown, img23d,
|
|
10557
|
-
* txt23d, video23d, 3d23d, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
10794
|
+
* txt23d, video23d, 3d23d, img2splat, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
10558
10795
|
* 3d-texture-albedo, 3d-texture-normal, 3d-texture-roughness, 3d-texture-metallic,
|
|
10559
10796
|
* img2video, txt2audio, audio2audio, audio2video, video2audio, voice-clone,
|
|
10560
10797
|
* video2video, video2img, txt2img, img2img, txt2video, uploaded, uploaded-video,
|
|
@@ -10613,6 +10850,7 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
10613
10850
|
| 'txt23d'
|
|
10614
10851
|
| 'video23d'
|
|
10615
10852
|
| '3d23d'
|
|
10853
|
+
| 'img2splat'
|
|
10616
10854
|
| '3d23d-texture'
|
|
10617
10855
|
| '3d-texture'
|
|
10618
10856
|
| '3d-texture-mtl'
|