@tokenlabai/mcp-server 0.6.17 → 0.6.19
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/README.md +3 -2
- package/contract/openapi.json +935 -309
- package/generated/public-contract.json +6 -6
- package/generated/tools.json +547 -288
- package/package.json +1 -1
- package/src/index.js +67 -6
- package/src/tool-schema.js +19 -6
package/contract/openapi.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"openapi": "3.0
|
|
2
|
+
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "TokenLab AI Gateway",
|
|
5
5
|
"description": "Organization balance, API key management, and key-level usage/billing via management token",
|
|
@@ -221,9 +221,14 @@
|
|
|
221
221
|
"$ref": "#/components/responses/UpstreamError"
|
|
222
222
|
},
|
|
223
223
|
"503": {
|
|
224
|
-
"$ref": "#/components/responses/
|
|
224
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
225
225
|
}
|
|
226
|
-
}
|
|
226
|
+
},
|
|
227
|
+
"parameters": [
|
|
228
|
+
{
|
|
229
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
227
232
|
}
|
|
228
233
|
},
|
|
229
234
|
"/v1/embeddings": {
|
|
@@ -288,8 +293,16 @@
|
|
|
288
293
|
},
|
|
289
294
|
"500": {
|
|
290
295
|
"$ref": "#/components/responses/ServerError"
|
|
296
|
+
},
|
|
297
|
+
"503": {
|
|
298
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
291
299
|
}
|
|
292
|
-
}
|
|
300
|
+
},
|
|
301
|
+
"parameters": [
|
|
302
|
+
{
|
|
303
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
293
306
|
}
|
|
294
307
|
},
|
|
295
308
|
"/v1/multimodal/embeddings": {
|
|
@@ -349,8 +362,16 @@
|
|
|
349
362
|
},
|
|
350
363
|
"502": {
|
|
351
364
|
"$ref": "#/components/responses/UpstreamError"
|
|
365
|
+
},
|
|
366
|
+
"503": {
|
|
367
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
352
368
|
}
|
|
353
|
-
}
|
|
369
|
+
},
|
|
370
|
+
"parameters": [
|
|
371
|
+
{
|
|
372
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
354
375
|
}
|
|
355
376
|
},
|
|
356
377
|
"/v1/images/generations": {
|
|
@@ -421,8 +442,16 @@
|
|
|
421
442
|
},
|
|
422
443
|
"500": {
|
|
423
444
|
"$ref": "#/components/responses/ServerError"
|
|
445
|
+
},
|
|
446
|
+
"503": {
|
|
447
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
424
448
|
}
|
|
425
|
-
}
|
|
449
|
+
},
|
|
450
|
+
"parameters": [
|
|
451
|
+
{
|
|
452
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
453
|
+
}
|
|
454
|
+
]
|
|
426
455
|
}
|
|
427
456
|
},
|
|
428
457
|
"/v1/images/{id}": {
|
|
@@ -618,8 +647,16 @@
|
|
|
618
647
|
},
|
|
619
648
|
"500": {
|
|
620
649
|
"$ref": "#/components/responses/ServerError"
|
|
650
|
+
},
|
|
651
|
+
"503": {
|
|
652
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
621
653
|
}
|
|
622
|
-
}
|
|
654
|
+
},
|
|
655
|
+
"parameters": [
|
|
656
|
+
{
|
|
657
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
658
|
+
}
|
|
659
|
+
]
|
|
623
660
|
}
|
|
624
661
|
},
|
|
625
662
|
"/v1/audio/transcriptions": {
|
|
@@ -670,8 +707,16 @@
|
|
|
670
707
|
},
|
|
671
708
|
"500": {
|
|
672
709
|
"$ref": "#/components/responses/ServerError"
|
|
710
|
+
},
|
|
711
|
+
"503": {
|
|
712
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
673
713
|
}
|
|
674
|
-
}
|
|
714
|
+
},
|
|
715
|
+
"parameters": [
|
|
716
|
+
{
|
|
717
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
718
|
+
}
|
|
719
|
+
]
|
|
675
720
|
}
|
|
676
721
|
},
|
|
677
722
|
"/v1/videos/generations": {
|
|
@@ -773,8 +818,16 @@
|
|
|
773
818
|
},
|
|
774
819
|
"500": {
|
|
775
820
|
"$ref": "#/components/responses/ServerError"
|
|
821
|
+
},
|
|
822
|
+
"503": {
|
|
823
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
776
824
|
}
|
|
777
|
-
}
|
|
825
|
+
},
|
|
826
|
+
"parameters": [
|
|
827
|
+
{
|
|
828
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
829
|
+
}
|
|
830
|
+
]
|
|
778
831
|
}
|
|
779
832
|
},
|
|
780
833
|
"/v1/videos/generations/{id}": {
|
|
@@ -1694,8 +1747,16 @@
|
|
|
1694
1747
|
},
|
|
1695
1748
|
"500": {
|
|
1696
1749
|
"$ref": "#/components/responses/ServerError"
|
|
1750
|
+
},
|
|
1751
|
+
"503": {
|
|
1752
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
1697
1753
|
}
|
|
1698
|
-
}
|
|
1754
|
+
},
|
|
1755
|
+
"parameters": [
|
|
1756
|
+
{
|
|
1757
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1699
1760
|
}
|
|
1700
1761
|
},
|
|
1701
1762
|
"/v1/messages/count_tokens": {
|
|
@@ -1794,8 +1855,16 @@
|
|
|
1794
1855
|
},
|
|
1795
1856
|
"502": {
|
|
1796
1857
|
"$ref": "#/components/responses/UpstreamError"
|
|
1858
|
+
},
|
|
1859
|
+
"503": {
|
|
1860
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
1797
1861
|
}
|
|
1798
|
-
}
|
|
1862
|
+
},
|
|
1863
|
+
"parameters": [
|
|
1864
|
+
{
|
|
1865
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
1866
|
+
}
|
|
1867
|
+
]
|
|
1799
1868
|
},
|
|
1800
1869
|
"get": {
|
|
1801
1870
|
"tags": [
|
|
@@ -2086,6 +2155,9 @@
|
|
|
2086
2155
|
"description": "Generates content using the native Gemini GenerateContent shape. This route is exposed only when the model details advertise Gemini requests and a same-protocol route is currently available. ProtoJSON lowerCamelCase and original proto snake_case field names are preserved. Unknown fields are forwarded best-effort and support is determined by the selected provider.\n\n**Authentication:** Use `?key=` query parameter, `x-goog-api-key` header, or `Authorization: Bearer` header.",
|
|
2087
2156
|
"operationId": "geminiGenerateContent",
|
|
2088
2157
|
"parameters": [
|
|
2158
|
+
{
|
|
2159
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
2160
|
+
},
|
|
2089
2161
|
{
|
|
2090
2162
|
"name": "model",
|
|
2091
2163
|
"in": "path",
|
|
@@ -2199,6 +2271,9 @@
|
|
|
2199
2271
|
}
|
|
2200
2272
|
}
|
|
2201
2273
|
}
|
|
2274
|
+
},
|
|
2275
|
+
"503": {
|
|
2276
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2202
2277
|
}
|
|
2203
2278
|
}
|
|
2204
2279
|
}
|
|
@@ -2212,6 +2287,9 @@
|
|
|
2212
2287
|
"description": "Streams native Gemini GenerateContent Server-Sent Events without adding Chat Completions terminators. Metadata-only chunks, intermediate chunks without finishReason, and natural EOF are valid.\n\n**Authentication:** Use `?key=` query parameter, `x-goog-api-key` header, or `Authorization: Bearer` header.",
|
|
2213
2288
|
"operationId": "geminiStreamGenerateContent",
|
|
2214
2289
|
"parameters": [
|
|
2290
|
+
{
|
|
2291
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
2292
|
+
},
|
|
2215
2293
|
{
|
|
2216
2294
|
"name": "model",
|
|
2217
2295
|
"in": "path",
|
|
@@ -2292,6 +2370,9 @@
|
|
|
2292
2370
|
}
|
|
2293
2371
|
}
|
|
2294
2372
|
}
|
|
2373
|
+
},
|
|
2374
|
+
"503": {
|
|
2375
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2295
2376
|
}
|
|
2296
2377
|
}
|
|
2297
2378
|
}
|
|
@@ -2384,6 +2465,9 @@
|
|
|
2384
2465
|
"description": "Creates an embedding using the native Gemini EmbedContent contract.",
|
|
2385
2466
|
"operationId": "geminiEmbedContent",
|
|
2386
2467
|
"parameters": [
|
|
2468
|
+
{
|
|
2469
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
2470
|
+
},
|
|
2387
2471
|
{
|
|
2388
2472
|
"name": "model",
|
|
2389
2473
|
"in": "path",
|
|
@@ -2457,6 +2541,9 @@
|
|
|
2457
2541
|
}
|
|
2458
2542
|
}
|
|
2459
2543
|
}
|
|
2544
|
+
},
|
|
2545
|
+
"503": {
|
|
2546
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2460
2547
|
}
|
|
2461
2548
|
}
|
|
2462
2549
|
}
|
|
@@ -2470,6 +2557,9 @@
|
|
|
2470
2557
|
"description": "Creates multiple embeddings using the native Gemini BatchEmbedContents contract.",
|
|
2471
2558
|
"operationId": "geminiBatchEmbedContents",
|
|
2472
2559
|
"parameters": [
|
|
2560
|
+
{
|
|
2561
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
2562
|
+
},
|
|
2473
2563
|
{
|
|
2474
2564
|
"name": "model",
|
|
2475
2565
|
"in": "path",
|
|
@@ -2531,6 +2621,9 @@
|
|
|
2531
2621
|
}
|
|
2532
2622
|
}
|
|
2533
2623
|
}
|
|
2624
|
+
},
|
|
2625
|
+
"503": {
|
|
2626
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2534
2627
|
}
|
|
2535
2628
|
}
|
|
2536
2629
|
}
|
|
@@ -2688,8 +2781,16 @@
|
|
|
2688
2781
|
},
|
|
2689
2782
|
"401": {
|
|
2690
2783
|
"$ref": "#/components/responses/Unauthorized"
|
|
2784
|
+
},
|
|
2785
|
+
"503": {
|
|
2786
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2691
2787
|
}
|
|
2692
|
-
}
|
|
2788
|
+
},
|
|
2789
|
+
"parameters": [
|
|
2790
|
+
{
|
|
2791
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
2792
|
+
}
|
|
2793
|
+
]
|
|
2693
2794
|
}
|
|
2694
2795
|
},
|
|
2695
2796
|
"/v1/responses/{id}": {
|
|
@@ -2863,9 +2964,14 @@
|
|
|
2863
2964
|
"$ref": "#/components/responses/PaymentRequired"
|
|
2864
2965
|
},
|
|
2865
2966
|
"503": {
|
|
2866
|
-
"$ref": "#/components/responses/
|
|
2967
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2867
2968
|
}
|
|
2868
|
-
}
|
|
2969
|
+
},
|
|
2970
|
+
"parameters": [
|
|
2971
|
+
{
|
|
2972
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2869
2975
|
}
|
|
2870
2976
|
},
|
|
2871
2977
|
"/v1/rerank": {
|
|
@@ -2955,8 +3061,16 @@
|
|
|
2955
3061
|
},
|
|
2956
3062
|
"401": {
|
|
2957
3063
|
"$ref": "#/components/responses/Unauthorized"
|
|
3064
|
+
},
|
|
3065
|
+
"503": {
|
|
3066
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
2958
3067
|
}
|
|
2959
|
-
}
|
|
3068
|
+
},
|
|
3069
|
+
"parameters": [
|
|
3070
|
+
{
|
|
3071
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
3072
|
+
}
|
|
3073
|
+
]
|
|
2960
3074
|
}
|
|
2961
3075
|
},
|
|
2962
3076
|
"/v1/music/generations": {
|
|
@@ -3053,8 +3167,16 @@
|
|
|
3053
3167
|
},
|
|
3054
3168
|
"401": {
|
|
3055
3169
|
"$ref": "#/components/responses/Unauthorized"
|
|
3170
|
+
},
|
|
3171
|
+
"503": {
|
|
3172
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
3056
3173
|
}
|
|
3057
|
-
}
|
|
3174
|
+
},
|
|
3175
|
+
"parameters": [
|
|
3176
|
+
{
|
|
3177
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
3178
|
+
}
|
|
3179
|
+
]
|
|
3058
3180
|
}
|
|
3059
3181
|
},
|
|
3060
3182
|
"/v1/music/generations/{id}": {
|
|
@@ -3158,8 +3280,16 @@
|
|
|
3158
3280
|
},
|
|
3159
3281
|
"401": {
|
|
3160
3282
|
"$ref": "#/components/responses/Unauthorized"
|
|
3283
|
+
},
|
|
3284
|
+
"503": {
|
|
3285
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
3161
3286
|
}
|
|
3162
|
-
}
|
|
3287
|
+
},
|
|
3288
|
+
"parameters": [
|
|
3289
|
+
{
|
|
3290
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
3291
|
+
}
|
|
3292
|
+
]
|
|
3163
3293
|
}
|
|
3164
3294
|
},
|
|
3165
3295
|
"/v1/3d/generations/{id}": {
|
|
@@ -3223,6 +3353,11 @@
|
|
|
3223
3353
|
"404": {
|
|
3224
3354
|
"$ref": "#/components/responses/NotFound"
|
|
3225
3355
|
}
|
|
3356
|
+
},
|
|
3357
|
+
"x-mint": {
|
|
3358
|
+
"metadata": {
|
|
3359
|
+
"playground": "simple"
|
|
3360
|
+
}
|
|
3226
3361
|
}
|
|
3227
3362
|
}
|
|
3228
3363
|
},
|
|
@@ -3256,6 +3391,11 @@
|
|
|
3256
3391
|
"403": {
|
|
3257
3392
|
"$ref": "#/components/responses/Forbidden"
|
|
3258
3393
|
}
|
|
3394
|
+
},
|
|
3395
|
+
"x-mint": {
|
|
3396
|
+
"metadata": {
|
|
3397
|
+
"playground": "simple"
|
|
3398
|
+
}
|
|
3259
3399
|
}
|
|
3260
3400
|
},
|
|
3261
3401
|
"post": {
|
|
@@ -3316,6 +3456,19 @@
|
|
|
3316
3456
|
],
|
|
3317
3457
|
"format": "date-time",
|
|
3318
3458
|
"description": "Optional RFC3339 timestamp. null means no expiry."
|
|
3459
|
+
},
|
|
3460
|
+
"deliveryPolicy": {
|
|
3461
|
+
"type": [
|
|
3462
|
+
"string",
|
|
3463
|
+
"null"
|
|
3464
|
+
],
|
|
3465
|
+
"enum": [
|
|
3466
|
+
"auto",
|
|
3467
|
+
"verified",
|
|
3468
|
+
"official",
|
|
3469
|
+
null
|
|
3470
|
+
],
|
|
3471
|
+
"description": "Per-key Delivery policy. null inherits the Workspace default."
|
|
3319
3472
|
}
|
|
3320
3473
|
},
|
|
3321
3474
|
"required": [
|
|
@@ -3345,6 +3498,11 @@
|
|
|
3345
3498
|
"403": {
|
|
3346
3499
|
"$ref": "#/components/responses/Forbidden"
|
|
3347
3500
|
}
|
|
3501
|
+
},
|
|
3502
|
+
"x-mint": {
|
|
3503
|
+
"metadata": {
|
|
3504
|
+
"playground": "simple"
|
|
3505
|
+
}
|
|
3348
3506
|
}
|
|
3349
3507
|
}
|
|
3350
3508
|
},
|
|
@@ -3383,6 +3541,7 @@
|
|
|
3383
3541
|
"enum": [
|
|
3384
3542
|
"active",
|
|
3385
3543
|
"inactive",
|
|
3544
|
+
"suspended",
|
|
3386
3545
|
"revoked"
|
|
3387
3546
|
],
|
|
3388
3547
|
"description": "Lifecycle status for the user API key."
|
|
@@ -3424,6 +3583,19 @@
|
|
|
3424
3583
|
],
|
|
3425
3584
|
"format": "date-time",
|
|
3426
3585
|
"description": "Updated RFC3339 expiry timestamp. null clears the expiry."
|
|
3586
|
+
},
|
|
3587
|
+
"deliveryPolicy": {
|
|
3588
|
+
"type": [
|
|
3589
|
+
"string",
|
|
3590
|
+
"null"
|
|
3591
|
+
],
|
|
3592
|
+
"enum": [
|
|
3593
|
+
"auto",
|
|
3594
|
+
"verified",
|
|
3595
|
+
"official",
|
|
3596
|
+
null
|
|
3597
|
+
],
|
|
3598
|
+
"description": "Per-key Delivery policy. null inherits the Workspace default."
|
|
3427
3599
|
}
|
|
3428
3600
|
},
|
|
3429
3601
|
"description": "At least one field must be provided.",
|
|
@@ -3455,6 +3627,11 @@
|
|
|
3455
3627
|
"404": {
|
|
3456
3628
|
"$ref": "#/components/responses/NotFound"
|
|
3457
3629
|
}
|
|
3630
|
+
},
|
|
3631
|
+
"x-mint": {
|
|
3632
|
+
"metadata": {
|
|
3633
|
+
"playground": "simple"
|
|
3634
|
+
}
|
|
3458
3635
|
}
|
|
3459
3636
|
}
|
|
3460
3637
|
},
|
|
@@ -3579,6 +3756,11 @@
|
|
|
3579
3756
|
"404": {
|
|
3580
3757
|
"$ref": "#/components/responses/NotFound"
|
|
3581
3758
|
}
|
|
3759
|
+
},
|
|
3760
|
+
"x-mint": {
|
|
3761
|
+
"metadata": {
|
|
3762
|
+
"playground": "simple"
|
|
3763
|
+
}
|
|
3582
3764
|
}
|
|
3583
3765
|
}
|
|
3584
3766
|
},
|
|
@@ -3680,6 +3862,11 @@
|
|
|
3680
3862
|
"404": {
|
|
3681
3863
|
"$ref": "#/components/responses/NotFound"
|
|
3682
3864
|
}
|
|
3865
|
+
},
|
|
3866
|
+
"x-mint": {
|
|
3867
|
+
"metadata": {
|
|
3868
|
+
"playground": "simple"
|
|
3869
|
+
}
|
|
3683
3870
|
}
|
|
3684
3871
|
}
|
|
3685
3872
|
},
|
|
@@ -4082,8 +4269,16 @@
|
|
|
4082
4269
|
},
|
|
4083
4270
|
"402": {
|
|
4084
4271
|
"$ref": "#/components/responses/PaymentRequired"
|
|
4272
|
+
},
|
|
4273
|
+
"503": {
|
|
4274
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
4085
4275
|
}
|
|
4086
|
-
}
|
|
4276
|
+
},
|
|
4277
|
+
"parameters": [
|
|
4278
|
+
{
|
|
4279
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
4280
|
+
}
|
|
4281
|
+
]
|
|
4087
4282
|
},
|
|
4088
4283
|
"get": {
|
|
4089
4284
|
"tags": [
|
|
@@ -4283,8 +4478,16 @@
|
|
|
4283
4478
|
},
|
|
4284
4479
|
"500": {
|
|
4285
4480
|
"$ref": "#/components/responses/ServerError"
|
|
4481
|
+
},
|
|
4482
|
+
"503": {
|
|
4483
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
4286
4484
|
}
|
|
4287
|
-
}
|
|
4485
|
+
},
|
|
4486
|
+
"parameters": [
|
|
4487
|
+
{
|
|
4488
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
4489
|
+
}
|
|
4490
|
+
]
|
|
4288
4491
|
}
|
|
4289
4492
|
},
|
|
4290
4493
|
"/v1/audio/translations": {
|
|
@@ -4351,8 +4554,16 @@
|
|
|
4351
4554
|
},
|
|
4352
4555
|
"500": {
|
|
4353
4556
|
"$ref": "#/components/responses/ServerError"
|
|
4557
|
+
},
|
|
4558
|
+
"503": {
|
|
4559
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
4354
4560
|
}
|
|
4355
|
-
}
|
|
4561
|
+
},
|
|
4562
|
+
"parameters": [
|
|
4563
|
+
{
|
|
4564
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
4565
|
+
}
|
|
4566
|
+
]
|
|
4356
4567
|
}
|
|
4357
4568
|
},
|
|
4358
4569
|
"/v1/realtime": {
|
|
@@ -4361,7 +4572,7 @@
|
|
|
4361
4572
|
"Realtime"
|
|
4362
4573
|
],
|
|
4363
4574
|
"summary": "Connect to realtime WebSocket",
|
|
4364
|
-
"description": "Returns realtime endpoint metadata for normal HTTP GET requests. WebSocket clients use the same path with `?model={model}` and Bearer API key authentication to open realtime speech or multimodal sessions. This public surface is a TokenLab WebSocket
|
|
4575
|
+
"description": "Returns realtime endpoint metadata for normal HTTP GET requests. WebSocket clients use the same path with `?model={model}` and Bearer API key authentication to open realtime speech or multimodal sessions. This public surface is a TokenLab WebSocket subset of OpenAI Realtime; it does not expose its REST helper endpoints such as client secrets, translation client secrets, Calls, or legacy beta session creation.",
|
|
4365
4576
|
"operationId": "connectRealtime",
|
|
4366
4577
|
"parameters": [
|
|
4367
4578
|
{
|
|
@@ -4759,8 +4970,16 @@
|
|
|
4759
4970
|
},
|
|
4760
4971
|
"500": {
|
|
4761
4972
|
"$ref": "#/components/responses/ServerError"
|
|
4973
|
+
},
|
|
4974
|
+
"503": {
|
|
4975
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
4762
4976
|
}
|
|
4763
|
-
}
|
|
4977
|
+
},
|
|
4978
|
+
"parameters": [
|
|
4979
|
+
{
|
|
4980
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
4981
|
+
}
|
|
4982
|
+
]
|
|
4764
4983
|
}
|
|
4765
4984
|
},
|
|
4766
4985
|
"/v1/images/variations": {
|
|
@@ -4831,8 +5050,16 @@
|
|
|
4831
5050
|
},
|
|
4832
5051
|
"500": {
|
|
4833
5052
|
"$ref": "#/components/responses/ServerError"
|
|
5053
|
+
},
|
|
5054
|
+
"503": {
|
|
5055
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
4834
5056
|
}
|
|
4835
|
-
}
|
|
5057
|
+
},
|
|
5058
|
+
"parameters": [
|
|
5059
|
+
{
|
|
5060
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
5061
|
+
}
|
|
5062
|
+
]
|
|
4836
5063
|
}
|
|
4837
5064
|
},
|
|
4838
5065
|
"/v1beta/models": {
|
|
@@ -4992,14 +5219,18 @@
|
|
|
4992
5219
|
"description": "High-level media type."
|
|
4993
5220
|
},
|
|
4994
5221
|
"extension": {
|
|
4995
|
-
"type":
|
|
4996
|
-
|
|
5222
|
+
"type": [
|
|
5223
|
+
"string",
|
|
5224
|
+
"null"
|
|
5225
|
+
],
|
|
4997
5226
|
"description": "File extension without dot, such as jpg, png, or mp4."
|
|
4998
5227
|
},
|
|
4999
5228
|
"metadata": {
|
|
5000
|
-
"type":
|
|
5229
|
+
"type": [
|
|
5230
|
+
"object",
|
|
5231
|
+
"null"
|
|
5232
|
+
],
|
|
5001
5233
|
"additionalProperties": true,
|
|
5002
|
-
"nullable": true,
|
|
5003
5234
|
"description": "Optional application metadata."
|
|
5004
5235
|
}
|
|
5005
5236
|
}
|
|
@@ -5044,18 +5275,24 @@
|
|
|
5044
5275
|
"type": "string"
|
|
5045
5276
|
},
|
|
5046
5277
|
"extension": {
|
|
5047
|
-
"type":
|
|
5048
|
-
|
|
5278
|
+
"type": [
|
|
5279
|
+
"string",
|
|
5280
|
+
"null"
|
|
5281
|
+
]
|
|
5049
5282
|
},
|
|
5050
5283
|
"metadata": {
|
|
5051
|
-
"type":
|
|
5052
|
-
|
|
5053
|
-
|
|
5284
|
+
"type": [
|
|
5285
|
+
"object",
|
|
5286
|
+
"null"
|
|
5287
|
+
],
|
|
5288
|
+
"additionalProperties": true
|
|
5054
5289
|
},
|
|
5055
5290
|
"updated_at": {
|
|
5056
|
-
"type":
|
|
5057
|
-
|
|
5058
|
-
|
|
5291
|
+
"type": [
|
|
5292
|
+
"string",
|
|
5293
|
+
"null"
|
|
5294
|
+
],
|
|
5295
|
+
"format": "date-time"
|
|
5059
5296
|
}
|
|
5060
5297
|
},
|
|
5061
5298
|
"additionalProperties": true
|
|
@@ -5149,18 +5386,24 @@
|
|
|
5149
5386
|
"type": "string"
|
|
5150
5387
|
},
|
|
5151
5388
|
"extension": {
|
|
5152
|
-
"type":
|
|
5153
|
-
|
|
5389
|
+
"type": [
|
|
5390
|
+
"string",
|
|
5391
|
+
"null"
|
|
5392
|
+
]
|
|
5154
5393
|
},
|
|
5155
5394
|
"metadata": {
|
|
5156
|
-
"type":
|
|
5157
|
-
|
|
5158
|
-
|
|
5395
|
+
"type": [
|
|
5396
|
+
"object",
|
|
5397
|
+
"null"
|
|
5398
|
+
],
|
|
5399
|
+
"additionalProperties": true
|
|
5159
5400
|
},
|
|
5160
5401
|
"updated_at": {
|
|
5161
|
-
"type":
|
|
5162
|
-
|
|
5163
|
-
|
|
5402
|
+
"type": [
|
|
5403
|
+
"string",
|
|
5404
|
+
"null"
|
|
5405
|
+
],
|
|
5406
|
+
"format": "date-time"
|
|
5164
5407
|
}
|
|
5165
5408
|
},
|
|
5166
5409
|
"additionalProperties": true
|
|
@@ -5404,8 +5647,16 @@
|
|
|
5404
5647
|
},
|
|
5405
5648
|
"401": {
|
|
5406
5649
|
"$ref": "#/components/responses/Unauthorized"
|
|
5650
|
+
},
|
|
5651
|
+
"503": {
|
|
5652
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
5407
5653
|
}
|
|
5408
|
-
}
|
|
5654
|
+
},
|
|
5655
|
+
"parameters": [
|
|
5656
|
+
{
|
|
5657
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
5658
|
+
}
|
|
5659
|
+
]
|
|
5409
5660
|
}
|
|
5410
5661
|
},
|
|
5411
5662
|
"/v1/worlds/generations/{id}": {
|
|
@@ -5523,49 +5774,63 @@
|
|
|
5523
5774
|
"default": 20
|
|
5524
5775
|
},
|
|
5525
5776
|
"page_token": {
|
|
5526
|
-
"type":
|
|
5527
|
-
|
|
5777
|
+
"type": [
|
|
5778
|
+
"string",
|
|
5779
|
+
"null"
|
|
5780
|
+
]
|
|
5528
5781
|
},
|
|
5529
5782
|
"status": {
|
|
5530
|
-
"type":
|
|
5783
|
+
"type": [
|
|
5784
|
+
"string",
|
|
5785
|
+
"null"
|
|
5786
|
+
],
|
|
5531
5787
|
"enum": [
|
|
5532
5788
|
"SUCCEEDED",
|
|
5533
5789
|
"PENDING",
|
|
5534
5790
|
"FAILED",
|
|
5535
5791
|
"RUNNING"
|
|
5536
|
-
]
|
|
5537
|
-
"nullable": true
|
|
5792
|
+
]
|
|
5538
5793
|
},
|
|
5539
5794
|
"model": {
|
|
5540
|
-
"type":
|
|
5795
|
+
"type": [
|
|
5796
|
+
"string",
|
|
5797
|
+
"null"
|
|
5798
|
+
],
|
|
5541
5799
|
"enum": [
|
|
5542
5800
|
"marble-1.0",
|
|
5543
5801
|
"marble-1.1",
|
|
5544
5802
|
"marble-1.1-plus",
|
|
5545
5803
|
"marble-1.0-draft"
|
|
5546
|
-
]
|
|
5547
|
-
"nullable": true
|
|
5804
|
+
]
|
|
5548
5805
|
},
|
|
5549
5806
|
"tags": {
|
|
5550
|
-
"type":
|
|
5807
|
+
"type": [
|
|
5808
|
+
"array",
|
|
5809
|
+
"null"
|
|
5810
|
+
],
|
|
5551
5811
|
"items": {
|
|
5552
5812
|
"type": "string"
|
|
5553
|
-
}
|
|
5554
|
-
"nullable": true
|
|
5813
|
+
}
|
|
5555
5814
|
},
|
|
5556
5815
|
"is_public": {
|
|
5557
|
-
"type":
|
|
5558
|
-
|
|
5816
|
+
"type": [
|
|
5817
|
+
"boolean",
|
|
5818
|
+
"null"
|
|
5819
|
+
]
|
|
5559
5820
|
},
|
|
5560
5821
|
"created_after": {
|
|
5561
|
-
"type":
|
|
5562
|
-
|
|
5563
|
-
|
|
5822
|
+
"type": [
|
|
5823
|
+
"string",
|
|
5824
|
+
"null"
|
|
5825
|
+
],
|
|
5826
|
+
"format": "date-time"
|
|
5564
5827
|
},
|
|
5565
5828
|
"created_before": {
|
|
5566
|
-
"type":
|
|
5567
|
-
|
|
5568
|
-
|
|
5829
|
+
"type": [
|
|
5830
|
+
"string",
|
|
5831
|
+
"null"
|
|
5832
|
+
],
|
|
5833
|
+
"format": "date-time"
|
|
5569
5834
|
},
|
|
5570
5835
|
"sort_by": {
|
|
5571
5836
|
"type": "string",
|
|
@@ -5623,29 +5888,37 @@
|
|
|
5623
5888
|
"additionalProperties": true
|
|
5624
5889
|
},
|
|
5625
5890
|
"created_at": {
|
|
5626
|
-
"type":
|
|
5627
|
-
|
|
5628
|
-
|
|
5891
|
+
"type": [
|
|
5892
|
+
"string",
|
|
5893
|
+
"null"
|
|
5894
|
+
],
|
|
5895
|
+
"format": "date-time"
|
|
5629
5896
|
},
|
|
5630
5897
|
"model": {
|
|
5631
|
-
"type":
|
|
5632
|
-
|
|
5898
|
+
"type": [
|
|
5899
|
+
"string",
|
|
5900
|
+
"null"
|
|
5901
|
+
]
|
|
5633
5902
|
},
|
|
5634
5903
|
"permission": {
|
|
5635
5904
|
"type": "object",
|
|
5636
5905
|
"additionalProperties": true
|
|
5637
5906
|
},
|
|
5638
5907
|
"tags": {
|
|
5639
|
-
"type":
|
|
5908
|
+
"type": [
|
|
5909
|
+
"array",
|
|
5910
|
+
"null"
|
|
5911
|
+
],
|
|
5640
5912
|
"items": {
|
|
5641
5913
|
"type": "string"
|
|
5642
|
-
}
|
|
5643
|
-
"nullable": true
|
|
5914
|
+
}
|
|
5644
5915
|
},
|
|
5645
5916
|
"updated_at": {
|
|
5646
|
-
"type":
|
|
5647
|
-
|
|
5648
|
-
|
|
5917
|
+
"type": [
|
|
5918
|
+
"string",
|
|
5919
|
+
"null"
|
|
5920
|
+
],
|
|
5921
|
+
"format": "date-time"
|
|
5649
5922
|
},
|
|
5650
5923
|
"world_prompt": {
|
|
5651
5924
|
"type": "object",
|
|
@@ -5656,8 +5929,10 @@
|
|
|
5656
5929
|
}
|
|
5657
5930
|
},
|
|
5658
5931
|
"next_page_token": {
|
|
5659
|
-
"type":
|
|
5660
|
-
|
|
5932
|
+
"type": [
|
|
5933
|
+
"string",
|
|
5934
|
+
"null"
|
|
5935
|
+
]
|
|
5661
5936
|
}
|
|
5662
5937
|
},
|
|
5663
5938
|
"additionalProperties": true
|
|
@@ -5719,29 +5994,37 @@
|
|
|
5719
5994
|
"additionalProperties": true
|
|
5720
5995
|
},
|
|
5721
5996
|
"created_at": {
|
|
5722
|
-
"type":
|
|
5723
|
-
|
|
5724
|
-
|
|
5997
|
+
"type": [
|
|
5998
|
+
"string",
|
|
5999
|
+
"null"
|
|
6000
|
+
],
|
|
6001
|
+
"format": "date-time"
|
|
5725
6002
|
},
|
|
5726
6003
|
"model": {
|
|
5727
|
-
"type":
|
|
5728
|
-
|
|
6004
|
+
"type": [
|
|
6005
|
+
"string",
|
|
6006
|
+
"null"
|
|
6007
|
+
]
|
|
5729
6008
|
},
|
|
5730
6009
|
"permission": {
|
|
5731
6010
|
"type": "object",
|
|
5732
6011
|
"additionalProperties": true
|
|
5733
6012
|
},
|
|
5734
6013
|
"tags": {
|
|
5735
|
-
"type":
|
|
6014
|
+
"type": [
|
|
6015
|
+
"array",
|
|
6016
|
+
"null"
|
|
6017
|
+
],
|
|
5736
6018
|
"items": {
|
|
5737
6019
|
"type": "string"
|
|
5738
|
-
}
|
|
5739
|
-
"nullable": true
|
|
6020
|
+
}
|
|
5740
6021
|
},
|
|
5741
6022
|
"updated_at": {
|
|
5742
|
-
"type":
|
|
5743
|
-
|
|
5744
|
-
|
|
6023
|
+
"type": [
|
|
6024
|
+
"string",
|
|
6025
|
+
"null"
|
|
6026
|
+
],
|
|
6027
|
+
"format": "date-time"
|
|
5745
6028
|
},
|
|
5746
6029
|
"world_prompt": {
|
|
5747
6030
|
"type": "object",
|
|
@@ -6241,9 +6524,25 @@
|
|
|
6241
6524
|
"tags": [
|
|
6242
6525
|
"Seedance Volc Compatible"
|
|
6243
6526
|
],
|
|
6244
|
-
"summary": "Create Seedance task (Volc-compatible)",
|
|
6245
|
-
"description": "Creates a Seedance 2.0 video
|
|
6527
|
+
"summary": "Create Seedance task (Volc wire-compatible)",
|
|
6528
|
+
"description": "Creates a Seedance 2.0 video task with the official Volc REST body and response shape. Authentication uses a TokenLab Bearer API key. TokenLab additionally accepts an optional Idempotency-Key header so a client can recover the same task ID after a lost create response.",
|
|
6246
6529
|
"operationId": "createVolcCompatibleSeedanceTask",
|
|
6530
|
+
"parameters": [
|
|
6531
|
+
{
|
|
6532
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
6533
|
+
},
|
|
6534
|
+
{
|
|
6535
|
+
"name": "Idempotency-Key",
|
|
6536
|
+
"in": "header",
|
|
6537
|
+
"required": false,
|
|
6538
|
+
"schema": {
|
|
6539
|
+
"type": "string",
|
|
6540
|
+
"minLength": 1,
|
|
6541
|
+
"maxLength": 255
|
|
6542
|
+
},
|
|
6543
|
+
"description": "Client-generated key for idempotent REST task creation. Under the same TokenLab API credential, reusing the same key with the same JSON body returns the original cgt task ID; reusing it with a different body returns 409. Keep the credential, key, and request body unchanged when retrying after a timeout or disconnect."
|
|
6544
|
+
}
|
|
6545
|
+
],
|
|
6247
6546
|
"requestBody": {
|
|
6248
6547
|
"required": true,
|
|
6249
6548
|
"content": {
|
|
@@ -6269,7 +6568,7 @@
|
|
|
6269
6568
|
"ratio": "16:9",
|
|
6270
6569
|
"duration": 5,
|
|
6271
6570
|
"resolution": "720p",
|
|
6272
|
-
"generate_audio":
|
|
6571
|
+
"generate_audio": false
|
|
6273
6572
|
}
|
|
6274
6573
|
}
|
|
6275
6574
|
}
|
|
@@ -6277,6 +6576,17 @@
|
|
|
6277
6576
|
"responses": {
|
|
6278
6577
|
"200": {
|
|
6279
6578
|
"description": "Task created",
|
|
6579
|
+
"headers": {
|
|
6580
|
+
"Idempotency-Replayed": {
|
|
6581
|
+
"description": "Present with value true when this response recovered an earlier create request.",
|
|
6582
|
+
"schema": {
|
|
6583
|
+
"type": "string",
|
|
6584
|
+
"enum": [
|
|
6585
|
+
"true"
|
|
6586
|
+
]
|
|
6587
|
+
}
|
|
6588
|
+
}
|
|
6589
|
+
},
|
|
6280
6590
|
"content": {
|
|
6281
6591
|
"application/json": {
|
|
6282
6592
|
"schema": {
|
|
@@ -6305,6 +6615,24 @@
|
|
|
6305
6615
|
}
|
|
6306
6616
|
}
|
|
6307
6617
|
},
|
|
6618
|
+
"409": {
|
|
6619
|
+
"description": "Idempotency key conflict or original request still in progress",
|
|
6620
|
+
"headers": {
|
|
6621
|
+
"Retry-After": {
|
|
6622
|
+
"description": "Seconds to wait before retrying an in-progress request with the same key and body.",
|
|
6623
|
+
"schema": {
|
|
6624
|
+
"type": "string"
|
|
6625
|
+
}
|
|
6626
|
+
}
|
|
6627
|
+
},
|
|
6628
|
+
"content": {
|
|
6629
|
+
"application/json": {
|
|
6630
|
+
"schema": {
|
|
6631
|
+
"$ref": "#/components/schemas/VolcSeedanceError"
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
}
|
|
6635
|
+
},
|
|
6308
6636
|
"500": {
|
|
6309
6637
|
"description": "Internal error",
|
|
6310
6638
|
"content": {
|
|
@@ -6314,6 +6642,9 @@
|
|
|
6314
6642
|
}
|
|
6315
6643
|
}
|
|
6316
6644
|
}
|
|
6645
|
+
},
|
|
6646
|
+
"503": {
|
|
6647
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
6317
6648
|
}
|
|
6318
6649
|
}
|
|
6319
6650
|
},
|
|
@@ -6332,6 +6663,7 @@
|
|
|
6332
6663
|
"schema": {
|
|
6333
6664
|
"type": "integer",
|
|
6334
6665
|
"minimum": 1,
|
|
6666
|
+
"maximum": 500,
|
|
6335
6667
|
"default": 1
|
|
6336
6668
|
},
|
|
6337
6669
|
"description": "Page number."
|
|
@@ -6369,10 +6701,15 @@
|
|
|
6369
6701
|
"name": "filter.task_ids",
|
|
6370
6702
|
"in": "query",
|
|
6371
6703
|
"required": false,
|
|
6704
|
+
"style": "form",
|
|
6705
|
+
"explode": true,
|
|
6372
6706
|
"schema": {
|
|
6373
|
-
"type": "
|
|
6707
|
+
"type": "array",
|
|
6708
|
+
"items": {
|
|
6709
|
+
"type": "string"
|
|
6710
|
+
}
|
|
6374
6711
|
},
|
|
6375
|
-
"description": "
|
|
6712
|
+
"description": "Exact task IDs. Repeat filter.task_ids for multiple IDs."
|
|
6376
6713
|
},
|
|
6377
6714
|
{
|
|
6378
6715
|
"name": "filter.model",
|
|
@@ -6646,6 +6983,9 @@
|
|
|
6646
6983
|
"description": "Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation and material asset Actions use Version=2024-01-01 and are POST-only. The same POST contract is also available at the API root for endpoint-only migration from Volcengine.",
|
|
6647
6984
|
"operationId": "dispatchVolcCompatibleSeedanceActionPost",
|
|
6648
6985
|
"parameters": [
|
|
6986
|
+
{
|
|
6987
|
+
"$ref": "#/components/parameters/DeliveryPolicy"
|
|
6988
|
+
},
|
|
6649
6989
|
{
|
|
6650
6990
|
"name": "Action",
|
|
6651
6991
|
"in": "query",
|
|
@@ -6873,21 +7213,7 @@
|
|
|
6873
7213
|
}
|
|
6874
7214
|
},
|
|
6875
7215
|
"503": {
|
|
6876
|
-
"
|
|
6877
|
-
"content": {
|
|
6878
|
-
"application/json": {
|
|
6879
|
-
"schema": {
|
|
6880
|
-
"oneOf": [
|
|
6881
|
-
{
|
|
6882
|
-
"$ref": "#/components/schemas/VolcSeedanceError"
|
|
6883
|
-
},
|
|
6884
|
-
{
|
|
6885
|
-
"$ref": "#/components/schemas/VolcVisualValidationError"
|
|
6886
|
-
}
|
|
6887
|
-
]
|
|
6888
|
-
}
|
|
6889
|
-
}
|
|
6890
|
-
}
|
|
7216
|
+
"$ref": "#/components/responses/DeliveryUnavailable"
|
|
6891
7217
|
}
|
|
6892
7218
|
}
|
|
6893
7219
|
}
|
|
@@ -6899,13 +7225,13 @@
|
|
|
6899
7225
|
"type": "http",
|
|
6900
7226
|
"scheme": "bearer",
|
|
6901
7227
|
"bearerFormat": "API Key",
|
|
6902
|
-
"description": "API Key authentication.
|
|
7228
|
+
"description": "API Key authentication. Create or manage API keys in [Dashboard > API > API Keys](https://tokenlab.sh/dashboard/api?tab=keys)."
|
|
6903
7229
|
},
|
|
6904
7230
|
"ManagementTokenAuth": {
|
|
6905
7231
|
"type": "http",
|
|
6906
7232
|
"scheme": "bearer",
|
|
6907
7233
|
"bearerFormat": "Management Token",
|
|
6908
|
-
"description": "Management token authentication.
|
|
7234
|
+
"description": "Management token authentication. Create or manage Management Tokens in [Dashboard > API > Management Tokens](https://tokenlab.sh/dashboard/api?tab=tokens)."
|
|
6909
7235
|
}
|
|
6910
7236
|
},
|
|
6911
7237
|
"schemas": {
|
|
@@ -7453,8 +7779,10 @@
|
|
|
7453
7779
|
]
|
|
7454
7780
|
},
|
|
7455
7781
|
"content": {
|
|
7456
|
-
"type":
|
|
7457
|
-
|
|
7782
|
+
"type": [
|
|
7783
|
+
"string",
|
|
7784
|
+
"null"
|
|
7785
|
+
]
|
|
7458
7786
|
},
|
|
7459
7787
|
"tool_calls": {
|
|
7460
7788
|
"type": "array",
|
|
@@ -7463,20 +7791,24 @@
|
|
|
7463
7791
|
}
|
|
7464
7792
|
},
|
|
7465
7793
|
"refusal": {
|
|
7466
|
-
"type":
|
|
7467
|
-
|
|
7794
|
+
"type": [
|
|
7795
|
+
"string",
|
|
7796
|
+
"null"
|
|
7797
|
+
]
|
|
7468
7798
|
}
|
|
7469
7799
|
}
|
|
7470
7800
|
},
|
|
7471
7801
|
"finish_reason": {
|
|
7472
|
-
"type":
|
|
7802
|
+
"type": [
|
|
7803
|
+
"string",
|
|
7804
|
+
"null"
|
|
7805
|
+
],
|
|
7473
7806
|
"enum": [
|
|
7474
7807
|
"stop",
|
|
7475
7808
|
"length",
|
|
7476
7809
|
"tool_calls",
|
|
7477
7810
|
"content_filter"
|
|
7478
7811
|
],
|
|
7479
|
-
"nullable": true,
|
|
7480
7812
|
"description": "Reason for completion"
|
|
7481
7813
|
}
|
|
7482
7814
|
},
|
|
@@ -8235,6 +8567,14 @@
|
|
|
8235
8567
|
],
|
|
8236
8568
|
"description": "Video resolution. Seedance defaults to 720p when omitted; available values are model-dependent."
|
|
8237
8569
|
},
|
|
8570
|
+
"output_format": {
|
|
8571
|
+
"type": "string",
|
|
8572
|
+
"enum": [
|
|
8573
|
+
"mp4",
|
|
8574
|
+
"mov"
|
|
8575
|
+
],
|
|
8576
|
+
"description": "Video container format for compatible models. Seedance 2.5 supports mp4 and mov; omit this field for Seedance 2.0 and other models that do not publish an output-format selector."
|
|
8577
|
+
},
|
|
8238
8578
|
"output_audio": {
|
|
8239
8579
|
"type": "boolean",
|
|
8240
8580
|
"description": "Canonical model-dependent audio output toggle. Veo 3 and Seedance requests default to true when omitted. Kling 3.0 Video accepts this selector for non-element-reference requests and maps it to the compatible sound control; omitted Kling requests default to silent output. Do not combine output_audio=true with kling_elements. The aliases outputAudio and generate_audio are accepted for compatibility and must match when provided together."
|
|
@@ -8253,7 +8593,7 @@
|
|
|
8253
8593
|
"type": "integer",
|
|
8254
8594
|
"minimum": -1,
|
|
8255
8595
|
"maximum": 4294967295,
|
|
8256
|
-
"description": "Seed for reproducibility. Seedance
|
|
8596
|
+
"description": "Seed for reproducibility on compatible models. Compatible Seedance models use -1 for a random seed when omitted; Seedance 2.5 does not support this field."
|
|
8257
8597
|
},
|
|
8258
8598
|
"cfg_scale": {
|
|
8259
8599
|
"type": "number",
|
|
@@ -8281,9 +8621,9 @@
|
|
|
8281
8621
|
},
|
|
8282
8622
|
"image_urls": {
|
|
8283
8623
|
"type": "array",
|
|
8284
|
-
"description": "Image URL array for compatible image-conditioned video flows.
|
|
8624
|
+
"description": "Image URL array for compatible image-conditioned video flows. Seedance 2.5 accepts up to 30 aggregate image inputs; other video models retain the shared limit of 9 entries unless the model details specify a lower limit. When the selected Seedance model can use the TokenLab material library, TokenLab prepares this image input as reusable material before generation; if it is not ACTIVE within 60 seconds, the API returns 409 seedance_material_preparing with auto_material_asset_ids. If the selected model cannot use the material library, ordinary image inputs continue on the regular image path.",
|
|
8285
8625
|
"minItems": 1,
|
|
8286
|
-
"maxItems":
|
|
8626
|
+
"maxItems": 30,
|
|
8287
8627
|
"items": {
|
|
8288
8628
|
"type": "string",
|
|
8289
8629
|
"format": "uri"
|
|
@@ -8329,9 +8669,9 @@
|
|
|
8329
8669
|
},
|
|
8330
8670
|
"reference_images": {
|
|
8331
8671
|
"type": "array",
|
|
8332
|
-
"description": "Canonical public reference-image field for reference-to-video conditioning.
|
|
8672
|
+
"description": "Canonical public reference-image field for reference-to-video conditioning. Seedance 2.5 accepts up to 30 aggregate image inputs; other video models retain the shared limit of 9 URLs or compatible data URLs unless the model details specify a lower limit. xAI grok-imagine-video accepts up to 7 image references with duration capped at 10 seconds; grok-imagine-video-1.5 and grok-imagine-video-1.5-preview are image-to-video only and do not accept reference images. When the selected Seedance model can use the TokenLab material library, TokenLab prepares ordinary image input as reusable material before generation; if it is not ACTIVE within 60 seconds, the API returns 409 seedance_material_preparing with auto_material_asset_ids. If the selected model cannot use the material library, ordinary image inputs continue on the regular image path.",
|
|
8333
8673
|
"minItems": 1,
|
|
8334
|
-
"maxItems":
|
|
8674
|
+
"maxItems": 30,
|
|
8335
8675
|
"items": {
|
|
8336
8676
|
"type": "string"
|
|
8337
8677
|
}
|
|
@@ -8395,9 +8735,9 @@
|
|
|
8395
8735
|
},
|
|
8396
8736
|
"video_urls": {
|
|
8397
8737
|
"type": "array",
|
|
8398
|
-
"description": "Compatibility array for video-conditioned flows when multiple input videos are supported by the routed model family.
|
|
8738
|
+
"description": "Compatibility array for video-conditioned flows when multiple input videos are supported by the routed model family. Seedance 2.5 accepts up to 10 aggregate video inputs; other video models retain the shared limit of 3 references unless the model details specify a lower limit.",
|
|
8399
8739
|
"minItems": 1,
|
|
8400
|
-
"maxItems":
|
|
8740
|
+
"maxItems": 10,
|
|
8401
8741
|
"items": {
|
|
8402
8742
|
"type": "string",
|
|
8403
8743
|
"format": "uri"
|
|
@@ -8405,9 +8745,9 @@
|
|
|
8405
8745
|
},
|
|
8406
8746
|
"audio_urls": {
|
|
8407
8747
|
"type": "array",
|
|
8408
|
-
"description": "Compatibility array for audio-conditioned flows when multiple audio references are supported by the routed model family.
|
|
8748
|
+
"description": "Compatibility array for audio-conditioned flows when multiple audio references are supported by the routed model family. Seedance 2.5 accepts up to 10 aggregate audio inputs and permits pure-audio reference requests without a prompt; other video models retain the shared limit of 3 references unless the model details specify a lower limit.",
|
|
8409
8749
|
"minItems": 1,
|
|
8410
|
-
"maxItems":
|
|
8750
|
+
"maxItems": 10,
|
|
8411
8751
|
"items": {
|
|
8412
8752
|
"type": "string",
|
|
8413
8753
|
"format": "uri"
|
|
@@ -8459,16 +8799,16 @@
|
|
|
8459
8799
|
"default",
|
|
8460
8800
|
"flex"
|
|
8461
8801
|
],
|
|
8462
|
-
"description": "Optional service tier for compatible video models. service_tier=default is accepted as a no-op for Seedance 2.0
|
|
8802
|
+
"description": "Optional service tier for compatible video models. service_tier=default is accepted as a compatibility no-op for Seedance 2.0 and Seedance 2.5; service_tier=flex is rejected for both models."
|
|
8463
8803
|
},
|
|
8464
8804
|
"frames": {
|
|
8465
8805
|
"type": "integer",
|
|
8466
8806
|
"minimum": 1,
|
|
8467
|
-
"description": "Optional frame count for compatible video models. Seedance 2.0
|
|
8807
|
+
"description": "Optional frame count for compatible video models. Seedance 1.5 Pro, Seedance 2.0, and Seedance 2.5 do not support this field."
|
|
8468
8808
|
},
|
|
8469
8809
|
"camera_fixed": {
|
|
8470
8810
|
"type": "boolean",
|
|
8471
|
-
"description": "Optional fixed-camera selector for compatible video models. Seedance 2.0
|
|
8811
|
+
"description": "Optional fixed-camera selector for compatible video models. Seedance 2.0 and Seedance 2.5 do not support this field."
|
|
8472
8812
|
},
|
|
8473
8813
|
"return_last_frame": {
|
|
8474
8814
|
"type": "boolean",
|
|
@@ -8760,8 +9100,10 @@
|
|
|
8760
9100
|
"description": "Project scope for the material asset. Assets and groups are isolated by project inside the authenticated organization."
|
|
8761
9101
|
},
|
|
8762
9102
|
"metadata": {
|
|
8763
|
-
"type":
|
|
8764
|
-
|
|
9103
|
+
"type": [
|
|
9104
|
+
"object",
|
|
9105
|
+
"null"
|
|
9106
|
+
],
|
|
8765
9107
|
"additionalProperties": true,
|
|
8766
9108
|
"description": "Optional client metadata stored with the material asset."
|
|
8767
9109
|
}
|
|
@@ -8790,8 +9132,10 @@
|
|
|
8790
9132
|
]
|
|
8791
9133
|
},
|
|
8792
9134
|
"group_id": {
|
|
8793
|
-
"type":
|
|
8794
|
-
|
|
9135
|
+
"type": [
|
|
9136
|
+
"string",
|
|
9137
|
+
"null"
|
|
9138
|
+
],
|
|
8795
9139
|
"description": "TokenLab material group ID that owns this material asset."
|
|
8796
9140
|
},
|
|
8797
9141
|
"project_name": {
|
|
@@ -8806,8 +9150,10 @@
|
|
|
8806
9150
|
]
|
|
8807
9151
|
},
|
|
8808
9152
|
"asset_name": {
|
|
8809
|
-
"type":
|
|
8810
|
-
|
|
9153
|
+
"type": [
|
|
9154
|
+
"string",
|
|
9155
|
+
"null"
|
|
9156
|
+
]
|
|
8811
9157
|
},
|
|
8812
9158
|
"asset_type": {
|
|
8813
9159
|
"type": "string",
|
|
@@ -8831,13 +9177,17 @@
|
|
|
8831
9177
|
"description": "True when the asset is active and not deleted."
|
|
8832
9178
|
},
|
|
8833
9179
|
"error_message": {
|
|
8834
|
-
"type":
|
|
8835
|
-
|
|
9180
|
+
"type": [
|
|
9181
|
+
"string",
|
|
9182
|
+
"null"
|
|
9183
|
+
],
|
|
8836
9184
|
"description": "Public-safe terminal processing error. Permanent source validation failures include the rejected dimension constraint."
|
|
8837
9185
|
},
|
|
8838
9186
|
"metadata": {
|
|
8839
|
-
"type":
|
|
8840
|
-
|
|
9187
|
+
"type": [
|
|
9188
|
+
"object",
|
|
9189
|
+
"null"
|
|
9190
|
+
],
|
|
8841
9191
|
"additionalProperties": true
|
|
8842
9192
|
},
|
|
8843
9193
|
"created_at": {
|
|
@@ -8863,8 +9213,10 @@
|
|
|
8863
9213
|
}
|
|
8864
9214
|
},
|
|
8865
9215
|
"next_page_token": {
|
|
8866
|
-
"type":
|
|
8867
|
-
|
|
9216
|
+
"type": [
|
|
9217
|
+
"string",
|
|
9218
|
+
"null"
|
|
9219
|
+
]
|
|
8868
9220
|
}
|
|
8869
9221
|
},
|
|
8870
9222
|
"additionalProperties": true
|
|
@@ -9153,7 +9505,8 @@
|
|
|
9153
9505
|
"upstream_contract_mismatch",
|
|
9154
9506
|
"platform_normalization_error",
|
|
9155
9507
|
"async_task_not_found",
|
|
9156
|
-
"async_task_mapping_invalid"
|
|
9508
|
+
"async_task_mapping_invalid",
|
|
9509
|
+
"delivery_tier_unavailable"
|
|
9157
9510
|
]
|
|
9158
9511
|
},
|
|
9159
9512
|
"code": {
|
|
@@ -9293,6 +9646,9 @@
|
|
|
9293
9646
|
"string",
|
|
9294
9647
|
"null"
|
|
9295
9648
|
]
|
|
9649
|
+
},
|
|
9650
|
+
"request_id": {
|
|
9651
|
+
"type": "string"
|
|
9296
9652
|
}
|
|
9297
9653
|
},
|
|
9298
9654
|
"required": [
|
|
@@ -9535,8 +9891,10 @@
|
|
|
9535
9891
|
]
|
|
9536
9892
|
},
|
|
9537
9893
|
"stop_sequence": {
|
|
9538
|
-
"type":
|
|
9539
|
-
|
|
9894
|
+
"type": [
|
|
9895
|
+
"string",
|
|
9896
|
+
"null"
|
|
9897
|
+
]
|
|
9540
9898
|
},
|
|
9541
9899
|
"usage": {
|
|
9542
9900
|
"type": "object",
|
|
@@ -10117,7 +10475,8 @@
|
|
|
10117
10475
|
"models",
|
|
10118
10476
|
"expires_at",
|
|
10119
10477
|
"last_used_at",
|
|
10120
|
-
"created_at"
|
|
10478
|
+
"created_at",
|
|
10479
|
+
"delivery_policy"
|
|
10121
10480
|
],
|
|
10122
10481
|
"properties": {
|
|
10123
10482
|
"id": {
|
|
@@ -10134,6 +10493,7 @@
|
|
|
10134
10493
|
"enum": [
|
|
10135
10494
|
"active",
|
|
10136
10495
|
"inactive",
|
|
10496
|
+
"suspended",
|
|
10137
10497
|
"revoked"
|
|
10138
10498
|
],
|
|
10139
10499
|
"description": "Lifecycle status for the user API key: active, inactive, or revoked."
|
|
@@ -10187,6 +10547,19 @@
|
|
|
10187
10547
|
"used_amount_decimal": {
|
|
10188
10548
|
"type": "string",
|
|
10189
10549
|
"description": "Exact accumulated API key usage in USD as a decimal string for reconciliation."
|
|
10550
|
+
},
|
|
10551
|
+
"delivery_policy": {
|
|
10552
|
+
"type": [
|
|
10553
|
+
"string",
|
|
10554
|
+
"null"
|
|
10555
|
+
],
|
|
10556
|
+
"enum": [
|
|
10557
|
+
"auto",
|
|
10558
|
+
"verified",
|
|
10559
|
+
"official",
|
|
10560
|
+
null
|
|
10561
|
+
],
|
|
10562
|
+
"description": "Per-key Delivery policy. null inherits the Workspace default."
|
|
10190
10563
|
}
|
|
10191
10564
|
}
|
|
10192
10565
|
},
|
|
@@ -10256,7 +10629,10 @@
|
|
|
10256
10629
|
"cache_write_tokens_1h",
|
|
10257
10630
|
"cost",
|
|
10258
10631
|
"cost_decimal",
|
|
10259
|
-
"created_at"
|
|
10632
|
+
"created_at",
|
|
10633
|
+
"requested_policy",
|
|
10634
|
+
"resolved_tier",
|
|
10635
|
+
"charged_price_basis"
|
|
10260
10636
|
],
|
|
10261
10637
|
"properties": {
|
|
10262
10638
|
"request_id": {
|
|
@@ -10332,6 +10708,39 @@
|
|
|
10332
10708
|
"cost_decimal": {
|
|
10333
10709
|
"type": "string",
|
|
10334
10710
|
"description": "Exact request cost in USD as a decimal string for reconciliation."
|
|
10711
|
+
},
|
|
10712
|
+
"requested_policy": {
|
|
10713
|
+
"type": [
|
|
10714
|
+
"string",
|
|
10715
|
+
"null"
|
|
10716
|
+
],
|
|
10717
|
+
"enum": [
|
|
10718
|
+
"auto",
|
|
10719
|
+
"verified",
|
|
10720
|
+
"official",
|
|
10721
|
+
null
|
|
10722
|
+
]
|
|
10723
|
+
},
|
|
10724
|
+
"resolved_tier": {
|
|
10725
|
+
"type": [
|
|
10726
|
+
"string",
|
|
10727
|
+
"null"
|
|
10728
|
+
],
|
|
10729
|
+
"enum": [
|
|
10730
|
+
"verified",
|
|
10731
|
+
"official",
|
|
10732
|
+
null
|
|
10733
|
+
]
|
|
10734
|
+
},
|
|
10735
|
+
"charged_price_basis": {
|
|
10736
|
+
"anyOf": [
|
|
10737
|
+
{
|
|
10738
|
+
"type": "null"
|
|
10739
|
+
},
|
|
10740
|
+
{
|
|
10741
|
+
"$ref": "#/components/schemas/ChargedPriceBasis"
|
|
10742
|
+
}
|
|
10743
|
+
]
|
|
10335
10744
|
}
|
|
10336
10745
|
}
|
|
10337
10746
|
},
|
|
@@ -10779,8 +11188,10 @@
|
|
|
10779
11188
|
"type": "boolean"
|
|
10780
11189
|
},
|
|
10781
11190
|
"scope": {
|
|
10782
|
-
"type":
|
|
10783
|
-
|
|
11191
|
+
"type": [
|
|
11192
|
+
"object",
|
|
11193
|
+
"null"
|
|
11194
|
+
],
|
|
10784
11195
|
"required": [
|
|
10785
11196
|
"id",
|
|
10786
11197
|
"type"
|
|
@@ -11551,8 +11962,10 @@
|
|
|
11551
11962
|
"description": "Upstream request count summary for the batch"
|
|
11552
11963
|
},
|
|
11553
11964
|
"ended_at": {
|
|
11554
|
-
"type":
|
|
11555
|
-
|
|
11965
|
+
"type": [
|
|
11966
|
+
"string",
|
|
11967
|
+
"null"
|
|
11968
|
+
],
|
|
11556
11969
|
"description": "ISO timestamp when processing ended, when available"
|
|
11557
11970
|
},
|
|
11558
11971
|
"created_at": {
|
|
@@ -11564,18 +11977,24 @@
|
|
|
11564
11977
|
"description": "ISO timestamp when the batch expires, when available"
|
|
11565
11978
|
},
|
|
11566
11979
|
"cancel_initiated_at": {
|
|
11567
|
-
"type":
|
|
11568
|
-
|
|
11980
|
+
"type": [
|
|
11981
|
+
"string",
|
|
11982
|
+
"null"
|
|
11983
|
+
],
|
|
11569
11984
|
"description": "ISO timestamp when cancellation was initiated, when available"
|
|
11570
11985
|
},
|
|
11571
11986
|
"archived_at": {
|
|
11572
|
-
"type":
|
|
11573
|
-
|
|
11987
|
+
"type": [
|
|
11988
|
+
"string",
|
|
11989
|
+
"null"
|
|
11990
|
+
],
|
|
11574
11991
|
"description": "ISO timestamp when the batch was archived, when available"
|
|
11575
11992
|
},
|
|
11576
11993
|
"results_url": {
|
|
11577
|
-
"type":
|
|
11578
|
-
|
|
11994
|
+
"type": [
|
|
11995
|
+
"string",
|
|
11996
|
+
"null"
|
|
11997
|
+
],
|
|
11579
11998
|
"description": "Upstream results URL, when available"
|
|
11580
11999
|
}
|
|
11581
12000
|
},
|
|
@@ -11620,12 +12039,16 @@
|
|
|
11620
12039
|
"type": "boolean"
|
|
11621
12040
|
},
|
|
11622
12041
|
"first_id": {
|
|
11623
|
-
"type":
|
|
11624
|
-
|
|
12042
|
+
"type": [
|
|
12043
|
+
"string",
|
|
12044
|
+
"null"
|
|
12045
|
+
]
|
|
11625
12046
|
},
|
|
11626
12047
|
"last_id": {
|
|
11627
|
-
"type":
|
|
11628
|
-
|
|
12048
|
+
"type": [
|
|
12049
|
+
"string",
|
|
12050
|
+
"null"
|
|
12051
|
+
]
|
|
11629
12052
|
}
|
|
11630
12053
|
},
|
|
11631
12054
|
"additionalProperties": true
|
|
@@ -12346,8 +12769,10 @@
|
|
|
12346
12769
|
"description": "Optional display name for the material group."
|
|
12347
12770
|
},
|
|
12348
12771
|
"description": {
|
|
12349
|
-
"type":
|
|
12350
|
-
|
|
12772
|
+
"type": [
|
|
12773
|
+
"string",
|
|
12774
|
+
"null"
|
|
12775
|
+
],
|
|
12351
12776
|
"maxLength": 500
|
|
12352
12777
|
},
|
|
12353
12778
|
"library_type": {
|
|
@@ -12367,8 +12792,10 @@
|
|
|
12367
12792
|
"description": "Project scope for the material group."
|
|
12368
12793
|
},
|
|
12369
12794
|
"metadata": {
|
|
12370
|
-
"type":
|
|
12371
|
-
|
|
12795
|
+
"type": [
|
|
12796
|
+
"object",
|
|
12797
|
+
"null"
|
|
12798
|
+
],
|
|
12372
12799
|
"additionalProperties": true
|
|
12373
12800
|
}
|
|
12374
12801
|
}
|
|
@@ -12382,8 +12809,10 @@
|
|
|
12382
12809
|
"maxLength": 128
|
|
12383
12810
|
},
|
|
12384
12811
|
"description": {
|
|
12385
|
-
"type":
|
|
12386
|
-
|
|
12812
|
+
"type": [
|
|
12813
|
+
"string",
|
|
12814
|
+
"null"
|
|
12815
|
+
],
|
|
12387
12816
|
"maxLength": 500
|
|
12388
12817
|
},
|
|
12389
12818
|
"project_name": {
|
|
@@ -12393,8 +12822,10 @@
|
|
|
12393
12822
|
"default": "default"
|
|
12394
12823
|
},
|
|
12395
12824
|
"metadata": {
|
|
12396
|
-
"type":
|
|
12397
|
-
|
|
12825
|
+
"type": [
|
|
12826
|
+
"object",
|
|
12827
|
+
"null"
|
|
12828
|
+
],
|
|
12398
12829
|
"additionalProperties": true
|
|
12399
12830
|
}
|
|
12400
12831
|
}
|
|
@@ -12430,22 +12861,28 @@
|
|
|
12430
12861
|
"description": "Project scope for this material group."
|
|
12431
12862
|
},
|
|
12432
12863
|
"group_name": {
|
|
12433
|
-
"type":
|
|
12434
|
-
|
|
12864
|
+
"type": [
|
|
12865
|
+
"string",
|
|
12866
|
+
"null"
|
|
12867
|
+
]
|
|
12435
12868
|
},
|
|
12436
12869
|
"description": {
|
|
12437
|
-
"type":
|
|
12438
|
-
|
|
12870
|
+
"type": [
|
|
12871
|
+
"string",
|
|
12872
|
+
"null"
|
|
12873
|
+
]
|
|
12439
12874
|
},
|
|
12440
12875
|
"status": {
|
|
12441
12876
|
"type": "string"
|
|
12442
12877
|
},
|
|
12443
12878
|
"metadata": {
|
|
12444
|
-
"type":
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
|
|
12448
|
-
|
|
12879
|
+
"type": [
|
|
12880
|
+
"object",
|
|
12881
|
+
"null"
|
|
12882
|
+
],
|
|
12883
|
+
"additionalProperties": true
|
|
12884
|
+
},
|
|
12885
|
+
"created_at": {
|
|
12449
12886
|
"type": "integer",
|
|
12450
12887
|
"format": "int64"
|
|
12451
12888
|
},
|
|
@@ -12468,8 +12905,10 @@
|
|
|
12468
12905
|
}
|
|
12469
12906
|
},
|
|
12470
12907
|
"next_page_token": {
|
|
12471
|
-
"type":
|
|
12472
|
-
|
|
12908
|
+
"type": [
|
|
12909
|
+
"string",
|
|
12910
|
+
"null"
|
|
12911
|
+
]
|
|
12473
12912
|
}
|
|
12474
12913
|
}
|
|
12475
12914
|
},
|
|
@@ -12503,8 +12942,10 @@
|
|
|
12503
12942
|
"default": "default"
|
|
12504
12943
|
},
|
|
12505
12944
|
"metadata": {
|
|
12506
|
-
"type":
|
|
12507
|
-
|
|
12945
|
+
"type": [
|
|
12946
|
+
"object",
|
|
12947
|
+
"null"
|
|
12948
|
+
],
|
|
12508
12949
|
"additionalProperties": true,
|
|
12509
12950
|
"description": "Updated client metadata stored with the material asset."
|
|
12510
12951
|
}
|
|
@@ -12941,93 +13382,59 @@
|
|
|
12941
13382
|
"description": "Media role. first_frame/last_frame inputs cannot be mixed with reference_image/reference_video/reference_audio inputs."
|
|
12942
13383
|
},
|
|
12943
13384
|
"image_url": {
|
|
12944
|
-
"
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
"format": "uri"
|
|
12948
|
-
},
|
|
12949
|
-
{
|
|
12950
|
-
"type": "object",
|
|
12951
|
-
"required": [
|
|
12952
|
-
"url"
|
|
12953
|
-
],
|
|
12954
|
-
"properties": {
|
|
12955
|
-
"url": {
|
|
12956
|
-
"type": "string",
|
|
12957
|
-
"format": "uri"
|
|
12958
|
-
}
|
|
12959
|
-
},
|
|
12960
|
-
"additionalProperties": true
|
|
12961
|
-
}
|
|
13385
|
+
"type": "object",
|
|
13386
|
+
"required": [
|
|
13387
|
+
"url"
|
|
12962
13388
|
],
|
|
12963
|
-
"
|
|
13389
|
+
"properties": {
|
|
13390
|
+
"url": {
|
|
13391
|
+
"type": "string"
|
|
13392
|
+
}
|
|
13393
|
+
},
|
|
13394
|
+
"additionalProperties": false,
|
|
13395
|
+
"description": "Image reference in the official {\"url\":\"https://...\"} shape. TokenLab material URIs remain available as URL values without changing the request object shape."
|
|
12964
13396
|
},
|
|
12965
13397
|
"video_url": {
|
|
12966
|
-
"
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
"format": "uri"
|
|
12970
|
-
},
|
|
12971
|
-
{
|
|
12972
|
-
"type": "object",
|
|
12973
|
-
"required": [
|
|
12974
|
-
"url"
|
|
12975
|
-
],
|
|
12976
|
-
"properties": {
|
|
12977
|
-
"url": {
|
|
12978
|
-
"type": "string",
|
|
12979
|
-
"format": "uri"
|
|
12980
|
-
}
|
|
12981
|
-
},
|
|
12982
|
-
"additionalProperties": true
|
|
12983
|
-
}
|
|
13398
|
+
"type": "object",
|
|
13399
|
+
"required": [
|
|
13400
|
+
"url"
|
|
12984
13401
|
],
|
|
13402
|
+
"properties": {
|
|
13403
|
+
"url": {
|
|
13404
|
+
"type": "string"
|
|
13405
|
+
}
|
|
13406
|
+
},
|
|
13407
|
+
"additionalProperties": false,
|
|
12985
13408
|
"description": "Video URL. Use role=reference_video."
|
|
12986
13409
|
},
|
|
12987
13410
|
"audio_url": {
|
|
12988
|
-
"
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
"format": "uri"
|
|
12992
|
-
},
|
|
12993
|
-
{
|
|
12994
|
-
"type": "object",
|
|
12995
|
-
"required": [
|
|
12996
|
-
"url"
|
|
12997
|
-
],
|
|
12998
|
-
"properties": {
|
|
12999
|
-
"url": {
|
|
13000
|
-
"type": "string",
|
|
13001
|
-
"format": "uri"
|
|
13002
|
-
}
|
|
13003
|
-
},
|
|
13004
|
-
"additionalProperties": true
|
|
13005
|
-
}
|
|
13411
|
+
"type": "object",
|
|
13412
|
+
"required": [
|
|
13413
|
+
"url"
|
|
13006
13414
|
],
|
|
13415
|
+
"properties": {
|
|
13416
|
+
"url": {
|
|
13417
|
+
"type": "string"
|
|
13418
|
+
}
|
|
13419
|
+
},
|
|
13420
|
+
"additionalProperties": false,
|
|
13007
13421
|
"description": "Audio URL. Use role=reference_audio."
|
|
13008
13422
|
},
|
|
13009
13423
|
"draft_task": {
|
|
13010
|
-
"
|
|
13011
|
-
|
|
13424
|
+
"type": "object",
|
|
13425
|
+
"required": [
|
|
13426
|
+
"id"
|
|
13427
|
+
],
|
|
13428
|
+
"properties": {
|
|
13429
|
+
"id": {
|
|
13012
13430
|
"type": "string"
|
|
13013
|
-
},
|
|
13014
|
-
{
|
|
13015
|
-
"type": "object",
|
|
13016
|
-
"required": [
|
|
13017
|
-
"id"
|
|
13018
|
-
],
|
|
13019
|
-
"properties": {
|
|
13020
|
-
"id": {
|
|
13021
|
-
"type": "string"
|
|
13022
|
-
}
|
|
13023
|
-
},
|
|
13024
|
-
"additionalProperties": true
|
|
13025
13431
|
}
|
|
13026
|
-
|
|
13027
|
-
"
|
|
13432
|
+
},
|
|
13433
|
+
"additionalProperties": false,
|
|
13434
|
+
"description": "Draft task reference in the official {\"id\":\"cgt-...\"} shape."
|
|
13028
13435
|
}
|
|
13029
13436
|
},
|
|
13030
|
-
"additionalProperties":
|
|
13437
|
+
"additionalProperties": false
|
|
13031
13438
|
},
|
|
13032
13439
|
"VolcSeedanceCreateTaskRequest": {
|
|
13033
13440
|
"type": "object",
|
|
@@ -13044,15 +13451,11 @@
|
|
|
13044
13451
|
"content": {
|
|
13045
13452
|
"type": "array",
|
|
13046
13453
|
"minItems": 1,
|
|
13454
|
+
"maxItems": 16,
|
|
13047
13455
|
"items": {
|
|
13048
13456
|
"$ref": "#/components/schemas/VolcSeedanceContentItem"
|
|
13049
|
-
}
|
|
13050
|
-
|
|
13051
|
-
"material_asset_id": {
|
|
13052
|
-
"type": "string",
|
|
13053
|
-
"pattern": "^asset-\\d{14}-[a-z0-9]{5}$",
|
|
13054
|
-
"maxLength": 128,
|
|
13055
|
-
"description": "TokenLab compatibility shorthand for one ACTIVE Seedance material owned by the requesting organization. It is treated as the first frame and cannot be combined with other media inputs. For multiple materials, use content image_url items with explicit roles; top-level material_asset_ids is rejected as ambiguous."
|
|
13457
|
+
},
|
|
13458
|
+
"description": "At most 16 content items: one text item, nine image_url items, three video_url items, three audio_url items, and one draft_task item. Model- and operation-specific combination rules still apply."
|
|
13056
13459
|
},
|
|
13057
13460
|
"ratio": {
|
|
13058
13461
|
"type": "string",
|
|
@@ -13069,7 +13472,19 @@
|
|
|
13069
13472
|
"description": "Output aspect ratio. Defaults to adaptive when omitted."
|
|
13070
13473
|
},
|
|
13071
13474
|
"duration": {
|
|
13072
|
-
"
|
|
13475
|
+
"oneOf": [
|
|
13476
|
+
{
|
|
13477
|
+
"type": "integer",
|
|
13478
|
+
"enum": [
|
|
13479
|
+
-1
|
|
13480
|
+
]
|
|
13481
|
+
},
|
|
13482
|
+
{
|
|
13483
|
+
"type": "integer",
|
|
13484
|
+
"minimum": 4,
|
|
13485
|
+
"maximum": 15
|
|
13486
|
+
}
|
|
13487
|
+
],
|
|
13073
13488
|
"default": 5,
|
|
13074
13489
|
"example": 5,
|
|
13075
13490
|
"description": "Video duration in seconds. Seedance 2.0 supports normal integer durations and -1 for automatic duration where the selected model supports it."
|
|
@@ -13079,17 +13494,16 @@
|
|
|
13079
13494
|
"enum": [
|
|
13080
13495
|
"480p",
|
|
13081
13496
|
"720p",
|
|
13082
|
-
"1080p"
|
|
13083
|
-
"4k"
|
|
13497
|
+
"1080p"
|
|
13084
13498
|
],
|
|
13085
13499
|
"default": "720p",
|
|
13086
13500
|
"example": "720p",
|
|
13087
|
-
"description": "Requested output resolution.
|
|
13501
|
+
"description": "Requested output resolution. Model-specific availability still applies."
|
|
13088
13502
|
},
|
|
13089
13503
|
"generate_audio": {
|
|
13090
13504
|
"type": "boolean",
|
|
13091
|
-
"default":
|
|
13092
|
-
"description": "Whether to generate audio.
|
|
13505
|
+
"default": false,
|
|
13506
|
+
"description": "Whether to generate synchronized audio. The official default is false."
|
|
13093
13507
|
},
|
|
13094
13508
|
"return_last_frame": {
|
|
13095
13509
|
"type": "boolean",
|
|
@@ -13102,6 +13516,8 @@
|
|
|
13102
13516
|
},
|
|
13103
13517
|
"seed": {
|
|
13104
13518
|
"type": "integer",
|
|
13519
|
+
"minimum": -1,
|
|
13520
|
+
"maximum": 4294967295,
|
|
13105
13521
|
"default": -1,
|
|
13106
13522
|
"description": "Random seed. -1 lets the model choose a seed. Forwarded on a best-effort basis for routes that accept it."
|
|
13107
13523
|
},
|
|
@@ -13112,12 +13528,6 @@
|
|
|
13112
13528
|
"default": 172800,
|
|
13113
13529
|
"description": "Task execution expiration window in seconds."
|
|
13114
13530
|
},
|
|
13115
|
-
"priority": {
|
|
13116
|
-
"type": "integer",
|
|
13117
|
-
"default": 0,
|
|
13118
|
-
"minimum": 0,
|
|
13119
|
-
"maximum": 9
|
|
13120
|
-
},
|
|
13121
13531
|
"safety_identifier": {
|
|
13122
13532
|
"type": "string",
|
|
13123
13533
|
"maxLength": 64,
|
|
@@ -13134,9 +13544,21 @@
|
|
|
13134
13544
|
},
|
|
13135
13545
|
"tools": {
|
|
13136
13546
|
"type": "array",
|
|
13547
|
+
"maxItems": 1,
|
|
13137
13548
|
"items": {
|
|
13138
13549
|
"type": "object",
|
|
13139
|
-
"
|
|
13550
|
+
"required": [
|
|
13551
|
+
"type"
|
|
13552
|
+
],
|
|
13553
|
+
"properties": {
|
|
13554
|
+
"type": {
|
|
13555
|
+
"type": "string",
|
|
13556
|
+
"enum": [
|
|
13557
|
+
"web_search"
|
|
13558
|
+
]
|
|
13559
|
+
}
|
|
13560
|
+
},
|
|
13561
|
+
"additionalProperties": false
|
|
13140
13562
|
},
|
|
13141
13563
|
"description": "Optional tools such as {\"type\":\"web_search\"} when supported by the selected model."
|
|
13142
13564
|
},
|
|
@@ -13155,11 +13577,11 @@
|
|
|
13155
13577
|
"callback_url": {
|
|
13156
13578
|
"type": "string",
|
|
13157
13579
|
"format": "uri",
|
|
13158
|
-
"
|
|
13159
|
-
"description": "
|
|
13580
|
+
"maxLength": 2048,
|
|
13581
|
+
"description": "Public HTTP(S) endpoint notified by POST whenever status changes. The body is identical to the get-task response. queued, running, succeeded, failed, and expired are delivered. For succeeded and failed, a delivery without success within 5 seconds is retried up to three times."
|
|
13160
13582
|
}
|
|
13161
13583
|
},
|
|
13162
|
-
"additionalProperties":
|
|
13584
|
+
"additionalProperties": false
|
|
13163
13585
|
},
|
|
13164
13586
|
"VolcSeedanceCreateTaskResponse": {
|
|
13165
13587
|
"type": "object",
|
|
@@ -13169,7 +13591,7 @@
|
|
|
13169
13591
|
"properties": {
|
|
13170
13592
|
"id": {
|
|
13171
13593
|
"type": "string",
|
|
13172
|
-
"example": "cgt-
|
|
13594
|
+
"example": "cgt-20260102030405-a1b2c"
|
|
13173
13595
|
}
|
|
13174
13596
|
},
|
|
13175
13597
|
"additionalProperties": false
|
|
@@ -13179,13 +13601,12 @@
|
|
|
13179
13601
|
"required": [
|
|
13180
13602
|
"id",
|
|
13181
13603
|
"model",
|
|
13182
|
-
"status"
|
|
13183
|
-
"error"
|
|
13604
|
+
"status"
|
|
13184
13605
|
],
|
|
13185
13606
|
"properties": {
|
|
13186
13607
|
"id": {
|
|
13187
13608
|
"type": "string",
|
|
13188
|
-
"example": "cgt-
|
|
13609
|
+
"example": "cgt-20260102030405-a1b2c"
|
|
13189
13610
|
},
|
|
13190
13611
|
"model": {
|
|
13191
13612
|
"type": "string",
|
|
@@ -13202,12 +13623,6 @@
|
|
|
13202
13623
|
"expired"
|
|
13203
13624
|
]
|
|
13204
13625
|
},
|
|
13205
|
-
"progress": {
|
|
13206
|
-
"type": "number",
|
|
13207
|
-
"minimum": 0,
|
|
13208
|
-
"maximum": 100,
|
|
13209
|
-
"description": "Optional progress value returned only when a real progress value is available; use status to determine completion."
|
|
13210
|
-
},
|
|
13211
13626
|
"content": {
|
|
13212
13627
|
"type": "object",
|
|
13213
13628
|
"properties": {
|
|
@@ -13220,7 +13635,7 @@
|
|
|
13220
13635
|
"format": "uri"
|
|
13221
13636
|
}
|
|
13222
13637
|
},
|
|
13223
|
-
"additionalProperties":
|
|
13638
|
+
"additionalProperties": false
|
|
13224
13639
|
},
|
|
13225
13640
|
"seed": {
|
|
13226
13641
|
"type": "integer"
|
|
@@ -13232,36 +13647,32 @@
|
|
|
13232
13647
|
"type": "string"
|
|
13233
13648
|
},
|
|
13234
13649
|
"duration": {
|
|
13235
|
-
"type": "
|
|
13650
|
+
"type": "string"
|
|
13236
13651
|
},
|
|
13237
13652
|
"frames": {
|
|
13238
13653
|
"type": "integer"
|
|
13239
13654
|
},
|
|
13240
13655
|
"framespersecond": {
|
|
13241
|
-
"type": "
|
|
13656
|
+
"type": "integer"
|
|
13242
13657
|
},
|
|
13243
13658
|
"generate_audio": {
|
|
13244
13659
|
"type": "boolean"
|
|
13245
13660
|
},
|
|
13246
|
-
"return_last_frame": {
|
|
13247
|
-
"type": "boolean"
|
|
13248
|
-
},
|
|
13249
|
-
"watermark": {
|
|
13250
|
-
"type": "boolean"
|
|
13251
|
-
},
|
|
13252
13661
|
"tools": {
|
|
13253
|
-
"type": "
|
|
13254
|
-
"
|
|
13255
|
-
"type":
|
|
13256
|
-
|
|
13257
|
-
|
|
13662
|
+
"type": "object",
|
|
13663
|
+
"properties": {
|
|
13664
|
+
"type": {
|
|
13665
|
+
"type": "string",
|
|
13666
|
+
"enum": [
|
|
13667
|
+
"web_search"
|
|
13668
|
+
]
|
|
13669
|
+
}
|
|
13670
|
+
},
|
|
13671
|
+
"additionalProperties": false
|
|
13258
13672
|
},
|
|
13259
13673
|
"safety_identifier": {
|
|
13260
13674
|
"type": "string"
|
|
13261
13675
|
},
|
|
13262
|
-
"priority": {
|
|
13263
|
-
"type": "integer"
|
|
13264
|
-
},
|
|
13265
13676
|
"draft": {
|
|
13266
13677
|
"type": "boolean"
|
|
13267
13678
|
},
|
|
@@ -13271,19 +13682,39 @@
|
|
|
13271
13682
|
"service_tier": {
|
|
13272
13683
|
"type": "string"
|
|
13273
13684
|
},
|
|
13274
|
-
"camera_fixed": {
|
|
13275
|
-
"type": "boolean"
|
|
13276
|
-
},
|
|
13277
13685
|
"execution_expires_after": {
|
|
13278
13686
|
"type": "integer"
|
|
13279
13687
|
},
|
|
13280
13688
|
"usage": {
|
|
13281
13689
|
"type": "object",
|
|
13282
|
-
"
|
|
13690
|
+
"properties": {
|
|
13691
|
+
"completion_tokens": {
|
|
13692
|
+
"type": "integer",
|
|
13693
|
+
"minimum": 0
|
|
13694
|
+
},
|
|
13695
|
+
"total_tokens": {
|
|
13696
|
+
"type": "integer",
|
|
13697
|
+
"minimum": 0
|
|
13698
|
+
},
|
|
13699
|
+
"tool_usage": {
|
|
13700
|
+
"type": "object",
|
|
13701
|
+
"properties": {
|
|
13702
|
+
"web_search": {
|
|
13703
|
+
"type": "integer",
|
|
13704
|
+
"minimum": 0
|
|
13705
|
+
}
|
|
13706
|
+
},
|
|
13707
|
+
"additionalProperties": false
|
|
13708
|
+
}
|
|
13709
|
+
},
|
|
13710
|
+
"additionalProperties": false
|
|
13283
13711
|
},
|
|
13284
13712
|
"error": {
|
|
13285
13713
|
"type": "object",
|
|
13286
|
-
"
|
|
13714
|
+
"required": [
|
|
13715
|
+
"code",
|
|
13716
|
+
"message"
|
|
13717
|
+
],
|
|
13287
13718
|
"properties": {
|
|
13288
13719
|
"code": {
|
|
13289
13720
|
"type": "string"
|
|
@@ -13292,7 +13723,7 @@
|
|
|
13292
13723
|
"type": "string"
|
|
13293
13724
|
}
|
|
13294
13725
|
},
|
|
13295
|
-
"additionalProperties":
|
|
13726
|
+
"additionalProperties": false
|
|
13296
13727
|
},
|
|
13297
13728
|
"created_at": {
|
|
13298
13729
|
"type": "integer",
|
|
@@ -13335,7 +13766,9 @@
|
|
|
13335
13766
|
"type": "object",
|
|
13336
13767
|
"required": [
|
|
13337
13768
|
"code",
|
|
13338
|
-
"message"
|
|
13769
|
+
"message",
|
|
13770
|
+
"param",
|
|
13771
|
+
"type"
|
|
13339
13772
|
],
|
|
13340
13773
|
"properties": {
|
|
13341
13774
|
"code": {
|
|
@@ -13346,9 +13779,12 @@
|
|
|
13346
13779
|
},
|
|
13347
13780
|
"param": {
|
|
13348
13781
|
"type": "string"
|
|
13782
|
+
},
|
|
13783
|
+
"type": {
|
|
13784
|
+
"type": "string"
|
|
13349
13785
|
}
|
|
13350
13786
|
},
|
|
13351
|
-
"additionalProperties":
|
|
13787
|
+
"additionalProperties": false
|
|
13352
13788
|
}
|
|
13353
13789
|
},
|
|
13354
13790
|
"additionalProperties": false
|
|
@@ -13746,6 +14182,145 @@
|
|
|
13746
14182
|
"$ref": "#/components/schemas/VolcVisualValidationError"
|
|
13747
14183
|
}
|
|
13748
14184
|
]
|
|
14185
|
+
},
|
|
14186
|
+
"ChargedPriceBasis": {
|
|
14187
|
+
"type": "object",
|
|
14188
|
+
"required": [
|
|
14189
|
+
"version",
|
|
14190
|
+
"resolvedTier",
|
|
14191
|
+
"priceVersion",
|
|
14192
|
+
"measure",
|
|
14193
|
+
"effectiveUnitPrices"
|
|
14194
|
+
],
|
|
14195
|
+
"properties": {
|
|
14196
|
+
"version": {
|
|
14197
|
+
"type": "integer",
|
|
14198
|
+
"enum": [
|
|
14199
|
+
1
|
|
14200
|
+
]
|
|
14201
|
+
},
|
|
14202
|
+
"resolvedTier": {
|
|
14203
|
+
"type": "string",
|
|
14204
|
+
"enum": [
|
|
14205
|
+
"verified",
|
|
14206
|
+
"official"
|
|
14207
|
+
]
|
|
14208
|
+
},
|
|
14209
|
+
"priceVersion": {
|
|
14210
|
+
"type": "string"
|
|
14211
|
+
},
|
|
14212
|
+
"measure": {
|
|
14213
|
+
"type": "object",
|
|
14214
|
+
"required": [
|
|
14215
|
+
"unit",
|
|
14216
|
+
"quantity",
|
|
14217
|
+
"dimensions"
|
|
14218
|
+
],
|
|
14219
|
+
"properties": {
|
|
14220
|
+
"unit": {
|
|
14221
|
+
"type": "string"
|
|
14222
|
+
},
|
|
14223
|
+
"quantity": {
|
|
14224
|
+
"type": "string"
|
|
14225
|
+
},
|
|
14226
|
+
"dimensions": {
|
|
14227
|
+
"type": "object",
|
|
14228
|
+
"additionalProperties": {
|
|
14229
|
+
"oneOf": [
|
|
14230
|
+
{
|
|
14231
|
+
"type": "string"
|
|
14232
|
+
},
|
|
14233
|
+
{
|
|
14234
|
+
"type": "number"
|
|
14235
|
+
},
|
|
14236
|
+
{
|
|
14237
|
+
"type": "boolean"
|
|
14238
|
+
},
|
|
14239
|
+
{
|
|
14240
|
+
"type": "null"
|
|
14241
|
+
}
|
|
14242
|
+
]
|
|
14243
|
+
}
|
|
14244
|
+
}
|
|
14245
|
+
},
|
|
14246
|
+
"additionalProperties": false
|
|
14247
|
+
},
|
|
14248
|
+
"effectiveUnitPrices": {
|
|
14249
|
+
"type": "object",
|
|
14250
|
+
"required": [
|
|
14251
|
+
"unit"
|
|
14252
|
+
],
|
|
14253
|
+
"properties": {
|
|
14254
|
+
"unit": {
|
|
14255
|
+
"type": "string"
|
|
14256
|
+
},
|
|
14257
|
+
"input": {
|
|
14258
|
+
"type": [
|
|
14259
|
+
"string",
|
|
14260
|
+
"null"
|
|
14261
|
+
]
|
|
14262
|
+
},
|
|
14263
|
+
"output": {
|
|
14264
|
+
"type": [
|
|
14265
|
+
"string",
|
|
14266
|
+
"null"
|
|
14267
|
+
]
|
|
14268
|
+
},
|
|
14269
|
+
"cacheRead": {
|
|
14270
|
+
"type": [
|
|
14271
|
+
"string",
|
|
14272
|
+
"null"
|
|
14273
|
+
]
|
|
14274
|
+
},
|
|
14275
|
+
"cacheWrite": {
|
|
14276
|
+
"type": [
|
|
14277
|
+
"string",
|
|
14278
|
+
"null"
|
|
14279
|
+
]
|
|
14280
|
+
},
|
|
14281
|
+
"cacheWrite1h": {
|
|
14282
|
+
"type": [
|
|
14283
|
+
"string",
|
|
14284
|
+
"null"
|
|
14285
|
+
]
|
|
14286
|
+
},
|
|
14287
|
+
"fixed": {
|
|
14288
|
+
"type": [
|
|
14289
|
+
"string",
|
|
14290
|
+
"null"
|
|
14291
|
+
]
|
|
14292
|
+
},
|
|
14293
|
+
"structured": {
|
|
14294
|
+
"anyOf": [
|
|
14295
|
+
{
|
|
14296
|
+
"type": "null"
|
|
14297
|
+
},
|
|
14298
|
+
{
|
|
14299
|
+
"type": "object",
|
|
14300
|
+
"additionalProperties": {
|
|
14301
|
+
"oneOf": [
|
|
14302
|
+
{
|
|
14303
|
+
"type": "string"
|
|
14304
|
+
},
|
|
14305
|
+
{
|
|
14306
|
+
"type": "number"
|
|
14307
|
+
},
|
|
14308
|
+
{
|
|
14309
|
+
"type": "boolean"
|
|
14310
|
+
},
|
|
14311
|
+
{
|
|
14312
|
+
"type": "null"
|
|
14313
|
+
}
|
|
14314
|
+
]
|
|
14315
|
+
}
|
|
14316
|
+
}
|
|
14317
|
+
]
|
|
14318
|
+
}
|
|
14319
|
+
},
|
|
14320
|
+
"additionalProperties": false
|
|
14321
|
+
}
|
|
14322
|
+
},
|
|
14323
|
+
"additionalProperties": false
|
|
13749
14324
|
}
|
|
13750
14325
|
},
|
|
13751
14326
|
"responses": {
|
|
@@ -13936,6 +14511,57 @@
|
|
|
13936
14511
|
}
|
|
13937
14512
|
}
|
|
13938
14513
|
}
|
|
14514
|
+
},
|
|
14515
|
+
"DeliveryUnavailable": {
|
|
14516
|
+
"description": "No eligible Delivery route is currently available, or all eligible routes failed.",
|
|
14517
|
+
"content": {
|
|
14518
|
+
"application/json": {
|
|
14519
|
+
"schema": {
|
|
14520
|
+
"$ref": "#/components/schemas/ApiError"
|
|
14521
|
+
},
|
|
14522
|
+
"examples": {
|
|
14523
|
+
"requestedTierUnavailable": {
|
|
14524
|
+
"summary": "The requested Delivery tier has no eligible route",
|
|
14525
|
+
"value": {
|
|
14526
|
+
"error": {
|
|
14527
|
+
"message": "The requested Delivery tier is temporarily unavailable for model gpt-5.4.",
|
|
14528
|
+
"type": "all_channels_failed",
|
|
14529
|
+
"code": "delivery_tier_unavailable",
|
|
14530
|
+
"retryable": true,
|
|
14531
|
+
"request_id": "req_01JEXAMPLE"
|
|
14532
|
+
}
|
|
14533
|
+
}
|
|
14534
|
+
},
|
|
14535
|
+
"eligibleRoutesFailed": {
|
|
14536
|
+
"summary": "All eligible Delivery routes failed",
|
|
14537
|
+
"value": {
|
|
14538
|
+
"error": {
|
|
14539
|
+
"message": "All available routes failed to process the request.",
|
|
14540
|
+
"type": "all_channels_failed",
|
|
14541
|
+
"retryable": true,
|
|
14542
|
+
"request_id": "req_01JEXAMPLE"
|
|
14543
|
+
}
|
|
14544
|
+
}
|
|
14545
|
+
}
|
|
14546
|
+
}
|
|
14547
|
+
}
|
|
14548
|
+
}
|
|
14549
|
+
}
|
|
14550
|
+
},
|
|
14551
|
+
"parameters": {
|
|
14552
|
+
"DeliveryPolicy": {
|
|
14553
|
+
"name": "X-TokenLab-Delivery-Policy",
|
|
14554
|
+
"in": "header",
|
|
14555
|
+
"required": false,
|
|
14556
|
+
"description": "Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, upstream acceptance, or persistent resource creation.",
|
|
14557
|
+
"schema": {
|
|
14558
|
+
"type": "string",
|
|
14559
|
+
"enum": [
|
|
14560
|
+
"auto",
|
|
14561
|
+
"verified",
|
|
14562
|
+
"official"
|
|
14563
|
+
]
|
|
14564
|
+
}
|
|
13939
14565
|
}
|
|
13940
14566
|
}
|
|
13941
14567
|
}
|