@scenario-labs/sdk 0.2.0 → 0.3.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 +26 -0
- package/README.md +4 -2
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js +11 -11
- package/client.js.map +1 -1
- package/client.mjs +11 -11
- package/client.mjs.map +1 -1
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/internal/request-options.d.mts +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/lib/workflow.d.mts +6 -1
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts +6 -1
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.js +9 -1
- package/lib/workflow.js.map +1 -1
- package/lib/workflow.mjs +9 -1
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +22 -0
- package/lib/workflow_validator.d.mts.map +1 -0
- package/lib/workflow_validator.d.ts +22 -0
- package/lib/workflow_validator.d.ts.map +1 -0
- package/lib/workflow_validator.js +124 -0
- package/lib/workflow_validator.js.map +1 -0
- package/lib/workflow_validator.mjs +121 -0
- package/lib/workflow_validator.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +9 -3
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +9 -3
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +2 -2
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +2 -2
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/index.d.mts +1 -1
- package/resources/assets/index.d.mts.map +1 -1
- package/resources/assets/index.d.ts +1 -1
- package/resources/assets/index.d.ts.map +1 -1
- package/resources/assets/index.js.map +1 -1
- package/resources/assets/index.mjs.map +1 -1
- package/resources/collections/assets.d.mts +8 -2
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts +8 -2
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.js +2 -2
- package/resources/collections/assets.js.map +1 -1
- package/resources/collections/assets.mjs +2 -2
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts +4 -4
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts +4 -4
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts +2 -2
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts +2 -2
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.js.map +1 -1
- package/resources/collections/index.mjs +2 -2
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/models.d.mts +8 -2
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts +8 -2
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.js +2 -2
- package/resources/collections/models.js.map +1 -1
- package/resources/collections/models.mjs +2 -2
- package/resources/collections/models.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/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/models/models.d.mts +133 -133
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +133 -133
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/train.d.mts +38 -38
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +38 -38
- package/resources/models/train.d.ts.map +1 -1
- package/src/client.ts +15 -13
- package/src/index.ts +1 -0
- package/src/internal/request-options.ts +1 -1
- package/src/lib/workflow.ts +10 -1
- package/src/lib/workflow_validator.ts +167 -0
- package/src/resources/assets/assets.ts +84 -3
- package/src/resources/assets/index.ts +1 -0
- package/src/resources/collections/assets.ts +14 -2
- package/src/resources/collections/collections.ts +4 -2
- package/src/resources/collections/index.ts +14 -2
- package/src/resources/collections/models.ts +14 -2
- package/src/resources/index.ts +1 -0
- package/src/resources/models/models.ts +140 -140
- package/src/resources/models/train.ts +40 -40
- 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
|
@@ -1102,54 +1102,54 @@ export namespace ModelCreateResponse {
|
|
|
1102
1102
|
computedAt: string;
|
|
1103
1103
|
|
|
1104
1104
|
/**
|
|
1105
|
-
*
|
|
1105
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
1106
1106
|
*/
|
|
1107
|
-
|
|
1107
|
+
variantKey: string;
|
|
1108
1108
|
|
|
1109
1109
|
/**
|
|
1110
|
-
*
|
|
1110
|
+
* External quality score from arena.ai leaderboard
|
|
1111
1111
|
*/
|
|
1112
|
-
|
|
1112
|
+
arenaScore?: Variant.ArenaScore;
|
|
1113
1113
|
|
|
1114
1114
|
/**
|
|
1115
|
-
*
|
|
1115
|
+
* Maximum cost per output asset (CU)
|
|
1116
1116
|
*/
|
|
1117
|
-
|
|
1117
|
+
costPerAssetMaxCU?: number;
|
|
1118
1118
|
|
|
1119
1119
|
/**
|
|
1120
|
-
*
|
|
1120
|
+
* Minimum cost per output asset (CU)
|
|
1121
1121
|
*/
|
|
1122
|
-
|
|
1122
|
+
costPerAssetMinCU?: number;
|
|
1123
1123
|
|
|
1124
1124
|
/**
|
|
1125
|
-
*
|
|
1125
|
+
* Median cost per output asset (CU)
|
|
1126
1126
|
*/
|
|
1127
|
-
|
|
1127
|
+
costPerAssetP50CU?: number;
|
|
1128
1128
|
|
|
1129
1129
|
/**
|
|
1130
|
-
*
|
|
1130
|
+
* Inference latency P50 per output asset (seconds)
|
|
1131
1131
|
*/
|
|
1132
|
-
|
|
1132
|
+
inferenceLatencyP50Sec?: number;
|
|
1133
1133
|
|
|
1134
1134
|
/**
|
|
1135
|
-
*
|
|
1135
|
+
* Inference latency P75 per output asset (seconds)
|
|
1136
1136
|
*/
|
|
1137
|
-
|
|
1137
|
+
inferenceLatencyP75Sec?: number;
|
|
1138
1138
|
|
|
1139
1139
|
/**
|
|
1140
|
-
*
|
|
1140
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
1141
1141
|
*/
|
|
1142
|
-
|
|
1142
|
+
resolution?: string;
|
|
1143
1143
|
|
|
1144
1144
|
/**
|
|
1145
|
-
*
|
|
1145
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
1146
1146
|
*/
|
|
1147
|
-
|
|
1147
|
+
totalLatencyP50Sec?: number;
|
|
1148
1148
|
|
|
1149
1149
|
/**
|
|
1150
|
-
*
|
|
1150
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
1151
1151
|
*/
|
|
1152
|
-
|
|
1152
|
+
totalLatencyP75Sec?: number;
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
export namespace Variant {
|
|
@@ -2398,54 +2398,54 @@ export namespace ModelRetrieveResponse {
|
|
|
2398
2398
|
computedAt: string;
|
|
2399
2399
|
|
|
2400
2400
|
/**
|
|
2401
|
-
*
|
|
2401
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
2402
2402
|
*/
|
|
2403
|
-
|
|
2403
|
+
variantKey: string;
|
|
2404
2404
|
|
|
2405
2405
|
/**
|
|
2406
|
-
*
|
|
2406
|
+
* External quality score from arena.ai leaderboard
|
|
2407
2407
|
*/
|
|
2408
|
-
|
|
2408
|
+
arenaScore?: Variant.ArenaScore;
|
|
2409
2409
|
|
|
2410
2410
|
/**
|
|
2411
|
-
*
|
|
2411
|
+
* Maximum cost per output asset (CU)
|
|
2412
2412
|
*/
|
|
2413
|
-
|
|
2413
|
+
costPerAssetMaxCU?: number;
|
|
2414
2414
|
|
|
2415
2415
|
/**
|
|
2416
|
-
*
|
|
2416
|
+
* Minimum cost per output asset (CU)
|
|
2417
2417
|
*/
|
|
2418
|
-
|
|
2418
|
+
costPerAssetMinCU?: number;
|
|
2419
2419
|
|
|
2420
2420
|
/**
|
|
2421
|
-
*
|
|
2421
|
+
* Median cost per output asset (CU)
|
|
2422
2422
|
*/
|
|
2423
|
-
|
|
2423
|
+
costPerAssetP50CU?: number;
|
|
2424
2424
|
|
|
2425
2425
|
/**
|
|
2426
|
-
*
|
|
2426
|
+
* Inference latency P50 per output asset (seconds)
|
|
2427
2427
|
*/
|
|
2428
|
-
|
|
2428
|
+
inferenceLatencyP50Sec?: number;
|
|
2429
2429
|
|
|
2430
2430
|
/**
|
|
2431
|
-
*
|
|
2431
|
+
* Inference latency P75 per output asset (seconds)
|
|
2432
2432
|
*/
|
|
2433
|
-
|
|
2433
|
+
inferenceLatencyP75Sec?: number;
|
|
2434
2434
|
|
|
2435
2435
|
/**
|
|
2436
|
-
*
|
|
2436
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
2437
2437
|
*/
|
|
2438
|
-
|
|
2438
|
+
resolution?: string;
|
|
2439
2439
|
|
|
2440
2440
|
/**
|
|
2441
|
-
*
|
|
2441
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
2442
2442
|
*/
|
|
2443
|
-
|
|
2443
|
+
totalLatencyP50Sec?: number;
|
|
2444
2444
|
|
|
2445
2445
|
/**
|
|
2446
|
-
*
|
|
2446
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
2447
2447
|
*/
|
|
2448
|
-
|
|
2448
|
+
totalLatencyP75Sec?: number;
|
|
2449
2449
|
}
|
|
2450
2450
|
|
|
2451
2451
|
export namespace Variant {
|
|
@@ -3694,54 +3694,54 @@ export namespace ModelUpdateResponse {
|
|
|
3694
3694
|
computedAt: string;
|
|
3695
3695
|
|
|
3696
3696
|
/**
|
|
3697
|
-
*
|
|
3697
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
3698
3698
|
*/
|
|
3699
|
-
|
|
3699
|
+
variantKey: string;
|
|
3700
3700
|
|
|
3701
3701
|
/**
|
|
3702
|
-
*
|
|
3702
|
+
* External quality score from arena.ai leaderboard
|
|
3703
3703
|
*/
|
|
3704
|
-
|
|
3704
|
+
arenaScore?: Variant.ArenaScore;
|
|
3705
3705
|
|
|
3706
3706
|
/**
|
|
3707
|
-
*
|
|
3707
|
+
* Maximum cost per output asset (CU)
|
|
3708
3708
|
*/
|
|
3709
|
-
|
|
3709
|
+
costPerAssetMaxCU?: number;
|
|
3710
3710
|
|
|
3711
3711
|
/**
|
|
3712
|
-
*
|
|
3712
|
+
* Minimum cost per output asset (CU)
|
|
3713
3713
|
*/
|
|
3714
|
-
|
|
3714
|
+
costPerAssetMinCU?: number;
|
|
3715
3715
|
|
|
3716
3716
|
/**
|
|
3717
|
-
*
|
|
3717
|
+
* Median cost per output asset (CU)
|
|
3718
3718
|
*/
|
|
3719
|
-
|
|
3719
|
+
costPerAssetP50CU?: number;
|
|
3720
3720
|
|
|
3721
3721
|
/**
|
|
3722
|
-
*
|
|
3722
|
+
* Inference latency P50 per output asset (seconds)
|
|
3723
3723
|
*/
|
|
3724
|
-
|
|
3724
|
+
inferenceLatencyP50Sec?: number;
|
|
3725
3725
|
|
|
3726
3726
|
/**
|
|
3727
|
-
*
|
|
3727
|
+
* Inference latency P75 per output asset (seconds)
|
|
3728
3728
|
*/
|
|
3729
|
-
|
|
3729
|
+
inferenceLatencyP75Sec?: number;
|
|
3730
3730
|
|
|
3731
3731
|
/**
|
|
3732
|
-
*
|
|
3732
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
3733
3733
|
*/
|
|
3734
|
-
|
|
3734
|
+
resolution?: string;
|
|
3735
3735
|
|
|
3736
3736
|
/**
|
|
3737
|
-
*
|
|
3737
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
3738
3738
|
*/
|
|
3739
|
-
|
|
3739
|
+
totalLatencyP50Sec?: number;
|
|
3740
3740
|
|
|
3741
3741
|
/**
|
|
3742
|
-
*
|
|
3742
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
3743
3743
|
*/
|
|
3744
|
-
|
|
3744
|
+
totalLatencyP75Sec?: number;
|
|
3745
3745
|
}
|
|
3746
3746
|
|
|
3747
3747
|
export namespace Variant {
|
|
@@ -4995,54 +4995,54 @@ export namespace ModelListResponse {
|
|
|
4995
4995
|
computedAt: string;
|
|
4996
4996
|
|
|
4997
4997
|
/**
|
|
4998
|
-
*
|
|
4998
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
4999
4999
|
*/
|
|
5000
|
-
|
|
5000
|
+
variantKey: string;
|
|
5001
5001
|
|
|
5002
5002
|
/**
|
|
5003
|
-
*
|
|
5003
|
+
* External quality score from arena.ai leaderboard
|
|
5004
5004
|
*/
|
|
5005
|
-
|
|
5005
|
+
arenaScore?: Variant.ArenaScore;
|
|
5006
5006
|
|
|
5007
5007
|
/**
|
|
5008
|
-
*
|
|
5008
|
+
* Maximum cost per output asset (CU)
|
|
5009
5009
|
*/
|
|
5010
|
-
|
|
5010
|
+
costPerAssetMaxCU?: number;
|
|
5011
5011
|
|
|
5012
5012
|
/**
|
|
5013
|
-
*
|
|
5013
|
+
* Minimum cost per output asset (CU)
|
|
5014
5014
|
*/
|
|
5015
|
-
|
|
5015
|
+
costPerAssetMinCU?: number;
|
|
5016
5016
|
|
|
5017
5017
|
/**
|
|
5018
|
-
*
|
|
5018
|
+
* Median cost per output asset (CU)
|
|
5019
5019
|
*/
|
|
5020
|
-
|
|
5020
|
+
costPerAssetP50CU?: number;
|
|
5021
5021
|
|
|
5022
5022
|
/**
|
|
5023
|
-
*
|
|
5023
|
+
* Inference latency P50 per output asset (seconds)
|
|
5024
5024
|
*/
|
|
5025
|
-
|
|
5025
|
+
inferenceLatencyP50Sec?: number;
|
|
5026
5026
|
|
|
5027
5027
|
/**
|
|
5028
|
-
*
|
|
5028
|
+
* Inference latency P75 per output asset (seconds)
|
|
5029
5029
|
*/
|
|
5030
|
-
|
|
5030
|
+
inferenceLatencyP75Sec?: number;
|
|
5031
5031
|
|
|
5032
5032
|
/**
|
|
5033
|
-
*
|
|
5033
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
5034
5034
|
*/
|
|
5035
|
-
|
|
5035
|
+
resolution?: string;
|
|
5036
5036
|
|
|
5037
5037
|
/**
|
|
5038
|
-
*
|
|
5038
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
5039
5039
|
*/
|
|
5040
|
-
|
|
5040
|
+
totalLatencyP50Sec?: number;
|
|
5041
5041
|
|
|
5042
5042
|
/**
|
|
5043
|
-
*
|
|
5043
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
5044
5044
|
*/
|
|
5045
|
-
|
|
5045
|
+
totalLatencyP75Sec?: number;
|
|
5046
5046
|
}
|
|
5047
5047
|
|
|
5048
5048
|
export namespace Variant {
|
|
@@ -6293,54 +6293,54 @@ export namespace ModelCopyResponse {
|
|
|
6293
6293
|
computedAt: string;
|
|
6294
6294
|
|
|
6295
6295
|
/**
|
|
6296
|
-
*
|
|
6296
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
6297
6297
|
*/
|
|
6298
|
-
|
|
6298
|
+
variantKey: string;
|
|
6299
6299
|
|
|
6300
6300
|
/**
|
|
6301
|
-
*
|
|
6301
|
+
* External quality score from arena.ai leaderboard
|
|
6302
6302
|
*/
|
|
6303
|
-
|
|
6303
|
+
arenaScore?: Variant.ArenaScore;
|
|
6304
6304
|
|
|
6305
6305
|
/**
|
|
6306
|
-
*
|
|
6306
|
+
* Maximum cost per output asset (CU)
|
|
6307
6307
|
*/
|
|
6308
|
-
|
|
6308
|
+
costPerAssetMaxCU?: number;
|
|
6309
6309
|
|
|
6310
6310
|
/**
|
|
6311
|
-
*
|
|
6311
|
+
* Minimum cost per output asset (CU)
|
|
6312
6312
|
*/
|
|
6313
|
-
|
|
6313
|
+
costPerAssetMinCU?: number;
|
|
6314
6314
|
|
|
6315
6315
|
/**
|
|
6316
|
-
*
|
|
6316
|
+
* Median cost per output asset (CU)
|
|
6317
6317
|
*/
|
|
6318
|
-
|
|
6318
|
+
costPerAssetP50CU?: number;
|
|
6319
6319
|
|
|
6320
6320
|
/**
|
|
6321
|
-
*
|
|
6321
|
+
* Inference latency P50 per output asset (seconds)
|
|
6322
6322
|
*/
|
|
6323
|
-
|
|
6323
|
+
inferenceLatencyP50Sec?: number;
|
|
6324
6324
|
|
|
6325
6325
|
/**
|
|
6326
|
-
*
|
|
6326
|
+
* Inference latency P75 per output asset (seconds)
|
|
6327
6327
|
*/
|
|
6328
|
-
|
|
6328
|
+
inferenceLatencyP75Sec?: number;
|
|
6329
6329
|
|
|
6330
6330
|
/**
|
|
6331
|
-
*
|
|
6331
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
6332
6332
|
*/
|
|
6333
|
-
|
|
6333
|
+
resolution?: string;
|
|
6334
6334
|
|
|
6335
6335
|
/**
|
|
6336
|
-
*
|
|
6336
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
6337
6337
|
*/
|
|
6338
|
-
|
|
6338
|
+
totalLatencyP50Sec?: number;
|
|
6339
6339
|
|
|
6340
6340
|
/**
|
|
6341
|
-
*
|
|
6341
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
6342
6342
|
*/
|
|
6343
|
-
|
|
6343
|
+
totalLatencyP75Sec?: number;
|
|
6344
6344
|
}
|
|
6345
6345
|
|
|
6346
6346
|
export namespace Variant {
|
|
@@ -7598,54 +7598,54 @@ export namespace ModelGetBulkResponse {
|
|
|
7598
7598
|
computedAt: string;
|
|
7599
7599
|
|
|
7600
7600
|
/**
|
|
7601
|
-
*
|
|
7601
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
7602
7602
|
*/
|
|
7603
|
-
|
|
7603
|
+
variantKey: string;
|
|
7604
7604
|
|
|
7605
7605
|
/**
|
|
7606
|
-
*
|
|
7606
|
+
* External quality score from arena.ai leaderboard
|
|
7607
7607
|
*/
|
|
7608
|
-
|
|
7608
|
+
arenaScore?: Variant.ArenaScore;
|
|
7609
7609
|
|
|
7610
7610
|
/**
|
|
7611
|
-
*
|
|
7611
|
+
* Maximum cost per output asset (CU)
|
|
7612
7612
|
*/
|
|
7613
|
-
|
|
7613
|
+
costPerAssetMaxCU?: number;
|
|
7614
7614
|
|
|
7615
7615
|
/**
|
|
7616
|
-
*
|
|
7616
|
+
* Minimum cost per output asset (CU)
|
|
7617
7617
|
*/
|
|
7618
|
-
|
|
7618
|
+
costPerAssetMinCU?: number;
|
|
7619
7619
|
|
|
7620
7620
|
/**
|
|
7621
|
-
*
|
|
7621
|
+
* Median cost per output asset (CU)
|
|
7622
7622
|
*/
|
|
7623
|
-
|
|
7623
|
+
costPerAssetP50CU?: number;
|
|
7624
7624
|
|
|
7625
7625
|
/**
|
|
7626
|
-
*
|
|
7626
|
+
* Inference latency P50 per output asset (seconds)
|
|
7627
7627
|
*/
|
|
7628
|
-
|
|
7628
|
+
inferenceLatencyP50Sec?: number;
|
|
7629
7629
|
|
|
7630
7630
|
/**
|
|
7631
|
-
*
|
|
7631
|
+
* Inference latency P75 per output asset (seconds)
|
|
7632
7632
|
*/
|
|
7633
|
-
|
|
7633
|
+
inferenceLatencyP75Sec?: number;
|
|
7634
7634
|
|
|
7635
7635
|
/**
|
|
7636
|
-
*
|
|
7636
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
7637
7637
|
*/
|
|
7638
|
-
|
|
7638
|
+
resolution?: string;
|
|
7639
7639
|
|
|
7640
7640
|
/**
|
|
7641
|
-
*
|
|
7641
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
7642
7642
|
*/
|
|
7643
|
-
|
|
7643
|
+
totalLatencyP50Sec?: number;
|
|
7644
7644
|
|
|
7645
7645
|
/**
|
|
7646
|
-
*
|
|
7646
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
7647
7647
|
*/
|
|
7648
|
-
|
|
7648
|
+
totalLatencyP75Sec?: number;
|
|
7649
7649
|
}
|
|
7650
7650
|
|
|
7651
7651
|
export namespace Variant {
|
|
@@ -8894,54 +8894,54 @@ export namespace ModelTransferResponse {
|
|
|
8894
8894
|
computedAt: string;
|
|
8895
8895
|
|
|
8896
8896
|
/**
|
|
8897
|
-
*
|
|
8897
|
+
* Unique variant identifier (example: "txt2img:1K", "img2video:2K", "txt2audio")
|
|
8898
8898
|
*/
|
|
8899
|
-
|
|
8899
|
+
variantKey: string;
|
|
8900
8900
|
|
|
8901
8901
|
/**
|
|
8902
|
-
*
|
|
8902
|
+
* External quality score from arena.ai leaderboard
|
|
8903
8903
|
*/
|
|
8904
|
-
|
|
8904
|
+
arenaScore?: Variant.ArenaScore;
|
|
8905
8905
|
|
|
8906
8906
|
/**
|
|
8907
|
-
*
|
|
8907
|
+
* Maximum cost per output asset (CU)
|
|
8908
8908
|
*/
|
|
8909
|
-
|
|
8909
|
+
costPerAssetMaxCU?: number;
|
|
8910
8910
|
|
|
8911
8911
|
/**
|
|
8912
|
-
*
|
|
8912
|
+
* Minimum cost per output asset (CU)
|
|
8913
8913
|
*/
|
|
8914
|
-
|
|
8914
|
+
costPerAssetMinCU?: number;
|
|
8915
8915
|
|
|
8916
8916
|
/**
|
|
8917
|
-
*
|
|
8917
|
+
* Median cost per output asset (CU)
|
|
8918
8918
|
*/
|
|
8919
|
-
|
|
8919
|
+
costPerAssetP50CU?: number;
|
|
8920
8920
|
|
|
8921
8921
|
/**
|
|
8922
|
-
*
|
|
8922
|
+
* Inference latency P50 per output asset (seconds)
|
|
8923
8923
|
*/
|
|
8924
|
-
|
|
8924
|
+
inferenceLatencyP50Sec?: number;
|
|
8925
8925
|
|
|
8926
8926
|
/**
|
|
8927
|
-
*
|
|
8927
|
+
* Inference latency P75 per output asset (seconds)
|
|
8928
8928
|
*/
|
|
8929
|
-
|
|
8929
|
+
inferenceLatencyP75Sec?: number;
|
|
8930
8930
|
|
|
8931
8931
|
/**
|
|
8932
|
-
*
|
|
8932
|
+
* The resolution bucket (example: "0.5K", "1K", "2K", "4K")
|
|
8933
8933
|
*/
|
|
8934
|
-
|
|
8934
|
+
resolution?: string;
|
|
8935
8935
|
|
|
8936
8936
|
/**
|
|
8937
|
-
*
|
|
8937
|
+
* Total latency P50 per output asset, including queue time (seconds)
|
|
8938
8938
|
*/
|
|
8939
|
-
|
|
8939
|
+
totalLatencyP50Sec?: number;
|
|
8940
8940
|
|
|
8941
8941
|
/**
|
|
8942
|
-
*
|
|
8942
|
+
* Total latency P75 per output asset, including queue time (seconds)
|
|
8943
8943
|
*/
|
|
8944
|
-
|
|
8944
|
+
totalLatencyP75Sec?: number;
|
|
8945
8945
|
}
|
|
8946
8946
|
|
|
8947
8947
|
export namespace Variant {
|