@scenario-labs/sdk 3.1.0 → 3.2.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 (129) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/lib/workflow_converter.d.mts +6 -0
  9. package/lib/workflow_converter.d.mts.map +1 -1
  10. package/lib/workflow_converter.d.ts +6 -0
  11. package/lib/workflow_converter.d.ts.map +1 -1
  12. package/lib/workflow_converter.js +99 -12
  13. package/lib/workflow_converter.js.map +1 -1
  14. package/lib/workflow_converter.mjs +99 -12
  15. package/lib/workflow_converter.mjs.map +1 -1
  16. package/lib/workflow_validator.d.mts +3 -1
  17. package/lib/workflow_validator.d.mts.map +1 -1
  18. package/lib/workflow_validator.d.ts +3 -1
  19. package/lib/workflow_validator.d.ts.map +1 -1
  20. package/lib/workflow_validator.js +41 -1
  21. package/lib/workflow_validator.js.map +1 -1
  22. package/lib/workflow_validator.mjs +41 -1
  23. package/lib/workflow_validator.mjs.map +1 -1
  24. package/package.json +1 -1
  25. package/resources/assets/assets.d.mts +182 -99
  26. package/resources/assets/assets.d.mts.map +1 -1
  27. package/resources/assets/assets.d.ts +182 -99
  28. package/resources/assets/assets.d.ts.map +1 -1
  29. package/resources/assets/assets.js.map +1 -1
  30. package/resources/assets/assets.mjs.map +1 -1
  31. package/resources/assets/download.d.mts +15 -0
  32. package/resources/assets/download.d.mts.map +1 -1
  33. package/resources/assets/download.d.ts +15 -0
  34. package/resources/assets/download.d.ts.map +1 -1
  35. package/resources/assets/download.js +2 -2
  36. package/resources/assets/download.js.map +1 -1
  37. package/resources/assets/download.mjs +2 -2
  38. package/resources/assets/download.mjs.map +1 -1
  39. package/resources/generate.d.mts +379 -221
  40. package/resources/generate.d.mts.map +1 -1
  41. package/resources/generate.d.ts +379 -221
  42. package/resources/generate.d.ts.map +1 -1
  43. package/resources/generate.js +2 -6
  44. package/resources/generate.js.map +1 -1
  45. package/resources/generate.mjs +2 -6
  46. package/resources/generate.mjs.map +1 -1
  47. package/resources/index.d.mts +1 -1
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +1 -1
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js.map +1 -1
  52. package/resources/index.mjs.map +1 -1
  53. package/resources/jobs.d.mts +77 -46
  54. package/resources/jobs.d.mts.map +1 -1
  55. package/resources/jobs.d.ts +77 -46
  56. package/resources/jobs.d.ts.map +1 -1
  57. package/resources/jobs.js +2 -6
  58. package/resources/jobs.js.map +1 -1
  59. package/resources/jobs.mjs +2 -6
  60. package/resources/jobs.mjs.map +1 -1
  61. package/resources/models/description.d.mts +18 -0
  62. package/resources/models/description.d.mts.map +1 -1
  63. package/resources/models/description.d.ts +18 -0
  64. package/resources/models/description.d.ts.map +1 -1
  65. package/resources/models/examples.d.mts +80 -46
  66. package/resources/models/examples.d.mts.map +1 -1
  67. package/resources/models/examples.d.ts +80 -46
  68. package/resources/models/examples.d.ts.map +1 -1
  69. package/resources/models/models.d.mts +131 -35
  70. package/resources/models/models.d.mts.map +1 -1
  71. package/resources/models/models.d.ts +131 -35
  72. package/resources/models/models.d.ts.map +1 -1
  73. package/resources/models/models.js +6 -2
  74. package/resources/models/models.js.map +1 -1
  75. package/resources/models/models.mjs +6 -2
  76. package/resources/models/models.mjs.map +1 -1
  77. package/resources/models/train.d.mts +78 -38
  78. package/resources/models/train.d.mts.map +1 -1
  79. package/resources/models/train.d.ts +78 -38
  80. package/resources/models/train.d.ts.map +1 -1
  81. package/resources/models/train.js +2 -2
  82. package/resources/models/train.js.map +1 -1
  83. package/resources/models/train.mjs +2 -2
  84. package/resources/models/train.mjs.map +1 -1
  85. package/resources/search.d.mts +168 -5
  86. package/resources/search.d.mts.map +1 -1
  87. package/resources/search.d.ts +168 -5
  88. package/resources/search.d.ts.map +1 -1
  89. package/resources/search.js +15 -2
  90. package/resources/search.js.map +1 -1
  91. package/resources/search.mjs +15 -2
  92. package/resources/search.mjs.map +1 -1
  93. package/resources/uploads.d.mts +13 -3
  94. package/resources/uploads.d.mts.map +1 -1
  95. package/resources/uploads.d.ts +13 -3
  96. package/resources/uploads.d.ts.map +1 -1
  97. package/resources/uploads.js +2 -2
  98. package/resources/uploads.js.map +1 -1
  99. package/resources/uploads.mjs +2 -2
  100. package/resources/uploads.mjs.map +1 -1
  101. package/resources/usages.d.mts +34 -27
  102. package/resources/usages.d.mts.map +1 -1
  103. package/resources/usages.d.ts +34 -27
  104. package/resources/usages.d.ts.map +1 -1
  105. package/resources/workflows.d.mts +283 -130
  106. package/resources/workflows.d.mts.map +1 -1
  107. package/resources/workflows.d.ts +283 -130
  108. package/resources/workflows.d.ts.map +1 -1
  109. package/src/client.ts +6 -0
  110. package/src/lib/workflow_converter.ts +126 -12
  111. package/src/lib/workflow_validator.ts +68 -1
  112. package/src/resources/assets/assets.ts +574 -99
  113. package/src/resources/assets/download.ts +19 -2
  114. package/src/resources/generate.ts +495 -236
  115. package/src/resources/index.ts +3 -0
  116. package/src/resources/jobs.ts +79 -53
  117. package/src/resources/models/description.ts +116 -0
  118. package/src/resources/models/examples.ts +178 -46
  119. package/src/resources/models/models.ts +138 -37
  120. package/src/resources/models/train.ts +82 -42
  121. package/src/resources/search.ts +218 -7
  122. package/src/resources/uploads.ts +16 -5
  123. package/src/resources/usages.ts +40 -27
  124. package/src/resources/workflows.ts +283 -130
  125. package/src/version.ts +1 -1
  126. package/version.d.mts +1 -1
  127. package/version.d.ts +1 -1
  128. package/version.js +1 -1
  129. package/version.mjs +1 -1
