@byte_fluffy/nexra-sdk 0.1.0-alpha.44 → 0.1.0-alpha.45
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 +32 -0
- package/dist/catalog.d.ts +2 -2
- package/dist/catalog.js +2 -2
- package/dist/{chunk-ESPUF2D4.js → chunk-FEACXUHZ.js} +20 -2
- package/dist/{chunk-JJD32I64.js → chunk-OX5GFYVN.js} +175 -45
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/language.d.ts +1 -1
- package/dist/language.js +2 -2
- package/dist/media-CwGmG5qB.d.ts +299 -0
- package/dist/{media-geometry-YD9Y_CFw.d.ts → media-geometry-KwQh1O8Y.d.ts} +1 -1
- package/dist/media.d.ts +2 -222
- package/dist/media.js +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/{voices-BHzDQ5xH.d.ts → voices-B09HqQJJ.d.ts} +11 -7
- package/package.json +1 -1
- package/dist/assets-Cusrjj7_.d.ts +0 -61
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
normalizePublicErrorInput,
|
|
3
3
|
pickPublicErrorFields,
|
|
4
4
|
sortRatioDisplayOrder
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FEACXUHZ.js";
|
|
6
6
|
|
|
7
7
|
// src/catalog/generated/audio.generated.json
|
|
8
8
|
var audio_generated_default = [
|
|
@@ -2804,7 +2804,7 @@ var image_generated_default = [
|
|
|
2804
2804
|
contractVersion: 1,
|
|
2805
2805
|
developer: "bytedance",
|
|
2806
2806
|
displayName: "Volcengine Image Enhancement",
|
|
2807
|
-
summary: "Upscale an image with Volcengine CVProcess
|
|
2807
|
+
summary: "Upscale an image with Volcengine CVProcess.",
|
|
2808
2808
|
kind: "image",
|
|
2809
2809
|
family: "Volcengine Upscale",
|
|
2810
2810
|
aliases: [],
|
|
@@ -2815,7 +2815,9 @@ var image_generated_default = [
|
|
|
2815
2815
|
outputModalities: [
|
|
2816
2816
|
"image"
|
|
2817
2817
|
],
|
|
2818
|
-
inputModes: [
|
|
2818
|
+
inputModes: [
|
|
2819
|
+
"image-upscale"
|
|
2820
|
+
],
|
|
2819
2821
|
features: []
|
|
2820
2822
|
},
|
|
2821
2823
|
operations: [
|
|
@@ -5494,7 +5496,7 @@ var image_generated_default = [
|
|
|
5494
5496
|
order: 0
|
|
5495
5497
|
},
|
|
5496
5498
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
5497
|
-
description: "\u4E00\u6761\u63D0\u793A\u8BCD\uFF0C\u53EF\u9009\
|
|
5499
|
+
description: "\u666E\u901A\u751F\u56FE\u9700\u8981\u4E00\u6761\u63D0\u793A\u8BCD\uFF0C\u53EF\u9009\u53C2\u8003\u56FE\u7247\uFF1B\u56FE\u5C42\u62C6\u5206\u9700\u8981\u4E00\u5F20\u56FE\u7247\uFF0C\u53EF\u9009\u63D0\u793A\u8BCD\u3002",
|
|
5498
5500
|
maxItems: 11,
|
|
5499
5501
|
allOf: [
|
|
5500
5502
|
{
|
|
@@ -5509,7 +5511,7 @@ var image_generated_default = [
|
|
|
5509
5511
|
"type"
|
|
5510
5512
|
]
|
|
5511
5513
|
},
|
|
5512
|
-
minContains:
|
|
5514
|
+
minContains: 0,
|
|
5513
5515
|
maxContains: 1
|
|
5514
5516
|
},
|
|
5515
5517
|
{
|
|
@@ -5579,12 +5581,105 @@ var image_generated_default = [
|
|
|
5579
5581
|
order: 11,
|
|
5580
5582
|
control: "segmented"
|
|
5581
5583
|
}
|
|
5584
|
+
},
|
|
5585
|
+
output_mode: {
|
|
5586
|
+
type: "string",
|
|
5587
|
+
enum: [
|
|
5588
|
+
"image",
|
|
5589
|
+
"layers"
|
|
5590
|
+
],
|
|
5591
|
+
title: "\u8F93\u51FA\u6A21\u5F0F",
|
|
5592
|
+
"x-ui": {
|
|
5593
|
+
hidden: true
|
|
5594
|
+
}
|
|
5595
|
+
},
|
|
5596
|
+
prompt_optimization: {
|
|
5597
|
+
type: "string",
|
|
5598
|
+
enum: [
|
|
5599
|
+
"standard",
|
|
5600
|
+
"fast"
|
|
5601
|
+
],
|
|
5602
|
+
title: "\u4F18\u5316\u6A21\u5F0F",
|
|
5603
|
+
"x-ui": {
|
|
5604
|
+
hidden: true
|
|
5605
|
+
}
|
|
5582
5606
|
}
|
|
5583
5607
|
},
|
|
5584
5608
|
required: [
|
|
5585
5609
|
"content"
|
|
5586
5610
|
],
|
|
5587
|
-
additionalProperties: false
|
|
5611
|
+
additionalProperties: false,
|
|
5612
|
+
allOf: [
|
|
5613
|
+
{
|
|
5614
|
+
if: {
|
|
5615
|
+
properties: {
|
|
5616
|
+
output_mode: {
|
|
5617
|
+
const: "layers"
|
|
5618
|
+
}
|
|
5619
|
+
},
|
|
5620
|
+
required: [
|
|
5621
|
+
"output_mode"
|
|
5622
|
+
]
|
|
5623
|
+
},
|
|
5624
|
+
then: {
|
|
5625
|
+
properties: {
|
|
5626
|
+
content: {
|
|
5627
|
+
type: "array",
|
|
5628
|
+
minItems: 1,
|
|
5629
|
+
maxItems: 2,
|
|
5630
|
+
allOf: [
|
|
5631
|
+
{
|
|
5632
|
+
type: "array",
|
|
5633
|
+
contains: {
|
|
5634
|
+
type: "object",
|
|
5635
|
+
properties: {
|
|
5636
|
+
type: {
|
|
5637
|
+
const: "image"
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
required: [
|
|
5641
|
+
"type"
|
|
5642
|
+
]
|
|
5643
|
+
},
|
|
5644
|
+
minContains: 1,
|
|
5645
|
+
maxContains: 1
|
|
5646
|
+
}
|
|
5647
|
+
]
|
|
5648
|
+
},
|
|
5649
|
+
aspect_ratio: false,
|
|
5650
|
+
output_format: {
|
|
5651
|
+
const: "png"
|
|
5652
|
+
}
|
|
5653
|
+
}
|
|
5654
|
+
},
|
|
5655
|
+
else: {
|
|
5656
|
+
properties: {
|
|
5657
|
+
content: {
|
|
5658
|
+
type: "array",
|
|
5659
|
+
allOf: [
|
|
5660
|
+
{
|
|
5661
|
+
type: "array",
|
|
5662
|
+
contains: {
|
|
5663
|
+
type: "object",
|
|
5664
|
+
properties: {
|
|
5665
|
+
type: {
|
|
5666
|
+
const: "text"
|
|
5667
|
+
}
|
|
5668
|
+
},
|
|
5669
|
+
required: [
|
|
5670
|
+
"type"
|
|
5671
|
+
]
|
|
5672
|
+
},
|
|
5673
|
+
minContains: 1,
|
|
5674
|
+
maxContains: 1
|
|
5675
|
+
}
|
|
5676
|
+
]
|
|
5677
|
+
},
|
|
5678
|
+
prompt_optimization: false
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
}
|
|
5682
|
+
]
|
|
5588
5683
|
},
|
|
5589
5684
|
outputSchema: {},
|
|
5590
5685
|
metering: {
|
|
@@ -32734,7 +32829,7 @@ var video_generated_default = [
|
|
|
32734
32829
|
contractVersion: 1,
|
|
32735
32830
|
developer: "bytedance",
|
|
32736
32831
|
displayName: "Volcengine Video Super Resolution",
|
|
32737
|
-
summary: "Upscale a video through Volcengine VOD
|
|
32832
|
+
summary: "Upscale a video through Volcengine VOD.",
|
|
32738
32833
|
kind: "video",
|
|
32739
32834
|
family: "Volcengine Upscale",
|
|
32740
32835
|
aliases: [],
|
|
@@ -32745,7 +32840,9 @@ var video_generated_default = [
|
|
|
32745
32840
|
outputModalities: [
|
|
32746
32841
|
"video"
|
|
32747
32842
|
],
|
|
32748
|
-
inputModes: [
|
|
32843
|
+
inputModes: [
|
|
32844
|
+
"video-upscale"
|
|
32845
|
+
],
|
|
32749
32846
|
features: []
|
|
32750
32847
|
},
|
|
32751
32848
|
operations: [
|
|
@@ -33150,7 +33247,8 @@ var video_generated_default = [
|
|
|
33150
33247
|
minDurationSeconds: 2,
|
|
33151
33248
|
maxDurationSeconds: 15
|
|
33152
33249
|
}
|
|
33153
|
-
}
|
|
33250
|
+
},
|
|
33251
|
+
defaultInputMode: "reference"
|
|
33154
33252
|
},
|
|
33155
33253
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
33156
33254
|
description: "\u5728\u540C\u4E00\u4E2A\u5217\u8868\u4E2D\u7EC4\u5408\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u3002\u56FE\u7247\u6700\u591A 9 \u5F20\uFF0C\u89C6\u9891\u548C\u97F3\u9891\u5404\u6700\u591A 3 \u6BB5\uFF1B\u9996\u5C3E\u5E27\u4E0D\u80FD\u4E0E\u53C2\u8003\u7D20\u6750\u6DF7\u7528\uFF0C\u97F3\u9891\u9700\u642D\u914D\u53C2\u8003\u56FE\u7247\u6216\u89C6\u9891\u3002 \u8BF7\u6C42\u4F53\u4E0D\u8D85\u8FC7 64 MB\uFF1B\u5A92\u4F53\u6587\u4EF6\u7684\u65F6\u957F\u3001\u5C3A\u5BF8\u4E0E\u5927\u5C0F\u6700\u7EC8\u7531\u4E0A\u6E38\u6821\u9A8C\u3002",
|
|
@@ -33852,7 +33950,8 @@ var video_generated_default = [
|
|
|
33852
33950
|
},
|
|
33853
33951
|
"x-ui": {
|
|
33854
33952
|
control: "content-parts",
|
|
33855
|
-
order: 0
|
|
33953
|
+
order: 0,
|
|
33954
|
+
defaultInputMode: "reference"
|
|
33856
33955
|
},
|
|
33857
33956
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
33858
33957
|
allOf: [
|
|
@@ -34914,7 +35013,8 @@ var video_generated_default = [
|
|
|
34914
35013
|
},
|
|
34915
35014
|
"x-ui": {
|
|
34916
35015
|
control: "content-parts",
|
|
34917
|
-
order: 0
|
|
35016
|
+
order: 0,
|
|
35017
|
+
defaultInputMode: "reference"
|
|
34918
35018
|
},
|
|
34919
35019
|
maxItems: 17,
|
|
34920
35020
|
description: "Provide a prompt and at least one image, video or audio reference.",
|
|
@@ -35514,7 +35614,8 @@ var video_generated_default = [
|
|
|
35514
35614
|
},
|
|
35515
35615
|
"x-ui": {
|
|
35516
35616
|
control: "content-parts",
|
|
35517
|
-
order: 0
|
|
35617
|
+
order: 0,
|
|
35618
|
+
defaultInputMode: "reference"
|
|
35518
35619
|
},
|
|
35519
35620
|
allOf: [
|
|
35520
35621
|
{
|
|
@@ -35905,7 +36006,8 @@ var video_generated_default = [
|
|
|
35905
36006
|
},
|
|
35906
36007
|
"x-ui": {
|
|
35907
36008
|
control: "content-parts",
|
|
35908
|
-
order: 0
|
|
36009
|
+
order: 0,
|
|
36010
|
+
defaultInputMode: "reference"
|
|
35909
36011
|
},
|
|
35910
36012
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
35911
36013
|
allOf: [
|
|
@@ -36458,7 +36560,8 @@ var video_generated_default = [
|
|
|
36458
36560
|
},
|
|
36459
36561
|
"x-ui": {
|
|
36460
36562
|
control: "content-parts",
|
|
36461
|
-
order: 0
|
|
36563
|
+
order: 0,
|
|
36564
|
+
defaultInputMode: "reference"
|
|
36462
36565
|
},
|
|
36463
36566
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
36464
36567
|
allOf: [
|
|
@@ -37009,7 +37112,8 @@ var video_generated_default = [
|
|
|
37009
37112
|
},
|
|
37010
37113
|
"x-ui": {
|
|
37011
37114
|
control: "content-parts",
|
|
37012
|
-
order: 0
|
|
37115
|
+
order: 0,
|
|
37116
|
+
defaultInputMode: "reference"
|
|
37013
37117
|
},
|
|
37014
37118
|
title: "\u8F93\u5165\u5185\u5BB9"
|
|
37015
37119
|
},
|
|
@@ -37280,7 +37384,8 @@ var video_generated_default = [
|
|
|
37280
37384
|
},
|
|
37281
37385
|
"x-ui": {
|
|
37282
37386
|
control: "content-parts",
|
|
37283
|
-
order: 0
|
|
37387
|
+
order: 0,
|
|
37388
|
+
defaultInputMode: "reference"
|
|
37284
37389
|
},
|
|
37285
37390
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
37286
37391
|
allOf: [
|
|
@@ -37831,7 +37936,8 @@ var video_generated_default = [
|
|
|
37831
37936
|
},
|
|
37832
37937
|
"x-ui": {
|
|
37833
37938
|
control: "content-parts",
|
|
37834
|
-
order: 0
|
|
37939
|
+
order: 0,
|
|
37940
|
+
defaultInputMode: "reference"
|
|
37835
37941
|
},
|
|
37836
37942
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
37837
37943
|
allOf: [
|
|
@@ -39111,7 +39217,8 @@ var video_generated_default = [
|
|
|
39111
39217
|
},
|
|
39112
39218
|
"x-ui": {
|
|
39113
39219
|
control: "content-parts",
|
|
39114
|
-
order: 0
|
|
39220
|
+
order: 0,
|
|
39221
|
+
defaultInputMode: "reference"
|
|
39115
39222
|
},
|
|
39116
39223
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
39117
39224
|
contains: {
|
|
@@ -39416,7 +39523,8 @@ var video_generated_default = [
|
|
|
39416
39523
|
},
|
|
39417
39524
|
"x-ui": {
|
|
39418
39525
|
control: "content-parts",
|
|
39419
|
-
order: 0
|
|
39526
|
+
order: 0,
|
|
39527
|
+
defaultInputMode: "reference"
|
|
39420
39528
|
},
|
|
39421
39529
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
39422
39530
|
description: "\u4F7F\u7528\u63D0\u793A\u8BCD\u3001\u5355\u5F20\u9996\u5E27\u6216\u6700\u591A\u4E5D\u5F20\u53C2\u8003\u56FE\u7247\u751F\u6210\u89C6\u9891\u3002",
|
|
@@ -39849,7 +39957,8 @@ var video_generated_default = [
|
|
|
39849
39957
|
},
|
|
39850
39958
|
"x-ui": {
|
|
39851
39959
|
control: "content-parts",
|
|
39852
|
-
order: 0
|
|
39960
|
+
order: 0,
|
|
39961
|
+
defaultInputMode: "reference"
|
|
39853
39962
|
},
|
|
39854
39963
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
39855
39964
|
description: "\u4F7F\u7528\u63D0\u793A\u8BCD\u3001\u5355\u5F20\u9996\u5E27\u6216\u6700\u591A\u4E5D\u5F20\u53C2\u8003\u56FE\u7247\u751F\u6210\u89C6\u9891\u3002",
|
|
@@ -40300,7 +40409,8 @@ var video_generated_default = [
|
|
|
40300
40409
|
},
|
|
40301
40410
|
"x-ui": {
|
|
40302
40411
|
control: "content-parts",
|
|
40303
|
-
order: 0
|
|
40412
|
+
order: 0,
|
|
40413
|
+
defaultInputMode: "reference"
|
|
40304
40414
|
},
|
|
40305
40415
|
maxItems: 3,
|
|
40306
40416
|
allOf: [
|
|
@@ -40612,7 +40722,8 @@ var video_generated_default = [
|
|
|
40612
40722
|
},
|
|
40613
40723
|
"x-ui": {
|
|
40614
40724
|
control: "content-parts",
|
|
40615
|
-
order: 0
|
|
40725
|
+
order: 0,
|
|
40726
|
+
defaultInputMode: "reference"
|
|
40616
40727
|
},
|
|
40617
40728
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
40618
40729
|
description: "\u63D0\u4F9B\u4E00\u5F20\u9996\u5E27\u56FE\u7247\uFF1B\u53EF\u9009\u6DFB\u52A0\u63D0\u793A\u8BCD\u3001\u8D1F\u9762\u63D0\u793A\u8BCD\u548C\u4E00\u6BB5\u9A71\u52A8\u97F3\u9891\u3002",
|
|
@@ -40961,7 +41072,8 @@ var video_generated_default = [
|
|
|
40961
41072
|
},
|
|
40962
41073
|
"x-ui": {
|
|
40963
41074
|
control: "content-parts",
|
|
40964
|
-
order: 0
|
|
41075
|
+
order: 0,
|
|
41076
|
+
defaultInputMode: "reference"
|
|
40965
41077
|
},
|
|
40966
41078
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
40967
41079
|
description: "\u63D0\u4F9B\u63D0\u793A\u8BCD\u3001\u9996\u5C3E\u5E27\u3001\u7EED\u5199\u89C6\u9891\u6216\u53C2\u8003\u7D20\u6750\uFF1B\u7EED\u5199\u89C6\u9891\u53EF\u642D\u914D\u5C3E\u5E27\uFF0C\u4E0D\u80FD\u642D\u914D\u9996\u5E27\u3001\u9A71\u52A8\u97F3\u9891\u6216\u53C2\u8003\u7D20\u6750\u3002",
|
|
@@ -41931,7 +42043,8 @@ var video_generated_default = [
|
|
|
41931
42043
|
},
|
|
41932
42044
|
"x-ui": {
|
|
41933
42045
|
control: "content-parts",
|
|
41934
|
-
order: 0
|
|
42046
|
+
order: 0,
|
|
42047
|
+
defaultInputMode: "reference"
|
|
41935
42048
|
},
|
|
41936
42049
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
41937
42050
|
allOf: [
|
|
@@ -42529,7 +42642,8 @@ var video_generated_default = [
|
|
|
42529
42642
|
},
|
|
42530
42643
|
"x-ui": {
|
|
42531
42644
|
control: "content-parts",
|
|
42532
|
-
order: 0
|
|
42645
|
+
order: 0,
|
|
42646
|
+
defaultInputMode: "reference"
|
|
42533
42647
|
},
|
|
42534
42648
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
42535
42649
|
allOf: [
|
|
@@ -43158,7 +43272,8 @@ var video_generated_default = [
|
|
|
43158
43272
|
},
|
|
43159
43273
|
"x-ui": {
|
|
43160
43274
|
control: "content-parts",
|
|
43161
|
-
order: 0
|
|
43275
|
+
order: 0,
|
|
43276
|
+
defaultInputMode: "reference"
|
|
43162
43277
|
},
|
|
43163
43278
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
43164
43279
|
allOf: [
|
|
@@ -44259,7 +44374,8 @@ var video_generated_default = [
|
|
|
44259
44374
|
minDurationSeconds: 2,
|
|
44260
44375
|
maxDurationSeconds: 15
|
|
44261
44376
|
}
|
|
44262
|
-
}
|
|
44377
|
+
},
|
|
44378
|
+
defaultInputMode: "reference"
|
|
44263
44379
|
},
|
|
44264
44380
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
44265
44381
|
description: "\u5728\u540C\u4E00\u4E2A\u5217\u8868\u4E2D\u7EC4\u5408\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u3002\u56FE\u7247\u6700\u591A 9 \u5F20\uFF0C\u89C6\u9891\u548C\u97F3\u9891\u5404\u6700\u591A 3 \u6BB5\uFF1B\u9996\u5C3E\u5E27\u4E0D\u80FD\u4E0E\u53C2\u8003\u7D20\u6750\u6DF7\u7528\uFF0C\u97F3\u9891\u9700\u642D\u914D\u53C2\u8003\u56FE\u7247\u6216\u89C6\u9891\u3002 \u8BF7\u6C42\u4F53\u4E0D\u8D85\u8FC7 64 MB\uFF1B\u5A92\u4F53\u6587\u4EF6\u7684\u65F6\u957F\u3001\u5C3A\u5BF8\u4E0E\u5927\u5C0F\u6700\u7EC8\u7531\u4E0A\u6E38\u6821\u9A8C\u3002",
|
|
@@ -44921,7 +45037,8 @@ var video_generated_default = [
|
|
|
44921
45037
|
},
|
|
44922
45038
|
"x-ui": {
|
|
44923
45039
|
control: "content-parts",
|
|
44924
|
-
order: 0
|
|
45040
|
+
order: 0,
|
|
45041
|
+
defaultInputMode: "reference"
|
|
44925
45042
|
},
|
|
44926
45043
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
44927
45044
|
allOf: [
|
|
@@ -45550,7 +45667,8 @@ var video_generated_default = [
|
|
|
45550
45667
|
},
|
|
45551
45668
|
"x-ui": {
|
|
45552
45669
|
control: "content-parts",
|
|
45553
|
-
order: 0
|
|
45670
|
+
order: 0,
|
|
45671
|
+
defaultInputMode: "reference"
|
|
45554
45672
|
},
|
|
45555
45673
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
45556
45674
|
allOf: [
|
|
@@ -46223,7 +46341,8 @@ var video_generated_default = [
|
|
|
46223
46341
|
},
|
|
46224
46342
|
"x-ui": {
|
|
46225
46343
|
control: "content-parts",
|
|
46226
|
-
order: 0
|
|
46344
|
+
order: 0,
|
|
46345
|
+
defaultInputMode: "reference"
|
|
46227
46346
|
},
|
|
46228
46347
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
46229
46348
|
allOf: [
|
|
@@ -47200,7 +47319,8 @@ var video_generated_default = [
|
|
|
47200
47319
|
},
|
|
47201
47320
|
"x-ui": {
|
|
47202
47321
|
control: "content-parts",
|
|
47203
|
-
order: 0
|
|
47322
|
+
order: 0,
|
|
47323
|
+
defaultInputMode: "reference"
|
|
47204
47324
|
},
|
|
47205
47325
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
47206
47326
|
description: "\u63D0\u4F9B\u4E00\u6761\u63D0\u793A\u8BCD\uFF0C\u53EF\u9009\u6DFB\u52A0\u9996\u5E27\u3001\u9996\u5C3E\u5E27\u6216\u6700\u591A\u4E09\u5F20\u53C2\u8003\u56FE\u7247\u3002",
|
|
@@ -47621,7 +47741,8 @@ var video_generated_default = [
|
|
|
47621
47741
|
},
|
|
47622
47742
|
"x-ui": {
|
|
47623
47743
|
control: "content-parts",
|
|
47624
|
-
order: 0
|
|
47744
|
+
order: 0,
|
|
47745
|
+
defaultInputMode: "reference"
|
|
47625
47746
|
},
|
|
47626
47747
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
47627
47748
|
description: "\u63D0\u4F9B\u63D0\u793A\u8BCD\u3001\u9996\u5C3E\u5E27\u6216\u53C2\u8003\u56FE\u7247\uFF0C\u4E5F\u53EF\u7528\u63D0\u793A\u8BCD\u5EF6\u957F\u89C6\u9891\u3002\u9996\u5C3E\u5E27\u4E0E\u53C2\u8003\u56FE\u7247\u4E0D\u80FD\u6DF7\u7528\u3002",
|
|
@@ -48161,7 +48282,8 @@ var video_generated_default = [
|
|
|
48161
48282
|
},
|
|
48162
48283
|
"x-ui": {
|
|
48163
48284
|
control: "content-parts",
|
|
48164
|
-
order: 0
|
|
48285
|
+
order: 0,
|
|
48286
|
+
defaultInputMode: "reference"
|
|
48165
48287
|
},
|
|
48166
48288
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
48167
48289
|
description: "\u63D0\u4F9B\u63D0\u793A\u8BCD\u3001\u9996\u5C3E\u5E27\u6216\u53C2\u8003\u56FE\u7247\uFF0C\u4E5F\u53EF\u7528\u63D0\u793A\u8BCD\u5EF6\u957F\u89C6\u9891\u3002\u9996\u5C3E\u5E27\u4E0E\u53C2\u8003\u56FE\u7247\u4E0D\u80FD\u6DF7\u7528\u3002",
|
|
@@ -49197,7 +49319,8 @@ var video_generated_default = [
|
|
|
49197
49319
|
},
|
|
49198
49320
|
"x-ui": {
|
|
49199
49321
|
control: "content-parts",
|
|
49200
|
-
order: 0
|
|
49322
|
+
order: 0,
|
|
49323
|
+
defaultInputMode: "reference"
|
|
49201
49324
|
},
|
|
49202
49325
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
49203
49326
|
description: "\u63D0\u4F9B\u4E00\u5F20\u4EBA\u7269\u56FE\u7247\uFF0C\u5E76\u5728\u53E3\u64AD\u6587\u6848\u4E0E\u5DF2\u5F55\u5236\u8BED\u97F3\u4E2D\u9009\u62E9\u4E00\u79CD\u9A71\u52A8\u65B9\u5F0F\u3002",
|
|
@@ -49314,7 +49437,7 @@ var video_generated_default = [
|
|
|
49314
49437
|
"5:4",
|
|
49315
49438
|
"1:1"
|
|
49316
49439
|
],
|
|
49317
|
-
default: "
|
|
49440
|
+
default: "auto",
|
|
49318
49441
|
title: "\u753B\u9762\u6BD4\u4F8B",
|
|
49319
49442
|
"x-ui": {
|
|
49320
49443
|
order: 10,
|
|
@@ -49673,7 +49796,8 @@ var video_generated_default = [
|
|
|
49673
49796
|
},
|
|
49674
49797
|
"x-ui": {
|
|
49675
49798
|
control: "content-parts",
|
|
49676
|
-
order: 0
|
|
49799
|
+
order: 0,
|
|
49800
|
+
defaultInputMode: "reference"
|
|
49677
49801
|
},
|
|
49678
49802
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
49679
49803
|
description: "\u63D0\u4F9B\u63D0\u793A\u8BCD\uFF0C\u53EF\u9009\u6DFB\u52A0\u53C2\u8003\u56FE\u7247\u3001\u9996\u5C3E\u5E27\u6216\u4E00\u4E2A\u53C2\u8003\u89C6\u9891\u3002",
|
|
@@ -49826,7 +49950,7 @@ var video_generated_default = [
|
|
|
49826
49950
|
},
|
|
49827
49951
|
quality: {
|
|
49828
49952
|
type: "string",
|
|
49829
|
-
title: "\
|
|
49953
|
+
title: "\u5206\u8FA8\u7387",
|
|
49830
49954
|
enum: [
|
|
49831
49955
|
"std",
|
|
49832
49956
|
"pro",
|
|
@@ -50273,7 +50397,7 @@ var video_generated_default = [
|
|
|
50273
50397
|
},
|
|
50274
50398
|
quality: {
|
|
50275
50399
|
type: "string",
|
|
50276
|
-
title: "\
|
|
50400
|
+
title: "\u5206\u8FA8\u7387",
|
|
50277
50401
|
enum: [
|
|
50278
50402
|
"std",
|
|
50279
50403
|
"pro",
|
|
@@ -51099,7 +51223,8 @@ var video_generated_default = [
|
|
|
51099
51223
|
},
|
|
51100
51224
|
"x-ui": {
|
|
51101
51225
|
control: "content-parts",
|
|
51102
|
-
order: 0
|
|
51226
|
+
order: 0,
|
|
51227
|
+
defaultInputMode: "reference"
|
|
51103
51228
|
},
|
|
51104
51229
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
51105
51230
|
description: "\u6309\u987A\u5E8F\u63D0\u4F9B\u63D0\u793A\u8BCD\uFF0C\u4EE5\u53CA\u53EF\u9009\u7684\u9996\u5C3E\u5E27\u6216\u53C2\u8003\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u3002",
|
|
@@ -52222,7 +52347,8 @@ var video_generated_default = [
|
|
|
52222
52347
|
},
|
|
52223
52348
|
"x-ui": {
|
|
52224
52349
|
control: "content-parts",
|
|
52225
|
-
order: 0
|
|
52350
|
+
order: 0,
|
|
52351
|
+
defaultInputMode: "reference"
|
|
52226
52352
|
},
|
|
52227
52353
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
52228
52354
|
description: "\u63D0\u4F9B\u4E00\u6761\u63D0\u793A\u8BCD\uFF0C\u53EF\u9009\u6DFB\u52A0\u6700\u591A\u4E03\u5F20\u5177\u540D\u4E3B\u4F53\u6216\u80CC\u666F\u53C2\u8003\u56FE\u3002",
|
|
@@ -52475,7 +52601,8 @@ var video_generated_default = [
|
|
|
52475
52601
|
},
|
|
52476
52602
|
"x-ui": {
|
|
52477
52603
|
control: "content-parts",
|
|
52478
|
-
order: 0
|
|
52604
|
+
order: 0,
|
|
52605
|
+
defaultInputMode: "reference"
|
|
52479
52606
|
},
|
|
52480
52607
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
52481
52608
|
description: "\u4F7F\u7528\u63D0\u793A\u8BCD\u3001\u9996\u5C3E\u5E27\u6216\u6700\u591A\u4E03\u5F20\u53C2\u8003\u56FE\u7247\u751F\u6210\u89C6\u9891\u3002",
|
|
@@ -53014,7 +53141,8 @@ var video_generated_default = [
|
|
|
53014
53141
|
},
|
|
53015
53142
|
"x-ui": {
|
|
53016
53143
|
control: "content-parts",
|
|
53017
|
-
order: 0
|
|
53144
|
+
order: 0,
|
|
53145
|
+
defaultInputMode: "reference"
|
|
53018
53146
|
},
|
|
53019
53147
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
53020
53148
|
description: "\u63D0\u4F9B\u63D0\u793A\u8BCD\u3001\u9996\u5E27\u3001\u53C2\u8003\u56FE\u7247\u6216\u4E00\u4E2A\u7528\u4E8E\u7F16\u8F91/\u5EF6\u5C55\u7684\u6E90\u89C6\u9891\uFF1B\u5355\u5F20\u9996\u5E27\u751F\u6210\u53EF\u7701\u7565\u63D0\u793A\u8BCD\u3002",
|
|
@@ -53672,7 +53800,8 @@ var video_generated_default = [
|
|
|
53672
53800
|
},
|
|
53673
53801
|
"x-ui": {
|
|
53674
53802
|
control: "content-parts",
|
|
53675
|
-
order: 0
|
|
53803
|
+
order: 0,
|
|
53804
|
+
defaultInputMode: "reference"
|
|
53676
53805
|
},
|
|
53677
53806
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
53678
53807
|
description: "\u53EF\u7EC4\u5408\u9996\u5C3E\u5E27\u3001\u7247\u5185\u5173\u952E\u5E27\u3001\u53C2\u8003\u56FE\u7247\u4E0E\u97F3\u8272\uFF1B\u672A\u63D0\u4F9B\u4EFB\u4F55\u5E27\u65F6\u5FC5\u987B\u63D0\u4F9B\u63D0\u793A\u8BCD\u3002\u7247\u5185\u5173\u952E\u5E27\u7684 timestamp \u4EE5\u79D2\u4E3A\u5355\u4F4D\u3002",
|
|
@@ -54262,7 +54391,8 @@ var video_generated_default = [
|
|
|
54262
54391
|
},
|
|
54263
54392
|
"x-ui": {
|
|
54264
54393
|
control: "content-parts",
|
|
54265
|
-
order: 0
|
|
54394
|
+
order: 0,
|
|
54395
|
+
defaultInputMode: "reference"
|
|
54266
54396
|
},
|
|
54267
54397
|
title: "\u8F93\u5165\u5185\u5BB9",
|
|
54268
54398
|
description: "\u63D0\u4F9B\u63D0\u793A\u8BCD\u3001\u9996\u5C3E\u5E27\u6216\u53C2\u8003\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\uFF1B\u9996\u5C3E\u5E27\u4E0E\u53C2\u8003\u7D20\u6750\u4E0D\u80FD\u6DF7\u7528\u3002",
|
|
@@ -55045,7 +55175,7 @@ var NexraWaitTimeoutError = class extends Error {
|
|
|
55045
55175
|
};
|
|
55046
55176
|
|
|
55047
55177
|
// src/generated/version.generated.ts
|
|
55048
|
-
var SDK_VERSION = "0.1.0-alpha.
|
|
55178
|
+
var SDK_VERSION = "0.1.0-alpha.45";
|
|
55049
55179
|
|
|
55050
55180
|
// src/transport.ts
|
|
55051
55181
|
var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as AssetUploadOptions, M as MEDIA_KINDS, d as MediaAsset, e as MediaAssetStatus, f as MediaKind } from './
|
|
2
|
-
import { H as HttpTransport,
|
|
3
|
-
export {
|
|
1
|
+
export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as AssetUploadOptions, M as MEDIA_KINDS, d as MediaAsset, e as MediaAssetStatus, f as MediaKind, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput } from './media-CwGmG5qB.js';
|
|
2
|
+
import { H as HttpTransport, u as ModelSearchParams, T as TaskModelSummary, v as TaskModel, w as ModelSchema, x as ModelResourceList, y as NexraClientOptions } from './media-geometry-KwQh1O8Y.js';
|
|
3
|
+
export { e as CreateNexraDisplayQuoteBatchRequest, C as CreateNexraQuoteRequest, F as FetchLike, M as MediaGeometryField, k as MediaGeometryProjection, z as ModelCapabilitySummary, A as ModelDateVersion, B as ModelEndpointSummary, D as ModelModality, E as ModelResourceOption, l as NexraBillingCurrency, g as NexraCatalogRevision, f as NexraDisplayQuoteBatch, G as NexraDisplayQuoteBatchEntry, n as NexraModelOperation, h as NexraModelSpec, j as NexraModelSpecFilter, d as NexraQuote, o as NexraSalePrice, c as NexraSalePriceList, p as NexraSettlement, U as UnifiedMediaGeometry, q as applyMediaGeometry, r as decodeMediaGeometry, s as encodeMediaGeometry, t as projectMediaGeometry } from './media-geometry-KwQh1O8Y.js';
|
|
4
4
|
import { C as CursorPage, J as JsonValue } from './json-Cz0MkWQn.js';
|
|
5
5
|
export { a as JsonObject, b as JsonPrimitive } from './json-Cz0MkWQn.js';
|
|
6
6
|
import { N as NexraError, P as PublicErrorFields } from './errors-DJZuAKoO.js';
|
|
7
7
|
export { A as ApiErrorPayload, a as PublicError, b as PublicErrorContext, e as extractUpstreamErrorMessage } from './errors-DJZuAKoO.js';
|
|
8
|
-
import { V as Voice, C as CreateVoiceRequest, a as VoiceCreation, A as AssetsClient, T as TasksClient, R as RunTaskOptions, b as RunResult, c as TaskResult } from './voices-
|
|
9
|
-
export { d as CreateTaskOptions, e as CreateTaskRequest, f as RequestDetails, g as TASK_STATUSES, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, W as WaitTaskOptions, v as WatchTaskOptions, w as isTerminalTaskStatus, x as verifyWebhook } from './voices-
|
|
8
|
+
import { V as Voice, C as CreateVoiceRequest, a as VoiceCreation, A as AssetsClient, T as TasksClient, R as RunTaskOptions, b as RunResult, c as TaskResult } from './voices-B09HqQJJ.js';
|
|
9
|
+
export { d as CreateTaskOptions, e as CreateTaskRequest, f as RequestDetails, g as TASK_STATUSES, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, W as WaitTaskOptions, v as WatchTaskOptions, w as isTerminalTaskStatus, x as verifyWebhook } from './voices-B09HqQJJ.js';
|
|
10
10
|
import { CatalogClient } from './catalog.js';
|
|
11
11
|
export { formatModelDisplayName, getModelSpec, listModelSpecs } from './catalog.js';
|
|
12
12
|
export { ceilDecimal, multiplyDecimal } from './decimal.js';
|
package/dist/index.js
CHANGED
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
projectMediaGeometry,
|
|
21
21
|
queryString,
|
|
22
22
|
sleep
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OX5GFYVN.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_KINDS,
|
|
26
26
|
TASK_STATUSES,
|
|
27
27
|
createTaskRequest,
|
|
28
28
|
extractUpstreamErrorMessage,
|
|
29
29
|
isTerminalTaskStatus
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FEACXUHZ.js";
|
|
31
31
|
|
|
32
32
|
// src/assets.ts
|
|
33
33
|
var AssetsClient = class {
|
package/dist/language.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APICallError, LanguageModelV4 } from '@ai-sdk/provider';
|
|
2
2
|
import { NexraLanguageProtocol } from './catalog.js';
|
|
3
3
|
export { NexraLanguageModelBinding } from './catalog.js';
|
|
4
|
-
import { F as FetchLike } from './media-geometry-
|
|
4
|
+
import { F as FetchLike } from './media-geometry-KwQh1O8Y.js';
|
|
5
5
|
import { N as NexraError } from './errors-DJZuAKoO.js';
|
|
6
6
|
import './json-Cz0MkWQn.js';
|
|
7
7
|
|
package/dist/language.js
CHANGED
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
jsonBody,
|
|
7
7
|
parseServerSentEvents,
|
|
8
8
|
resolveNexraLanguageReasoning
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OX5GFYVN.js";
|
|
10
10
|
import {
|
|
11
11
|
isPublicErrorCode,
|
|
12
12
|
publicErrorMessage,
|
|
13
13
|
resolvePublicErrorLocale
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FEACXUHZ.js";
|
|
15
15
|
|
|
16
16
|
// src/language/index.ts
|
|
17
17
|
import { createAnthropic } from "@ai-sdk/anthropic";
|