@byte_fluffy/nexra-sdk 0.1.0-alpha.36 → 0.1.0-alpha.37
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 +22 -0
- package/dist/catalog.js +1 -1
- package/dist/{chunk-UOM4JX4G.js → chunk-ENL3IGRX.js} +1273 -26
- package/dist/index.js +1 -1
- package/dist/language.js +1 -1
- package/package.json +1 -1
|
@@ -2799,6 +2799,234 @@ var audio_generated_default = [
|
|
|
2799
2799
|
|
|
2800
2800
|
// src/catalog/generated/image.generated.json
|
|
2801
2801
|
var image_generated_default = [
|
|
2802
|
+
{
|
|
2803
|
+
id: "google/gemini-nano-banana-2.1",
|
|
2804
|
+
contractVersion: 1,
|
|
2805
|
+
developer: "google",
|
|
2806
|
+
displayName: "Banana 2.1",
|
|
2807
|
+
summary: "Generate or edit 1K, 2K, or 4K images from text and up to fourteen reference images.",
|
|
2808
|
+
kind: "image",
|
|
2809
|
+
family: "Gemini Nano Banana",
|
|
2810
|
+
versionLabel: "2.1",
|
|
2811
|
+
aliases: [],
|
|
2812
|
+
capabilities: {
|
|
2813
|
+
inputModalities: [
|
|
2814
|
+
"text",
|
|
2815
|
+
"image"
|
|
2816
|
+
],
|
|
2817
|
+
outputModalities: [
|
|
2818
|
+
"image"
|
|
2819
|
+
],
|
|
2820
|
+
inputModes: [
|
|
2821
|
+
"text-to-image",
|
|
2822
|
+
"image-to-image"
|
|
2823
|
+
],
|
|
2824
|
+
features: []
|
|
2825
|
+
},
|
|
2826
|
+
operations: [
|
|
2827
|
+
{
|
|
2828
|
+
operation: "image.generate",
|
|
2829
|
+
inputModalities: [
|
|
2830
|
+
"text",
|
|
2831
|
+
"image"
|
|
2832
|
+
],
|
|
2833
|
+
outputModalities: [
|
|
2834
|
+
"image"
|
|
2835
|
+
],
|
|
2836
|
+
inputSchema: {
|
|
2837
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
2838
|
+
type: "object",
|
|
2839
|
+
properties: {
|
|
2840
|
+
content: {
|
|
2841
|
+
type: "array",
|
|
2842
|
+
minItems: 1,
|
|
2843
|
+
items: {
|
|
2844
|
+
oneOf: [
|
|
2845
|
+
{
|
|
2846
|
+
type: "object",
|
|
2847
|
+
properties: {
|
|
2848
|
+
type: {
|
|
2849
|
+
const: "text"
|
|
2850
|
+
},
|
|
2851
|
+
text: {
|
|
2852
|
+
type: "string",
|
|
2853
|
+
minLength: 1
|
|
2854
|
+
},
|
|
2855
|
+
role: {
|
|
2856
|
+
type: "string",
|
|
2857
|
+
const: "prompt",
|
|
2858
|
+
title: "\u7528\u9014"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
required: [
|
|
2862
|
+
"type",
|
|
2863
|
+
"text",
|
|
2864
|
+
"role"
|
|
2865
|
+
],
|
|
2866
|
+
additionalProperties: false
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
type: "object",
|
|
2870
|
+
properties: {
|
|
2871
|
+
type: {
|
|
2872
|
+
const: "image"
|
|
2873
|
+
},
|
|
2874
|
+
source: {
|
|
2875
|
+
oneOf: [
|
|
2876
|
+
{
|
|
2877
|
+
type: "string",
|
|
2878
|
+
minLength: 1
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
type: "object",
|
|
2882
|
+
properties: {
|
|
2883
|
+
assetId: {
|
|
2884
|
+
type: "string",
|
|
2885
|
+
minLength: 1
|
|
2886
|
+
}
|
|
2887
|
+
},
|
|
2888
|
+
required: [
|
|
2889
|
+
"assetId"
|
|
2890
|
+
],
|
|
2891
|
+
additionalProperties: false
|
|
2892
|
+
}
|
|
2893
|
+
]
|
|
2894
|
+
},
|
|
2895
|
+
role: {
|
|
2896
|
+
type: "string",
|
|
2897
|
+
enum: [
|
|
2898
|
+
"source",
|
|
2899
|
+
"reference"
|
|
2900
|
+
],
|
|
2901
|
+
title: "\u7528\u9014"
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
required: [
|
|
2905
|
+
"type",
|
|
2906
|
+
"source",
|
|
2907
|
+
"role"
|
|
2908
|
+
],
|
|
2909
|
+
additionalProperties: false
|
|
2910
|
+
}
|
|
2911
|
+
]
|
|
2912
|
+
},
|
|
2913
|
+
"x-ui": {
|
|
2914
|
+
control: "content-parts",
|
|
2915
|
+
order: 0
|
|
2916
|
+
},
|
|
2917
|
+
title: "\u8F93\u5165\u5185\u5BB9",
|
|
2918
|
+
description: "\u63D0\u4F9B\u4E00\u6761\u63D0\u793A\u8BCD\u3001\u6700\u591A 14 \u5F20\u53C2\u8003\u56FE\u7247\uFF0C\u6216\u540C\u65F6\u63D0\u4F9B\u4E24\u8005\u3002",
|
|
2919
|
+
maxItems: 15,
|
|
2920
|
+
allOf: [
|
|
2921
|
+
{
|
|
2922
|
+
contains: {
|
|
2923
|
+
type: "object",
|
|
2924
|
+
properties: {
|
|
2925
|
+
type: {
|
|
2926
|
+
const: "text"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
required: [
|
|
2930
|
+
"type"
|
|
2931
|
+
]
|
|
2932
|
+
},
|
|
2933
|
+
minContains: 0,
|
|
2934
|
+
maxContains: 1
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
contains: {
|
|
2938
|
+
type: "object",
|
|
2939
|
+
properties: {
|
|
2940
|
+
type: {
|
|
2941
|
+
const: "image"
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2944
|
+
required: [
|
|
2945
|
+
"type"
|
|
2946
|
+
]
|
|
2947
|
+
},
|
|
2948
|
+
minContains: 0,
|
|
2949
|
+
maxContains: 14
|
|
2950
|
+
}
|
|
2951
|
+
]
|
|
2952
|
+
},
|
|
2953
|
+
aspect_ratio: {
|
|
2954
|
+
type: "string",
|
|
2955
|
+
enum: [
|
|
2956
|
+
"1:1",
|
|
2957
|
+
"3:2",
|
|
2958
|
+
"2:3",
|
|
2959
|
+
"3:4",
|
|
2960
|
+
"1:4",
|
|
2961
|
+
"4:1",
|
|
2962
|
+
"4:3",
|
|
2963
|
+
"4:5",
|
|
2964
|
+
"5:4",
|
|
2965
|
+
"1:8",
|
|
2966
|
+
"8:1",
|
|
2967
|
+
"9:16",
|
|
2968
|
+
"16:9",
|
|
2969
|
+
"21:9",
|
|
2970
|
+
"9:21"
|
|
2971
|
+
],
|
|
2972
|
+
default: "1:1",
|
|
2973
|
+
title: "\u753B\u9762\u6BD4\u4F8B",
|
|
2974
|
+
"x-ui": {
|
|
2975
|
+
control: "select",
|
|
2976
|
+
order: 10
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
resolution: {
|
|
2980
|
+
type: "string",
|
|
2981
|
+
enum: [
|
|
2982
|
+
"1K",
|
|
2983
|
+
"2K",
|
|
2984
|
+
"4K"
|
|
2985
|
+
],
|
|
2986
|
+
default: "1K",
|
|
2987
|
+
title: "\u5206\u8FA8\u7387",
|
|
2988
|
+
"x-ui": {
|
|
2989
|
+
control: "segmented",
|
|
2990
|
+
order: 11
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
required: [
|
|
2995
|
+
"content"
|
|
2996
|
+
],
|
|
2997
|
+
additionalProperties: false
|
|
2998
|
+
},
|
|
2999
|
+
outputSchema: {},
|
|
3000
|
+
metering: {
|
|
3001
|
+
schemaVersion: 1,
|
|
3002
|
+
kind: "token",
|
|
3003
|
+
metrics: [
|
|
3004
|
+
{
|
|
3005
|
+
metric: "requests",
|
|
3006
|
+
requirement: "required"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
metric: "input_tokens",
|
|
3010
|
+
requirement: "required"
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
metric: "output_tokens",
|
|
3014
|
+
requirement: "required"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
metric: "input_images",
|
|
3018
|
+
requirement: "informational"
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
metric: "output_images",
|
|
3022
|
+
requirement: "informational"
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
],
|
|
3028
|
+
endpoints: []
|
|
3029
|
+
},
|
|
2802
3030
|
{
|
|
2803
3031
|
id: "openai/gpt-image-2.5-flare",
|
|
2804
3032
|
contractVersion: 2,
|
|
@@ -13646,19 +13874,16 @@ var language_generated_default = [
|
|
|
13646
13874
|
]
|
|
13647
13875
|
},
|
|
13648
13876
|
{
|
|
13649
|
-
id: "anthropic/claude-sonnet-
|
|
13877
|
+
id: "anthropic/claude-sonnet-5-5",
|
|
13650
13878
|
contractVersion: 1,
|
|
13651
13879
|
developer: "anthropic",
|
|
13652
|
-
displayName: "Claude Sonnet
|
|
13653
|
-
summary: "Generate text and vision responses with Claude Sonnet
|
|
13880
|
+
displayName: "Claude Sonnet 5.5",
|
|
13881
|
+
summary: "Generate text and vision responses with Claude Sonnet 5.5 through the native Anthropic Messages protocol, with adaptive or between-tools thinking and five effort levels.",
|
|
13654
13882
|
kind: "language",
|
|
13655
13883
|
family: "Claude Sonnet",
|
|
13656
|
-
versionLabel: "
|
|
13884
|
+
versionLabel: "5.5",
|
|
13657
13885
|
aliases: [
|
|
13658
|
-
"
|
|
13659
|
-
"claude-sonnet-4-6",
|
|
13660
|
-
"claude-sonnet-4-6-20251001",
|
|
13661
|
-
"claude-3-5-sonnet-20241022"
|
|
13886
|
+
"claude-sonnet-5-5"
|
|
13662
13887
|
],
|
|
13663
13888
|
capabilities: {
|
|
13664
13889
|
inputModalities: [
|
|
@@ -13697,10 +13922,11 @@ var language_generated_default = [
|
|
|
13697
13922
|
"low",
|
|
13698
13923
|
"medium",
|
|
13699
13924
|
"high",
|
|
13925
|
+
"xhigh",
|
|
13700
13926
|
"max"
|
|
13701
13927
|
],
|
|
13702
13928
|
title: "Effort",
|
|
13703
|
-
description: "
|
|
13929
|
+
description: "Controls adaptive thinking depth and token use. High is the upstream default.",
|
|
13704
13930
|
"x-ui": {
|
|
13705
13931
|
order: 3,
|
|
13706
13932
|
control: "segmented",
|
|
@@ -13708,6 +13934,7 @@ var language_generated_default = [
|
|
|
13708
13934
|
low: "low",
|
|
13709
13935
|
medium: "medium",
|
|
13710
13936
|
high: "high",
|
|
13937
|
+
xhigh: "xhigh",
|
|
13711
13938
|
max: "max"
|
|
13712
13939
|
}
|
|
13713
13940
|
},
|
|
@@ -13827,21 +14054,12 @@ var language_generated_default = [
|
|
|
13827
14054
|
control: "switch"
|
|
13828
14055
|
}
|
|
13829
14056
|
},
|
|
13830
|
-
is_thinking: {
|
|
13831
|
-
type: "boolean",
|
|
13832
|
-
description: "Enable adaptive thinking. Effort also controls response depth when adaptive thinking is off.",
|
|
13833
|
-
title: "Adaptive thinking",
|
|
13834
|
-
"x-ui": {
|
|
13835
|
-
order: 7,
|
|
13836
|
-
control: "switch"
|
|
13837
|
-
}
|
|
13838
|
-
},
|
|
13839
14057
|
max_tokens: {
|
|
13840
14058
|
type: "integer",
|
|
13841
14059
|
minimum: 1,
|
|
13842
|
-
maximum:
|
|
14060
|
+
maximum: 128e3,
|
|
13843
14061
|
title: "Maximum output tokens",
|
|
13844
|
-
description: "Maximum number of output tokens, up to
|
|
14062
|
+
description: "Maximum number of output tokens, including thinking and response text, up to 128,000 for this model.",
|
|
13845
14063
|
"x-ui": {
|
|
13846
14064
|
order: 8,
|
|
13847
14065
|
control: "number"
|
|
@@ -13882,7 +14100,7 @@ var language_generated_default = [
|
|
|
13882
14100
|
},
|
|
13883
14101
|
reasoning: {
|
|
13884
14102
|
type: "string",
|
|
13885
|
-
description: "Thinking
|
|
14103
|
+
description: "Thinking summary returned when the request opts in to display it."
|
|
13886
14104
|
},
|
|
13887
14105
|
tool_use: {
|
|
13888
14106
|
type: "array",
|
|
@@ -13961,9 +14179,9 @@ var language_generated_default = [
|
|
|
13961
14179
|
order: 0
|
|
13962
14180
|
},
|
|
13963
14181
|
title: "\u6A21\u578B ID",
|
|
13964
|
-
const: "anthropic/claude-sonnet-
|
|
14182
|
+
const: "anthropic/claude-sonnet-5-5",
|
|
13965
14183
|
examples: [
|
|
13966
|
-
"anthropic/claude-sonnet-
|
|
14184
|
+
"anthropic/claude-sonnet-5-5"
|
|
13967
14185
|
]
|
|
13968
14186
|
},
|
|
13969
14187
|
messages: {
|
|
@@ -13981,9 +14199,540 @@ var language_generated_default = [
|
|
|
13981
14199
|
max_tokens: {
|
|
13982
14200
|
type: "integer",
|
|
13983
14201
|
minimum: 1,
|
|
13984
|
-
maximum:
|
|
14202
|
+
maximum: 128e3,
|
|
13985
14203
|
title: "Maximum output tokens",
|
|
13986
|
-
description: "\u672C\u6B21\u751F\u6210\u5141\u8BB8\u7684\u6700\u5927\u8F93\u51FA token \u6570\u3002",
|
|
14204
|
+
description: "\u672C\u6B21\u751F\u6210\u5141\u8BB8\u7684\u6700\u5927\u8F93\u51FA token \u6570\uFF0C\u5305\u62EC\u601D\u8003\u548C\u6B63\u6587\u3002",
|
|
14205
|
+
"x-ui": {
|
|
14206
|
+
order: 3
|
|
14207
|
+
}
|
|
14208
|
+
},
|
|
14209
|
+
system: {
|
|
14210
|
+
description: "\u7CFB\u7EDF\u6307\u4EE4\uFF0C\u652F\u6301\u5B57\u7B26\u4E32\u6216 Anthropic \u5185\u5BB9\u5757\u6570\u7EC4\u3002",
|
|
14211
|
+
"x-ui": {
|
|
14212
|
+
order: 1
|
|
14213
|
+
}
|
|
14214
|
+
},
|
|
14215
|
+
stream: {
|
|
14216
|
+
type: "boolean",
|
|
14217
|
+
description: "\u662F\u5426\u8FD4\u56DE Anthropic SSE \u4E8B\u4EF6\u6D41\u3002",
|
|
14218
|
+
"x-ui": {
|
|
14219
|
+
order: 8
|
|
14220
|
+
},
|
|
14221
|
+
default: false
|
|
14222
|
+
},
|
|
14223
|
+
stop_sequences: {
|
|
14224
|
+
type: "array",
|
|
14225
|
+
items: {
|
|
14226
|
+
type: "string"
|
|
14227
|
+
}
|
|
14228
|
+
},
|
|
14229
|
+
metadata: {
|
|
14230
|
+
type: "object",
|
|
14231
|
+
additionalProperties: true
|
|
14232
|
+
},
|
|
14233
|
+
tools: {
|
|
14234
|
+
type: "array",
|
|
14235
|
+
description: "\u5BA2\u6237\u7AEF\u5DE5\u5177\u5B9A\u4E49\u3002",
|
|
14236
|
+
items: {
|
|
14237
|
+
type: "object",
|
|
14238
|
+
additionalProperties: true
|
|
14239
|
+
},
|
|
14240
|
+
"x-ui": {
|
|
14241
|
+
order: 4
|
|
14242
|
+
}
|
|
14243
|
+
},
|
|
14244
|
+
tool_choice: {
|
|
14245
|
+
type: "object",
|
|
14246
|
+
description: "\u5DE5\u5177\u9009\u62E9\u7B56\u7565\uFF1BSonnet 5.5 \u53EA\u652F\u6301 auto \u6216 none\u3002",
|
|
14247
|
+
properties: {
|
|
14248
|
+
type: {
|
|
14249
|
+
type: "string",
|
|
14250
|
+
enum: [
|
|
14251
|
+
"auto",
|
|
14252
|
+
"none"
|
|
14253
|
+
]
|
|
14254
|
+
}
|
|
14255
|
+
},
|
|
14256
|
+
required: [
|
|
14257
|
+
"type"
|
|
14258
|
+
],
|
|
14259
|
+
additionalProperties: true,
|
|
14260
|
+
"x-ui": {
|
|
14261
|
+
order: 5
|
|
14262
|
+
}
|
|
14263
|
+
},
|
|
14264
|
+
thinking: {
|
|
14265
|
+
type: "object",
|
|
14266
|
+
description: "\u9ED8\u8BA4\u81EA\u9002\u5E94\u601D\u8003\uFF1Bbetween_tools \u5173\u95ED\u56DE\u7B54\u524D\u7684\u601D\u8003\uFF0C\u4EC5\u652F\u6301 low\u3001medium \u6216 high effort\u3002",
|
|
14267
|
+
properties: {
|
|
14268
|
+
type: {
|
|
14269
|
+
type: "string",
|
|
14270
|
+
enum: [
|
|
14271
|
+
"adaptive",
|
|
14272
|
+
"between_tools"
|
|
14273
|
+
]
|
|
14274
|
+
},
|
|
14275
|
+
display: {
|
|
14276
|
+
type: "string",
|
|
14277
|
+
enum: [
|
|
14278
|
+
"omitted",
|
|
14279
|
+
"summarized"
|
|
14280
|
+
]
|
|
14281
|
+
}
|
|
14282
|
+
},
|
|
14283
|
+
required: [
|
|
14284
|
+
"type"
|
|
14285
|
+
],
|
|
14286
|
+
additionalProperties: true,
|
|
14287
|
+
"x-ui": {
|
|
14288
|
+
order: 6
|
|
14289
|
+
},
|
|
14290
|
+
allOf: [
|
|
14291
|
+
{
|
|
14292
|
+
not: {
|
|
14293
|
+
required: [
|
|
14294
|
+
"budget_tokens"
|
|
14295
|
+
]
|
|
14296
|
+
}
|
|
14297
|
+
},
|
|
14298
|
+
{
|
|
14299
|
+
if: {
|
|
14300
|
+
properties: {
|
|
14301
|
+
type: {
|
|
14302
|
+
const: "between_tools"
|
|
14303
|
+
}
|
|
14304
|
+
},
|
|
14305
|
+
required: [
|
|
14306
|
+
"type"
|
|
14307
|
+
]
|
|
14308
|
+
},
|
|
14309
|
+
then: {
|
|
14310
|
+
properties: {
|
|
14311
|
+
type: {
|
|
14312
|
+
const: "between_tools"
|
|
14313
|
+
}
|
|
14314
|
+
},
|
|
14315
|
+
additionalProperties: false
|
|
14316
|
+
}
|
|
14317
|
+
}
|
|
14318
|
+
]
|
|
14319
|
+
},
|
|
14320
|
+
output_config: {
|
|
14321
|
+
type: "object",
|
|
14322
|
+
description: "\u8F93\u51FA\u4E0E effort \u914D\u7F6E\u3002",
|
|
14323
|
+
properties: {
|
|
14324
|
+
effort: {
|
|
14325
|
+
type: "string",
|
|
14326
|
+
enum: [
|
|
14327
|
+
"low",
|
|
14328
|
+
"medium",
|
|
14329
|
+
"high",
|
|
14330
|
+
"xhigh",
|
|
14331
|
+
"max"
|
|
14332
|
+
],
|
|
14333
|
+
title: "Effort",
|
|
14334
|
+
description: "Controls adaptive thinking depth and token use. High is the upstream default.",
|
|
14335
|
+
default: "high"
|
|
14336
|
+
}
|
|
14337
|
+
},
|
|
14338
|
+
additionalProperties: true,
|
|
14339
|
+
"x-ui": {
|
|
14340
|
+
order: 7
|
|
14341
|
+
}
|
|
14342
|
+
}
|
|
14343
|
+
},
|
|
14344
|
+
required: [
|
|
14345
|
+
"model",
|
|
14346
|
+
"messages",
|
|
14347
|
+
"max_tokens"
|
|
14348
|
+
],
|
|
14349
|
+
additionalProperties: true,
|
|
14350
|
+
allOf: [
|
|
14351
|
+
{
|
|
14352
|
+
if: {
|
|
14353
|
+
properties: {
|
|
14354
|
+
thinking: {
|
|
14355
|
+
type: "object",
|
|
14356
|
+
properties: {
|
|
14357
|
+
type: {
|
|
14358
|
+
const: "between_tools"
|
|
14359
|
+
}
|
|
14360
|
+
},
|
|
14361
|
+
required: [
|
|
14362
|
+
"type"
|
|
14363
|
+
]
|
|
14364
|
+
}
|
|
14365
|
+
},
|
|
14366
|
+
required: [
|
|
14367
|
+
"thinking"
|
|
14368
|
+
]
|
|
14369
|
+
},
|
|
14370
|
+
then: {
|
|
14371
|
+
properties: {
|
|
14372
|
+
output_config: {
|
|
14373
|
+
type: "object",
|
|
14374
|
+
properties: {
|
|
14375
|
+
effort: {
|
|
14376
|
+
enum: [
|
|
14377
|
+
"low",
|
|
14378
|
+
"medium",
|
|
14379
|
+
"high"
|
|
14380
|
+
]
|
|
14381
|
+
}
|
|
14382
|
+
}
|
|
14383
|
+
}
|
|
14384
|
+
}
|
|
14385
|
+
}
|
|
14386
|
+
}
|
|
14387
|
+
]
|
|
14388
|
+
},
|
|
14389
|
+
outputSchema: {
|
|
14390
|
+
type: "object",
|
|
14391
|
+
description: "\u534F\u8BAE\u539F\u751F\u54CD\u5E94\uFF1B\u6D41\u5F0F\u8BF7\u6C42\u8FD4\u56DE\u8BE5\u534F\u8BAE\u5B9A\u4E49\u7684\u4E8B\u4EF6\u6D41\u3002",
|
|
14392
|
+
additionalProperties: true
|
|
14393
|
+
}
|
|
14394
|
+
}
|
|
14395
|
+
]
|
|
14396
|
+
},
|
|
14397
|
+
{
|
|
14398
|
+
id: "anthropic/claude-sonnet-4-6",
|
|
14399
|
+
contractVersion: 1,
|
|
14400
|
+
developer: "anthropic",
|
|
14401
|
+
displayName: "Claude Sonnet 4.6",
|
|
14402
|
+
summary: "Generate text and vision responses with Claude Sonnet 4.6 through the native Anthropic Messages protocol, with optional adaptive thinking and low, medium, high, or max effort.",
|
|
14403
|
+
kind: "language",
|
|
14404
|
+
family: "Claude Sonnet",
|
|
14405
|
+
versionLabel: "4.6",
|
|
14406
|
+
aliases: [
|
|
14407
|
+
"aws/claude-sonnet-4-6",
|
|
14408
|
+
"claude-sonnet-4-6",
|
|
14409
|
+
"claude-sonnet-4-6-20251001",
|
|
14410
|
+
"claude-3-5-sonnet-20241022"
|
|
14411
|
+
],
|
|
14412
|
+
capabilities: {
|
|
14413
|
+
inputModalities: [
|
|
14414
|
+
"text",
|
|
14415
|
+
"image"
|
|
14416
|
+
],
|
|
14417
|
+
outputModalities: [
|
|
14418
|
+
"text"
|
|
14419
|
+
],
|
|
14420
|
+
inputModes: [
|
|
14421
|
+
"text-to-text",
|
|
14422
|
+
"multimodal-to-text"
|
|
14423
|
+
],
|
|
14424
|
+
features: [
|
|
14425
|
+
"reasoning"
|
|
14426
|
+
],
|
|
14427
|
+
contextWindowTokens: 1e6,
|
|
14428
|
+
maxOutputTokens: 128e3
|
|
14429
|
+
},
|
|
14430
|
+
operations: [
|
|
14431
|
+
{
|
|
14432
|
+
operation: "language.generate",
|
|
14433
|
+
inputModalities: [
|
|
14434
|
+
"text",
|
|
14435
|
+
"image"
|
|
14436
|
+
],
|
|
14437
|
+
outputModalities: [
|
|
14438
|
+
"text"
|
|
14439
|
+
],
|
|
14440
|
+
inputSchema: {
|
|
14441
|
+
type: "object",
|
|
14442
|
+
properties: {
|
|
14443
|
+
effort: {
|
|
14444
|
+
type: "string",
|
|
14445
|
+
enum: [
|
|
14446
|
+
"low",
|
|
14447
|
+
"medium",
|
|
14448
|
+
"high",
|
|
14449
|
+
"max"
|
|
14450
|
+
],
|
|
14451
|
+
title: "Effort",
|
|
14452
|
+
description: "Soft guidance for response depth and token use. High is the upstream default.",
|
|
14453
|
+
"x-ui": {
|
|
14454
|
+
order: 3,
|
|
14455
|
+
control: "segmented",
|
|
14456
|
+
optionLabels: {
|
|
14457
|
+
low: "low",
|
|
14458
|
+
medium: "medium",
|
|
14459
|
+
high: "high",
|
|
14460
|
+
max: "max"
|
|
14461
|
+
}
|
|
14462
|
+
},
|
|
14463
|
+
default: "high"
|
|
14464
|
+
},
|
|
14465
|
+
enable_prompt_cache: {
|
|
14466
|
+
type: "boolean",
|
|
14467
|
+
title: "Prompt caching",
|
|
14468
|
+
description: "Mark reusable prompt content for Anthropic prompt caching.",
|
|
14469
|
+
"x-ui": {
|
|
14470
|
+
order: 4,
|
|
14471
|
+
control: "switch"
|
|
14472
|
+
}
|
|
14473
|
+
},
|
|
14474
|
+
enable_web_search: {
|
|
14475
|
+
type: "boolean",
|
|
14476
|
+
title: "Web search",
|
|
14477
|
+
description: "Allow the model to invoke Anthropic's server-side web search tool.",
|
|
14478
|
+
"x-ui": {
|
|
14479
|
+
order: 5,
|
|
14480
|
+
control: "switch"
|
|
14481
|
+
}
|
|
14482
|
+
},
|
|
14483
|
+
images: {
|
|
14484
|
+
type: "array",
|
|
14485
|
+
items: {
|
|
14486
|
+
oneOf: [
|
|
14487
|
+
{
|
|
14488
|
+
type: "string",
|
|
14489
|
+
format: "uri"
|
|
14490
|
+
},
|
|
14491
|
+
{
|
|
14492
|
+
type: "object",
|
|
14493
|
+
properties: {
|
|
14494
|
+
url: {
|
|
14495
|
+
type: "string",
|
|
14496
|
+
format: "uri"
|
|
14497
|
+
},
|
|
14498
|
+
role: {
|
|
14499
|
+
type: "string",
|
|
14500
|
+
enum: [
|
|
14501
|
+
"default"
|
|
14502
|
+
]
|
|
14503
|
+
}
|
|
14504
|
+
},
|
|
14505
|
+
required: [
|
|
14506
|
+
"url"
|
|
14507
|
+
],
|
|
14508
|
+
additionalProperties: false
|
|
14509
|
+
},
|
|
14510
|
+
{
|
|
14511
|
+
type: "object",
|
|
14512
|
+
properties: {
|
|
14513
|
+
base64: {
|
|
14514
|
+
type: "string",
|
|
14515
|
+
minLength: 1
|
|
14516
|
+
},
|
|
14517
|
+
mimeType: {
|
|
14518
|
+
type: "string",
|
|
14519
|
+
minLength: 1
|
|
14520
|
+
},
|
|
14521
|
+
role: {
|
|
14522
|
+
type: "string",
|
|
14523
|
+
enum: [
|
|
14524
|
+
"default"
|
|
14525
|
+
]
|
|
14526
|
+
}
|
|
14527
|
+
},
|
|
14528
|
+
required: [
|
|
14529
|
+
"base64"
|
|
14530
|
+
],
|
|
14531
|
+
additionalProperties: false
|
|
14532
|
+
},
|
|
14533
|
+
{
|
|
14534
|
+
type: "object",
|
|
14535
|
+
properties: {
|
|
14536
|
+
assetId: {
|
|
14537
|
+
type: "string",
|
|
14538
|
+
minLength: 1
|
|
14539
|
+
},
|
|
14540
|
+
role: {
|
|
14541
|
+
type: "string",
|
|
14542
|
+
enum: [
|
|
14543
|
+
"default"
|
|
14544
|
+
]
|
|
14545
|
+
}
|
|
14546
|
+
},
|
|
14547
|
+
required: [
|
|
14548
|
+
"assetId"
|
|
14549
|
+
],
|
|
14550
|
+
additionalProperties: false
|
|
14551
|
+
}
|
|
14552
|
+
]
|
|
14553
|
+
},
|
|
14554
|
+
description: "Up to 600 JPEG, PNG, GIF, or WebP images by URL or Base64. The native Claude API limits each Base64 image to 10 MB and the standard request body to 32 MB.",
|
|
14555
|
+
minItems: 1,
|
|
14556
|
+
title: "Images",
|
|
14557
|
+
maxItems: 600,
|
|
14558
|
+
"x-ui": {
|
|
14559
|
+
order: 2,
|
|
14560
|
+
control: "media",
|
|
14561
|
+
roles: [
|
|
14562
|
+
"default"
|
|
14563
|
+
],
|
|
14564
|
+
accept: [
|
|
14565
|
+
"url",
|
|
14566
|
+
"base64"
|
|
14567
|
+
]
|
|
14568
|
+
}
|
|
14569
|
+
},
|
|
14570
|
+
is_stream: {
|
|
14571
|
+
type: "boolean",
|
|
14572
|
+
description: "Whether to stream response events as they are generated.",
|
|
14573
|
+
title: "Stream response",
|
|
14574
|
+
"x-ui": {
|
|
14575
|
+
order: 6,
|
|
14576
|
+
control: "switch"
|
|
14577
|
+
}
|
|
14578
|
+
},
|
|
14579
|
+
is_thinking: {
|
|
14580
|
+
type: "boolean",
|
|
14581
|
+
description: "Enable adaptive thinking. Effort also controls response depth when adaptive thinking is off.",
|
|
14582
|
+
title: "Adaptive thinking",
|
|
14583
|
+
"x-ui": {
|
|
14584
|
+
order: 7,
|
|
14585
|
+
control: "switch"
|
|
14586
|
+
}
|
|
14587
|
+
},
|
|
14588
|
+
max_tokens: {
|
|
14589
|
+
type: "integer",
|
|
14590
|
+
minimum: 1,
|
|
14591
|
+
maximum: 64e3,
|
|
14592
|
+
title: "Maximum output tokens",
|
|
14593
|
+
description: "Maximum number of output tokens, up to 64,000 for this model.",
|
|
14594
|
+
"x-ui": {
|
|
14595
|
+
order: 8,
|
|
14596
|
+
control: "number"
|
|
14597
|
+
}
|
|
14598
|
+
},
|
|
14599
|
+
system: {
|
|
14600
|
+
type: "string",
|
|
14601
|
+
minLength: 1,
|
|
14602
|
+
title: "System prompt",
|
|
14603
|
+
description: "System instructions or context supplied separately from the user message.",
|
|
14604
|
+
"x-ui": {
|
|
14605
|
+
order: 1,
|
|
14606
|
+
control: "textarea"
|
|
14607
|
+
}
|
|
14608
|
+
},
|
|
14609
|
+
texts: {
|
|
14610
|
+
type: "string",
|
|
14611
|
+
description: "User message or instruction to send to the language model.",
|
|
14612
|
+
minLength: 1,
|
|
14613
|
+
title: "Message",
|
|
14614
|
+
"x-ui": {
|
|
14615
|
+
order: 0,
|
|
14616
|
+
control: "textarea"
|
|
14617
|
+
}
|
|
14618
|
+
}
|
|
14619
|
+
},
|
|
14620
|
+
additionalProperties: false,
|
|
14621
|
+
required: [
|
|
14622
|
+
"texts"
|
|
14623
|
+
]
|
|
14624
|
+
},
|
|
14625
|
+
outputSchema: {
|
|
14626
|
+
type: "object",
|
|
14627
|
+
properties: {
|
|
14628
|
+
text: {
|
|
14629
|
+
type: "string",
|
|
14630
|
+
description: "\u6B63\u6587\uFF1B\u6D41\u5F0F NDJSON \u884C\u5185 `response` \u7247\u6BB5\u540C\u7ED3\u6784"
|
|
14631
|
+
},
|
|
14632
|
+
reasoning: {
|
|
14633
|
+
type: "string",
|
|
14634
|
+
description: "Thinking content returned when the selected thinking mode exposes it."
|
|
14635
|
+
},
|
|
14636
|
+
tool_use: {
|
|
14637
|
+
type: "array",
|
|
14638
|
+
items: {
|
|
14639
|
+
type: "object"
|
|
14640
|
+
},
|
|
14641
|
+
description: "function calling\uFF1A\u6A21\u578B\u8BF7\u6C42\u8C03\u7528\u7684\u5DE5\u5177\u5217\u8868\uFF08\u542B id/name/input\uFF09\uFF0C\u7531\u8C03\u7528\u65B9\u6267\u884C\u540E\u56DE\u4F20 tool_result"
|
|
14642
|
+
},
|
|
14643
|
+
files: {
|
|
14644
|
+
type: "array",
|
|
14645
|
+
items: {
|
|
14646
|
+
type: "object"
|
|
14647
|
+
},
|
|
14648
|
+
description: "Agent Skills \u4EA7\u51FA\u7684\u6587\u6863\uFF08\u542B url/filename/mime_type/size_bytes\uFF09\uFF0C\u5DF2\u56DE\u4F20 OSS"
|
|
14649
|
+
}
|
|
14650
|
+
},
|
|
14651
|
+
additionalProperties: false
|
|
14652
|
+
},
|
|
14653
|
+
metering: {
|
|
14654
|
+
schemaVersion: 1,
|
|
14655
|
+
kind: "mixed",
|
|
14656
|
+
metrics: [
|
|
14657
|
+
{
|
|
14658
|
+
metric: "requests",
|
|
14659
|
+
requirement: "required"
|
|
14660
|
+
},
|
|
14661
|
+
{
|
|
14662
|
+
metric: "input_tokens",
|
|
14663
|
+
requirement: "required"
|
|
14664
|
+
},
|
|
14665
|
+
{
|
|
14666
|
+
metric: "output_tokens",
|
|
14667
|
+
requirement: "required"
|
|
14668
|
+
},
|
|
14669
|
+
{
|
|
14670
|
+
metric: "cache_read_input_tokens",
|
|
14671
|
+
requirement: "required"
|
|
14672
|
+
},
|
|
14673
|
+
{
|
|
14674
|
+
metric: "cache_creation_5m_input_tokens",
|
|
14675
|
+
requirement: "required"
|
|
14676
|
+
},
|
|
14677
|
+
{
|
|
14678
|
+
metric: "cache_creation_1h_input_tokens",
|
|
14679
|
+
requirement: "required"
|
|
14680
|
+
},
|
|
14681
|
+
{
|
|
14682
|
+
metric: "web_search_requests",
|
|
14683
|
+
requirement: "conditional",
|
|
14684
|
+
whenFeature: "anthropic_web_search_v1"
|
|
14685
|
+
}
|
|
14686
|
+
]
|
|
14687
|
+
}
|
|
14688
|
+
}
|
|
14689
|
+
],
|
|
14690
|
+
endpoints: [
|
|
14691
|
+
{
|
|
14692
|
+
endpointKey: "messages",
|
|
14693
|
+
operation: "language.generate",
|
|
14694
|
+
protocol: "anthropic-messages",
|
|
14695
|
+
method: "POST",
|
|
14696
|
+
path: "/v1/messages",
|
|
14697
|
+
capabilities: [
|
|
14698
|
+
"reasoning",
|
|
14699
|
+
"sse",
|
|
14700
|
+
"text",
|
|
14701
|
+
"tool_call"
|
|
14702
|
+
],
|
|
14703
|
+
inputSchema: {
|
|
14704
|
+
type: "object",
|
|
14705
|
+
properties: {
|
|
14706
|
+
model: {
|
|
14707
|
+
type: "string",
|
|
14708
|
+
description: "Nexra \u516C\u5171\u6A21\u578B ID\uFF0C\u5FC5\u987B\u4E0E\u5916\u5C42 modelId \u76F8\u540C\u3002",
|
|
14709
|
+
"x-ui": {
|
|
14710
|
+
order: 0
|
|
14711
|
+
},
|
|
14712
|
+
title: "\u6A21\u578B ID",
|
|
14713
|
+
const: "anthropic/claude-sonnet-4-6",
|
|
14714
|
+
examples: [
|
|
14715
|
+
"anthropic/claude-sonnet-4-6"
|
|
14716
|
+
]
|
|
14717
|
+
},
|
|
14718
|
+
messages: {
|
|
14719
|
+
type: "array",
|
|
14720
|
+
minItems: 1,
|
|
14721
|
+
description: "Anthropic Messages \u6D88\u606F\u5217\u8868\u3002",
|
|
14722
|
+
items: {
|
|
14723
|
+
type: "object",
|
|
14724
|
+
additionalProperties: true
|
|
14725
|
+
},
|
|
14726
|
+
"x-ui": {
|
|
14727
|
+
order: 2
|
|
14728
|
+
}
|
|
14729
|
+
},
|
|
14730
|
+
max_tokens: {
|
|
14731
|
+
type: "integer",
|
|
14732
|
+
minimum: 1,
|
|
14733
|
+
maximum: 64e3,
|
|
14734
|
+
title: "Maximum output tokens",
|
|
14735
|
+
description: "\u672C\u6B21\u751F\u6210\u5141\u8BB8\u7684\u6700\u5927\u8F93\u51FA token \u6570\u3002",
|
|
13987
14736
|
"x-ui": {
|
|
13988
14737
|
order: 3
|
|
13989
14738
|
}
|
|
@@ -29786,6 +30535,503 @@ var language_generated_default = [
|
|
|
29786
30535
|
}
|
|
29787
30536
|
]
|
|
29788
30537
|
},
|
|
30538
|
+
{
|
|
30539
|
+
id: "openai/gpt-6.1-sol",
|
|
30540
|
+
contractVersion: 1,
|
|
30541
|
+
developer: "openai",
|
|
30542
|
+
displayName: "GPT 6.1 Sol",
|
|
30543
|
+
summary: "Generate text and structured responses with image input and configurable reasoning through Azure AI Foundry GPT-6.1 Sol.",
|
|
30544
|
+
kind: "language",
|
|
30545
|
+
family: "GPT Sol",
|
|
30546
|
+
versionLabel: "6.1",
|
|
30547
|
+
aliases: [
|
|
30548
|
+
"azure/GPT-6.1 Sol",
|
|
30549
|
+
"azure/gpt-6.1-sol",
|
|
30550
|
+
"gpt-6.1-sol",
|
|
30551
|
+
"gpt-6.1-sol-2026-09-29"
|
|
30552
|
+
],
|
|
30553
|
+
capabilities: {
|
|
30554
|
+
inputModalities: [
|
|
30555
|
+
"text",
|
|
30556
|
+
"image"
|
|
30557
|
+
],
|
|
30558
|
+
outputModalities: [
|
|
30559
|
+
"text"
|
|
30560
|
+
],
|
|
30561
|
+
inputModes: [
|
|
30562
|
+
"text-to-text",
|
|
30563
|
+
"multimodal-to-text"
|
|
30564
|
+
],
|
|
30565
|
+
features: [
|
|
30566
|
+
"reasoning",
|
|
30567
|
+
"structured-output",
|
|
30568
|
+
"function-calling"
|
|
30569
|
+
],
|
|
30570
|
+
contextWindowTokens: 105e4,
|
|
30571
|
+
maxOutputTokens: 128e3
|
|
30572
|
+
},
|
|
30573
|
+
operations: [
|
|
30574
|
+
{
|
|
30575
|
+
operation: "language.generate",
|
|
30576
|
+
inputModalities: [
|
|
30577
|
+
"text",
|
|
30578
|
+
"image"
|
|
30579
|
+
],
|
|
30580
|
+
outputModalities: [
|
|
30581
|
+
"text"
|
|
30582
|
+
],
|
|
30583
|
+
inputSchema: {
|
|
30584
|
+
type: "object",
|
|
30585
|
+
properties: {
|
|
30586
|
+
image_detail: {
|
|
30587
|
+
type: "string",
|
|
30588
|
+
description: "Image-input detail level for the Responses API.",
|
|
30589
|
+
enum: [
|
|
30590
|
+
"auto",
|
|
30591
|
+
"low",
|
|
30592
|
+
"high",
|
|
30593
|
+
"original"
|
|
30594
|
+
],
|
|
30595
|
+
"x-ui": {
|
|
30596
|
+
order: 3,
|
|
30597
|
+
control: "segmented",
|
|
30598
|
+
optionLabels: {
|
|
30599
|
+
auto: "auto",
|
|
30600
|
+
low: "low",
|
|
30601
|
+
high: "high",
|
|
30602
|
+
original: "original"
|
|
30603
|
+
}
|
|
30604
|
+
},
|
|
30605
|
+
default: "auto"
|
|
30606
|
+
},
|
|
30607
|
+
images: {
|
|
30608
|
+
type: "array",
|
|
30609
|
+
items: {
|
|
30610
|
+
oneOf: [
|
|
30611
|
+
{
|
|
30612
|
+
type: "string",
|
|
30613
|
+
format: "uri"
|
|
30614
|
+
},
|
|
30615
|
+
{
|
|
30616
|
+
type: "object",
|
|
30617
|
+
properties: {
|
|
30618
|
+
url: {
|
|
30619
|
+
type: "string",
|
|
30620
|
+
format: "uri"
|
|
30621
|
+
},
|
|
30622
|
+
role: {
|
|
30623
|
+
type: "string",
|
|
30624
|
+
enum: [
|
|
30625
|
+
"default",
|
|
30626
|
+
"reference_image"
|
|
30627
|
+
]
|
|
30628
|
+
}
|
|
30629
|
+
},
|
|
30630
|
+
required: [
|
|
30631
|
+
"url"
|
|
30632
|
+
],
|
|
30633
|
+
additionalProperties: false
|
|
30634
|
+
},
|
|
30635
|
+
{
|
|
30636
|
+
type: "object",
|
|
30637
|
+
properties: {
|
|
30638
|
+
assetId: {
|
|
30639
|
+
type: "string",
|
|
30640
|
+
minLength: 1
|
|
30641
|
+
},
|
|
30642
|
+
role: {
|
|
30643
|
+
type: "string",
|
|
30644
|
+
enum: [
|
|
30645
|
+
"default",
|
|
30646
|
+
"reference_image"
|
|
30647
|
+
]
|
|
30648
|
+
}
|
|
30649
|
+
},
|
|
30650
|
+
required: [
|
|
30651
|
+
"assetId"
|
|
30652
|
+
],
|
|
30653
|
+
additionalProperties: false
|
|
30654
|
+
}
|
|
30655
|
+
]
|
|
30656
|
+
},
|
|
30657
|
+
description: "\u56FE\u7247 URL \u8F93\u5165\u69FD\uFF1B\u652F\u6301\u9ED8\u8BA4\u56FE\u548C\u53C2\u8003\u56FE reference_image\uFF0C\u56FE\u7247\u5FC5\u987B\u53EF\u88AB Azure \u516C\u7F51\u8BBF\u95EE\u3002",
|
|
30658
|
+
minItems: 1,
|
|
30659
|
+
"x-ui": {
|
|
30660
|
+
order: 2,
|
|
30661
|
+
control: "media",
|
|
30662
|
+
roles: [
|
|
30663
|
+
"default",
|
|
30664
|
+
"reference_image"
|
|
30665
|
+
],
|
|
30666
|
+
accept: [
|
|
30667
|
+
"url"
|
|
30668
|
+
]
|
|
30669
|
+
}
|
|
30670
|
+
},
|
|
30671
|
+
instructions: {
|
|
30672
|
+
type: "string",
|
|
30673
|
+
description: "\u7ED9\u6A21\u578B\u7684\u5168\u5C40\u6307\u4EE4\uFF0C\u9002\u5408\u5199\u89D2\u8272\u3001\u8F93\u51FA\u98CE\u683C\u3001\u7EA6\u675F\u548C\u4EFB\u52A1\u80CC\u666F\uFF1B\u4E0D\u4F1A\u66FF\u4EE3 texts \u4E2D\u7684\u7528\u6237\u95EE\u9898\u3002",
|
|
30674
|
+
minLength: 1,
|
|
30675
|
+
"x-ui": {
|
|
30676
|
+
order: 1,
|
|
30677
|
+
control: "textarea"
|
|
30678
|
+
}
|
|
30679
|
+
},
|
|
30680
|
+
is_stream: {
|
|
30681
|
+
type: "boolean",
|
|
30682
|
+
description: "\u662F\u5426\u6D41\u5F0F\u8FD4\u56DE\uFF1B\u5F00\u542F\u540E\u4F1A\u8FB9\u751F\u6210\u8FB9\u8FD4\u56DE\u6587\u672C\u7247\u6BB5\uFF0C\u5173\u95ED\u540E\u7B49\u5F85\u5B8C\u6574\u7ED3\u679C\u4E00\u6B21\u6027\u8FD4\u56DE\u3002",
|
|
30683
|
+
"x-ui": {
|
|
30684
|
+
order: 4,
|
|
30685
|
+
control: "switch"
|
|
30686
|
+
}
|
|
30687
|
+
},
|
|
30688
|
+
max_output_tokens: {
|
|
30689
|
+
type: "integer",
|
|
30690
|
+
description: "Upper bound for visible output and reasoning tokens. The Responses API accepts 16 through 128,000 tokens for this model.",
|
|
30691
|
+
minimum: 16,
|
|
30692
|
+
maximum: 128e3,
|
|
30693
|
+
multipleOf: 1,
|
|
30694
|
+
"x-ui": {
|
|
30695
|
+
order: 5,
|
|
30696
|
+
control: "range"
|
|
30697
|
+
}
|
|
30698
|
+
},
|
|
30699
|
+
previous_response_id: {
|
|
30700
|
+
type: "string",
|
|
30701
|
+
description: "Previous Responses API response ID used to continue a conversation; this request must still include text or image input.",
|
|
30702
|
+
"x-ui": {
|
|
30703
|
+
order: 6,
|
|
30704
|
+
control: "text"
|
|
30705
|
+
}
|
|
30706
|
+
},
|
|
30707
|
+
prompt_cache_key: {
|
|
30708
|
+
type: "string",
|
|
30709
|
+
description: "\u63D0\u793A\u8BCD\u7F13\u5B58\u952E\uFF1B\u76F8\u540C\u524D\u7F00\u5185\u5BB9\u53EF\u4F7F\u7528\u540C\u4E00 key \u63D0\u9AD8\u7F13\u5B58\u547D\u4E2D\u7387\uFF0C\u9002\u5408\u56FA\u5B9A\u7CFB\u7EDF\u63D0\u793A\u8BCD\u573A\u666F\u3002",
|
|
30710
|
+
"x-ui": {
|
|
30711
|
+
order: 7,
|
|
30712
|
+
control: "textarea"
|
|
30713
|
+
}
|
|
30714
|
+
},
|
|
30715
|
+
reasoning_effort: {
|
|
30716
|
+
type: "string",
|
|
30717
|
+
description: "Reasoning effort for GPT-6.1 Sol; none and minimal are unsupported. Medium is the upstream default.",
|
|
30718
|
+
enum: [
|
|
30719
|
+
"low",
|
|
30720
|
+
"medium",
|
|
30721
|
+
"high",
|
|
30722
|
+
"xhigh",
|
|
30723
|
+
"max"
|
|
30724
|
+
],
|
|
30725
|
+
title: "Reasoning effort",
|
|
30726
|
+
"x-ui": {
|
|
30727
|
+
order: 8,
|
|
30728
|
+
control: "segmented",
|
|
30729
|
+
optionLabels: {
|
|
30730
|
+
low: "low",
|
|
30731
|
+
medium: "medium",
|
|
30732
|
+
high: "high",
|
|
30733
|
+
xhigh: "xhigh",
|
|
30734
|
+
max: "max"
|
|
30735
|
+
}
|
|
30736
|
+
},
|
|
30737
|
+
default: "medium"
|
|
30738
|
+
},
|
|
30739
|
+
response_format: {
|
|
30740
|
+
description: "Text, json_object, or a JSON Schema descriptor mapped to Responses API text.format.",
|
|
30741
|
+
anyOf: [
|
|
30742
|
+
{
|
|
30743
|
+
type: "string"
|
|
30744
|
+
},
|
|
30745
|
+
{
|
|
30746
|
+
type: "object",
|
|
30747
|
+
additionalProperties: true
|
|
30748
|
+
}
|
|
30749
|
+
],
|
|
30750
|
+
title: "Response format",
|
|
30751
|
+
"x-ui": {
|
|
30752
|
+
order: 9,
|
|
30753
|
+
control: "json-or-text"
|
|
30754
|
+
}
|
|
30755
|
+
},
|
|
30756
|
+
safety_identifier: {
|
|
30757
|
+
type: "string",
|
|
30758
|
+
description: "Stable privacy-preserving identifier for the end user, limited to 64 characters.",
|
|
30759
|
+
maxLength: 64,
|
|
30760
|
+
"x-ui": {
|
|
30761
|
+
order: 10,
|
|
30762
|
+
control: "text"
|
|
30763
|
+
}
|
|
30764
|
+
},
|
|
30765
|
+
store: {
|
|
30766
|
+
type: "boolean",
|
|
30767
|
+
description: "\u662F\u5426\u5141\u8BB8\u4E0A\u6E38\u4FDD\u5B58\u672C\u6B21 response \u4EE5\u4FBF\u540E\u7EED\u901A\u8FC7 previous_response_id \u63A5\u7EED\uFF1B\u9ED8\u8BA4\u5173\u95ED\u3002",
|
|
30768
|
+
"x-ui": {
|
|
30769
|
+
order: 11,
|
|
30770
|
+
control: "switch"
|
|
30771
|
+
},
|
|
30772
|
+
default: false
|
|
30773
|
+
},
|
|
30774
|
+
texts: {
|
|
30775
|
+
type: "string",
|
|
30776
|
+
description: "User message or instruction to send to the language model.",
|
|
30777
|
+
minLength: 1,
|
|
30778
|
+
title: "Message",
|
|
30779
|
+
"x-ui": {
|
|
30780
|
+
order: 0,
|
|
30781
|
+
control: "textarea"
|
|
30782
|
+
}
|
|
30783
|
+
},
|
|
30784
|
+
verbosity: {
|
|
30785
|
+
type: "string",
|
|
30786
|
+
description: "\u63A7\u5236\u56DE\u7B54\u8BE6\u7565\uFF1Blow \u66F4\u7B80\u77ED\uFF0Cmedium \u9ED8\u8BA4\u5747\u8861\uFF0Chigh \u4F1A\u7ED9\u51FA\u66F4\u5C55\u5F00\u7684\u8BF4\u660E\u3002",
|
|
30787
|
+
enum: [
|
|
30788
|
+
"low",
|
|
30789
|
+
"medium",
|
|
30790
|
+
"high"
|
|
30791
|
+
],
|
|
30792
|
+
"x-ui": {
|
|
30793
|
+
order: 15,
|
|
30794
|
+
control: "segmented",
|
|
30795
|
+
optionLabels: {
|
|
30796
|
+
low: "low",
|
|
30797
|
+
medium: "medium",
|
|
30798
|
+
high: "high"
|
|
30799
|
+
}
|
|
30800
|
+
}
|
|
30801
|
+
}
|
|
30802
|
+
},
|
|
30803
|
+
additionalProperties: false,
|
|
30804
|
+
anyOf: [
|
|
30805
|
+
{
|
|
30806
|
+
required: [
|
|
30807
|
+
"texts"
|
|
30808
|
+
]
|
|
30809
|
+
},
|
|
30810
|
+
{
|
|
30811
|
+
required: [
|
|
30812
|
+
"images"
|
|
30813
|
+
]
|
|
30814
|
+
}
|
|
30815
|
+
]
|
|
30816
|
+
},
|
|
30817
|
+
outputSchema: {
|
|
30818
|
+
type: "object",
|
|
30819
|
+
properties: {
|
|
30820
|
+
text: {
|
|
30821
|
+
type: "string",
|
|
30822
|
+
description: "\u6B63\u6587\uFF1B\u6D41\u5F0F NDJSON \u884C\u5185 `response` \u7247\u6BB5\u540C\u7ED3\u6784"
|
|
30823
|
+
}
|
|
30824
|
+
},
|
|
30825
|
+
additionalProperties: false
|
|
30826
|
+
},
|
|
30827
|
+
metering: {
|
|
30828
|
+
schemaVersion: 1,
|
|
30829
|
+
kind: "token",
|
|
30830
|
+
metrics: [
|
|
30831
|
+
{
|
|
30832
|
+
metric: "requests",
|
|
30833
|
+
requirement: "required"
|
|
30834
|
+
},
|
|
30835
|
+
{
|
|
30836
|
+
metric: "input_tokens",
|
|
30837
|
+
requirement: "required"
|
|
30838
|
+
},
|
|
30839
|
+
{
|
|
30840
|
+
metric: "cached_input_tokens",
|
|
30841
|
+
requirement: "required"
|
|
30842
|
+
},
|
|
30843
|
+
{
|
|
30844
|
+
metric: "cache_write_tokens",
|
|
30845
|
+
requirement: "required"
|
|
30846
|
+
},
|
|
30847
|
+
{
|
|
30848
|
+
metric: "output_tokens",
|
|
30849
|
+
requirement: "required"
|
|
30850
|
+
}
|
|
30851
|
+
]
|
|
30852
|
+
}
|
|
30853
|
+
}
|
|
30854
|
+
],
|
|
30855
|
+
endpoints: [
|
|
30856
|
+
{
|
|
30857
|
+
endpointKey: "responses",
|
|
30858
|
+
operation: "language.generate",
|
|
30859
|
+
protocol: "openai-responses",
|
|
30860
|
+
method: "POST",
|
|
30861
|
+
path: "/v1/responses",
|
|
30862
|
+
capabilities: [
|
|
30863
|
+
"reasoning",
|
|
30864
|
+
"sse",
|
|
30865
|
+
"text",
|
|
30866
|
+
"tool_call"
|
|
30867
|
+
],
|
|
30868
|
+
inputSchema: {
|
|
30869
|
+
type: "object",
|
|
30870
|
+
properties: {
|
|
30871
|
+
model: {
|
|
30872
|
+
type: "string",
|
|
30873
|
+
description: "Nexra \u516C\u5171\u6A21\u578B ID\uFF0C\u5FC5\u987B\u4E0E\u5916\u5C42 modelId \u76F8\u540C\u3002",
|
|
30874
|
+
"x-ui": {
|
|
30875
|
+
order: 0
|
|
30876
|
+
},
|
|
30877
|
+
title: "\u6A21\u578B ID",
|
|
30878
|
+
const: "openai/gpt-6.1-sol",
|
|
30879
|
+
examples: [
|
|
30880
|
+
"openai/gpt-6.1-sol"
|
|
30881
|
+
]
|
|
30882
|
+
},
|
|
30883
|
+
input: {
|
|
30884
|
+
description: "Responses \u6587\u672C\u3001\u6D88\u606F\u6216\u8F93\u5165\u9879\u3002",
|
|
30885
|
+
"x-ui": {
|
|
30886
|
+
order: 2
|
|
30887
|
+
}
|
|
30888
|
+
},
|
|
30889
|
+
instructions: {
|
|
30890
|
+
type: "string",
|
|
30891
|
+
description: "\u7CFB\u7EDF\u6216\u5F00\u53D1\u8005\u6307\u4EE4\u3002",
|
|
30892
|
+
"x-ui": {
|
|
30893
|
+
order: 1
|
|
30894
|
+
}
|
|
30895
|
+
},
|
|
30896
|
+
stream: {
|
|
30897
|
+
type: "boolean",
|
|
30898
|
+
description: "\u662F\u5426\u8FD4\u56DE Responses \u7C7B\u578B\u5316 SSE\u3002",
|
|
30899
|
+
"x-ui": {
|
|
30900
|
+
order: 8
|
|
30901
|
+
},
|
|
30902
|
+
default: false
|
|
30903
|
+
},
|
|
30904
|
+
max_output_tokens: {
|
|
30905
|
+
type: "integer",
|
|
30906
|
+
description: "\u672C\u6B21\u751F\u6210\u5141\u8BB8\u7684\u6700\u5927\u8F93\u51FA token \u6570\u3002",
|
|
30907
|
+
minimum: 16,
|
|
30908
|
+
maximum: 128e3,
|
|
30909
|
+
multipleOf: 1,
|
|
30910
|
+
"x-ui": {
|
|
30911
|
+
order: 7
|
|
30912
|
+
}
|
|
30913
|
+
},
|
|
30914
|
+
previous_response_id: {
|
|
30915
|
+
type: "string"
|
|
30916
|
+
},
|
|
30917
|
+
metadata: {
|
|
30918
|
+
type: "object",
|
|
30919
|
+
additionalProperties: true
|
|
30920
|
+
},
|
|
30921
|
+
tools: {
|
|
30922
|
+
type: "array",
|
|
30923
|
+
items: {
|
|
30924
|
+
type: "object",
|
|
30925
|
+
additionalProperties: true
|
|
30926
|
+
},
|
|
30927
|
+
"x-ui": {
|
|
30928
|
+
order: 3
|
|
30929
|
+
}
|
|
30930
|
+
},
|
|
30931
|
+
tool_choice: {
|
|
30932
|
+
"x-ui": {
|
|
30933
|
+
order: 4
|
|
30934
|
+
}
|
|
30935
|
+
},
|
|
30936
|
+
reasoning: {
|
|
30937
|
+
type: "object",
|
|
30938
|
+
properties: {
|
|
30939
|
+
effort: {
|
|
30940
|
+
type: "string",
|
|
30941
|
+
description: "Reasoning effort for GPT-6.1 Sol; none and minimal are unsupported. Medium is the upstream default.",
|
|
30942
|
+
enum: [
|
|
30943
|
+
"low",
|
|
30944
|
+
"medium",
|
|
30945
|
+
"high",
|
|
30946
|
+
"xhigh",
|
|
30947
|
+
"max"
|
|
30948
|
+
],
|
|
30949
|
+
title: "Reasoning effort",
|
|
30950
|
+
default: "medium"
|
|
30951
|
+
}
|
|
30952
|
+
},
|
|
30953
|
+
additionalProperties: true,
|
|
30954
|
+
"x-ui": {
|
|
30955
|
+
order: 5
|
|
30956
|
+
}
|
|
30957
|
+
},
|
|
30958
|
+
text: {
|
|
30959
|
+
type: "object",
|
|
30960
|
+
properties: {
|
|
30961
|
+
format: {
|
|
30962
|
+
description: "Text, json_object, or a JSON Schema descriptor mapped to Responses API text.format.",
|
|
30963
|
+
anyOf: [
|
|
30964
|
+
{
|
|
30965
|
+
type: "string"
|
|
30966
|
+
},
|
|
30967
|
+
{
|
|
30968
|
+
type: "object",
|
|
30969
|
+
additionalProperties: true
|
|
30970
|
+
}
|
|
30971
|
+
],
|
|
30972
|
+
title: "Response format"
|
|
30973
|
+
},
|
|
30974
|
+
verbosity: {
|
|
30975
|
+
type: "string",
|
|
30976
|
+
description: "\u63A7\u5236\u56DE\u7B54\u8BE6\u7565\uFF1Blow \u66F4\u7B80\u77ED\uFF0Cmedium \u9ED8\u8BA4\u5747\u8861\uFF0Chigh \u4F1A\u7ED9\u51FA\u66F4\u5C55\u5F00\u7684\u8BF4\u660E\u3002",
|
|
30977
|
+
enum: [
|
|
30978
|
+
"low",
|
|
30979
|
+
"medium",
|
|
30980
|
+
"high"
|
|
30981
|
+
]
|
|
30982
|
+
}
|
|
30983
|
+
},
|
|
30984
|
+
additionalProperties: true,
|
|
30985
|
+
"x-ui": {
|
|
30986
|
+
order: 6
|
|
30987
|
+
}
|
|
30988
|
+
},
|
|
30989
|
+
store: {
|
|
30990
|
+
type: "boolean",
|
|
30991
|
+
description: "\u662F\u5426\u5141\u8BB8\u4E0A\u6E38\u4FDD\u5B58\u672C\u6B21 response \u4EE5\u4FBF\u540E\u7EED\u901A\u8FC7 previous_response_id \u63A5\u7EED\uFF1B\u9ED8\u8BA4\u5173\u95ED\u3002"
|
|
30992
|
+
},
|
|
30993
|
+
safety_identifier: {
|
|
30994
|
+
type: "string",
|
|
30995
|
+
description: "Stable privacy-preserving identifier for the end user, limited to 64 characters.",
|
|
30996
|
+
maxLength: 64
|
|
30997
|
+
},
|
|
30998
|
+
prompt_cache_key: {
|
|
30999
|
+
type: "string",
|
|
31000
|
+
description: "\u63D0\u793A\u8BCD\u7F13\u5B58\u952E\uFF1B\u76F8\u540C\u524D\u7F00\u5185\u5BB9\u53EF\u4F7F\u7528\u540C\u4E00 key \u63D0\u9AD8\u7F13\u5B58\u547D\u4E2D\u7387\uFF0C\u9002\u5408\u56FA\u5B9A\u7CFB\u7EDF\u63D0\u793A\u8BCD\u573A\u666F\u3002"
|
|
31001
|
+
}
|
|
31002
|
+
},
|
|
31003
|
+
required: [
|
|
31004
|
+
"model",
|
|
31005
|
+
"input"
|
|
31006
|
+
],
|
|
31007
|
+
additionalProperties: true,
|
|
31008
|
+
allOf: [
|
|
31009
|
+
{
|
|
31010
|
+
not: {
|
|
31011
|
+
anyOf: [
|
|
31012
|
+
{
|
|
31013
|
+
required: [
|
|
31014
|
+
"temperature"
|
|
31015
|
+
]
|
|
31016
|
+
},
|
|
31017
|
+
{
|
|
31018
|
+
required: [
|
|
31019
|
+
"top_p"
|
|
31020
|
+
]
|
|
31021
|
+
}
|
|
31022
|
+
]
|
|
31023
|
+
}
|
|
31024
|
+
}
|
|
31025
|
+
]
|
|
31026
|
+
},
|
|
31027
|
+
outputSchema: {
|
|
31028
|
+
type: "object",
|
|
31029
|
+
description: "\u534F\u8BAE\u539F\u751F\u54CD\u5E94\uFF1B\u6D41\u5F0F\u8BF7\u6C42\u8FD4\u56DE\u8BE5\u534F\u8BAE\u5B9A\u4E49\u7684\u4E8B\u4EF6\u6D41\u3002",
|
|
31030
|
+
additionalProperties: true
|
|
31031
|
+
}
|
|
31032
|
+
}
|
|
31033
|
+
]
|
|
31034
|
+
},
|
|
29789
31035
|
{
|
|
29790
31036
|
id: "openai/gpt-6-luna",
|
|
29791
31037
|
contractVersion: 1,
|
|
@@ -50895,7 +52141,7 @@ var NexraWaitTimeoutError = class extends Error {
|
|
|
50895
52141
|
};
|
|
50896
52142
|
|
|
50897
52143
|
// src/generated/version.generated.ts
|
|
50898
|
-
var SDK_VERSION = "0.1.0-alpha.
|
|
52144
|
+
var SDK_VERSION = "0.1.0-alpha.37";
|
|
50899
52145
|
|
|
50900
52146
|
// src/transport.ts
|
|
50901
52147
|
var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
|
|
@@ -51167,6 +52413,7 @@ var productDisplayNames = /* @__PURE__ */ new Map([
|
|
|
51167
52413
|
["google/gemini-3-8-flash", "Gemini 3.8 Flash"],
|
|
51168
52414
|
["google/gemini-3-pro-image", "Banana Pro"],
|
|
51169
52415
|
["google/gemini-3.1-flash-image", "Banana 2"],
|
|
52416
|
+
["google/gemini-nano-banana-2.1", "Banana 2.1"],
|
|
51170
52417
|
["google/gemini-3.1-flash-lite-image", "Banana 2 Lite"],
|
|
51171
52418
|
["google/gemini-3.1-pro-preview", "Gemini 3.1 Pro"],
|
|
51172
52419
|
["google/gemini-3.5-flash", "Gemini 3.5 Flash"],
|