@byte_fluffy/nexra-sdk 0.1.0-alpha.53 → 0.1.0-alpha.54

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.
@@ -2,7 +2,7 @@ import {
2
2
  normalizePublicErrorInput,
3
3
  pickPublicErrorFields,
4
4
  sortRatioDisplayOrder
5
- } from "./chunk-V3F6VPMP.js";
5
+ } from "./chunk-IOGCXMW3.js";
6
6
 
7
7
  // src/catalog/generated/audio.generated.json
8
8
  var audio_generated_default = [
@@ -4865,6 +4865,332 @@ var image_generated_default = [
4865
4865
  ],
4866
4866
  endpoints: []
4867
4867
  },
4868
+ {
4869
+ id: "bytedance/doubao-seedream-5-5-261028",
4870
+ contractVersion: 1,
4871
+ developer: "bytedance",
4872
+ displayName: "Seedream 5.5",
4873
+ summary: "\u652F\u6301\u56FE\u50CF\u751F\u6210\u3001\u591A\u56FE\u7F16\u8F91\u3001\u539F\u751F\u900F\u660E\u56FE\u4E0E\u6700\u591A 100 \u5F20\u8F93\u51FA\u7684\u56FE\u5C42\u62C6\u5206\u3002",
4874
+ kind: "image",
4875
+ family: "Doubao Seedream",
4876
+ versionLabel: "5.5",
4877
+ aliases: [
4878
+ "seedream-5-5",
4879
+ "seedream-5.5",
4880
+ "volcengine/doubao-seedream-5-5-261028"
4881
+ ],
4882
+ capabilities: {
4883
+ inputModalities: [
4884
+ "text",
4885
+ "image"
4886
+ ],
4887
+ outputModalities: [
4888
+ "image"
4889
+ ],
4890
+ inputModes: [
4891
+ "text-to-image",
4892
+ "image-to-image"
4893
+ ],
4894
+ features: []
4895
+ },
4896
+ operations: [
4897
+ {
4898
+ operation: "image.generate",
4899
+ inputModalities: [
4900
+ "text",
4901
+ "image"
4902
+ ],
4903
+ outputModalities: [
4904
+ "image"
4905
+ ],
4906
+ inputSchema: {
4907
+ $schema: "https://json-schema.org/draft/2020-12/schema",
4908
+ type: "object",
4909
+ properties: {
4910
+ content: {
4911
+ type: "array",
4912
+ minItems: 1,
4913
+ items: {
4914
+ oneOf: [
4915
+ {
4916
+ type: "object",
4917
+ properties: {
4918
+ type: {
4919
+ const: "text"
4920
+ },
4921
+ text: {
4922
+ type: "string",
4923
+ minLength: 1
4924
+ },
4925
+ role: {
4926
+ const: "prompt",
4927
+ title: "\u7528\u9014"
4928
+ }
4929
+ },
4930
+ required: [
4931
+ "type",
4932
+ "text"
4933
+ ],
4934
+ additionalProperties: false
4935
+ },
4936
+ {
4937
+ type: "object",
4938
+ properties: {
4939
+ type: {
4940
+ const: "image"
4941
+ },
4942
+ source: {
4943
+ oneOf: [
4944
+ {
4945
+ type: "string",
4946
+ minLength: 1,
4947
+ format: "uri"
4948
+ },
4949
+ {
4950
+ type: "object",
4951
+ properties: {
4952
+ assetId: {
4953
+ type: "string",
4954
+ minLength: 1
4955
+ }
4956
+ },
4957
+ required: [
4958
+ "assetId"
4959
+ ],
4960
+ additionalProperties: false
4961
+ }
4962
+ ]
4963
+ },
4964
+ role: {
4965
+ type: "string",
4966
+ enum: [
4967
+ "source",
4968
+ "reference"
4969
+ ],
4970
+ title: "\u7528\u9014"
4971
+ }
4972
+ },
4973
+ required: [
4974
+ "type",
4975
+ "source"
4976
+ ],
4977
+ additionalProperties: false
4978
+ }
4979
+ ]
4980
+ },
4981
+ "x-ui": {
4982
+ control: "content-parts",
4983
+ order: 0
4984
+ },
4985
+ title: "\u8F93\u5165\u5185\u5BB9",
4986
+ 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",
4987
+ maxItems: 11,
4988
+ allOf: [
4989
+ {
4990
+ contains: {
4991
+ type: "object",
4992
+ properties: {
4993
+ type: {
4994
+ const: "text"
4995
+ }
4996
+ },
4997
+ required: [
4998
+ "type"
4999
+ ]
5000
+ },
5001
+ minContains: 0,
5002
+ maxContains: 1
5003
+ },
5004
+ {
5005
+ contains: {
5006
+ type: "object",
5007
+ properties: {
5008
+ type: {
5009
+ const: "image"
5010
+ }
5011
+ },
5012
+ required: [
5013
+ "type"
5014
+ ]
5015
+ },
5016
+ minContains: 0,
5017
+ maxContains: 10
5018
+ }
5019
+ ]
5020
+ },
5021
+ output_format: {
5022
+ type: "string",
5023
+ enum: [
5024
+ "png",
5025
+ "jpeg"
5026
+ ],
5027
+ title: "\u56FE\u7247\u683C\u5F0F",
5028
+ "x-ui": {
5029
+ order: 14,
5030
+ control: "segmented",
5031
+ optionLabels: {
5032
+ png: "PNG",
5033
+ jpeg: "JPEG"
5034
+ }
5035
+ },
5036
+ default: "png"
5037
+ },
5038
+ aspect_ratio: {
5039
+ type: "string",
5040
+ enum: [
5041
+ "1:1",
5042
+ "4:3",
5043
+ "3:4",
5044
+ "16:9",
5045
+ "9:16",
5046
+ "3:2",
5047
+ "2:3",
5048
+ "21:9"
5049
+ ],
5050
+ default: "1:1",
5051
+ title: "\u753B\u9762\u6BD4\u4F8B",
5052
+ description: "\u9009\u62E9\u8F93\u51FA\u753B\u9762\u7684\u5BBD\u9AD8\u6BD4\u4F8B\u3002",
5053
+ "x-ui": {
5054
+ order: 10,
5055
+ control: "segmented"
5056
+ }
5057
+ },
5058
+ resolution: {
5059
+ type: "string",
5060
+ enum: [
5061
+ "1K",
5062
+ "1.5K",
5063
+ "2K"
5064
+ ],
5065
+ default: "2K",
5066
+ title: "\u5206\u8FA8\u7387",
5067
+ description: "\u9009\u62E9\u8F93\u51FA\u56FE\u7247\u7684\u5206\u8FA8\u7387\u6863\u4F4D\u3002",
5068
+ "x-ui": {
5069
+ order: 11,
5070
+ control: "segmented"
5071
+ }
5072
+ },
5073
+ output_mode: {
5074
+ type: "string",
5075
+ enum: [
5076
+ "image",
5077
+ "layers"
5078
+ ],
5079
+ title: "\u8F93\u51FA\u6A21\u5F0F",
5080
+ "x-ui": {
5081
+ hidden: true
5082
+ }
5083
+ },
5084
+ prompt_optimization: {
5085
+ type: "string",
5086
+ enum: [
5087
+ "standard"
5088
+ ],
5089
+ title: "\u4F18\u5316\u6A21\u5F0F",
5090
+ "x-ui": {
5091
+ hidden: true
5092
+ }
5093
+ }
5094
+ },
5095
+ required: [
5096
+ "content"
5097
+ ],
5098
+ additionalProperties: false,
5099
+ allOf: [
5100
+ {
5101
+ if: {
5102
+ properties: {
5103
+ output_mode: {
5104
+ const: "layers"
5105
+ }
5106
+ },
5107
+ required: [
5108
+ "output_mode"
5109
+ ]
5110
+ },
5111
+ then: {
5112
+ properties: {
5113
+ content: {
5114
+ type: "array",
5115
+ minItems: 1,
5116
+ maxItems: 2,
5117
+ allOf: [
5118
+ {
5119
+ type: "array",
5120
+ contains: {
5121
+ type: "object",
5122
+ properties: {
5123
+ type: {
5124
+ const: "image"
5125
+ }
5126
+ },
5127
+ required: [
5128
+ "type"
5129
+ ]
5130
+ },
5131
+ minContains: 1,
5132
+ maxContains: 1
5133
+ }
5134
+ ]
5135
+ },
5136
+ aspect_ratio: false,
5137
+ output_format: {
5138
+ const: "png"
5139
+ }
5140
+ }
5141
+ },
5142
+ else: {
5143
+ properties: {
5144
+ content: {
5145
+ type: "array",
5146
+ allOf: [
5147
+ {
5148
+ type: "array",
5149
+ contains: {
5150
+ type: "object",
5151
+ properties: {
5152
+ type: {
5153
+ const: "text"
5154
+ }
5155
+ },
5156
+ required: [
5157
+ "type"
5158
+ ]
5159
+ },
5160
+ minContains: 1,
5161
+ maxContains: 1
5162
+ }
5163
+ ]
5164
+ },
5165
+ prompt_optimization: false
5166
+ }
5167
+ }
5168
+ }
5169
+ ]
5170
+ },
5171
+ outputSchema: {},
5172
+ metering: {
5173
+ schemaVersion: 1,
5174
+ kind: "non_token",
5175
+ metrics: [
5176
+ {
5177
+ metric: "requests",
5178
+ requirement: "required"
5179
+ },
5180
+ {
5181
+ metric: "input_images",
5182
+ requirement: "required"
5183
+ },
5184
+ {
5185
+ metric: "output_images",
5186
+ requirement: "required"
5187
+ }
5188
+ ]
5189
+ }
5190
+ }
5191
+ ],
5192
+ endpoints: []
5193
+ },
4868
5194
  {
4869
5195
  id: "bytedance/image-enhancement",
4870
5196
  contractVersion: 1,
@@ -28006,7 +28332,915 @@ var language_generated_default = [
28006
28332
  contents: {
28007
28333
  type: "array",
28008
28334
  minItems: 1,
28009
- description: "Gemini contents \u5217\u8868\u3002",
28335
+ description: "Gemini contents \u5217\u8868\u3002",
28336
+ items: {
28337
+ type: "object",
28338
+ additionalProperties: true
28339
+ },
28340
+ "x-ui": {
28341
+ order: 1
28342
+ }
28343
+ },
28344
+ systemInstruction: {
28345
+ type: "object",
28346
+ additionalProperties: true,
28347
+ "x-ui": {
28348
+ order: 0
28349
+ }
28350
+ },
28351
+ generationConfig: {
28352
+ type: "object",
28353
+ description: "\u6A21\u578B\u751F\u6210\u53C2\u6570\uFF1B\u5DF2\u77E5\u9650\u5236\u7531\u5177\u4F53\u6A21\u578B\u6536\u7A84\u3002",
28354
+ properties: {
28355
+ maxOutputTokens: {
28356
+ type: "integer",
28357
+ minimum: 1,
28358
+ maximum: 65536,
28359
+ title: "Maximum output tokens",
28360
+ description: "Maximum number of response and reasoning tokens to generate."
28361
+ },
28362
+ thinkingConfig: {
28363
+ type: "object",
28364
+ properties: {
28365
+ thinkingLevel: {
28366
+ type: "string",
28367
+ enum: [
28368
+ "low",
28369
+ "medium",
28370
+ "high",
28371
+ "LOW",
28372
+ "MEDIUM",
28373
+ "HIGH"
28374
+ ],
28375
+ title: "Thinking level",
28376
+ description: "Amount of reasoning the model should perform before returning its response.",
28377
+ default: "medium"
28378
+ },
28379
+ includeThoughts: {
28380
+ type: "boolean",
28381
+ description: "Whether to include thought parts in the response. This does not enable or disable reasoning; Gemini thinking is controlled by thinking_level.",
28382
+ title: "Include thoughts"
28383
+ },
28384
+ thinkingBudget: false
28385
+ },
28386
+ additionalProperties: true
28387
+ },
28388
+ temperature: false,
28389
+ topP: false,
28390
+ topK: false,
28391
+ candidateCount: false,
28392
+ frequencyPenalty: false,
28393
+ presencePenalty: false
28394
+ },
28395
+ additionalProperties: true,
28396
+ "x-ui": {
28397
+ order: 4
28398
+ }
28399
+ },
28400
+ tools: {
28401
+ type: "array",
28402
+ items: {
28403
+ type: "object",
28404
+ additionalProperties: true
28405
+ },
28406
+ "x-ui": {
28407
+ order: 2
28408
+ }
28409
+ },
28410
+ toolConfig: {
28411
+ type: "object",
28412
+ additionalProperties: true,
28413
+ "x-ui": {
28414
+ order: 3
28415
+ }
28416
+ }
28417
+ },
28418
+ required: [
28419
+ "contents"
28420
+ ],
28421
+ additionalProperties: true
28422
+ },
28423
+ outputSchema: {
28424
+ type: "object",
28425
+ description: "\u534F\u8BAE\u539F\u751F\u54CD\u5E94\uFF1B\u6D41\u5F0F\u8BF7\u6C42\u8FD4\u56DE\u8BE5\u534F\u8BAE\u5B9A\u4E49\u7684\u4E8B\u4EF6\u6D41\u3002",
28426
+ additionalProperties: true
28427
+ }
28428
+ },
28429
+ {
28430
+ endpointKey: "responses",
28431
+ operation: "language.generate",
28432
+ protocol: "openai-responses",
28433
+ method: "POST",
28434
+ path: "/v1/responses",
28435
+ capabilities: [
28436
+ "reasoning",
28437
+ "sse",
28438
+ "text",
28439
+ "tool_call"
28440
+ ],
28441
+ inputSchema: {
28442
+ type: "object",
28443
+ properties: {
28444
+ model: {
28445
+ type: "string",
28446
+ description: "Nexra \u516C\u5171\u6A21\u578B ID\uFF0C\u5FC5\u987B\u4E0E\u5916\u5C42 modelId \u76F8\u540C\u3002",
28447
+ "x-ui": {
28448
+ order: 0
28449
+ },
28450
+ title: "\u6A21\u578B ID",
28451
+ const: "google/gemini-3-8-flash",
28452
+ examples: [
28453
+ "google/gemini-3-8-flash"
28454
+ ]
28455
+ },
28456
+ input: {
28457
+ description: "Responses \u6587\u672C\u3001\u6D88\u606F\u6216\u8F93\u5165\u9879\u3002",
28458
+ "x-ui": {
28459
+ order: 2
28460
+ }
28461
+ },
28462
+ instructions: {
28463
+ type: "string",
28464
+ description: "\u7CFB\u7EDF\u6216\u5F00\u53D1\u8005\u6307\u4EE4\u3002",
28465
+ "x-ui": {
28466
+ order: 1
28467
+ }
28468
+ },
28469
+ stream: {
28470
+ type: "boolean",
28471
+ description: "\u662F\u5426\u8FD4\u56DE Responses \u7C7B\u578B\u5316 SSE\u3002",
28472
+ "x-ui": {
28473
+ order: 7
28474
+ },
28475
+ default: false
28476
+ },
28477
+ max_output_tokens: {
28478
+ type: "integer",
28479
+ minimum: 1,
28480
+ maximum: 65536,
28481
+ title: "Maximum output tokens",
28482
+ description: "\u672C\u6B21\u751F\u6210\u5141\u8BB8\u7684\u6700\u5927\u8F93\u51FA token \u6570\u3002",
28483
+ "x-ui": {
28484
+ order: 6
28485
+ }
28486
+ },
28487
+ previous_response_id: {
28488
+ type: "string"
28489
+ },
28490
+ metadata: {
28491
+ type: "object",
28492
+ additionalProperties: true
28493
+ },
28494
+ tools: {
28495
+ type: "array",
28496
+ items: {
28497
+ type: "object",
28498
+ additionalProperties: true
28499
+ },
28500
+ "x-ui": {
28501
+ order: 3
28502
+ }
28503
+ },
28504
+ tool_choice: {
28505
+ "x-ui": {
28506
+ order: 4
28507
+ }
28508
+ },
28509
+ reasoning: {
28510
+ type: "object",
28511
+ properties: {
28512
+ effort: {
28513
+ type: "string",
28514
+ enum: [
28515
+ "low",
28516
+ "medium",
28517
+ "high"
28518
+ ],
28519
+ default: "medium"
28520
+ },
28521
+ summary: {
28522
+ type: "string",
28523
+ enum: [
28524
+ "auto",
28525
+ "concise",
28526
+ "detailed"
28527
+ ]
28528
+ }
28529
+ },
28530
+ additionalProperties: true,
28531
+ "x-ui": {
28532
+ order: 5
28533
+ }
28534
+ }
28535
+ },
28536
+ required: [
28537
+ "model",
28538
+ "input"
28539
+ ],
28540
+ additionalProperties: true
28541
+ },
28542
+ outputSchema: {
28543
+ type: "object",
28544
+ description: "\u534F\u8BAE\u539F\u751F\u54CD\u5E94\uFF1B\u6D41\u5F0F\u8BF7\u6C42\u8FD4\u56DE\u8BE5\u534F\u8BAE\u5B9A\u4E49\u7684\u4E8B\u4EF6\u6D41\u3002",
28545
+ additionalProperties: true
28546
+ }
28547
+ }
28548
+ ]
28549
+ },
28550
+ {
28551
+ id: "google/gemini-4-argon",
28552
+ contractVersion: 1,
28553
+ developer: "google",
28554
+ displayName: "Gemini 4 Argon",
28555
+ summary: "Generate multimodal text responses with Gemini 4 Argon using native Gemini contents, client-side tools, structured output, and low, medium, or high thinking.",
28556
+ kind: "language",
28557
+ family: "Gemini Argon",
28558
+ versionLabel: "4",
28559
+ aliases: [
28560
+ "gemini-4-argon"
28561
+ ],
28562
+ capabilities: {
28563
+ inputModalities: [
28564
+ "text",
28565
+ "image",
28566
+ "video",
28567
+ "audio"
28568
+ ],
28569
+ outputModalities: [
28570
+ "text"
28571
+ ],
28572
+ inputModes: [
28573
+ "text-to-text",
28574
+ "multimodal-to-text"
28575
+ ],
28576
+ features: [
28577
+ "reasoning",
28578
+ "function-calling"
28579
+ ],
28580
+ contextWindowTokens: 1048576,
28581
+ maxOutputTokens: 65536
28582
+ },
28583
+ operations: [
28584
+ {
28585
+ operation: "language.generate",
28586
+ inputModalities: [
28587
+ "text",
28588
+ "image",
28589
+ "video",
28590
+ "audio"
28591
+ ],
28592
+ outputModalities: [
28593
+ "text"
28594
+ ],
28595
+ inputSchema: {
28596
+ type: "object",
28597
+ properties: {
28598
+ audios: {
28599
+ type: "array",
28600
+ items: {
28601
+ oneOf: [
28602
+ {
28603
+ type: "string",
28604
+ format: "uri"
28605
+ },
28606
+ {
28607
+ type: "object",
28608
+ properties: {
28609
+ url: {
28610
+ type: "string",
28611
+ format: "uri"
28612
+ },
28613
+ role: {
28614
+ type: "string",
28615
+ enum: [
28616
+ "default"
28617
+ ]
28618
+ }
28619
+ },
28620
+ required: [
28621
+ "url"
28622
+ ],
28623
+ additionalProperties: false
28624
+ },
28625
+ {
28626
+ type: "object",
28627
+ properties: {
28628
+ assetId: {
28629
+ type: "string",
28630
+ minLength: 1
28631
+ },
28632
+ role: {
28633
+ type: "string",
28634
+ enum: [
28635
+ "default"
28636
+ ]
28637
+ }
28638
+ },
28639
+ required: [
28640
+ "assetId"
28641
+ ],
28642
+ additionalProperties: false
28643
+ }
28644
+ ]
28645
+ },
28646
+ description: "Audio inputs; assign a role when the model exposes role-specific behavior.",
28647
+ minItems: 1,
28648
+ maxItems: 1,
28649
+ "x-ui": {
28650
+ order: 4,
28651
+ control: "media",
28652
+ roles: [
28653
+ "default"
28654
+ ],
28655
+ accept: [
28656
+ "url"
28657
+ ]
28658
+ }
28659
+ },
28660
+ contents: {
28661
+ type: "array",
28662
+ description: "Full Gemini contents history. When provided, it replaces automatic message and media assembly.",
28663
+ minItems: 1,
28664
+ items: {
28665
+ type: "object",
28666
+ additionalProperties: true,
28667
+ description: "A provider-native Gemini Content object containing a role and parts."
28668
+ },
28669
+ "x-ui": {
28670
+ order: 1,
28671
+ control: "json"
28672
+ }
28673
+ },
28674
+ function_calling_config: {
28675
+ type: "object",
28676
+ description: "Shorthand for tool_config.function_calling_config.",
28677
+ "x-ui": {
28678
+ order: 5,
28679
+ control: "json"
28680
+ }
28681
+ },
28682
+ images: {
28683
+ type: "array",
28684
+ items: {
28685
+ oneOf: [
28686
+ {
28687
+ type: "string",
28688
+ format: "uri"
28689
+ },
28690
+ {
28691
+ type: "object",
28692
+ properties: {
28693
+ url: {
28694
+ type: "string",
28695
+ format: "uri"
28696
+ },
28697
+ role: {
28698
+ type: "string",
28699
+ enum: [
28700
+ "default"
28701
+ ]
28702
+ }
28703
+ },
28704
+ required: [
28705
+ "url"
28706
+ ],
28707
+ additionalProperties: false
28708
+ },
28709
+ {
28710
+ type: "object",
28711
+ properties: {
28712
+ assetId: {
28713
+ type: "string",
28714
+ minLength: 1
28715
+ },
28716
+ role: {
28717
+ type: "string",
28718
+ enum: [
28719
+ "default"
28720
+ ]
28721
+ }
28722
+ },
28723
+ required: [
28724
+ "assetId"
28725
+ ],
28726
+ additionalProperties: false
28727
+ }
28728
+ ]
28729
+ },
28730
+ description: "Image inputs; assign a role when the model exposes role-specific behavior.",
28731
+ minItems: 1,
28732
+ maxItems: 3e3,
28733
+ "x-ui": {
28734
+ order: 2,
28735
+ control: "media",
28736
+ roles: [
28737
+ "default"
28738
+ ],
28739
+ accept: [
28740
+ "url"
28741
+ ]
28742
+ }
28743
+ },
28744
+ is_stream: {
28745
+ type: "boolean",
28746
+ description: "Whether to stream response events as they are generated.",
28747
+ "x-ui": {
28748
+ order: 6,
28749
+ control: "switch"
28750
+ }
28751
+ },
28752
+ is_thinking: {
28753
+ type: "boolean",
28754
+ description: "Whether to include thought parts in the response. This does not enable or disable reasoning.",
28755
+ title: "Include thoughts",
28756
+ "x-ui": {
28757
+ order: 7,
28758
+ control: "switch"
28759
+ }
28760
+ },
28761
+ texts: {
28762
+ type: "string",
28763
+ description: "User message or instruction to send to the language model.",
28764
+ minLength: 1,
28765
+ title: "Message",
28766
+ "x-ui": {
28767
+ order: 0,
28768
+ control: "textarea"
28769
+ }
28770
+ },
28771
+ thinking_level: {
28772
+ type: "string",
28773
+ enum: [
28774
+ "low",
28775
+ "medium",
28776
+ "high"
28777
+ ],
28778
+ title: "Thinking level",
28779
+ description: "Amount of reasoning the model should perform before returning its response.",
28780
+ "x-ui": {
28781
+ order: 9,
28782
+ control: "segmented"
28783
+ },
28784
+ default: "medium"
28785
+ },
28786
+ tool_config: {
28787
+ type: "object",
28788
+ description: "Gemini ToolConfig including functionCallingConfig or function_calling_config, mode, and allowedFunctionNames.",
28789
+ "x-ui": {
28790
+ order: 10,
28791
+ control: "json"
28792
+ }
28793
+ },
28794
+ tools: {
28795
+ type: "array",
28796
+ description: "Gemini tools using REST functionDeclarations or SDK function_declarations.",
28797
+ "x-ui": {
28798
+ order: 11,
28799
+ control: "json"
28800
+ }
28801
+ },
28802
+ videos: {
28803
+ type: "array",
28804
+ items: {
28805
+ oneOf: [
28806
+ {
28807
+ type: "string",
28808
+ format: "uri"
28809
+ },
28810
+ {
28811
+ type: "object",
28812
+ properties: {
28813
+ url: {
28814
+ type: "string",
28815
+ format: "uri"
28816
+ },
28817
+ role: {
28818
+ type: "string",
28819
+ enum: [
28820
+ "default"
28821
+ ]
28822
+ }
28823
+ },
28824
+ required: [
28825
+ "url"
28826
+ ],
28827
+ additionalProperties: false
28828
+ },
28829
+ {
28830
+ type: "object",
28831
+ properties: {
28832
+ assetId: {
28833
+ type: "string",
28834
+ minLength: 1
28835
+ },
28836
+ role: {
28837
+ type: "string",
28838
+ enum: [
28839
+ "default"
28840
+ ]
28841
+ }
28842
+ },
28843
+ required: [
28844
+ "assetId"
28845
+ ],
28846
+ additionalProperties: false
28847
+ }
28848
+ ]
28849
+ },
28850
+ description: "Video inputs; assign a role when the model exposes role-specific behavior.",
28851
+ minItems: 1,
28852
+ maxItems: 10,
28853
+ "x-ui": {
28854
+ order: 3,
28855
+ control: "media",
28856
+ roles: [
28857
+ "default"
28858
+ ],
28859
+ accept: [
28860
+ "url"
28861
+ ]
28862
+ }
28863
+ },
28864
+ max_output_tokens: {
28865
+ type: "integer",
28866
+ minimum: 1,
28867
+ maximum: 65536,
28868
+ title: "Maximum output tokens",
28869
+ description: "Maximum response and thinking tokens within the shared input and output context.",
28870
+ "x-ui": {
28871
+ order: 8,
28872
+ control: "number"
28873
+ }
28874
+ }
28875
+ },
28876
+ additionalProperties: false,
28877
+ anyOf: [
28878
+ {
28879
+ required: [
28880
+ "texts"
28881
+ ]
28882
+ },
28883
+ {
28884
+ required: [
28885
+ "contents"
28886
+ ]
28887
+ }
28888
+ ],
28889
+ allOf: [
28890
+ {
28891
+ if: {
28892
+ properties: {
28893
+ is_stream: {
28894
+ const: true
28895
+ }
28896
+ },
28897
+ required: [
28898
+ "is_stream"
28899
+ ]
28900
+ },
28901
+ then: {},
28902
+ else: {
28903
+ properties: {
28904
+ max_output_tokens: {
28905
+ maximum: 32768,
28906
+ type: "integer"
28907
+ }
28908
+ }
28909
+ }
28910
+ }
28911
+ ]
28912
+ },
28913
+ outputSchema: {
28914
+ type: "object",
28915
+ properties: {
28916
+ text: {
28917
+ type: "string",
28918
+ description: "Response body; each response fragment in streaming NDJSON uses the same structure."
28919
+ },
28920
+ reasoning: {
28921
+ type: "string",
28922
+ description: "Thinking content returned in thought parts."
28923
+ },
28924
+ function_calls: {
28925
+ type: "array",
28926
+ items: {
28927
+ type: "object"
28928
+ },
28929
+ description: "Gemini function calls containing name, args, and optionally id."
28930
+ }
28931
+ },
28932
+ additionalProperties: false
28933
+ },
28934
+ metering: {
28935
+ schemaVersion: 1,
28936
+ kind: "token",
28937
+ metrics: [
28938
+ {
28939
+ metric: "requests",
28940
+ requirement: "required"
28941
+ },
28942
+ {
28943
+ metric: "input_tokens",
28944
+ requirement: "required"
28945
+ },
28946
+ {
28947
+ metric: "cached_input_tokens",
28948
+ requirement: "informational"
28949
+ },
28950
+ {
28951
+ metric: "output_tokens",
28952
+ requirement: "required"
28953
+ }
28954
+ ]
28955
+ }
28956
+ }
28957
+ ],
28958
+ endpoints: [
28959
+ {
28960
+ endpointKey: "generate-content",
28961
+ operation: "language.generate",
28962
+ protocol: "gemini-generate-content",
28963
+ method: "POST",
28964
+ path: "/v1beta/models/{model}:generateContent",
28965
+ capabilities: [
28966
+ "reasoning",
28967
+ "sse",
28968
+ "text",
28969
+ "tool_call"
28970
+ ],
28971
+ httpOperations: [
28972
+ {
28973
+ key: "generate",
28974
+ kind: "generate",
28975
+ httpMethod: "POST",
28976
+ pathTemplate: "/v1beta/models/{model}:generateContent",
28977
+ schemaProjection: "request",
28978
+ responseStatus: 200,
28979
+ documentationUrl: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-argon",
28980
+ bodyParameters: {
28981
+ type: "object",
28982
+ properties: {
28983
+ contents: {
28984
+ type: "array",
28985
+ minItems: 1,
28986
+ description: "Ordered Gemini contents with roles and parts.",
28987
+ items: {
28988
+ type: "object",
28989
+ additionalProperties: true
28990
+ },
28991
+ "x-ui": {
28992
+ order: 1
28993
+ }
28994
+ },
28995
+ systemInstruction: {
28996
+ type: "object",
28997
+ additionalProperties: true,
28998
+ "x-ui": {
28999
+ order: 0
29000
+ }
29001
+ },
29002
+ generationConfig: {
29003
+ type: "object",
29004
+ description: "Generation settings supported by this model.",
29005
+ properties: {
29006
+ maxOutputTokens: {
29007
+ type: "integer",
29008
+ minimum: 1,
29009
+ maximum: 32768,
29010
+ title: "Maximum output tokens",
29011
+ description: "Maximum response and thinking tokens within the shared input and output context."
29012
+ },
29013
+ thinkingConfig: {
29014
+ type: "object",
29015
+ properties: {
29016
+ thinkingLevel: {
29017
+ type: "string",
29018
+ enum: [
29019
+ "LOW",
29020
+ "MEDIUM",
29021
+ "HIGH"
29022
+ ],
29023
+ title: "Thinking level",
29024
+ description: "Amount of reasoning the model should perform before returning its response.",
29025
+ default: "MEDIUM"
29026
+ },
29027
+ includeThoughts: {
29028
+ type: "boolean",
29029
+ description: "Whether to include thought parts in the response. This does not enable or disable reasoning.",
29030
+ title: "Include thoughts"
29031
+ },
29032
+ thinkingBudget: false
29033
+ },
29034
+ additionalProperties: true
29035
+ },
29036
+ temperature: false,
29037
+ topP: false,
29038
+ topK: false,
29039
+ candidateCount: false,
29040
+ frequencyPenalty: false,
29041
+ presencePenalty: false
29042
+ },
29043
+ additionalProperties: true,
29044
+ "x-ui": {
29045
+ order: 4
29046
+ }
29047
+ },
29048
+ tools: {
29049
+ type: "array",
29050
+ items: {
29051
+ type: "object",
29052
+ additionalProperties: true
29053
+ },
29054
+ "x-ui": {
29055
+ order: 2
29056
+ }
29057
+ },
29058
+ toolConfig: {
29059
+ type: "object",
29060
+ additionalProperties: true,
29061
+ "x-ui": {
29062
+ order: 3
29063
+ }
29064
+ },
29065
+ cachedContent: false,
29066
+ continuationToken: false,
29067
+ continuation_token: false,
29068
+ cached_content: false
29069
+ },
29070
+ required: [
29071
+ "contents"
29072
+ ],
29073
+ additionalProperties: true,
29074
+ examples: [
29075
+ {
29076
+ contents: [
29077
+ {
29078
+ role: "user",
29079
+ parts: [
29080
+ {
29081
+ text: "Explain how durable task execution prevents duplicate work."
29082
+ }
29083
+ ]
29084
+ }
29085
+ ],
29086
+ generationConfig: {
29087
+ thinkingConfig: {
29088
+ thinkingLevel: "MEDIUM"
29089
+ },
29090
+ maxOutputTokens: 2048
29091
+ }
29092
+ }
29093
+ ]
29094
+ }
29095
+ },
29096
+ {
29097
+ key: "stream",
29098
+ kind: "stream",
29099
+ httpMethod: "POST",
29100
+ pathTemplate: "/v1beta/models/{model}:streamGenerateContent",
29101
+ schemaProjection: "request",
29102
+ responseStatus: 200,
29103
+ documentationUrl: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-argon",
29104
+ bodyParameters: {
29105
+ type: "object",
29106
+ properties: {
29107
+ contents: {
29108
+ type: "array",
29109
+ minItems: 1,
29110
+ description: "Ordered Gemini contents with roles and parts.",
29111
+ items: {
29112
+ type: "object",
29113
+ additionalProperties: true
29114
+ },
29115
+ "x-ui": {
29116
+ order: 1
29117
+ }
29118
+ },
29119
+ systemInstruction: {
29120
+ type: "object",
29121
+ additionalProperties: true,
29122
+ "x-ui": {
29123
+ order: 0
29124
+ }
29125
+ },
29126
+ generationConfig: {
29127
+ type: "object",
29128
+ description: "Generation settings supported by this model.",
29129
+ properties: {
29130
+ maxOutputTokens: {
29131
+ type: "integer",
29132
+ minimum: 1,
29133
+ maximum: 65536,
29134
+ title: "Maximum output tokens",
29135
+ description: "Maximum response and thinking tokens within the shared input and output context."
29136
+ },
29137
+ thinkingConfig: {
29138
+ type: "object",
29139
+ properties: {
29140
+ thinkingLevel: {
29141
+ type: "string",
29142
+ enum: [
29143
+ "LOW",
29144
+ "MEDIUM",
29145
+ "HIGH"
29146
+ ],
29147
+ title: "Thinking level",
29148
+ description: "Amount of reasoning the model should perform before returning its response.",
29149
+ default: "MEDIUM"
29150
+ },
29151
+ includeThoughts: {
29152
+ type: "boolean",
29153
+ description: "Whether to include thought parts in the response. This does not enable or disable reasoning.",
29154
+ title: "Include thoughts"
29155
+ },
29156
+ thinkingBudget: false
29157
+ },
29158
+ additionalProperties: true
29159
+ },
29160
+ temperature: false,
29161
+ topP: false,
29162
+ topK: false,
29163
+ candidateCount: false,
29164
+ frequencyPenalty: false,
29165
+ presencePenalty: false
29166
+ },
29167
+ additionalProperties: true,
29168
+ "x-ui": {
29169
+ order: 4
29170
+ }
29171
+ },
29172
+ tools: {
29173
+ type: "array",
29174
+ items: {
29175
+ type: "object",
29176
+ additionalProperties: true
29177
+ },
29178
+ "x-ui": {
29179
+ order: 2
29180
+ }
29181
+ },
29182
+ toolConfig: {
29183
+ type: "object",
29184
+ additionalProperties: true,
29185
+ "x-ui": {
29186
+ order: 3
29187
+ }
29188
+ },
29189
+ cachedContent: false,
29190
+ continuationToken: false,
29191
+ continuation_token: false,
29192
+ cached_content: false
29193
+ },
29194
+ required: [
29195
+ "contents"
29196
+ ],
29197
+ additionalProperties: true,
29198
+ examples: [
29199
+ {
29200
+ contents: [
29201
+ {
29202
+ role: "user",
29203
+ parts: [
29204
+ {
29205
+ text: "Explain how durable task execution prevents duplicate work."
29206
+ }
29207
+ ]
29208
+ }
29209
+ ],
29210
+ generationConfig: {
29211
+ thinkingConfig: {
29212
+ thinkingLevel: "MEDIUM"
29213
+ },
29214
+ maxOutputTokens: 2048
29215
+ }
29216
+ }
29217
+ ]
29218
+ },
29219
+ queryParameters: {
29220
+ type: "object",
29221
+ properties: {
29222
+ alt: {
29223
+ type: "string",
29224
+ enum: [
29225
+ "sse"
29226
+ ],
29227
+ description: "Use SSE framing for streaming Gemini responses.",
29228
+ examples: [
29229
+ "sse"
29230
+ ]
29231
+ }
29232
+ },
29233
+ additionalProperties: true
29234
+ }
29235
+ }
29236
+ ],
29237
+ inputSchema: {
29238
+ type: "object",
29239
+ properties: {
29240
+ contents: {
29241
+ type: "array",
29242
+ minItems: 1,
29243
+ description: "Ordered Gemini contents with roles and parts.",
28010
29244
  items: {
28011
29245
  type: "object",
28012
29246
  additionalProperties: true
@@ -28024,14 +29258,14 @@ var language_generated_default = [
28024
29258
  },
28025
29259
  generationConfig: {
28026
29260
  type: "object",
28027
- description: "\u6A21\u578B\u751F\u6210\u53C2\u6570\uFF1B\u5DF2\u77E5\u9650\u5236\u7531\u5177\u4F53\u6A21\u578B\u6536\u7A84\u3002",
29261
+ description: "Generation settings supported by this model.",
28028
29262
  properties: {
28029
29263
  maxOutputTokens: {
28030
29264
  type: "integer",
28031
29265
  minimum: 1,
28032
29266
  maximum: 65536,
28033
29267
  title: "Maximum output tokens",
28034
- description: "Maximum number of response and reasoning tokens to generate."
29268
+ description: "Maximum response and thinking tokens within the shared input and output context."
28035
29269
  },
28036
29270
  thinkingConfig: {
28037
29271
  type: "object",
@@ -28039,20 +29273,17 @@ var language_generated_default = [
28039
29273
  thinkingLevel: {
28040
29274
  type: "string",
28041
29275
  enum: [
28042
- "low",
28043
- "medium",
28044
- "high",
28045
29276
  "LOW",
28046
29277
  "MEDIUM",
28047
29278
  "HIGH"
28048
29279
  ],
28049
29280
  title: "Thinking level",
28050
29281
  description: "Amount of reasoning the model should perform before returning its response.",
28051
- default: "medium"
29282
+ default: "MEDIUM"
28052
29283
  },
28053
29284
  includeThoughts: {
28054
29285
  type: "boolean",
28055
- description: "Whether to include thought parts in the response. This does not enable or disable reasoning; Gemini thinking is controlled by thinking_level.",
29286
+ description: "Whether to include thought parts in the response. This does not enable or disable reasoning.",
28056
29287
  title: "Include thoughts"
28057
29288
  },
28058
29289
  thinkingBudget: false
@@ -28087,7 +29318,11 @@ var language_generated_default = [
28087
29318
  "x-ui": {
28088
29319
  order: 3
28089
29320
  }
28090
- }
29321
+ },
29322
+ cachedContent: false,
29323
+ continuationToken: false,
29324
+ continuation_token: false,
29325
+ cached_content: false
28091
29326
  },
28092
29327
  required: [
28093
29328
  "contents"
@@ -28096,7 +29331,7 @@ var language_generated_default = [
28096
29331
  },
28097
29332
  outputSchema: {
28098
29333
  type: "object",
28099
- description: "\u534F\u8BAE\u539F\u751F\u54CD\u5E94\uFF1B\u6D41\u5F0F\u8BF7\u6C42\u8FD4\u56DE\u8BE5\u534F\u8BAE\u5B9A\u4E49\u7684\u4E8B\u4EF6\u6D41\u3002",
29334
+ description: "Protocol-native response; streaming requests return events defined by that protocol.",
28100
29335
  additionalProperties: true
28101
29336
  }
28102
29337
  },
@@ -28122,27 +29357,27 @@ var language_generated_default = [
28122
29357
  order: 0
28123
29358
  },
28124
29359
  title: "\u6A21\u578B ID",
28125
- const: "google/gemini-3-8-flash",
29360
+ const: "google/gemini-4-argon",
28126
29361
  examples: [
28127
- "google/gemini-3-8-flash"
29362
+ "google/gemini-4-argon"
28128
29363
  ]
28129
29364
  },
28130
29365
  input: {
28131
- description: "Responses \u6587\u672C\u3001\u6D88\u606F\u6216\u8F93\u5165\u9879\u3002",
29366
+ description: "Responses text, messages, or input items.",
28132
29367
  "x-ui": {
28133
29368
  order: 2
28134
29369
  }
28135
29370
  },
28136
29371
  instructions: {
28137
29372
  type: "string",
28138
- description: "\u7CFB\u7EDF\u6216\u5F00\u53D1\u8005\u6307\u4EE4\u3002",
29373
+ description: "System or developer instructions.",
28139
29374
  "x-ui": {
28140
29375
  order: 1
28141
29376
  }
28142
29377
  },
28143
29378
  stream: {
28144
29379
  type: "boolean",
28145
- description: "\u662F\u5426\u8FD4\u56DE Responses \u7C7B\u578B\u5316 SSE\u3002",
29380
+ description: "Whether to return a typed Responses SSE event stream.",
28146
29381
  "x-ui": {
28147
29382
  order: 7
28148
29383
  },
@@ -28153,7 +29388,7 @@ var language_generated_default = [
28153
29388
  minimum: 1,
28154
29389
  maximum: 65536,
28155
29390
  title: "Maximum output tokens",
28156
- description: "\u672C\u6B21\u751F\u6210\u5141\u8BB8\u7684\u6700\u5927\u8F93\u51FA token \u6570\u3002",
29391
+ description: "Maximum response and thinking tokens within the shared input and output context.",
28157
29392
  "x-ui": {
28158
29393
  order: 6
28159
29394
  }
@@ -28205,33 +29440,65 @@ var language_generated_default = [
28205
29440
  "x-ui": {
28206
29441
  order: 5
28207
29442
  }
28208
- }
29443
+ },
29444
+ temperature: false,
29445
+ top_p: false,
29446
+ top_k: false,
29447
+ frequency_penalty: false,
29448
+ presence_penalty: false,
29449
+ seed: false,
29450
+ n: false,
29451
+ prompt_cache_key: false,
29452
+ prompt_cache_retention: false
28209
29453
  },
28210
29454
  required: [
28211
29455
  "model",
28212
29456
  "input"
28213
29457
  ],
28214
- additionalProperties: true
29458
+ additionalProperties: true,
29459
+ allOf: [
29460
+ {
29461
+ if: {
29462
+ properties: {
29463
+ stream: {
29464
+ const: true
29465
+ }
29466
+ },
29467
+ required: [
29468
+ "stream"
29469
+ ]
29470
+ },
29471
+ then: {},
29472
+ else: {
29473
+ properties: {
29474
+ max_output_tokens: {
29475
+ maximum: 32768,
29476
+ type: "integer"
29477
+ }
29478
+ }
29479
+ }
29480
+ }
29481
+ ]
28215
29482
  },
28216
29483
  outputSchema: {
28217
29484
  type: "object",
28218
- description: "\u534F\u8BAE\u539F\u751F\u54CD\u5E94\uFF1B\u6D41\u5F0F\u8BF7\u6C42\u8FD4\u56DE\u8BE5\u534F\u8BAE\u5B9A\u4E49\u7684\u4E8B\u4EF6\u6D41\u3002",
29485
+ description: "Protocol-native response; streaming requests return events defined by that protocol.",
28219
29486
  additionalProperties: true
28220
29487
  }
28221
29488
  }
28222
29489
  ]
28223
29490
  },
28224
29491
  {
28225
- id: "google/gemini-4-argon",
29492
+ id: "google/gemini-4-hydrogen",
28226
29493
  contractVersion: 1,
28227
29494
  developer: "google",
28228
- displayName: "Gemini 4 Argon",
28229
- summary: "Generate multimodal text responses with Gemini 4 Argon using native Gemini contents, client-side tools, structured output, and low, medium, or high thinking.",
29495
+ displayName: "Gemini 4 Hydrogen",
29496
+ summary: "Generate multimodal text responses with Gemini 4 Hydrogen using native Gemini contents, client-side tools, structured output, and low, medium, high, or xhigh thinking.",
28230
29497
  kind: "language",
28231
- family: "Gemini Argon",
29498
+ family: "Gemini Hydrogen",
28232
29499
  versionLabel: "4",
28233
29500
  aliases: [
28234
- "gemini-4-argon"
29501
+ "gemini-4-hydrogen"
28235
29502
  ],
28236
29503
  capabilities: {
28237
29504
  inputModalities: [
@@ -28319,7 +29586,7 @@ var language_generated_default = [
28319
29586
  },
28320
29587
  description: "Audio inputs; assign a role when the model exposes role-specific behavior.",
28321
29588
  minItems: 1,
28322
- maxItems: 1,
29589
+ maxItems: 1e3,
28323
29590
  "x-ui": {
28324
29591
  order: 4,
28325
29592
  control: "media",
@@ -28447,7 +29714,8 @@ var language_generated_default = [
28447
29714
  enum: [
28448
29715
  "low",
28449
29716
  "medium",
28450
- "high"
29717
+ "high",
29718
+ "xhigh"
28451
29719
  ],
28452
29720
  title: "Thinking level",
28453
29721
  description: "Amount of reasoning the model should perform before returning its response.",
@@ -28455,7 +29723,7 @@ var language_generated_default = [
28455
29723
  order: 9,
28456
29724
  control: "segmented"
28457
29725
  },
28458
- default: "medium"
29726
+ default: "high"
28459
29727
  },
28460
29728
  tool_config: {
28461
29729
  type: "object",
@@ -28559,29 +29827,6 @@ var language_generated_default = [
28559
29827
  "contents"
28560
29828
  ]
28561
29829
  }
28562
- ],
28563
- allOf: [
28564
- {
28565
- if: {
28566
- properties: {
28567
- is_stream: {
28568
- const: true
28569
- }
28570
- },
28571
- required: [
28572
- "is_stream"
28573
- ]
28574
- },
28575
- then: {},
28576
- else: {
28577
- properties: {
28578
- max_output_tokens: {
28579
- maximum: 32768,
28580
- type: "integer"
28581
- }
28582
- }
28583
- }
28584
- }
28585
29830
  ]
28586
29831
  },
28587
29832
  outputSchema: {
@@ -28650,7 +29895,7 @@ var language_generated_default = [
28650
29895
  pathTemplate: "/v1beta/models/{model}:generateContent",
28651
29896
  schemaProjection: "request",
28652
29897
  responseStatus: 200,
28653
- documentationUrl: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-argon",
29898
+ documentationUrl: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-hydrogen",
28654
29899
  bodyParameters: {
28655
29900
  type: "object",
28656
29901
  properties: {
@@ -28680,7 +29925,7 @@ var language_generated_default = [
28680
29925
  maxOutputTokens: {
28681
29926
  type: "integer",
28682
29927
  minimum: 1,
28683
- maximum: 32768,
29928
+ maximum: 65536,
28684
29929
  title: "Maximum output tokens",
28685
29930
  description: "Maximum response and thinking tokens within the shared input and output context."
28686
29931
  },
@@ -28692,11 +29937,12 @@ var language_generated_default = [
28692
29937
  enum: [
28693
29938
  "LOW",
28694
29939
  "MEDIUM",
28695
- "HIGH"
29940
+ "HIGH",
29941
+ "XHIGH"
28696
29942
  ],
28697
29943
  title: "Thinking level",
28698
29944
  description: "Amount of reasoning the model should perform before returning its response.",
28699
- default: "MEDIUM"
29945
+ default: "HIGH"
28700
29946
  },
28701
29947
  includeThoughts: {
28702
29948
  type: "boolean",
@@ -28710,7 +29956,11 @@ var language_generated_default = [
28710
29956
  temperature: false,
28711
29957
  topP: false,
28712
29958
  topK: false,
28713
- candidateCount: false,
29959
+ candidateCount: {
29960
+ type: "integer",
29961
+ const: 1,
29962
+ description: "This model returns one candidate per request."
29963
+ },
28714
29964
  frequencyPenalty: false,
28715
29965
  presencePenalty: false
28716
29966
  },
@@ -28774,7 +30024,7 @@ var language_generated_default = [
28774
30024
  pathTemplate: "/v1beta/models/{model}:streamGenerateContent",
28775
30025
  schemaProjection: "request",
28776
30026
  responseStatus: 200,
28777
- documentationUrl: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-argon",
30027
+ documentationUrl: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-hydrogen",
28778
30028
  bodyParameters: {
28779
30029
  type: "object",
28780
30030
  properties: {
@@ -28816,11 +30066,12 @@ var language_generated_default = [
28816
30066
  enum: [
28817
30067
  "LOW",
28818
30068
  "MEDIUM",
28819
- "HIGH"
30069
+ "HIGH",
30070
+ "XHIGH"
28820
30071
  ],
28821
30072
  title: "Thinking level",
28822
30073
  description: "Amount of reasoning the model should perform before returning its response.",
28823
- default: "MEDIUM"
30074
+ default: "HIGH"
28824
30075
  },
28825
30076
  includeThoughts: {
28826
30077
  type: "boolean",
@@ -28834,7 +30085,11 @@ var language_generated_default = [
28834
30085
  temperature: false,
28835
30086
  topP: false,
28836
30087
  topK: false,
28837
- candidateCount: false,
30088
+ candidateCount: {
30089
+ type: "integer",
30090
+ const: 1,
30091
+ description: "This model returns one candidate per request."
30092
+ },
28838
30093
  frequencyPenalty: false,
28839
30094
  presencePenalty: false
28840
30095
  },
@@ -28949,11 +30204,12 @@ var language_generated_default = [
28949
30204
  enum: [
28950
30205
  "LOW",
28951
30206
  "MEDIUM",
28952
- "HIGH"
30207
+ "HIGH",
30208
+ "XHIGH"
28953
30209
  ],
28954
30210
  title: "Thinking level",
28955
30211
  description: "Amount of reasoning the model should perform before returning its response.",
28956
- default: "MEDIUM"
30212
+ default: "HIGH"
28957
30213
  },
28958
30214
  includeThoughts: {
28959
30215
  type: "boolean",
@@ -28967,7 +30223,11 @@ var language_generated_default = [
28967
30223
  temperature: false,
28968
30224
  topP: false,
28969
30225
  topK: false,
28970
- candidateCount: false,
30226
+ candidateCount: {
30227
+ type: "integer",
30228
+ const: 1,
30229
+ description: "This model returns one candidate per request."
30230
+ },
28971
30231
  frequencyPenalty: false,
28972
30232
  presencePenalty: false
28973
30233
  },
@@ -29031,9 +30291,9 @@ var language_generated_default = [
29031
30291
  order: 0
29032
30292
  },
29033
30293
  title: "\u6A21\u578B ID",
29034
- const: "google/gemini-4-argon",
30294
+ const: "google/gemini-4-hydrogen",
29035
30295
  examples: [
29036
- "google/gemini-4-argon"
30296
+ "google/gemini-4-hydrogen"
29037
30297
  ]
29038
30298
  },
29039
30299
  input: {
@@ -29097,9 +30357,10 @@ var language_generated_default = [
29097
30357
  enum: [
29098
30358
  "low",
29099
30359
  "medium",
29100
- "high"
30360
+ "high",
30361
+ "xhigh"
29101
30362
  ],
29102
- default: "medium"
30363
+ default: "high"
29103
30364
  },
29104
30365
  summary: {
29105
30366
  type: "string",
@@ -29129,30 +30390,7 @@ var language_generated_default = [
29129
30390
  "model",
29130
30391
  "input"
29131
30392
  ],
29132
- additionalProperties: true,
29133
- allOf: [
29134
- {
29135
- if: {
29136
- properties: {
29137
- stream: {
29138
- const: true
29139
- }
29140
- },
29141
- required: [
29142
- "stream"
29143
- ]
29144
- },
29145
- then: {},
29146
- else: {
29147
- properties: {
29148
- max_output_tokens: {
29149
- maximum: 32768,
29150
- type: "integer"
29151
- }
29152
- }
29153
- }
29154
- }
29155
- ]
30393
+ additionalProperties: true
29156
30394
  },
29157
30395
  outputSchema: {
29158
30396
  type: "object",
@@ -60480,7 +61718,7 @@ var NexraWaitTimeoutError = class extends Error {
60480
61718
  };
60481
61719
 
60482
61720
  // src/generated/version.generated.ts
60483
- var SDK_VERSION = "0.1.0-alpha.53";
61721
+ var SDK_VERSION = "0.1.0-alpha.54";
60484
61722
 
60485
61723
  // src/transport.ts
60486
61724
  var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
@@ -60742,6 +61980,7 @@ var productDisplayNames = /* @__PURE__ */ new Map([
60742
61980
  ["bytedance/doubao-seedream-5-0-260128", "Seedream 5.0"],
60743
61981
  ["bytedance/doubao-seedream-5-0-pro-260628", "Seedream 5.0 Pro"],
60744
61982
  ["bytedance/doubao-seedream-5-0-flash-260915", "Seedream 5.0 Flash"],
61983
+ ["bytedance/doubao-seedream-5-5-261028", "Seedream 5.5"],
60745
61984
  ["bytedance/doubao-tts-v1", "Doubao TTS v1"],
60746
61985
  ["bytedance/doubao-tts-v2", "Doubao TTS v2"],
60747
61986
  ["deepseek/deepseek-v4-1-flash", "DeepSeek V4.1 Flash"],
@@ -60751,6 +61990,7 @@ var productDisplayNames = /* @__PURE__ */ new Map([
60751
61990
  ["fish-audio/s2-pro", "Fish Audio S2 Pro"],
60752
61991
  ["google/gemini-2.5-flash-image", "Banana"],
60753
61992
  ["google/gemini-3-8-flash", "Gemini 3.8 Flash"],
61993
+ ["google/gemini-4-hydrogen", "Gemini 4 Hydrogen"],
60754
61994
  ["google/gemini-3-pro-image", "Banana Pro"],
60755
61995
  ["google/gemini-3.1-flash-image", "Banana 2"],
60756
61996
  ["google/gemini-nano-banana-2.1", "Banana 2.1"],