@byte_fluffy/nexra-sdk 0.1.0-alpha.40 → 0.1.0-alpha.41
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 +23 -0
- package/dist/catalog.js +2 -2
- package/dist/{chunk-Q4A3HJBX.js → chunk-BIAPYH3J.js} +1606 -2
- package/dist/index.js +2 -2
- package/dist/language.js +2 -2
- package/dist/media.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-SIBYK5IX.js → chunk-QHQJD3EN.js} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
normalizePublicErrorInput,
|
|
3
3
|
pickPublicErrorFields,
|
|
4
4
|
sortRatioDisplayOrder
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QHQJD3EN.js";
|
|
6
6
|
|
|
7
7
|
// src/catalog/generated/audio.generated.json
|
|
8
8
|
var audio_generated_default = [
|
|
@@ -32592,6 +32592,1610 @@ var language_generated_default = [
|
|
|
32592
32592
|
|
|
32593
32593
|
// src/catalog/generated/video.generated.json
|
|
32594
32594
|
var video_generated_default = [
|
|
32595
|
+
{
|
|
32596
|
+
id: "dolphin/seedance-2-0",
|
|
32597
|
+
contractVersion: 1,
|
|
32598
|
+
developer: "bytedance",
|
|
32599
|
+
displayName: "Dolphin Seedance 2.0",
|
|
32600
|
+
summary: "\u901A\u8FC7 Dolphin AI \u751F\u6210 Seedance 2.0 \u89C6\u9891\uFF0C\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\u8F93\u5165\u3002",
|
|
32601
|
+
kind: "video",
|
|
32602
|
+
family: "Dolphin Seedance",
|
|
32603
|
+
versionLabel: "2.0",
|
|
32604
|
+
aliases: [],
|
|
32605
|
+
capabilities: {
|
|
32606
|
+
inputModalities: [
|
|
32607
|
+
"text",
|
|
32608
|
+
"image",
|
|
32609
|
+
"video",
|
|
32610
|
+
"audio"
|
|
32611
|
+
],
|
|
32612
|
+
outputModalities: [
|
|
32613
|
+
"video"
|
|
32614
|
+
],
|
|
32615
|
+
inputModes: [
|
|
32616
|
+
"text-to-video",
|
|
32617
|
+
"image-to-video",
|
|
32618
|
+
"video-to-video",
|
|
32619
|
+
"audio-to-video"
|
|
32620
|
+
],
|
|
32621
|
+
features: []
|
|
32622
|
+
},
|
|
32623
|
+
operations: [
|
|
32624
|
+
{
|
|
32625
|
+
operation: "video.generate",
|
|
32626
|
+
inputModalities: [
|
|
32627
|
+
"text",
|
|
32628
|
+
"image",
|
|
32629
|
+
"video",
|
|
32630
|
+
"audio"
|
|
32631
|
+
],
|
|
32632
|
+
outputModalities: [
|
|
32633
|
+
"video"
|
|
32634
|
+
],
|
|
32635
|
+
inputSchema: {
|
|
32636
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
32637
|
+
type: "object",
|
|
32638
|
+
properties: {
|
|
32639
|
+
content: {
|
|
32640
|
+
type: "array",
|
|
32641
|
+
minItems: 1,
|
|
32642
|
+
items: {
|
|
32643
|
+
oneOf: [
|
|
32644
|
+
{
|
|
32645
|
+
type: "object",
|
|
32646
|
+
properties: {
|
|
32647
|
+
type: {
|
|
32648
|
+
const: "text"
|
|
32649
|
+
},
|
|
32650
|
+
text: {
|
|
32651
|
+
type: "string",
|
|
32652
|
+
minLength: 1,
|
|
32653
|
+
title: "\u63D0\u793A\u8BCD",
|
|
32654
|
+
description: "\u63CF\u8FF0\u753B\u9762\u3001\u52A8\u4F5C\u548C\u58F0\u97F3\uFF1B\u53EF\u5728\u63D0\u793A\u8BCD\u4E2D\u5F15\u7528\u7D20\u6750\u3002"
|
|
32655
|
+
},
|
|
32656
|
+
role: {
|
|
32657
|
+
type: "string",
|
|
32658
|
+
const: "prompt"
|
|
32659
|
+
}
|
|
32660
|
+
},
|
|
32661
|
+
required: [
|
|
32662
|
+
"type",
|
|
32663
|
+
"text"
|
|
32664
|
+
],
|
|
32665
|
+
additionalProperties: false,
|
|
32666
|
+
title: "\u6587\u672C"
|
|
32667
|
+
},
|
|
32668
|
+
{
|
|
32669
|
+
type: "object",
|
|
32670
|
+
properties: {
|
|
32671
|
+
type: {
|
|
32672
|
+
const: "image"
|
|
32673
|
+
},
|
|
32674
|
+
source: {
|
|
32675
|
+
oneOf: [
|
|
32676
|
+
{
|
|
32677
|
+
type: "string",
|
|
32678
|
+
minLength: 1,
|
|
32679
|
+
title: "\u7D20\u6750\u5730\u5740",
|
|
32680
|
+
description: "\u516C\u7F51 URL\u3001data:image/\u2026;base64,\u2026 \u6216 asset:// \u7D20\u6750 ID\u3002\u652F\u6301 jpeg/png/webp/bmp/tiff/gif/heic/heif\uFF1B\u5355\u56FE\u5C0F\u4E8E 30 MB\uFF0C\u5BBD\u9AD8 300\uFF5E6000 px\uFF0C\u5BBD\u9AD8\u6BD4 0.4\uFF5E2.5\u3002",
|
|
32681
|
+
pattern: "^(https?://|asset://|data:image/)"
|
|
32682
|
+
},
|
|
32683
|
+
{
|
|
32684
|
+
type: "object",
|
|
32685
|
+
properties: {
|
|
32686
|
+
assetId: {
|
|
32687
|
+
type: "string",
|
|
32688
|
+
minLength: 1
|
|
32689
|
+
}
|
|
32690
|
+
},
|
|
32691
|
+
required: [
|
|
32692
|
+
"assetId"
|
|
32693
|
+
],
|
|
32694
|
+
additionalProperties: false
|
|
32695
|
+
}
|
|
32696
|
+
],
|
|
32697
|
+
title: "\u7D20\u6750\u5730\u5740",
|
|
32698
|
+
description: "\u516C\u7F51 URL\u3001data:image/\u2026;base64,\u2026 \u6216 asset:// \u7D20\u6750 ID\u3002\u652F\u6301 jpeg/png/webp/bmp/tiff/gif/heic/heif\uFF1B\u5355\u56FE\u5C0F\u4E8E 30 MB\uFF0C\u5BBD\u9AD8 300\uFF5E6000 px\uFF0C\u5BBD\u9AD8\u6BD4 0.4\uFF5E2.5\u3002"
|
|
32699
|
+
},
|
|
32700
|
+
role: {
|
|
32701
|
+
type: "string",
|
|
32702
|
+
title: "\u7D20\u6750\u7528\u9014",
|
|
32703
|
+
enum: [
|
|
32704
|
+
"first_frame",
|
|
32705
|
+
"last_frame",
|
|
32706
|
+
"reference"
|
|
32707
|
+
],
|
|
32708
|
+
description: "\u9996\u5E27\u3001\u5C3E\u5E27\u6216\u53C2\u8003\u56FE\uFF1B\u7701\u7565\u65F6\u6309\u5355\u5F20\u9996\u5E27\u5904\u7406\u3002",
|
|
32709
|
+
"x-ui": {
|
|
32710
|
+
optionLabels: {
|
|
32711
|
+
first_frame: "\u9996\u5E27",
|
|
32712
|
+
last_frame: "\u5C3E\u5E27",
|
|
32713
|
+
reference: "\u53C2\u8003"
|
|
32714
|
+
}
|
|
32715
|
+
}
|
|
32716
|
+
}
|
|
32717
|
+
},
|
|
32718
|
+
required: [
|
|
32719
|
+
"type",
|
|
32720
|
+
"source"
|
|
32721
|
+
],
|
|
32722
|
+
additionalProperties: false,
|
|
32723
|
+
title: "\u56FE\u7247"
|
|
32724
|
+
},
|
|
32725
|
+
{
|
|
32726
|
+
type: "object",
|
|
32727
|
+
properties: {
|
|
32728
|
+
type: {
|
|
32729
|
+
const: "video"
|
|
32730
|
+
},
|
|
32731
|
+
source: {
|
|
32732
|
+
oneOf: [
|
|
32733
|
+
{
|
|
32734
|
+
type: "string",
|
|
32735
|
+
minLength: 1,
|
|
32736
|
+
title: "\u7D20\u6750\u5730\u5740",
|
|
32737
|
+
description: "\u516C\u7F51 URL \u6216 asset:// \u7D20\u6750 ID\uFF0C\u4E0D\u652F\u6301 Base64\u3002mp4/mov\uFF1B\u6BCF\u6BB5 2\uFF5E15 \u79D2\uFF0C\u5408\u8BA1\u4E0D\u8D85\u8FC7 15 \u79D2\uFF0C\u5355\u6BB5\u4E0D\u8D85\u8FC7 200 MB\uFF1B\u5E27\u7387 24\uFF5E60 fps\u3002",
|
|
32738
|
+
pattern: "^(https?://|asset://)"
|
|
32739
|
+
},
|
|
32740
|
+
{
|
|
32741
|
+
type: "object",
|
|
32742
|
+
properties: {
|
|
32743
|
+
assetId: {
|
|
32744
|
+
type: "string",
|
|
32745
|
+
minLength: 1
|
|
32746
|
+
}
|
|
32747
|
+
},
|
|
32748
|
+
required: [
|
|
32749
|
+
"assetId"
|
|
32750
|
+
],
|
|
32751
|
+
additionalProperties: false
|
|
32752
|
+
}
|
|
32753
|
+
],
|
|
32754
|
+
title: "\u7D20\u6750\u5730\u5740",
|
|
32755
|
+
description: "\u516C\u7F51 URL \u6216 asset:// \u7D20\u6750 ID\uFF0C\u4E0D\u652F\u6301 Base64\u3002mp4/mov\uFF1B\u6BCF\u6BB5 2\uFF5E15 \u79D2\uFF0C\u5408\u8BA1\u4E0D\u8D85\u8FC7 15 \u79D2\uFF0C\u5355\u6BB5\u4E0D\u8D85\u8FC7 200 MB\uFF1B\u5E27\u7387 24\uFF5E60 fps\u3002"
|
|
32756
|
+
},
|
|
32757
|
+
role: {
|
|
32758
|
+
type: "string",
|
|
32759
|
+
title: "\u7D20\u6750\u7528\u9014",
|
|
32760
|
+
enum: [
|
|
32761
|
+
"reference"
|
|
32762
|
+
],
|
|
32763
|
+
description: "\u7528\u4E8E\u5168\u80FD\u53C2\u8003\u3002",
|
|
32764
|
+
"x-ui": {
|
|
32765
|
+
optionLabels: {
|
|
32766
|
+
first_frame: "\u9996\u5E27",
|
|
32767
|
+
last_frame: "\u5C3E\u5E27",
|
|
32768
|
+
reference: "\u53C2\u8003"
|
|
32769
|
+
}
|
|
32770
|
+
}
|
|
32771
|
+
}
|
|
32772
|
+
},
|
|
32773
|
+
required: [
|
|
32774
|
+
"type",
|
|
32775
|
+
"source"
|
|
32776
|
+
],
|
|
32777
|
+
additionalProperties: false,
|
|
32778
|
+
title: "\u89C6\u9891"
|
|
32779
|
+
},
|
|
32780
|
+
{
|
|
32781
|
+
type: "object",
|
|
32782
|
+
properties: {
|
|
32783
|
+
type: {
|
|
32784
|
+
const: "audio"
|
|
32785
|
+
},
|
|
32786
|
+
source: {
|
|
32787
|
+
oneOf: [
|
|
32788
|
+
{
|
|
32789
|
+
type: "string",
|
|
32790
|
+
minLength: 1,
|
|
32791
|
+
title: "\u7D20\u6750\u5730\u5740",
|
|
32792
|
+
description: "\u516C\u7F51 URL\u3001data:audio/\u2026;base64,\u2026 \u6216 asset:// \u7D20\u6750 ID\u3002wav/mp3\uFF1B\u6BCF\u6BB5 2\uFF5E15 \u79D2\uFF0C\u5408\u8BA1\u4E0D\u8D85\u8FC7 15 \u79D2\uFF0C\u5355\u6BB5\u4E0D\u8D85\u8FC7 15 MB\u3002",
|
|
32793
|
+
pattern: "^(https?://|asset://|data:audio/)"
|
|
32794
|
+
},
|
|
32795
|
+
{
|
|
32796
|
+
type: "object",
|
|
32797
|
+
properties: {
|
|
32798
|
+
assetId: {
|
|
32799
|
+
type: "string",
|
|
32800
|
+
minLength: 1
|
|
32801
|
+
}
|
|
32802
|
+
},
|
|
32803
|
+
required: [
|
|
32804
|
+
"assetId"
|
|
32805
|
+
],
|
|
32806
|
+
additionalProperties: false
|
|
32807
|
+
}
|
|
32808
|
+
],
|
|
32809
|
+
title: "\u7D20\u6750\u5730\u5740",
|
|
32810
|
+
description: "\u516C\u7F51 URL\u3001data:audio/\u2026;base64,\u2026 \u6216 asset:// \u7D20\u6750 ID\u3002wav/mp3\uFF1B\u6BCF\u6BB5 2\uFF5E15 \u79D2\uFF0C\u5408\u8BA1\u4E0D\u8D85\u8FC7 15 \u79D2\uFF0C\u5355\u6BB5\u4E0D\u8D85\u8FC7 15 MB\u3002"
|
|
32811
|
+
},
|
|
32812
|
+
role: {
|
|
32813
|
+
type: "string",
|
|
32814
|
+
title: "\u7D20\u6750\u7528\u9014",
|
|
32815
|
+
enum: [
|
|
32816
|
+
"reference"
|
|
32817
|
+
],
|
|
32818
|
+
description: "\u7528\u4E8E\u5168\u80FD\u53C2\u8003\u3002",
|
|
32819
|
+
"x-ui": {
|
|
32820
|
+
optionLabels: {
|
|
32821
|
+
first_frame: "\u9996\u5E27",
|
|
32822
|
+
last_frame: "\u5C3E\u5E27",
|
|
32823
|
+
reference: "\u53C2\u8003"
|
|
32824
|
+
}
|
|
32825
|
+
}
|
|
32826
|
+
}
|
|
32827
|
+
},
|
|
32828
|
+
required: [
|
|
32829
|
+
"type",
|
|
32830
|
+
"source"
|
|
32831
|
+
],
|
|
32832
|
+
additionalProperties: false,
|
|
32833
|
+
title: "\u97F3\u9891"
|
|
32834
|
+
}
|
|
32835
|
+
]
|
|
32836
|
+
},
|
|
32837
|
+
"x-ui": {
|
|
32838
|
+
control: "content-parts",
|
|
32839
|
+
order: 0,
|
|
32840
|
+
media: {
|
|
32841
|
+
image: {
|
|
32842
|
+
maxBytes: 31457280
|
|
32843
|
+
},
|
|
32844
|
+
video: {
|
|
32845
|
+
maxBytes: 209715200,
|
|
32846
|
+
minDurationSeconds: 2,
|
|
32847
|
+
maxDurationSeconds: 15
|
|
32848
|
+
},
|
|
32849
|
+
audio: {
|
|
32850
|
+
maxBytes: 15728640,
|
|
32851
|
+
minDurationSeconds: 2,
|
|
32852
|
+
maxDurationSeconds: 15
|
|
32853
|
+
}
|
|
32854
|
+
}
|
|
32855
|
+
},
|
|
32856
|
+
title: "\u8F93\u5165\u5185\u5BB9",
|
|
32857
|
+
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",
|
|
32858
|
+
allOf: [
|
|
32859
|
+
{
|
|
32860
|
+
description: "\u56FE\u7247\u6700\u591A 9 \u5F20\u3002",
|
|
32861
|
+
contains: {
|
|
32862
|
+
type: "object",
|
|
32863
|
+
properties: {
|
|
32864
|
+
type: {
|
|
32865
|
+
const: "image"
|
|
32866
|
+
}
|
|
32867
|
+
},
|
|
32868
|
+
required: [
|
|
32869
|
+
"type"
|
|
32870
|
+
]
|
|
32871
|
+
},
|
|
32872
|
+
minContains: 0,
|
|
32873
|
+
maxContains: 9
|
|
32874
|
+
},
|
|
32875
|
+
{
|
|
32876
|
+
description: "\u89C6\u9891\u6700\u591A 3 \u6BB5\u3002",
|
|
32877
|
+
contains: {
|
|
32878
|
+
type: "object",
|
|
32879
|
+
properties: {
|
|
32880
|
+
type: {
|
|
32881
|
+
const: "video"
|
|
32882
|
+
}
|
|
32883
|
+
},
|
|
32884
|
+
required: [
|
|
32885
|
+
"type"
|
|
32886
|
+
]
|
|
32887
|
+
},
|
|
32888
|
+
minContains: 0,
|
|
32889
|
+
maxContains: 3
|
|
32890
|
+
},
|
|
32891
|
+
{
|
|
32892
|
+
description: "\u97F3\u9891\u6700\u591A 3 \u6BB5\u3002",
|
|
32893
|
+
contains: {
|
|
32894
|
+
type: "object",
|
|
32895
|
+
properties: {
|
|
32896
|
+
type: {
|
|
32897
|
+
const: "audio"
|
|
32898
|
+
}
|
|
32899
|
+
},
|
|
32900
|
+
required: [
|
|
32901
|
+
"type"
|
|
32902
|
+
]
|
|
32903
|
+
},
|
|
32904
|
+
minContains: 0,
|
|
32905
|
+
maxContains: 3
|
|
32906
|
+
},
|
|
32907
|
+
{
|
|
32908
|
+
description: "\u97F3\u9891\u5FC5\u987B\u642D\u914D\u81F3\u5C11\u4E00\u5F20\u53C2\u8003\u56FE\u7247\u6216\u4E00\u6BB5\u53C2\u8003\u89C6\u9891\uFF0C\u4E0D\u80FD\u5355\u72EC\u8F93\u5165\u97F3\u9891\u3002",
|
|
32909
|
+
if: {
|
|
32910
|
+
contains: {
|
|
32911
|
+
type: "object",
|
|
32912
|
+
properties: {
|
|
32913
|
+
type: {
|
|
32914
|
+
const: "audio"
|
|
32915
|
+
}
|
|
32916
|
+
},
|
|
32917
|
+
required: [
|
|
32918
|
+
"type"
|
|
32919
|
+
]
|
|
32920
|
+
}
|
|
32921
|
+
},
|
|
32922
|
+
then: {
|
|
32923
|
+
contains: {
|
|
32924
|
+
anyOf: [
|
|
32925
|
+
{
|
|
32926
|
+
type: "object",
|
|
32927
|
+
properties: {
|
|
32928
|
+
type: {
|
|
32929
|
+
const: "image"
|
|
32930
|
+
},
|
|
32931
|
+
role: {
|
|
32932
|
+
const: "reference"
|
|
32933
|
+
}
|
|
32934
|
+
},
|
|
32935
|
+
required: [
|
|
32936
|
+
"type",
|
|
32937
|
+
"role"
|
|
32938
|
+
]
|
|
32939
|
+
},
|
|
32940
|
+
{
|
|
32941
|
+
type: "object",
|
|
32942
|
+
properties: {
|
|
32943
|
+
type: {
|
|
32944
|
+
const: "video"
|
|
32945
|
+
}
|
|
32946
|
+
},
|
|
32947
|
+
required: [
|
|
32948
|
+
"type"
|
|
32949
|
+
]
|
|
32950
|
+
}
|
|
32951
|
+
]
|
|
32952
|
+
}
|
|
32953
|
+
}
|
|
32954
|
+
},
|
|
32955
|
+
{
|
|
32956
|
+
description: "\u9996\u5C3E\u5E27\u6A21\u5F0F\u4E0D\u80FD\u4E0E\u53C2\u8003\u56FE\u7247\u3001\u89C6\u9891\u3001\u97F3\u9891\u6DF7\u7528\u3002",
|
|
32957
|
+
if: {
|
|
32958
|
+
contains: {
|
|
32959
|
+
type: "object",
|
|
32960
|
+
properties: {
|
|
32961
|
+
type: {
|
|
32962
|
+
const: "image"
|
|
32963
|
+
},
|
|
32964
|
+
role: {
|
|
32965
|
+
enum: [
|
|
32966
|
+
"first_frame",
|
|
32967
|
+
"last_frame"
|
|
32968
|
+
]
|
|
32969
|
+
}
|
|
32970
|
+
},
|
|
32971
|
+
required: [
|
|
32972
|
+
"type"
|
|
32973
|
+
]
|
|
32974
|
+
}
|
|
32975
|
+
},
|
|
32976
|
+
then: {
|
|
32977
|
+
items: {
|
|
32978
|
+
anyOf: [
|
|
32979
|
+
{
|
|
32980
|
+
type: "object",
|
|
32981
|
+
properties: {
|
|
32982
|
+
type: {
|
|
32983
|
+
const: "text"
|
|
32984
|
+
}
|
|
32985
|
+
},
|
|
32986
|
+
required: [
|
|
32987
|
+
"type"
|
|
32988
|
+
]
|
|
32989
|
+
},
|
|
32990
|
+
{
|
|
32991
|
+
type: "object",
|
|
32992
|
+
properties: {
|
|
32993
|
+
type: {
|
|
32994
|
+
const: "image"
|
|
32995
|
+
},
|
|
32996
|
+
role: {
|
|
32997
|
+
enum: [
|
|
32998
|
+
"first_frame",
|
|
32999
|
+
"last_frame"
|
|
33000
|
+
]
|
|
33001
|
+
}
|
|
33002
|
+
},
|
|
33003
|
+
required: [
|
|
33004
|
+
"type"
|
|
33005
|
+
]
|
|
33006
|
+
}
|
|
33007
|
+
]
|
|
33008
|
+
}
|
|
33009
|
+
}
|
|
33010
|
+
},
|
|
33011
|
+
{
|
|
33012
|
+
description: "\u5C3E\u5E27\u5FC5\u987B\u642D\u914D\u660E\u786E\u6807\u8BB0\u4E3A first_frame \u7684\u9996\u5E27\u3002",
|
|
33013
|
+
if: {
|
|
33014
|
+
contains: {
|
|
33015
|
+
type: "object",
|
|
33016
|
+
properties: {
|
|
33017
|
+
type: {
|
|
33018
|
+
const: "image"
|
|
33019
|
+
},
|
|
33020
|
+
role: {
|
|
33021
|
+
const: "last_frame"
|
|
33022
|
+
}
|
|
33023
|
+
},
|
|
33024
|
+
required: [
|
|
33025
|
+
"type",
|
|
33026
|
+
"role"
|
|
33027
|
+
]
|
|
33028
|
+
}
|
|
33029
|
+
},
|
|
33030
|
+
then: {
|
|
33031
|
+
contains: {
|
|
33032
|
+
type: "object",
|
|
33033
|
+
properties: {
|
|
33034
|
+
type: {
|
|
33035
|
+
const: "image"
|
|
33036
|
+
},
|
|
33037
|
+
role: {
|
|
33038
|
+
const: "first_frame"
|
|
33039
|
+
}
|
|
33040
|
+
},
|
|
33041
|
+
required: [
|
|
33042
|
+
"type",
|
|
33043
|
+
"role"
|
|
33044
|
+
]
|
|
33045
|
+
}
|
|
33046
|
+
}
|
|
33047
|
+
},
|
|
33048
|
+
{
|
|
33049
|
+
description: "\u9996\u5E27\u6700\u591A\u4E00\u5F20\u3002",
|
|
33050
|
+
contains: {
|
|
33051
|
+
type: "object",
|
|
33052
|
+
properties: {
|
|
33053
|
+
type: {
|
|
33054
|
+
const: "image"
|
|
33055
|
+
},
|
|
33056
|
+
role: {
|
|
33057
|
+
const: "first_frame"
|
|
33058
|
+
}
|
|
33059
|
+
},
|
|
33060
|
+
required: [
|
|
33061
|
+
"type",
|
|
33062
|
+
"role"
|
|
33063
|
+
]
|
|
33064
|
+
},
|
|
33065
|
+
minContains: 0,
|
|
33066
|
+
maxContains: 1
|
|
33067
|
+
},
|
|
33068
|
+
{
|
|
33069
|
+
description: "\u5C3E\u5E27\u6700\u591A\u4E00\u5F20\u3002",
|
|
33070
|
+
contains: {
|
|
33071
|
+
type: "object",
|
|
33072
|
+
properties: {
|
|
33073
|
+
type: {
|
|
33074
|
+
const: "image"
|
|
33075
|
+
},
|
|
33076
|
+
role: {
|
|
33077
|
+
const: "last_frame"
|
|
33078
|
+
}
|
|
33079
|
+
},
|
|
33080
|
+
required: [
|
|
33081
|
+
"type",
|
|
33082
|
+
"role"
|
|
33083
|
+
]
|
|
33084
|
+
},
|
|
33085
|
+
minContains: 0,
|
|
33086
|
+
maxContains: 1
|
|
33087
|
+
},
|
|
33088
|
+
{
|
|
33089
|
+
description: "\u7701\u7565\u56FE\u7247 role \u65F6\u53EA\u652F\u6301\u5355\u5F20\u9996\u5E27\u3002",
|
|
33090
|
+
if: {
|
|
33091
|
+
contains: {
|
|
33092
|
+
type: "object",
|
|
33093
|
+
properties: {
|
|
33094
|
+
type: {
|
|
33095
|
+
const: "image"
|
|
33096
|
+
}
|
|
33097
|
+
},
|
|
33098
|
+
required: [
|
|
33099
|
+
"type"
|
|
33100
|
+
],
|
|
33101
|
+
not: {
|
|
33102
|
+
required: [
|
|
33103
|
+
"role"
|
|
33104
|
+
]
|
|
33105
|
+
}
|
|
33106
|
+
}
|
|
33107
|
+
},
|
|
33108
|
+
then: {
|
|
33109
|
+
contains: {
|
|
33110
|
+
type: "object",
|
|
33111
|
+
properties: {
|
|
33112
|
+
type: {
|
|
33113
|
+
const: "image"
|
|
33114
|
+
}
|
|
33115
|
+
},
|
|
33116
|
+
required: [
|
|
33117
|
+
"type"
|
|
33118
|
+
]
|
|
33119
|
+
},
|
|
33120
|
+
minContains: 1,
|
|
33121
|
+
maxContains: 1
|
|
33122
|
+
}
|
|
33123
|
+
}
|
|
33124
|
+
]
|
|
33125
|
+
},
|
|
33126
|
+
aspect_ratio: {
|
|
33127
|
+
type: "string",
|
|
33128
|
+
title: "\u753B\u9762\u6BD4\u4F8B",
|
|
33129
|
+
enum: [
|
|
33130
|
+
"adaptive",
|
|
33131
|
+
"16:9",
|
|
33132
|
+
"4:3",
|
|
33133
|
+
"1:1",
|
|
33134
|
+
"3:4",
|
|
33135
|
+
"9:16",
|
|
33136
|
+
"21:9"
|
|
33137
|
+
],
|
|
33138
|
+
default: "adaptive",
|
|
33139
|
+
"x-ui": {
|
|
33140
|
+
order: 10,
|
|
33141
|
+
optionLabels: {
|
|
33142
|
+
adaptive: "\u81EA\u52A8",
|
|
33143
|
+
"16:9": "\u6A2A\u5C4F",
|
|
33144
|
+
"4:3": "4:3",
|
|
33145
|
+
"1:1": "\u65B9\u5F62",
|
|
33146
|
+
"3:4": "3:4",
|
|
33147
|
+
"9:16": "\u7AD6\u5C4F",
|
|
33148
|
+
"21:9": "21:9"
|
|
33149
|
+
},
|
|
33150
|
+
control: "segmented"
|
|
33151
|
+
}
|
|
33152
|
+
},
|
|
33153
|
+
resolution: {
|
|
33154
|
+
type: "string",
|
|
33155
|
+
title: "\u5206\u8FA8\u7387",
|
|
33156
|
+
enum: [
|
|
33157
|
+
"480p",
|
|
33158
|
+
"720p",
|
|
33159
|
+
"1080p",
|
|
33160
|
+
"4k"
|
|
33161
|
+
],
|
|
33162
|
+
default: "720p",
|
|
33163
|
+
"x-ui": {
|
|
33164
|
+
order: 11,
|
|
33165
|
+
control: "segmented"
|
|
33166
|
+
}
|
|
33167
|
+
},
|
|
33168
|
+
duration: {
|
|
33169
|
+
type: "integer",
|
|
33170
|
+
title: "\u89C6\u9891\u65F6\u957F",
|
|
33171
|
+
description: "\u6307\u5B9A 4\uFF5E15 \u79D2\uFF0C\u6216\u7528 -1 \u8BA9\u6A21\u578B\u81EA\u52A8\u9009\u62E9\u3002",
|
|
33172
|
+
anyOf: [
|
|
33173
|
+
{
|
|
33174
|
+
const: -1
|
|
33175
|
+
},
|
|
33176
|
+
{
|
|
33177
|
+
type: "integer",
|
|
33178
|
+
minimum: 4,
|
|
33179
|
+
maximum: 15
|
|
33180
|
+
}
|
|
33181
|
+
],
|
|
33182
|
+
"x-ui": {
|
|
33183
|
+
order: 13,
|
|
33184
|
+
control: "range-with-auto",
|
|
33185
|
+
minimum: 4,
|
|
33186
|
+
maximum: 15,
|
|
33187
|
+
autoValue: -1,
|
|
33188
|
+
unit: "\u79D2",
|
|
33189
|
+
step: 1
|
|
33190
|
+
}
|
|
33191
|
+
},
|
|
33192
|
+
generate_audio: {
|
|
33193
|
+
type: "boolean",
|
|
33194
|
+
title: "\u751F\u6210\u58F0\u97F3",
|
|
33195
|
+
description: "\u4E3A\u751F\u6210\u7684\u89C6\u9891\u540C\u6B65\u751F\u6210\u58F0\u97F3\uFF1B\u5173\u95ED\u5219\u751F\u6210\u65E0\u58F0\u89C6\u9891\u3002",
|
|
33196
|
+
default: true,
|
|
33197
|
+
"x-ui": {
|
|
33198
|
+
order: 14,
|
|
33199
|
+
control: "switch"
|
|
33200
|
+
}
|
|
33201
|
+
}
|
|
33202
|
+
},
|
|
33203
|
+
required: [
|
|
33204
|
+
"content"
|
|
33205
|
+
],
|
|
33206
|
+
additionalProperties: false,
|
|
33207
|
+
allOf: [
|
|
33208
|
+
{
|
|
33209
|
+
not: {
|
|
33210
|
+
anyOf: [
|
|
33211
|
+
{
|
|
33212
|
+
required: [
|
|
33213
|
+
"texts"
|
|
33214
|
+
]
|
|
33215
|
+
},
|
|
33216
|
+
{
|
|
33217
|
+
required: [
|
|
33218
|
+
"images"
|
|
33219
|
+
]
|
|
33220
|
+
},
|
|
33221
|
+
{
|
|
33222
|
+
required: [
|
|
33223
|
+
"videos"
|
|
33224
|
+
]
|
|
33225
|
+
},
|
|
33226
|
+
{
|
|
33227
|
+
required: [
|
|
33228
|
+
"audios"
|
|
33229
|
+
]
|
|
33230
|
+
},
|
|
33231
|
+
{
|
|
33232
|
+
required: [
|
|
33233
|
+
"with_audio"
|
|
33234
|
+
]
|
|
33235
|
+
},
|
|
33236
|
+
{
|
|
33237
|
+
required: [
|
|
33238
|
+
"seed"
|
|
33239
|
+
]
|
|
33240
|
+
},
|
|
33241
|
+
{
|
|
33242
|
+
required: [
|
|
33243
|
+
"frames"
|
|
33244
|
+
]
|
|
33245
|
+
},
|
|
33246
|
+
{
|
|
33247
|
+
required: [
|
|
33248
|
+
"camera_fixed"
|
|
33249
|
+
]
|
|
33250
|
+
},
|
|
33251
|
+
{
|
|
33252
|
+
required: [
|
|
33253
|
+
"draft"
|
|
33254
|
+
]
|
|
33255
|
+
},
|
|
33256
|
+
{
|
|
33257
|
+
required: [
|
|
33258
|
+
"output_format"
|
|
33259
|
+
]
|
|
33260
|
+
},
|
|
33261
|
+
{
|
|
33262
|
+
required: [
|
|
33263
|
+
"task_type"
|
|
33264
|
+
]
|
|
33265
|
+
}
|
|
33266
|
+
]
|
|
33267
|
+
}
|
|
33268
|
+
}
|
|
33269
|
+
]
|
|
33270
|
+
},
|
|
33271
|
+
outputSchema: {},
|
|
33272
|
+
metering: {
|
|
33273
|
+
schemaVersion: 1,
|
|
33274
|
+
kind: "token",
|
|
33275
|
+
metrics: [
|
|
33276
|
+
{
|
|
33277
|
+
metric: "requests",
|
|
33278
|
+
requirement: "required"
|
|
33279
|
+
},
|
|
33280
|
+
{
|
|
33281
|
+
metric: "output_tokens",
|
|
33282
|
+
requirement: "required"
|
|
33283
|
+
}
|
|
33284
|
+
]
|
|
33285
|
+
}
|
|
33286
|
+
}
|
|
33287
|
+
],
|
|
33288
|
+
endpoints: []
|
|
33289
|
+
},
|
|
33290
|
+
{
|
|
33291
|
+
id: "dolphin/seedance-2-5",
|
|
33292
|
+
contractVersion: 1,
|
|
33293
|
+
developer: "bytedance",
|
|
33294
|
+
displayName: "Dolphin Seedance 2.5",
|
|
33295
|
+
summary: "\u901A\u8FC7 Dolphin AI \u751F\u6210 Seedance 2.5 \u89C6\u9891\uFF0C\u652F\u6301\u6700\u957F 30 \u79D2\u53CA\u56FE\u50CF\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\u3002",
|
|
33296
|
+
kind: "video",
|
|
33297
|
+
family: "Dolphin Seedance",
|
|
33298
|
+
versionLabel: "2.5",
|
|
33299
|
+
aliases: [],
|
|
33300
|
+
capabilities: {
|
|
33301
|
+
inputModalities: [
|
|
33302
|
+
"text",
|
|
33303
|
+
"image",
|
|
33304
|
+
"video",
|
|
33305
|
+
"audio"
|
|
33306
|
+
],
|
|
33307
|
+
outputModalities: [
|
|
33308
|
+
"video"
|
|
33309
|
+
],
|
|
33310
|
+
inputModes: [
|
|
33311
|
+
"text-to-video",
|
|
33312
|
+
"image-to-video",
|
|
33313
|
+
"video-to-video",
|
|
33314
|
+
"audio-to-video"
|
|
33315
|
+
],
|
|
33316
|
+
features: [
|
|
33317
|
+
"max-duration-30s",
|
|
33318
|
+
"multimodal-reference",
|
|
33319
|
+
"draft-preview"
|
|
33320
|
+
]
|
|
33321
|
+
},
|
|
33322
|
+
operations: [
|
|
33323
|
+
{
|
|
33324
|
+
operation: "video.generate",
|
|
33325
|
+
inputModalities: [
|
|
33326
|
+
"text",
|
|
33327
|
+
"image",
|
|
33328
|
+
"video",
|
|
33329
|
+
"audio"
|
|
33330
|
+
],
|
|
33331
|
+
outputModalities: [
|
|
33332
|
+
"video"
|
|
33333
|
+
],
|
|
33334
|
+
inputSchema: {
|
|
33335
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
33336
|
+
type: "object",
|
|
33337
|
+
properties: {
|
|
33338
|
+
content: {
|
|
33339
|
+
type: "array",
|
|
33340
|
+
minItems: 1,
|
|
33341
|
+
items: {
|
|
33342
|
+
oneOf: [
|
|
33343
|
+
{
|
|
33344
|
+
type: "object",
|
|
33345
|
+
properties: {
|
|
33346
|
+
type: {
|
|
33347
|
+
const: "text"
|
|
33348
|
+
},
|
|
33349
|
+
text: {
|
|
33350
|
+
type: "string",
|
|
33351
|
+
minLength: 1
|
|
33352
|
+
},
|
|
33353
|
+
role: {
|
|
33354
|
+
type: "string",
|
|
33355
|
+
const: "prompt"
|
|
33356
|
+
}
|
|
33357
|
+
},
|
|
33358
|
+
required: [
|
|
33359
|
+
"type",
|
|
33360
|
+
"text"
|
|
33361
|
+
],
|
|
33362
|
+
additionalProperties: false,
|
|
33363
|
+
title: "\u6587\u672C"
|
|
33364
|
+
},
|
|
33365
|
+
{
|
|
33366
|
+
type: "object",
|
|
33367
|
+
properties: {
|
|
33368
|
+
type: {
|
|
33369
|
+
const: "image"
|
|
33370
|
+
},
|
|
33371
|
+
source: {
|
|
33372
|
+
oneOf: [
|
|
33373
|
+
{
|
|
33374
|
+
type: "string",
|
|
33375
|
+
minLength: 1
|
|
33376
|
+
},
|
|
33377
|
+
{
|
|
33378
|
+
type: "object",
|
|
33379
|
+
properties: {
|
|
33380
|
+
assetId: {
|
|
33381
|
+
type: "string",
|
|
33382
|
+
minLength: 1
|
|
33383
|
+
}
|
|
33384
|
+
},
|
|
33385
|
+
required: [
|
|
33386
|
+
"assetId"
|
|
33387
|
+
],
|
|
33388
|
+
additionalProperties: false
|
|
33389
|
+
}
|
|
33390
|
+
]
|
|
33391
|
+
},
|
|
33392
|
+
role: {
|
|
33393
|
+
type: "string",
|
|
33394
|
+
title: "\u7D20\u6750\u7528\u9014",
|
|
33395
|
+
enum: [
|
|
33396
|
+
"first_frame",
|
|
33397
|
+
"reference",
|
|
33398
|
+
"last_frame"
|
|
33399
|
+
],
|
|
33400
|
+
description: "\u901A\u8FC7 role \u6307\u5B9A\u9996\u5E27\u3001\u5C3E\u5E27\u6216\u53C2\u8003\u56FE\u3002",
|
|
33401
|
+
"x-ui": {
|
|
33402
|
+
optionLabels: {
|
|
33403
|
+
first_frame: "\u9996\u5E27",
|
|
33404
|
+
last_frame: "\u5C3E\u5E27",
|
|
33405
|
+
reference_image: "\u53C2\u8003\u56FE",
|
|
33406
|
+
reference_video: "\u53C2\u8003\u89C6\u9891",
|
|
33407
|
+
reference_audio: "\u53C2\u8003\u97F3\u9891"
|
|
33408
|
+
}
|
|
33409
|
+
}
|
|
33410
|
+
}
|
|
33411
|
+
},
|
|
33412
|
+
required: [
|
|
33413
|
+
"type",
|
|
33414
|
+
"source"
|
|
33415
|
+
],
|
|
33416
|
+
additionalProperties: false,
|
|
33417
|
+
title: "\u56FE\u7247"
|
|
33418
|
+
},
|
|
33419
|
+
{
|
|
33420
|
+
type: "object",
|
|
33421
|
+
properties: {
|
|
33422
|
+
type: {
|
|
33423
|
+
const: "video"
|
|
33424
|
+
},
|
|
33425
|
+
source: {
|
|
33426
|
+
oneOf: [
|
|
33427
|
+
{
|
|
33428
|
+
type: "string",
|
|
33429
|
+
minLength: 1
|
|
33430
|
+
},
|
|
33431
|
+
{
|
|
33432
|
+
type: "object",
|
|
33433
|
+
properties: {
|
|
33434
|
+
assetId: {
|
|
33435
|
+
type: "string",
|
|
33436
|
+
minLength: 1
|
|
33437
|
+
}
|
|
33438
|
+
},
|
|
33439
|
+
required: [
|
|
33440
|
+
"assetId"
|
|
33441
|
+
],
|
|
33442
|
+
additionalProperties: false
|
|
33443
|
+
}
|
|
33444
|
+
]
|
|
33445
|
+
},
|
|
33446
|
+
role: {
|
|
33447
|
+
type: "string",
|
|
33448
|
+
title: "\u7D20\u6750\u7528\u9014",
|
|
33449
|
+
enum: [
|
|
33450
|
+
"reference"
|
|
33451
|
+
],
|
|
33452
|
+
description: "\u53C2\u8003\u7D20\u6750\u7684\u7528\u9014\u3002",
|
|
33453
|
+
"x-ui": {
|
|
33454
|
+
optionLabels: {
|
|
33455
|
+
first_frame: "\u9996\u5E27",
|
|
33456
|
+
last_frame: "\u5C3E\u5E27",
|
|
33457
|
+
reference_image: "\u53C2\u8003\u56FE",
|
|
33458
|
+
reference_video: "\u53C2\u8003\u89C6\u9891",
|
|
33459
|
+
reference_audio: "\u53C2\u8003\u97F3\u9891"
|
|
33460
|
+
}
|
|
33461
|
+
}
|
|
33462
|
+
}
|
|
33463
|
+
},
|
|
33464
|
+
required: [
|
|
33465
|
+
"type",
|
|
33466
|
+
"source"
|
|
33467
|
+
],
|
|
33468
|
+
additionalProperties: false,
|
|
33469
|
+
title: "\u89C6\u9891"
|
|
33470
|
+
},
|
|
33471
|
+
{
|
|
33472
|
+
type: "object",
|
|
33473
|
+
properties: {
|
|
33474
|
+
type: {
|
|
33475
|
+
const: "audio"
|
|
33476
|
+
},
|
|
33477
|
+
source: {
|
|
33478
|
+
oneOf: [
|
|
33479
|
+
{
|
|
33480
|
+
type: "string",
|
|
33481
|
+
minLength: 1
|
|
33482
|
+
},
|
|
33483
|
+
{
|
|
33484
|
+
type: "object",
|
|
33485
|
+
properties: {
|
|
33486
|
+
assetId: {
|
|
33487
|
+
type: "string",
|
|
33488
|
+
minLength: 1
|
|
33489
|
+
}
|
|
33490
|
+
},
|
|
33491
|
+
required: [
|
|
33492
|
+
"assetId"
|
|
33493
|
+
],
|
|
33494
|
+
additionalProperties: false
|
|
33495
|
+
}
|
|
33496
|
+
]
|
|
33497
|
+
},
|
|
33498
|
+
role: {
|
|
33499
|
+
type: "string",
|
|
33500
|
+
title: "\u7D20\u6750\u7528\u9014",
|
|
33501
|
+
enum: [
|
|
33502
|
+
"reference"
|
|
33503
|
+
],
|
|
33504
|
+
description: "\u53C2\u8003\u7D20\u6750\u7684\u7528\u9014\u3002",
|
|
33505
|
+
"x-ui": {
|
|
33506
|
+
optionLabels: {
|
|
33507
|
+
first_frame: "\u9996\u5E27",
|
|
33508
|
+
last_frame: "\u5C3E\u5E27",
|
|
33509
|
+
reference_image: "\u53C2\u8003\u56FE",
|
|
33510
|
+
reference_video: "\u53C2\u8003\u89C6\u9891",
|
|
33511
|
+
reference_audio: "\u53C2\u8003\u97F3\u9891"
|
|
33512
|
+
}
|
|
33513
|
+
}
|
|
33514
|
+
}
|
|
33515
|
+
},
|
|
33516
|
+
required: [
|
|
33517
|
+
"type",
|
|
33518
|
+
"source"
|
|
33519
|
+
],
|
|
33520
|
+
additionalProperties: false,
|
|
33521
|
+
title: "\u97F3\u9891"
|
|
33522
|
+
},
|
|
33523
|
+
{
|
|
33524
|
+
type: "object",
|
|
33525
|
+
properties: {
|
|
33526
|
+
type: {
|
|
33527
|
+
const: "draft_task"
|
|
33528
|
+
},
|
|
33529
|
+
draft_task: {
|
|
33530
|
+
type: "object",
|
|
33531
|
+
properties: {
|
|
33532
|
+
id: {
|
|
33533
|
+
type: "string",
|
|
33534
|
+
minLength: 1,
|
|
33535
|
+
title: "\u6837\u7247\u4EFB\u52A1 ID",
|
|
33536
|
+
description: "\u539F\u751F\u63A5\u53E3\u586B\u5199\u4E0A\u6E38 Draft \u4EFB\u52A1 ID\uFF1BNexra \u6258\u7BA1\u4EFB\u52A1\u987B\u5F15\u7528\u5F53\u524D\u7528\u6237 7 \u5929\u5185\u6210\u529F\u751F\u6210\u7684 480p \u6837\u7247\u3002"
|
|
33537
|
+
}
|
|
33538
|
+
},
|
|
33539
|
+
required: [
|
|
33540
|
+
"id"
|
|
33541
|
+
],
|
|
33542
|
+
additionalProperties: false
|
|
33543
|
+
}
|
|
33544
|
+
},
|
|
33545
|
+
required: [
|
|
33546
|
+
"type",
|
|
33547
|
+
"draft_task"
|
|
33548
|
+
],
|
|
33549
|
+
additionalProperties: false,
|
|
33550
|
+
title: "Draft \u6837\u7247\u4EFB\u52A1"
|
|
33551
|
+
}
|
|
33552
|
+
]
|
|
33553
|
+
},
|
|
33554
|
+
"x-ui": {
|
|
33555
|
+
control: "content-parts",
|
|
33556
|
+
order: 0
|
|
33557
|
+
},
|
|
33558
|
+
title: "\u8F93\u5165\u5185\u5BB9",
|
|
33559
|
+
allOf: [
|
|
33560
|
+
{
|
|
33561
|
+
description: "\u56FE\u7247\u6700\u591A 30 \u5F20\u3002",
|
|
33562
|
+
contains: {
|
|
33563
|
+
type: "object",
|
|
33564
|
+
properties: {
|
|
33565
|
+
type: {
|
|
33566
|
+
const: "image"
|
|
33567
|
+
}
|
|
33568
|
+
},
|
|
33569
|
+
required: [
|
|
33570
|
+
"type"
|
|
33571
|
+
]
|
|
33572
|
+
},
|
|
33573
|
+
minContains: 0,
|
|
33574
|
+
maxContains: 30
|
|
33575
|
+
},
|
|
33576
|
+
{
|
|
33577
|
+
description: "\u89C6\u9891\u6700\u591A 10 \u6BB5\u3002",
|
|
33578
|
+
contains: {
|
|
33579
|
+
type: "object",
|
|
33580
|
+
properties: {
|
|
33581
|
+
type: {
|
|
33582
|
+
const: "video"
|
|
33583
|
+
}
|
|
33584
|
+
},
|
|
33585
|
+
required: [
|
|
33586
|
+
"type"
|
|
33587
|
+
]
|
|
33588
|
+
},
|
|
33589
|
+
minContains: 0,
|
|
33590
|
+
maxContains: 10
|
|
33591
|
+
},
|
|
33592
|
+
{
|
|
33593
|
+
description: "\u97F3\u9891\u6700\u591A 10 \u6BB5\u3002",
|
|
33594
|
+
contains: {
|
|
33595
|
+
type: "object",
|
|
33596
|
+
properties: {
|
|
33597
|
+
type: {
|
|
33598
|
+
const: "audio"
|
|
33599
|
+
}
|
|
33600
|
+
},
|
|
33601
|
+
required: [
|
|
33602
|
+
"type"
|
|
33603
|
+
]
|
|
33604
|
+
},
|
|
33605
|
+
minContains: 0,
|
|
33606
|
+
maxContains: 10
|
|
33607
|
+
},
|
|
33608
|
+
{
|
|
33609
|
+
description: "\u9996\u5C3E\u5E27\u6A21\u5F0F\u4E0D\u80FD\u4E0E\u53C2\u8003\u56FE\u7247\u3001\u89C6\u9891\u3001\u97F3\u9891\u6DF7\u7528\u3002",
|
|
33610
|
+
if: {
|
|
33611
|
+
contains: {
|
|
33612
|
+
type: "object",
|
|
33613
|
+
properties: {
|
|
33614
|
+
type: {
|
|
33615
|
+
const: "image"
|
|
33616
|
+
},
|
|
33617
|
+
role: {
|
|
33618
|
+
enum: [
|
|
33619
|
+
"first_frame",
|
|
33620
|
+
"last_frame"
|
|
33621
|
+
]
|
|
33622
|
+
}
|
|
33623
|
+
},
|
|
33624
|
+
required: [
|
|
33625
|
+
"type",
|
|
33626
|
+
"role"
|
|
33627
|
+
]
|
|
33628
|
+
}
|
|
33629
|
+
},
|
|
33630
|
+
then: {
|
|
33631
|
+
items: {
|
|
33632
|
+
anyOf: [
|
|
33633
|
+
{
|
|
33634
|
+
type: "object",
|
|
33635
|
+
properties: {
|
|
33636
|
+
type: {
|
|
33637
|
+
const: "text"
|
|
33638
|
+
}
|
|
33639
|
+
},
|
|
33640
|
+
required: [
|
|
33641
|
+
"type"
|
|
33642
|
+
]
|
|
33643
|
+
},
|
|
33644
|
+
{
|
|
33645
|
+
type: "object",
|
|
33646
|
+
properties: {
|
|
33647
|
+
type: {
|
|
33648
|
+
const: "image"
|
|
33649
|
+
},
|
|
33650
|
+
role: {
|
|
33651
|
+
enum: [
|
|
33652
|
+
"first_frame",
|
|
33653
|
+
"last_frame"
|
|
33654
|
+
]
|
|
33655
|
+
}
|
|
33656
|
+
},
|
|
33657
|
+
required: [
|
|
33658
|
+
"type",
|
|
33659
|
+
"role"
|
|
33660
|
+
]
|
|
33661
|
+
}
|
|
33662
|
+
]
|
|
33663
|
+
}
|
|
33664
|
+
}
|
|
33665
|
+
},
|
|
33666
|
+
{
|
|
33667
|
+
description: "\u5C3E\u5E27\u5FC5\u987B\u642D\u914D\u660E\u786E\u6807\u8BB0\u4E3A first_frame \u7684\u9996\u5E27\u3002",
|
|
33668
|
+
if: {
|
|
33669
|
+
contains: {
|
|
33670
|
+
type: "object",
|
|
33671
|
+
properties: {
|
|
33672
|
+
type: {
|
|
33673
|
+
const: "image"
|
|
33674
|
+
},
|
|
33675
|
+
role: {
|
|
33676
|
+
const: "last_frame"
|
|
33677
|
+
}
|
|
33678
|
+
},
|
|
33679
|
+
required: [
|
|
33680
|
+
"type",
|
|
33681
|
+
"role"
|
|
33682
|
+
]
|
|
33683
|
+
}
|
|
33684
|
+
},
|
|
33685
|
+
then: {
|
|
33686
|
+
contains: {
|
|
33687
|
+
type: "object",
|
|
33688
|
+
properties: {
|
|
33689
|
+
type: {
|
|
33690
|
+
const: "image"
|
|
33691
|
+
},
|
|
33692
|
+
role: {
|
|
33693
|
+
const: "first_frame"
|
|
33694
|
+
}
|
|
33695
|
+
},
|
|
33696
|
+
required: [
|
|
33697
|
+
"type",
|
|
33698
|
+
"role"
|
|
33699
|
+
]
|
|
33700
|
+
}
|
|
33701
|
+
}
|
|
33702
|
+
},
|
|
33703
|
+
{
|
|
33704
|
+
description: "\u9996\u5E27\u6700\u591A\u4E00\u5F20\u3002",
|
|
33705
|
+
contains: {
|
|
33706
|
+
type: "object",
|
|
33707
|
+
properties: {
|
|
33708
|
+
type: {
|
|
33709
|
+
const: "image"
|
|
33710
|
+
},
|
|
33711
|
+
role: {
|
|
33712
|
+
const: "first_frame"
|
|
33713
|
+
}
|
|
33714
|
+
},
|
|
33715
|
+
required: [
|
|
33716
|
+
"type",
|
|
33717
|
+
"role"
|
|
33718
|
+
]
|
|
33719
|
+
},
|
|
33720
|
+
minContains: 0,
|
|
33721
|
+
maxContains: 1
|
|
33722
|
+
},
|
|
33723
|
+
{
|
|
33724
|
+
description: "\u5C3E\u5E27\u6700\u591A\u4E00\u5F20\u3002",
|
|
33725
|
+
contains: {
|
|
33726
|
+
type: "object",
|
|
33727
|
+
properties: {
|
|
33728
|
+
type: {
|
|
33729
|
+
const: "image"
|
|
33730
|
+
},
|
|
33731
|
+
role: {
|
|
33732
|
+
const: "last_frame"
|
|
33733
|
+
}
|
|
33734
|
+
},
|
|
33735
|
+
required: [
|
|
33736
|
+
"type",
|
|
33737
|
+
"role"
|
|
33738
|
+
]
|
|
33739
|
+
},
|
|
33740
|
+
minContains: 0,
|
|
33741
|
+
maxContains: 1
|
|
33742
|
+
},
|
|
33743
|
+
{
|
|
33744
|
+
description: "\u7701\u7565 role \u7684\u56FE\u7247\u53EA\u80FD\u4F5C\u4E3A\u5355\u5F20\u9996\u5E27\uFF0C\u4E0D\u80FD\u4E0E\u5176\u4ED6\u56FE\u7247\u3001\u89C6\u9891\u6216\u97F3\u9891\u6DF7\u7528\u3002",
|
|
33745
|
+
if: {
|
|
33746
|
+
contains: false
|
|
33747
|
+
},
|
|
33748
|
+
then: {
|
|
33749
|
+
items: {
|
|
33750
|
+
anyOf: [
|
|
33751
|
+
{
|
|
33752
|
+
type: "object",
|
|
33753
|
+
properties: {
|
|
33754
|
+
type: {
|
|
33755
|
+
const: "text"
|
|
33756
|
+
}
|
|
33757
|
+
},
|
|
33758
|
+
required: [
|
|
33759
|
+
"type"
|
|
33760
|
+
]
|
|
33761
|
+
},
|
|
33762
|
+
false
|
|
33763
|
+
]
|
|
33764
|
+
},
|
|
33765
|
+
contains: {
|
|
33766
|
+
type: "object",
|
|
33767
|
+
properties: {
|
|
33768
|
+
type: {
|
|
33769
|
+
const: "image"
|
|
33770
|
+
}
|
|
33771
|
+
},
|
|
33772
|
+
required: [
|
|
33773
|
+
"type"
|
|
33774
|
+
]
|
|
33775
|
+
},
|
|
33776
|
+
minContains: 1,
|
|
33777
|
+
maxContains: 1
|
|
33778
|
+
}
|
|
33779
|
+
}
|
|
33780
|
+
]
|
|
33781
|
+
},
|
|
33782
|
+
task_type: {
|
|
33783
|
+
type: "string",
|
|
33784
|
+
enum: [
|
|
33785
|
+
"auto",
|
|
33786
|
+
"reference",
|
|
33787
|
+
"edit",
|
|
33788
|
+
"extend"
|
|
33789
|
+
],
|
|
33790
|
+
title: "\u5168\u6A21\u6001\u4EFB\u52A1\u7C7B\u578B",
|
|
33791
|
+
default: "auto",
|
|
33792
|
+
description: "\u6307\u5B9A\u5168\u6A21\u6001\u53C2\u8003\u751F\u89C6\u9891\u7684\u4EFB\u52A1\u7C7B\u578B\uFF1Bauto \u7531\u6A21\u578B\u5224\u65AD\uFF0Creference\u3001edit\u3001extend \u4F1A\u5728\u63D0\u4EA4\u65F6\u6821\u9A8C\u5BF9\u5E94\u9650\u5236\u3002",
|
|
33793
|
+
"x-ui": {
|
|
33794
|
+
order: 8,
|
|
33795
|
+
control: "segmented",
|
|
33796
|
+
optionLabels: {
|
|
33797
|
+
auto: "\u81EA\u52A8",
|
|
33798
|
+
reference: "\u53C2\u8003\u751F\u6210",
|
|
33799
|
+
edit: "\u89C6\u9891\u7F16\u8F91",
|
|
33800
|
+
extend: "\u89C6\u9891\u5EF6\u957F"
|
|
33801
|
+
}
|
|
33802
|
+
}
|
|
33803
|
+
},
|
|
33804
|
+
watermark: {
|
|
33805
|
+
type: "boolean",
|
|
33806
|
+
title: "\u89C6\u9891\u6C34\u5370",
|
|
33807
|
+
default: false,
|
|
33808
|
+
"x-ui": {
|
|
33809
|
+
hidden: true,
|
|
33810
|
+
order: 7
|
|
33811
|
+
},
|
|
33812
|
+
const: false
|
|
33813
|
+
},
|
|
33814
|
+
aspect_ratio: {
|
|
33815
|
+
type: "string",
|
|
33816
|
+
enum: [
|
|
33817
|
+
"adaptive",
|
|
33818
|
+
"16:9",
|
|
33819
|
+
"9:16",
|
|
33820
|
+
"1:1",
|
|
33821
|
+
"4:3",
|
|
33822
|
+
"3:4",
|
|
33823
|
+
"21:9"
|
|
33824
|
+
],
|
|
33825
|
+
title: "\u753B\u9762\u6BD4\u4F8B",
|
|
33826
|
+
default: "adaptive",
|
|
33827
|
+
"x-ui": {
|
|
33828
|
+
order: 10,
|
|
33829
|
+
control: "segmented",
|
|
33830
|
+
optionLabels: {
|
|
33831
|
+
adaptive: "\u81EA\u52A8",
|
|
33832
|
+
"16:9": "\u6A2A\u5C4F",
|
|
33833
|
+
"9:16": "\u7AD6\u5C4F",
|
|
33834
|
+
"1:1": "\u65B9\u5F62",
|
|
33835
|
+
"4:3": "4:3",
|
|
33836
|
+
"3:4": "3:4",
|
|
33837
|
+
"21:9": "21:9"
|
|
33838
|
+
}
|
|
33839
|
+
}
|
|
33840
|
+
},
|
|
33841
|
+
resolution: {
|
|
33842
|
+
type: "string",
|
|
33843
|
+
enum: [
|
|
33844
|
+
"480p",
|
|
33845
|
+
"720p",
|
|
33846
|
+
"1080p"
|
|
33847
|
+
],
|
|
33848
|
+
title: "\u5206\u8FA8\u7387",
|
|
33849
|
+
default: "720p",
|
|
33850
|
+
"x-ui": {
|
|
33851
|
+
order: 11,
|
|
33852
|
+
control: "segmented"
|
|
33853
|
+
}
|
|
33854
|
+
},
|
|
33855
|
+
duration: {
|
|
33856
|
+
anyOf: [
|
|
33857
|
+
{
|
|
33858
|
+
const: -1
|
|
33859
|
+
},
|
|
33860
|
+
{
|
|
33861
|
+
type: "integer",
|
|
33862
|
+
minimum: 4,
|
|
33863
|
+
maximum: 30
|
|
33864
|
+
}
|
|
33865
|
+
],
|
|
33866
|
+
title: "\u89C6\u9891\u65F6\u957F",
|
|
33867
|
+
"x-ui": {
|
|
33868
|
+
order: 13,
|
|
33869
|
+
control: "range-with-auto",
|
|
33870
|
+
minimum: 4,
|
|
33871
|
+
maximum: 30,
|
|
33872
|
+
step: 1,
|
|
33873
|
+
unit: "\u79D2",
|
|
33874
|
+
autoValue: -1
|
|
33875
|
+
},
|
|
33876
|
+
type: "integer",
|
|
33877
|
+
default: -1,
|
|
33878
|
+
description: "\u6307\u5B9A 4\uFF5E30 \u79D2\uFF0C\u6216\u7528 -1 \u8BA9\u6A21\u578B\u81EA\u52A8\u9009\u62E9\u3002"
|
|
33879
|
+
},
|
|
33880
|
+
generate_audio: {
|
|
33881
|
+
type: "boolean",
|
|
33882
|
+
title: "\u751F\u6210\u58F0\u97F3",
|
|
33883
|
+
default: true,
|
|
33884
|
+
"x-ui": {
|
|
33885
|
+
order: 14,
|
|
33886
|
+
control: "switch"
|
|
33887
|
+
},
|
|
33888
|
+
description: "\u4E3A\u751F\u6210\u7684\u89C6\u9891\u540C\u6B65\u751F\u6210\u58F0\u97F3\uFF1B\u5173\u95ED\u5219\u751F\u6210\u65E0\u58F0\u89C6\u9891\u3002"
|
|
33889
|
+
},
|
|
33890
|
+
output_format: {
|
|
33891
|
+
type: "string",
|
|
33892
|
+
enum: [
|
|
33893
|
+
"mp4",
|
|
33894
|
+
"mov"
|
|
33895
|
+
],
|
|
33896
|
+
title: "\u8F93\u51FA\u683C\u5F0F",
|
|
33897
|
+
"x-ui": {
|
|
33898
|
+
order: 15,
|
|
33899
|
+
control: "segmented",
|
|
33900
|
+
optionLabels: {
|
|
33901
|
+
mp4: "mp4",
|
|
33902
|
+
mov: "mov"
|
|
33903
|
+
}
|
|
33904
|
+
},
|
|
33905
|
+
default: "mp4"
|
|
33906
|
+
},
|
|
33907
|
+
draft: {
|
|
33908
|
+
type: "boolean",
|
|
33909
|
+
title: "Draft \u6837\u7247\u6A21\u5F0F",
|
|
33910
|
+
description: "\u5148\u751F\u6210 480p \u6837\u7247\uFF1B\u6837\u7247\u4E0E\u968F\u540E\u5355\u72EC\u53D1\u8D77\u7684 1080p \u6B63\u5F0F\u7248\u5206\u522B\u8BA1\u8D39\u3002",
|
|
33911
|
+
"x-ui": {
|
|
33912
|
+
order: 4
|
|
33913
|
+
}
|
|
33914
|
+
}
|
|
33915
|
+
},
|
|
33916
|
+
required: [
|
|
33917
|
+
"content"
|
|
33918
|
+
],
|
|
33919
|
+
additionalProperties: false,
|
|
33920
|
+
allOf: [
|
|
33921
|
+
{
|
|
33922
|
+
not: {
|
|
33923
|
+
anyOf: [
|
|
33924
|
+
{
|
|
33925
|
+
required: [
|
|
33926
|
+
"texts"
|
|
33927
|
+
]
|
|
33928
|
+
},
|
|
33929
|
+
{
|
|
33930
|
+
required: [
|
|
33931
|
+
"images"
|
|
33932
|
+
]
|
|
33933
|
+
},
|
|
33934
|
+
{
|
|
33935
|
+
required: [
|
|
33936
|
+
"videos"
|
|
33937
|
+
]
|
|
33938
|
+
},
|
|
33939
|
+
{
|
|
33940
|
+
required: [
|
|
33941
|
+
"audios"
|
|
33942
|
+
]
|
|
33943
|
+
},
|
|
33944
|
+
{
|
|
33945
|
+
required: [
|
|
33946
|
+
"with_audio"
|
|
33947
|
+
]
|
|
33948
|
+
}
|
|
33949
|
+
]
|
|
33950
|
+
}
|
|
33951
|
+
},
|
|
33952
|
+
{
|
|
33953
|
+
description: "\u9996\u5C3E\u5E27\u6A21\u5F0F\u4E0B\uFF0C\u753B\u9762\u6BD4\u4F8B\u4EC5\u652F\u6301 adaptive\u3002",
|
|
33954
|
+
if: {
|
|
33955
|
+
properties: {
|
|
33956
|
+
content: {
|
|
33957
|
+
type: "array",
|
|
33958
|
+
contains: {
|
|
33959
|
+
type: "object",
|
|
33960
|
+
properties: {
|
|
33961
|
+
type: {
|
|
33962
|
+
const: "image"
|
|
33963
|
+
},
|
|
33964
|
+
role: {
|
|
33965
|
+
enum: [
|
|
33966
|
+
"first_frame",
|
|
33967
|
+
"last_frame"
|
|
33968
|
+
]
|
|
33969
|
+
}
|
|
33970
|
+
},
|
|
33971
|
+
required: [
|
|
33972
|
+
"type",
|
|
33973
|
+
"role"
|
|
33974
|
+
]
|
|
33975
|
+
}
|
|
33976
|
+
}
|
|
33977
|
+
},
|
|
33978
|
+
required: [
|
|
33979
|
+
"content"
|
|
33980
|
+
]
|
|
33981
|
+
},
|
|
33982
|
+
then: {
|
|
33983
|
+
properties: {
|
|
33984
|
+
aspect_ratio: {
|
|
33985
|
+
const: "adaptive"
|
|
33986
|
+
}
|
|
33987
|
+
}
|
|
33988
|
+
}
|
|
33989
|
+
},
|
|
33990
|
+
{
|
|
33991
|
+
description: "\u89C6\u9891\u7F16\u8F91\u5FC5\u987B\u5305\u542B\u53C2\u8003\u89C6\u9891\uFF0C\u5E76\u4F7F\u7528\u81EA\u52A8\u65F6\u957F\u548C\u81EA\u52A8\u6BD4\u4F8B\u3002",
|
|
33992
|
+
if: {
|
|
33993
|
+
required: [
|
|
33994
|
+
"task_type"
|
|
33995
|
+
],
|
|
33996
|
+
properties: {
|
|
33997
|
+
task_type: {
|
|
33998
|
+
const: "edit"
|
|
33999
|
+
}
|
|
34000
|
+
}
|
|
34001
|
+
},
|
|
34002
|
+
then: {
|
|
34003
|
+
required: [
|
|
34004
|
+
"content",
|
|
34005
|
+
"duration",
|
|
34006
|
+
"aspect_ratio"
|
|
34007
|
+
],
|
|
34008
|
+
properties: {
|
|
34009
|
+
content: {
|
|
34010
|
+
type: "array",
|
|
34011
|
+
contains: {
|
|
34012
|
+
type: "object",
|
|
34013
|
+
required: [
|
|
34014
|
+
"type",
|
|
34015
|
+
"role"
|
|
34016
|
+
],
|
|
34017
|
+
properties: {
|
|
34018
|
+
type: {
|
|
34019
|
+
const: "video"
|
|
34020
|
+
},
|
|
34021
|
+
role: {
|
|
34022
|
+
const: "reference"
|
|
34023
|
+
}
|
|
34024
|
+
}
|
|
34025
|
+
}
|
|
34026
|
+
},
|
|
34027
|
+
duration: {
|
|
34028
|
+
const: -1
|
|
34029
|
+
},
|
|
34030
|
+
aspect_ratio: {
|
|
34031
|
+
const: "adaptive"
|
|
34032
|
+
}
|
|
34033
|
+
}
|
|
34034
|
+
}
|
|
34035
|
+
},
|
|
34036
|
+
{
|
|
34037
|
+
description: "\u89C6\u9891\u5EF6\u957F\u5FC5\u987B\u5305\u542B\u53C2\u8003\u89C6\u9891\uFF0C\u5E76\u4F7F\u7528\u81EA\u52A8\u6BD4\u4F8B\u3002",
|
|
34038
|
+
if: {
|
|
34039
|
+
required: [
|
|
34040
|
+
"task_type"
|
|
34041
|
+
],
|
|
34042
|
+
properties: {
|
|
34043
|
+
task_type: {
|
|
34044
|
+
const: "extend"
|
|
34045
|
+
}
|
|
34046
|
+
}
|
|
34047
|
+
},
|
|
34048
|
+
then: {
|
|
34049
|
+
required: [
|
|
34050
|
+
"content",
|
|
34051
|
+
"aspect_ratio"
|
|
34052
|
+
],
|
|
34053
|
+
properties: {
|
|
34054
|
+
content: {
|
|
34055
|
+
type: "array",
|
|
34056
|
+
contains: {
|
|
34057
|
+
type: "object",
|
|
34058
|
+
required: [
|
|
34059
|
+
"type",
|
|
34060
|
+
"role"
|
|
34061
|
+
],
|
|
34062
|
+
properties: {
|
|
34063
|
+
type: {
|
|
34064
|
+
const: "video"
|
|
34065
|
+
},
|
|
34066
|
+
role: {
|
|
34067
|
+
const: "reference"
|
|
34068
|
+
}
|
|
34069
|
+
}
|
|
34070
|
+
}
|
|
34071
|
+
},
|
|
34072
|
+
aspect_ratio: {
|
|
34073
|
+
const: "adaptive"
|
|
34074
|
+
}
|
|
34075
|
+
}
|
|
34076
|
+
}
|
|
34077
|
+
},
|
|
34078
|
+
{
|
|
34079
|
+
if: {
|
|
34080
|
+
properties: {
|
|
34081
|
+
draft: {
|
|
34082
|
+
const: true
|
|
34083
|
+
}
|
|
34084
|
+
},
|
|
34085
|
+
required: [
|
|
34086
|
+
"draft"
|
|
34087
|
+
]
|
|
34088
|
+
},
|
|
34089
|
+
then: {
|
|
34090
|
+
required: [
|
|
34091
|
+
"resolution"
|
|
34092
|
+
],
|
|
34093
|
+
properties: {
|
|
34094
|
+
resolution: {
|
|
34095
|
+
const: "480p"
|
|
34096
|
+
},
|
|
34097
|
+
content: {
|
|
34098
|
+
not: {
|
|
34099
|
+
type: "array",
|
|
34100
|
+
contains: {
|
|
34101
|
+
type: "object",
|
|
34102
|
+
properties: {
|
|
34103
|
+
type: {
|
|
34104
|
+
const: "draft_task"
|
|
34105
|
+
}
|
|
34106
|
+
},
|
|
34107
|
+
required: [
|
|
34108
|
+
"type"
|
|
34109
|
+
]
|
|
34110
|
+
}
|
|
34111
|
+
}
|
|
34112
|
+
}
|
|
34113
|
+
}
|
|
34114
|
+
}
|
|
34115
|
+
},
|
|
34116
|
+
{
|
|
34117
|
+
if: {
|
|
34118
|
+
properties: {
|
|
34119
|
+
content: {
|
|
34120
|
+
type: "array",
|
|
34121
|
+
contains: {
|
|
34122
|
+
type: "object",
|
|
34123
|
+
properties: {
|
|
34124
|
+
type: {
|
|
34125
|
+
const: "draft_task"
|
|
34126
|
+
}
|
|
34127
|
+
},
|
|
34128
|
+
required: [
|
|
34129
|
+
"type"
|
|
34130
|
+
]
|
|
34131
|
+
}
|
|
34132
|
+
}
|
|
34133
|
+
},
|
|
34134
|
+
required: [
|
|
34135
|
+
"content"
|
|
34136
|
+
]
|
|
34137
|
+
},
|
|
34138
|
+
then: {
|
|
34139
|
+
required: [
|
|
34140
|
+
"resolution"
|
|
34141
|
+
],
|
|
34142
|
+
properties: {
|
|
34143
|
+
resolution: {
|
|
34144
|
+
const: "1080p"
|
|
34145
|
+
},
|
|
34146
|
+
draft: {
|
|
34147
|
+
const: false
|
|
34148
|
+
},
|
|
34149
|
+
content: {
|
|
34150
|
+
type: "array",
|
|
34151
|
+
minItems: 1,
|
|
34152
|
+
maxItems: 1
|
|
34153
|
+
},
|
|
34154
|
+
duration: false,
|
|
34155
|
+
aspect_ratio: false,
|
|
34156
|
+
seed: false,
|
|
34157
|
+
generate_audio: false,
|
|
34158
|
+
task_type: false
|
|
34159
|
+
},
|
|
34160
|
+
propertyNames: {
|
|
34161
|
+
enum: [
|
|
34162
|
+
"model",
|
|
34163
|
+
"content",
|
|
34164
|
+
"resolution",
|
|
34165
|
+
"draft",
|
|
34166
|
+
"return_last_frame",
|
|
34167
|
+
"output_format",
|
|
34168
|
+
"watermark",
|
|
34169
|
+
"service_tier",
|
|
34170
|
+
"execution_expires_after",
|
|
34171
|
+
"priority",
|
|
34172
|
+
"callback_url",
|
|
34173
|
+
"safety_identifier"
|
|
34174
|
+
]
|
|
34175
|
+
}
|
|
34176
|
+
}
|
|
34177
|
+
}
|
|
34178
|
+
]
|
|
34179
|
+
},
|
|
34180
|
+
outputSchema: {},
|
|
34181
|
+
metering: {
|
|
34182
|
+
schemaVersion: 1,
|
|
34183
|
+
kind: "token",
|
|
34184
|
+
metrics: [
|
|
34185
|
+
{
|
|
34186
|
+
metric: "requests",
|
|
34187
|
+
requirement: "required"
|
|
34188
|
+
},
|
|
34189
|
+
{
|
|
34190
|
+
metric: "output_tokens",
|
|
34191
|
+
requirement: "required"
|
|
34192
|
+
}
|
|
34193
|
+
]
|
|
34194
|
+
}
|
|
34195
|
+
}
|
|
34196
|
+
],
|
|
34197
|
+
endpoints: []
|
|
34198
|
+
},
|
|
32595
34199
|
{
|
|
32596
34200
|
id: "yadan/minimax-h3-local",
|
|
32597
34201
|
contractVersion: 3,
|
|
@@ -53143,7 +54747,7 @@ var NexraWaitTimeoutError = class extends Error {
|
|
|
53143
54747
|
};
|
|
53144
54748
|
|
|
53145
54749
|
// src/generated/version.generated.ts
|
|
53146
|
-
var SDK_VERSION = "0.1.0-alpha.
|
|
54750
|
+
var SDK_VERSION = "0.1.0-alpha.41";
|
|
53147
54751
|
|
|
53148
54752
|
// src/transport.ts
|
|
53149
54753
|
var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
|