@@ -382,7 +382,9 @@ export declare namespace ModelCreateResponse {
382
382
  * The asset kind of the input. Only taken into account for \`file\` and
383
383
  * \`file_array\` input types. If model provides multiple kinds, the input will be
384
384
  * not able to create the asset on the flight on API side with dataurl without
385
- * data:kind, prefix
385
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
386
+ * a model does not declare one, \`image\` is returned, which is the kind used at
387
+ * generation time.
386
388
  */
387
389
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
388
390
  /**
@@ -405,8 +407,9 @@ export declare namespace ModelCreateResponse {
405
407
  */
406
408
  maxDuration?: number;
407
409
  /**
408
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
409
- * \`string_array\`.
410
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
411
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
412
+ * ITEMS instead — the length of each item is not constrained.
410
413
  */
411
414
  maxLength?: number;
412
415
  /**
@@ -420,8 +423,9 @@ export declare namespace ModelCreateResponse {
420
423
  */
421
424
  min?: number;
422
425
  /**
423
- * The minimum allowed length for string inputs. Also applies to each item in
424
- * \`string_array\`.
426
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
427
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
428
+ * ITEMS instead — the length of each item is not constrained.
425
429
  */
426
430
  minLength?: number;
427
431
  /**
@@ -983,6 +987,12 @@ export declare namespace ModelCreateResponse {
983
987
  * Configuration for the loras component
984
988
  */
985
989
  lorasComponent?: UiConfig.LorasComponent;
990
+ /**
991
+ * Configuration for the provider outputs exposed by `exposeOutput`
992
+ */
993
+ outputProperties?: {
994
+ [key: string]: UiConfig.OutputProperties;
995
+ };
986
996
  /**
987
997
  * Configuration for the presets
988
998
  */
@@ -1030,6 +1040,9 @@ export declare namespace ModelCreateResponse {
1030
1040
  */
1031
1041
  modelIdInput?: string;
1032
1042
  }
1043
+ interface OutputProperties {
1044
+ label: string;
1045
+ }
1033
1046
  interface Preset {
1034
1047
  fields: Array<string>;
1035
1048
  presets: unknown;
@@ -1397,7 +1410,9 @@ export declare namespace ModelRetrieveResponse {
1397
1410
  * The asset kind of the input. Only taken into account for \`file\` and
1398
1411
  * \`file_array\` input types. If model provides multiple kinds, the input will be
1399
1412
  * not able to create the asset on the flight on API side with dataurl without
1400
- * data:kind, prefix
1413
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
1414
+ * a model does not declare one, \`image\` is returned, which is the kind used at
1415
+ * generation time.
1401
1416
  */
1402
1417
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
1403
1418
  /**
@@ -1420,8 +1435,9 @@ export declare namespace ModelRetrieveResponse {
1420
1435
  */
1421
1436
  maxDuration?: number;
1422
1437
  /**
1423
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
1424
- * \`string_array\`.
1438
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
1439
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
1440
+ * ITEMS instead — the length of each item is not constrained.
1425
1441
  */
1426
1442
  maxLength?: number;
1427
1443
  /**
@@ -1435,8 +1451,9 @@ export declare namespace ModelRetrieveResponse {
1435
1451
  */
1436
1452
  min?: number;
1437
1453
  /**
1438
- * The minimum allowed length for string inputs. Also applies to each item in
1439
- * \`string_array\`.
1454
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
1455
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
1456
+ * ITEMS instead — the length of each item is not constrained.
1440
1457
  */
1441
1458
  minLength?: number;
1442
1459
  /**
@@ -1998,6 +2015,12 @@ export declare namespace ModelRetrieveResponse {
1998
2015
  * Configuration for the loras component
1999
2016
  */
2000
2017
  lorasComponent?: UiConfig.LorasComponent;
2018
+ /**
2019
+ * Configuration for the provider outputs exposed by `exposeOutput`
2020
+ */
2021
+ outputProperties?: {
2022
+ [key: string]: UiConfig.OutputProperties;
2023
+ };
2001
2024
  /**
2002
2025
  * Configuration for the presets
2003
2026
  */
@@ -2045,6 +2068,9 @@ export declare namespace ModelRetrieveResponse {
2045
2068
  */
2046
2069
  modelIdInput?: string;
2047
2070
  }
2071
+ interface OutputProperties {
2072
+ label: string;
2073
+ }
2048
2074
  interface Preset {
2049
2075
  fields: Array<string>;
2050
2076
  presets: unknown;
@@ -2412,7 +2438,9 @@ export declare namespace ModelUpdateResponse {
2412
2438
  * The asset kind of the input. Only taken into account for \`file\` and
2413
2439
  * \`file_array\` input types. If model provides multiple kinds, the input will be
2414
2440
  * not able to create the asset on the flight on API side with dataurl without
2415
- * data:kind, prefix
2441
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
2442
+ * a model does not declare one, \`image\` is returned, which is the kind used at
2443
+ * generation time.
2416
2444
  */
2417
2445
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
2418
2446
  /**
@@ -2435,8 +2463,9 @@ export declare namespace ModelUpdateResponse {
2435
2463
  */
2436
2464
  maxDuration?: number;
2437
2465
  /**
2438
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
2439
- * \`string_array\`.
2466
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
2467
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
2468
+ * ITEMS instead — the length of each item is not constrained.
2440
2469
  */
2441
2470
  maxLength?: number;
2442
2471
  /**
@@ -2450,8 +2479,9 @@ export declare namespace ModelUpdateResponse {
2450
2479
  */
2451
2480
  min?: number;
2452
2481
  /**
2453
- * The minimum allowed length for string inputs. Also applies to each item in
2454
- * \`string_array\`.
2482
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
2483
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
2484
+ * ITEMS instead — the length of each item is not constrained.
2455
2485
  */
2456
2486
  minLength?: number;
2457
2487
  /**
@@ -3013,6 +3043,12 @@ export declare namespace ModelUpdateResponse {
3013
3043
  * Configuration for the loras component
3014
3044
  */
3015
3045
  lorasComponent?: UiConfig.LorasComponent;
3046
+ /**
3047
+ * Configuration for the provider outputs exposed by `exposeOutput`
3048
+ */
3049
+ outputProperties?: {
3050
+ [key: string]: UiConfig.OutputProperties;
3051
+ };
3016
3052
  /**
3017
3053
  * Configuration for the presets
3018
3054
  */
@@ -3060,6 +3096,9 @@ export declare namespace ModelUpdateResponse {
3060
3096
  */
3061
3097
  modelIdInput?: string;
3062
3098
  }
3099
+ interface OutputProperties {
3100
+ label: string;
3101
+ }
3063
3102
  interface Preset {
3064
3103
  fields: Array<string>;
3065
3104
  presets: unknown;
@@ -3423,7 +3462,9 @@ export declare namespace ModelListResponse {
3423
3462
  * The asset kind of the input. Only taken into account for \`file\` and
3424
3463
  * \`file_array\` input types. If model provides multiple kinds, the input will be
3425
3464
  * not able to create the asset on the flight on API side with dataurl without
3426
- * data:kind, prefix
3465
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
3466
+ * a model does not declare one, \`image\` is returned, which is the kind used at
3467
+ * generation time.
3427
3468
  */
3428
3469
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
3429
3470
  /**
@@ -3446,8 +3487,9 @@ export declare namespace ModelListResponse {
3446
3487
  */
3447
3488
  maxDuration?: number;
3448
3489
  /**
3449
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
3450
- * \`string_array\`.
3490
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
3491
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
3492
+ * ITEMS instead — the length of each item is not constrained.
3451
3493
  */
3452
3494
  maxLength?: number;
3453
3495
  /**
@@ -3461,8 +3503,9 @@ export declare namespace ModelListResponse {
3461
3503
  */
3462
3504
  min?: number;
3463
3505
  /**
3464
- * The minimum allowed length for string inputs. Also applies to each item in
3465
- * \`string_array\`.
3506
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
3507
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
3508
+ * ITEMS instead — the length of each item is not constrained.
3466
3509
  */
3467
3510
  minLength?: number;
3468
3511
  /**
@@ -4024,6 +4067,12 @@ export declare namespace ModelListResponse {
4024
4067
  * Configuration for the loras component
4025
4068
  */
4026
4069
  lorasComponent?: UiConfig.LorasComponent;
4070
+ /**
4071
+ * Configuration for the provider outputs exposed by `exposeOutput`
4072
+ */
4073
+ outputProperties?: {
4074
+ [key: string]: UiConfig.OutputProperties;
4075
+ };
4027
4076
  /**
4028
4077
  * Configuration for the presets
4029
4078
  */
@@ -4071,6 +4120,9 @@ export declare namespace ModelListResponse {
4071
4120
  */
4072
4121
  modelIdInput?: string;
4073
4122
  }
4123
+ interface OutputProperties {
4124
+ label: string;
4125
+ }
4074
4126
  interface Preset {
4075
4127
  fields: Array<string>;
4076
4128
  presets: unknown;
@@ -4438,7 +4490,9 @@ export declare namespace ModelCopyResponse {
4438
4490
  * The asset kind of the input. Only taken into account for \`file\` and
4439
4491
  * \`file_array\` input types. If model provides multiple kinds, the input will be
4440
4492
  * not able to create the asset on the flight on API side with dataurl without
4441
- * data:kind, prefix
4493
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
4494
+ * a model does not declare one, \`image\` is returned, which is the kind used at
4495
+ * generation time.
4442
4496
  */
4443
4497
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
4444
4498
  /**
@@ -4461,8 +4515,9 @@ export declare namespace ModelCopyResponse {
4461
4515
  */
4462
4516
  maxDuration?: number;
4463
4517
  /**
4464
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
4465
- * \`string_array\`.
4518
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
4519
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
4520
+ * ITEMS instead — the length of each item is not constrained.
4466
4521
  */
4467
4522
  maxLength?: number;
4468
4523
  /**
@@ -4476,8 +4531,9 @@ export declare namespace ModelCopyResponse {
4476
4531
  */
4477
4532
  min?: number;
4478
4533
  /**
4479
- * The minimum allowed length for string inputs. Also applies to each item in
4480
- * \`string_array\`.
4534
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
4535
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
4536
+ * ITEMS instead — the length of each item is not constrained.
4481
4537
  */
4482
4538
  minLength?: number;
4483
4539
  /**
@@ -5039,6 +5095,12 @@ export declare namespace ModelCopyResponse {
5039
5095
  * Configuration for the loras component
5040
5096
  */
5041
5097
  lorasComponent?: UiConfig.LorasComponent;
5098
+ /**
5099
+ * Configuration for the provider outputs exposed by `exposeOutput`
5100
+ */
5101
+ outputProperties?: {
5102
+ [key: string]: UiConfig.OutputProperties;
5103
+ };
5042
5104
  /**
5043
5105
  * Configuration for the presets
5044
5106
  */
@@ -5086,6 +5148,9 @@ export declare namespace ModelCopyResponse {
5086
5148
  */
5087
5149
  modelIdInput?: string;
5088
5150
  }
5151
+ interface OutputProperties {
5152
+ label: string;
5153
+ }
5089
5154
  interface Preset {
5090
5155
  fields: Array<string>;
5091
5156
  presets: unknown;
@@ -5460,7 +5525,9 @@ export declare namespace ModelGetBulkResponse {
5460
5525
  * The asset kind of the input. Only taken into account for \`file\` and
5461
5526
  * \`file_array\` input types. If model provides multiple kinds, the input will be
5462
5527
  * not able to create the asset on the flight on API side with dataurl without
5463
- * data:kind, prefix
5528
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
5529
+ * a model does not declare one, \`image\` is returned, which is the kind used at
5530
+ * generation time.
5464
5531
  */
5465
5532
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
5466
5533
  /**
@@ -5483,8 +5550,9 @@ export declare namespace ModelGetBulkResponse {
5483
5550
  */
5484
5551
  maxDuration?: number;
5485
5552
  /**
5486
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
5487
- * \`string_array\`.
5553
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
5554
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
5555
+ * ITEMS instead — the length of each item is not constrained.
5488
5556
  */
5489
5557
  maxLength?: number;
5490
5558
  /**
@@ -5498,8 +5566,9 @@ export declare namespace ModelGetBulkResponse {
5498
5566
  */
5499
5567
  min?: number;
5500
5568
  /**
5501
- * The minimum allowed length for string inputs. Also applies to each item in
5502
- * \`string_array\`.
5569
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
5570
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
5571
+ * ITEMS instead — the length of each item is not constrained.
5503
5572
  */
5504
5573
  minLength?: number;
5505
5574
  /**
@@ -6061,6 +6130,12 @@ export declare namespace ModelGetBulkResponse {
6061
6130
  * Configuration for the loras component
6062
6131
  */
6063
6132
  lorasComponent?: UiConfig.LorasComponent;
6133
+ /**
6134
+ * Configuration for the provider outputs exposed by `exposeOutput`
6135
+ */
6136
+ outputProperties?: {
6137
+ [key: string]: UiConfig.OutputProperties;
6138
+ };
6064
6139
  /**
6065
6140
  * Configuration for the presets
6066
6141
  */
@@ -6108,6 +6183,9 @@ export declare namespace ModelGetBulkResponse {
6108
6183
  */
6109
6184
  modelIdInput?: string;
6110
6185
  }
6186
+ interface OutputProperties {
6187
+ label: string;
6188
+ }
6111
6189
  interface Preset {
6112
6190
  fields: Array<string>;
6113
6191
  presets: unknown;
@@ -6475,7 +6553,9 @@ export declare namespace ModelTransferResponse {
6475
6553
  * The asset kind of the input. Only taken into account for \`file\` and
6476
6554
  * \`file_array\` input types. If model provides multiple kinds, the input will be
6477
6555
  * not able to create the asset on the flight on API side with dataurl without
6478
- * data:kind, prefix
6556
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
6557
+ * a model does not declare one, \`image\` is returned, which is the kind used at
6558
+ * generation time.
6479
6559
  */
6480
6560
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
6481
6561
  /**
@@ -6498,8 +6578,9 @@ export declare namespace ModelTransferResponse {
6498
6578
  */
6499
6579
  maxDuration?: number;
6500
6580
  /**
6501
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
6502
- * \`string_array\`.
6581
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
6582
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
6583
+ * ITEMS instead — the length of each item is not constrained.
6503
6584
  */
6504
6585
  maxLength?: number;
6505
6586
  /**
@@ -6513,8 +6594,9 @@ export declare namespace ModelTransferResponse {
6513
6594
  */
6514
6595
  min?: number;
6515
6596
  /**
6516
- * The minimum allowed length for string inputs. Also applies to each item in
6517
- * \`string_array\`.
6597
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
6598
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
6599
+ * ITEMS instead — the length of each item is not constrained.
6518
6600
  */
6519
6601
  minLength?: number;
6520
6602
  /**
@@ -7076,6 +7158,12 @@ export declare namespace ModelTransferResponse {
7076
7158
  * Configuration for the loras component
7077
7159
  */
7078
7160
  lorasComponent?: UiConfig.LorasComponent;
7161
+ /**
7162
+ * Configuration for the provider outputs exposed by `exposeOutput`
7163
+ */
7164
+ outputProperties?: {
7165
+ [key: string]: UiConfig.OutputProperties;
7166
+ };
7079
7167
  /**
7080
7168
  * Configuration for the presets
7081
7169
  */
@@ -7123,6 +7211,9 @@ export declare namespace ModelTransferResponse {
7123
7211
  */
7124
7212
  modelIdInput?: string;
7125
7213
  }
7214
+ interface OutputProperties {
7215
+ label: string;
7216
+ }
7126
7217
  interface Preset {
7127
7218
  fields: Array<string>;
7128
7219
  presets: unknown;
@@ -7745,6 +7836,11 @@ export interface ModelDeleteImagesParams {
7745
7836
  projectId?: string;
7746
7837
  }
7747
7838
  export interface ModelDownloadParams {
7839
+ /**
7840
+ * Query param: Estimate the operation instead of running it: the call returns a
7841
+ * 269 response carrying the creative units cost. `api` estimates at the API tier.
7842
+ */
7843
+ dryRun?: 'true' | 'api';
7748
7844
  /**
7749
7845
  * Query param: The projectId used for ownership resource management. Either to
7750
7846
  * assert ownership or to set the owner of the resource(s)