@byte_fluffy/nexra-sdk 0.1.0-alpha.32 → 0.1.0-alpha.34
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 +10 -7
- package/dist/catalog.d.ts +3 -1
- package/dist/catalog.js +2 -2
- package/dist/{chunk-MNRDMPUS.js → chunk-ZPOVSD7D.js} +151 -56
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/language.js +2 -2
- package/dist/media.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{voices-2zWJXgCq.d.ts → voices-bcGBcfH-.d.ts} +0 -2
- package/package.json +1 -1
- /package/dist/{chunk-QBW7OCT3.js → chunk-R4BEO26Q.js} +0 -0
package/README.md
CHANGED
|
@@ -99,13 +99,16 @@ and does not mean generation failed.
|
|
|
99
99
|
## Model display names
|
|
100
100
|
|
|
101
101
|
`getModelSpec`, `listModelSpecs`, `nexra.models.search`, `nexra.models.get`, and
|
|
102
|
-
`nexra.catalog.model`
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
`nexra.catalog.model` use the existing VibePaper product labels for known model
|
|
103
|
+
IDs, such as `Banana Pro`, `Grok Imagine`, `GPT-5.4`, and `MiniMax H3 Local`.
|
|
104
|
+
Spelling and punctuation follow the Superegg/global VibePaper catalogs rather
|
|
105
|
+
than upstream manufacturer labels. Model detail family versions follow the same
|
|
106
|
+
mapping. Models without an existing product label retain generic word spacing
|
|
107
|
+
and capitalization.
|
|
108
|
+
|
|
109
|
+
Use `formatModelDisplayName(name, { modelId })` to apply the same mapping to other
|
|
110
|
+
display labels. The one-argument form preserves known product labels and formats
|
|
111
|
+
other labels generically; it does not guess model identity from an upstream name.
|
|
109
112
|
It is available from the package root and `/catalog`. Formatting affects only
|
|
110
113
|
`displayName`: use the static catalog's `id`, model discovery's `slug`, or the
|
|
111
114
|
live catalog's `modelId` for requests, never the formatted display name.
|
package/dist/catalog.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { a as JsonObject } from './json-Cz0MkWQn.js';
|
|
|
2
2
|
import { H as HttpTransport, A as NexraCatalogChangeParams, B as NexraCatalogChangePage, D as NexraCatalogModelState, u as NexraSalePriceList, d as CreateNexraQuoteRequest, s as NexraQuote, C as CreateNexraDisplayQuoteBatchRequest, n as NexraDisplayQuoteBatch, m as NexraCatalogRevision, q as NexraModelSpec, E as NexraModelEndpointSpec, r as NexraModelSpecFilter } from './media-geometry-DAVFGry1.js';
|
|
3
3
|
export { e as MediaGeometryField, f as MediaGeometryProjection, l as NexraBillingCurrency, G as NexraCatalogModelIdentity, p as NexraModelOperation, t as NexraSalePrice, v as NexraSettlement, U as UnifiedMediaGeometry, w as applyMediaGeometry, x as decodeMediaGeometry, y as encodeMediaGeometry, z as projectMediaGeometry } from './media-geometry-DAVFGry1.js';
|
|
4
4
|
|
|
5
|
-
declare function formatModelDisplayName(displayName: string
|
|
5
|
+
declare function formatModelDisplayName(displayName: string, identity?: {
|
|
6
|
+
modelId: string;
|
|
7
|
+
}): string;
|
|
6
8
|
|
|
7
9
|
declare class CatalogClient {
|
|
8
10
|
private readonly transport;
|
package/dist/catalog.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
listModelSpecs,
|
|
10
10
|
projectMediaGeometry,
|
|
11
11
|
resolveNexraLanguageReasoning
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZPOVSD7D.js";
|
|
13
|
+
import "./chunk-R4BEO26Q.js";
|
|
14
14
|
export {
|
|
15
15
|
CatalogClient,
|
|
16
16
|
applyMediaGeometry,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
normalizePublicErrorInput,
|
|
3
3
|
pickPublicErrorFields,
|
|
4
4
|
sortRatioDisplayOrder
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R4BEO26Q.js";
|
|
6
6
|
|
|
7
7
|
// src/catalog/generated/audio.generated.json
|
|
8
8
|
var audio_generated_default = [
|
|
@@ -371,7 +371,7 @@ var audio_generated_default = [
|
|
|
371
371
|
id: "bytedance/doubao-tts-v1",
|
|
372
372
|
contractVersion: 1,
|
|
373
373
|
developer: "bytedance",
|
|
374
|
-
displayName: "Doubao TTS
|
|
374
|
+
displayName: "Doubao TTS v1",
|
|
375
375
|
summary: "Synthesize expressive Chinese speech from text with a Volcengine TTS v1 preset voice.",
|
|
376
376
|
kind: "audio",
|
|
377
377
|
family: "Doubao TTS",
|
|
@@ -508,7 +508,7 @@ var audio_generated_default = [
|
|
|
508
508
|
id: "bytedance/doubao-tts-v2",
|
|
509
509
|
contractVersion: 1,
|
|
510
510
|
developer: "bytedance",
|
|
511
|
-
displayName: "Doubao TTS
|
|
511
|
+
displayName: "Doubao TTS v2",
|
|
512
512
|
summary: "Synthesize natural, expressive speech from text with a Volcengine TTS v2 preset voice.",
|
|
513
513
|
kind: "audio",
|
|
514
514
|
family: "Doubao TTS",
|
|
@@ -645,7 +645,7 @@ var audio_generated_default = [
|
|
|
645
645
|
id: "elevenlabs/eleven_flash_v2_5",
|
|
646
646
|
contractVersion: 1,
|
|
647
647
|
developer: "elevenlabs",
|
|
648
|
-
displayName: "
|
|
648
|
+
displayName: "ElevenLabs Flash v2.5",
|
|
649
649
|
summary: "Synthesize low-latency speech in 32 languages from up to 40,000 characters using an ElevenLabs preset or cloned voice.",
|
|
650
650
|
kind: "audio",
|
|
651
651
|
family: "ElevenLabs Flash",
|
|
@@ -850,7 +850,7 @@ var audio_generated_default = [
|
|
|
850
850
|
id: "elevenlabs/eleven_multilingual_v2",
|
|
851
851
|
contractVersion: 1,
|
|
852
852
|
developer: "elevenlabs",
|
|
853
|
-
displayName: "
|
|
853
|
+
displayName: "ElevenLabs Multilingual v2",
|
|
854
854
|
summary: "Synthesize stable, natural long-form speech in 29 languages from up to 10,000 characters using an ElevenLabs preset or cloned voice.",
|
|
855
855
|
kind: "audio",
|
|
856
856
|
family: "ElevenLabs Multilingual",
|
|
@@ -2367,7 +2367,7 @@ var audio_generated_default = [
|
|
|
2367
2367
|
id: "minimax/speech-2.8-hd",
|
|
2368
2368
|
contractVersion: 1,
|
|
2369
2369
|
developer: "minimax",
|
|
2370
|
-
displayName: "
|
|
2370
|
+
displayName: "Minimax HD",
|
|
2371
2371
|
summary: "Synthesize high-fidelity expressive speech from up to 9,999 characters with MiniMax Speech 2.8 HD.",
|
|
2372
2372
|
kind: "audio",
|
|
2373
2373
|
family: "MiniMax Speech HD",
|
|
@@ -2803,7 +2803,7 @@ var image_generated_default = [
|
|
|
2803
2803
|
id: "openai/gpt-image-2.5-flare",
|
|
2804
2804
|
contractVersion: 2,
|
|
2805
2805
|
developer: "openai",
|
|
2806
|
-
displayName: "GPT
|
|
2806
|
+
displayName: "GPT-Image-2.5 Flare",
|
|
2807
2807
|
summary: "GPT Image 2.5 Flare \u56FE\u7247\u751F\u6210\u4E0E\u7F16\u8F91\uFF0C\u652F\u6301\u591A\u56FE\u8F93\u5165\u53CA\u8499\u7248\u7F16\u8F91\u3002",
|
|
2808
2808
|
kind: "image",
|
|
2809
2809
|
family: "GPT Image",
|
|
@@ -3159,7 +3159,7 @@ var image_generated_default = [
|
|
|
3159
3159
|
id: "openai/gpt-image-2.5-sunburst",
|
|
3160
3160
|
contractVersion: 2,
|
|
3161
3161
|
developer: "openai",
|
|
3162
|
-
displayName: "GPT
|
|
3162
|
+
displayName: "GPT-Image-2.5 Sunburst",
|
|
3163
3163
|
summary: "GPT Image 2.5 Sunburst \u56FE\u7247\u751F\u6210\u4E0E\u7F16\u8F91\uFF0C\u652F\u6301\u591A\u56FE\u8F93\u5165\u53CA\u8499\u7248\u7F16\u8F91\u3002",
|
|
3164
3164
|
kind: "image",
|
|
3165
3165
|
family: "GPT Image",
|
|
@@ -4638,7 +4638,7 @@ var image_generated_default = [
|
|
|
4638
4638
|
id: "alibaba/z-image-turbo",
|
|
4639
4639
|
contractVersion: 2,
|
|
4640
4640
|
developer: "alibaba",
|
|
4641
|
-
displayName: "Z
|
|
4641
|
+
displayName: "Z-Image Turbo",
|
|
4642
4642
|
summary: "Z-Image Turbo \u6587\u751F\u56FE\uFF0C\u652F\u6301\u81EA\u5B9A\u4E49\u5C3A\u5BF8\u4E0E\u63D0\u793A\u8BCD\u6269\u5199\u3002",
|
|
4643
4643
|
kind: "image",
|
|
4644
4644
|
family: "Z-Image Turbo",
|
|
@@ -4784,7 +4784,7 @@ var image_generated_default = [
|
|
|
4784
4784
|
id: "bytedance/doubao-seedream-5-0-260128",
|
|
4785
4785
|
contractVersion: 2,
|
|
4786
4786
|
developer: "bytedance",
|
|
4787
|
-
displayName: "
|
|
4787
|
+
displayName: "Seedream 5.0",
|
|
4788
4788
|
summary: "\u652F\u6301\u56FE\u50CF\u751F\u6210\u4E0E\u591A\u56FE\u7F16\u8F91\u3002",
|
|
4789
4789
|
kind: "image",
|
|
4790
4790
|
family: "Doubao Seedream Lite",
|
|
@@ -5015,7 +5015,7 @@ var image_generated_default = [
|
|
|
5015
5015
|
id: "bytedance/doubao-seedream-5-0-pro-260628",
|
|
5016
5016
|
contractVersion: 2,
|
|
5017
5017
|
developer: "bytedance",
|
|
5018
|
-
displayName: "
|
|
5018
|
+
displayName: "Seedream 5.0 Pro",
|
|
5019
5019
|
summary: "\u652F\u6301\u56FE\u50CF\u751F\u6210\u3001\u591A\u56FE\u7F16\u8F91\u53CA\u5355\u56FE\u5206\u5C42\u3002",
|
|
5020
5020
|
kind: "image",
|
|
5021
5021
|
family: "Doubao Seedream Pro",
|
|
@@ -5248,7 +5248,7 @@ var image_generated_default = [
|
|
|
5248
5248
|
id: "google/gemini-2.5-flash-image",
|
|
5249
5249
|
contractVersion: 1,
|
|
5250
5250
|
developer: "google",
|
|
5251
|
-
displayName: "
|
|
5251
|
+
displayName: "Banana",
|
|
5252
5252
|
summary: "Generate or edit 1K images from text and up to three reference images with configurable aspect ratio.",
|
|
5253
5253
|
kind: "image",
|
|
5254
5254
|
family: "Gemini Flash Image",
|
|
@@ -5469,7 +5469,7 @@ var image_generated_default = [
|
|
|
5469
5469
|
id: "google/gemini-3.1-flash-image",
|
|
5470
5470
|
contractVersion: 1,
|
|
5471
5471
|
developer: "google",
|
|
5472
|
-
displayName: "
|
|
5472
|
+
displayName: "Banana 2",
|
|
5473
5473
|
summary: "Generate or edit 512px, 1K, 2K, or 4K images from text and up to fourteen reference images.",
|
|
5474
5474
|
kind: "image",
|
|
5475
5475
|
family: "Gemini Flash Image",
|
|
@@ -5698,7 +5698,7 @@ var image_generated_default = [
|
|
|
5698
5698
|
id: "google/gemini-3.1-flash-lite-image",
|
|
5699
5699
|
contractVersion: 1,
|
|
5700
5700
|
developer: "google",
|
|
5701
|
-
displayName: "
|
|
5701
|
+
displayName: "Banana 2 Lite",
|
|
5702
5702
|
summary: "Generate or edit 1K images from text and up to fourteen reference images with expanded aspect-ratio support.",
|
|
5703
5703
|
kind: "image",
|
|
5704
5704
|
family: "Gemini Flash-Lite Image",
|
|
@@ -5924,7 +5924,7 @@ var image_generated_default = [
|
|
|
5924
5924
|
id: "google/gemini-3-pro-image",
|
|
5925
5925
|
contractVersion: 1,
|
|
5926
5926
|
developer: "google",
|
|
5927
|
-
displayName: "
|
|
5927
|
+
displayName: "Banana Pro",
|
|
5928
5928
|
summary: "Generate or edit professional 1K, 2K, or 4K images from text and up to fourteen reference images.",
|
|
5929
5929
|
kind: "image",
|
|
5930
5930
|
family: "Gemini Pro Image",
|
|
@@ -6152,7 +6152,7 @@ var image_generated_default = [
|
|
|
6152
6152
|
id: "openai/gpt-image-2",
|
|
6153
6153
|
contractVersion: 2,
|
|
6154
6154
|
developer: "openai",
|
|
6155
|
-
displayName: "GPT
|
|
6155
|
+
displayName: "GPT-Image-2",
|
|
6156
6156
|
summary: "GPT Image 2 \u56FE\u7247\u751F\u6210\u4E0E\u7F16\u8F91\uFF0C\u652F\u6301\u591A\u56FE\u8F93\u5165\u3001\u8499\u7248\u53CA\u81EA\u5B9A\u4E49\u8F93\u51FA\u5C3A\u5BF8\u3002",
|
|
6157
6157
|
kind: "image",
|
|
6158
6158
|
family: "GPT Image",
|
|
@@ -7003,7 +7003,7 @@ var image_generated_default = [
|
|
|
7003
7003
|
id: "runninghub/runninghub-youchuan-text-to-image-v82",
|
|
7004
7004
|
contractVersion: 2,
|
|
7005
7005
|
developer: "midjourney",
|
|
7006
|
-
displayName: "Midjourney V8.2
|
|
7006
|
+
displayName: "Midjourney V8.2",
|
|
7007
7007
|
summary: "Midjourney V8.2 \u9884\u89C8\u7248\u56FE\u7247\u751F\u6210\uFF0C\u5F3A\u5316\u5BA1\u7F8E\u3001\u6750\u8D28\u5149\u7167\u3001\u89D2\u8272\u4E00\u81F4\u6027\u3001\u5C40\u90E8\u91CD\u7ED8\u6548\u679C\u548C\u968F\u673A\u98CE\u683C\u8349\u7A3F\u8868\u73B0\uFF0C\u652F\u6301\u5355\u56FE/\u98CE\u683C\u53C2\u8003\u4E0E\u539F\u751F 2K \u8F93\u51FA\uFF1B\u5F53\u524D\u63A5\u53E3\u672A\u63D0\u4F9B\u8499\u7248\u7F16\u8F91\uFF0C\u4E14\u9884\u89C8\u7248\u53C2\u6570\u903B\u8F91\u548C\u8F93\u51FA\u7A33\u5B9A\u6027\u53EF\u80FD\u53D8\u5316\u3002",
|
|
7008
7008
|
kind: "image",
|
|
7009
7009
|
family: "Midjourney",
|
|
@@ -7488,7 +7488,7 @@ var image_generated_default = [
|
|
|
7488
7488
|
id: "xai/grok-imagine-image-quality",
|
|
7489
7489
|
contractVersion: 2,
|
|
7490
7490
|
developer: "xai",
|
|
7491
|
-
displayName: "Grok Imagine
|
|
7491
|
+
displayName: "Grok Imagine",
|
|
7492
7492
|
summary: "Grok \u9AD8\u8D28\u91CF\u56FE\u7247\u751F\u6210\u4E0E\u7F16\u8F91\uFF0C\u652F\u6301\u591A\u56FE\u53C2\u8003\u53CA 1K / 2K \u8F93\u51FA\u3002",
|
|
7493
7493
|
kind: "image",
|
|
7494
7494
|
family: "Grok Image Quality",
|
|
@@ -14094,7 +14094,7 @@ var language_generated_default = [
|
|
|
14094
14094
|
id: "bytedance/doubao-seed-2-0-pro-260215",
|
|
14095
14095
|
contractVersion: 2,
|
|
14096
14096
|
developer: "bytedance",
|
|
14097
|
-
displayName: "
|
|
14097
|
+
displayName: "Seed 2.0 Pro",
|
|
14098
14098
|
summary: "Doubao Seed 2.0 Pro\uFF0C\u652F\u6301\u591A\u6A21\u6001\u7406\u89E3\u3001\u6DF1\u5EA6\u601D\u8003\u3001\u5DE5\u5177\u8C03\u7528\u4E0E\u7ED3\u6784\u5316\u8F93\u51FA\u3002",
|
|
14099
14099
|
kind: "language",
|
|
14100
14100
|
family: "Doubao Seed Pro",
|
|
@@ -16099,7 +16099,7 @@ var language_generated_default = [
|
|
|
16099
16099
|
id: "bytedance/doubao-seed-2-1-pro-260628",
|
|
16100
16100
|
contractVersion: 2,
|
|
16101
16101
|
developer: "bytedance",
|
|
16102
|
-
displayName: "
|
|
16102
|
+
displayName: "Seed 2.1 Pro",
|
|
16103
16103
|
summary: "Doubao Seed 2.1 Pro\uFF0C\u652F\u6301\u591A\u6A21\u6001\u7406\u89E3\u3001\u6DF1\u5EA6\u601D\u8003\u3001\u5DE5\u5177\u8C03\u7528\u4E0E\u7ED3\u6784\u5316\u8F93\u51FA\u3002",
|
|
16104
16104
|
kind: "language",
|
|
16105
16105
|
family: "Doubao Seed Pro",
|
|
@@ -18098,7 +18098,7 @@ var language_generated_default = [
|
|
|
18098
18098
|
id: "bytedance/doubao-seed-2-1-turbo-260628",
|
|
18099
18099
|
contractVersion: 2,
|
|
18100
18100
|
developer: "bytedance",
|
|
18101
|
-
displayName: "
|
|
18101
|
+
displayName: "Seed 2.1 Turbo",
|
|
18102
18102
|
summary: "Doubao Seed 2.1 Turbo\uFF0C\u652F\u6301\u591A\u6A21\u6001\u7406\u89E3\u3001\u6DF1\u5EA6\u601D\u8003\u3001\u5DE5\u5177\u8C03\u7528\u4E0E\u7ED3\u6784\u5316\u8F93\u51FA\u3002",
|
|
18103
18103
|
kind: "language",
|
|
18104
18104
|
family: "Doubao Seed Turbo",
|
|
@@ -20097,7 +20097,7 @@ var language_generated_default = [
|
|
|
20097
20097
|
id: "bytedance/doubao-seed-2-0-mini-260428",
|
|
20098
20098
|
contractVersion: 2,
|
|
20099
20099
|
developer: "bytedance",
|
|
20100
|
-
displayName: "
|
|
20100
|
+
displayName: "Seed 2.0 Mini",
|
|
20101
20101
|
summary: "Doubao Seed 2.0 Mini\uFF0C\u652F\u6301\u591A\u6A21\u6001\u7406\u89E3\u3001\u6DF1\u5EA6\u601D\u8003\u3001\u5DE5\u5177\u8C03\u7528\u4E0E\u7ED3\u6784\u5316\u8F93\u51FA\u3002",
|
|
20102
20102
|
kind: "language",
|
|
20103
20103
|
family: "Doubao Seed Mini",
|
|
@@ -22092,7 +22092,7 @@ var language_generated_default = [
|
|
|
22092
22092
|
id: "google/gemini-3.1-pro-preview",
|
|
22093
22093
|
contractVersion: 1,
|
|
22094
22094
|
developer: "google",
|
|
22095
|
-
displayName: "Gemini 3.1 Pro
|
|
22095
|
+
displayName: "Gemini 3.1 Pro",
|
|
22096
22096
|
summary: "Generate high-capability multimodal responses with Gemini 3.1 Pro Preview using native Gemini contents, tools, and low, medium, or high thinking.",
|
|
22097
22097
|
kind: "language",
|
|
22098
22098
|
family: "Gemini Pro",
|
|
@@ -24794,7 +24794,7 @@ var language_generated_default = [
|
|
|
24794
24794
|
id: "openai/gpt-5.4",
|
|
24795
24795
|
contractVersion: 1,
|
|
24796
24796
|
developer: "openai",
|
|
24797
|
-
displayName: "GPT
|
|
24797
|
+
displayName: "GPT-5.4",
|
|
24798
24798
|
summary: "Generate streaming or complete text responses through the Azure AI Foundry Chat Completions deployment.",
|
|
24799
24799
|
kind: "language",
|
|
24800
24800
|
family: "GPT",
|
|
@@ -25007,7 +25007,7 @@ var language_generated_default = [
|
|
|
25007
25007
|
id: "openai/gpt-5.5",
|
|
25008
25008
|
contractVersion: 1,
|
|
25009
25009
|
developer: "openai",
|
|
25010
|
-
displayName: "GPT
|
|
25010
|
+
displayName: "GPT-5.5",
|
|
25011
25011
|
summary: "Generate text and structured responses through the Azure AI Foundry Responses API with image input, configurable reasoning, and continuation support.",
|
|
25012
25012
|
kind: "language",
|
|
25013
25013
|
family: "GPT",
|
|
@@ -25512,7 +25512,7 @@ var language_generated_default = [
|
|
|
25512
25512
|
id: "openai/gpt-5.6-luna",
|
|
25513
25513
|
contractVersion: 1,
|
|
25514
25514
|
developer: "openai",
|
|
25515
|
-
displayName: "GPT
|
|
25515
|
+
displayName: "GPT-5.6 Luna",
|
|
25516
25516
|
summary: "Generate efficient text and structured responses with image input, standard or pro reasoning mode, and up to max reasoning effort through Azure AI Foundry.",
|
|
25517
25517
|
kind: "language",
|
|
25518
25518
|
family: "GPT Luna",
|
|
@@ -26167,7 +26167,7 @@ var language_generated_default = [
|
|
|
26167
26167
|
id: "openai/gpt-5.6-sol",
|
|
26168
26168
|
contractVersion: 1,
|
|
26169
26169
|
developer: "openai",
|
|
26170
|
-
displayName: "GPT
|
|
26170
|
+
displayName: "GPT-5.6 Sol",
|
|
26171
26171
|
summary: "Generate frontier text and structured responses with image input, standard or pro reasoning mode, and up to max reasoning effort through Azure AI Foundry.",
|
|
26172
26172
|
kind: "language",
|
|
26173
26173
|
family: "GPT Sol",
|
|
@@ -26822,7 +26822,7 @@ var language_generated_default = [
|
|
|
26822
26822
|
id: "openai/gpt-5.6-terra",
|
|
26823
26823
|
contractVersion: 1,
|
|
26824
26824
|
developer: "openai",
|
|
26825
|
-
displayName: "GPT
|
|
26825
|
+
displayName: "GPT-5.6 Terra",
|
|
26826
26826
|
summary: "Generate balanced text and structured responses with image input, standard or pro reasoning mode, and up to max reasoning effort through Azure AI Foundry.",
|
|
26827
26827
|
kind: "language",
|
|
26828
26828
|
family: "GPT Terra",
|
|
@@ -28701,7 +28701,7 @@ var language_generated_default = [
|
|
|
28701
28701
|
id: "openai/gpt-6-astra",
|
|
28702
28702
|
contractVersion: 1,
|
|
28703
28703
|
developer: "openai",
|
|
28704
|
-
displayName: "GPT
|
|
28704
|
+
displayName: "GPT-6 Astra",
|
|
28705
28705
|
summary: "Generate text from text and image inputs with configurable reasoning.",
|
|
28706
28706
|
kind: "language",
|
|
28707
28707
|
aliases: [
|
|
@@ -29212,7 +29212,7 @@ var language_generated_default = [
|
|
|
29212
29212
|
id: "openai/gpt-6-sol",
|
|
29213
29213
|
contractVersion: 1,
|
|
29214
29214
|
developer: "openai",
|
|
29215
|
-
displayName: "GPT
|
|
29215
|
+
displayName: "GPT-6 Sol",
|
|
29216
29216
|
summary: "Generate text and structured responses with image input and configurable reasoning through Azure AI Foundry GPT-6 Sol.",
|
|
29217
29217
|
kind: "language",
|
|
29218
29218
|
family: "GPT Sol",
|
|
@@ -29792,7 +29792,7 @@ var language_generated_default = [
|
|
|
29792
29792
|
id: "openai/gpt-6-luna",
|
|
29793
29793
|
contractVersion: 1,
|
|
29794
29794
|
developer: "openai",
|
|
29795
|
-
displayName: "GPT
|
|
29795
|
+
displayName: "GPT-6 Luna",
|
|
29796
29796
|
summary: "Generate text and structured responses with image input and configurable reasoning through Azure AI Foundry GPT-6 Luna.",
|
|
29797
29797
|
kind: "language",
|
|
29798
29798
|
family: "GPT Luna",
|
|
@@ -30376,7 +30376,7 @@ var video_generated_default = [
|
|
|
30376
30376
|
id: "yadan/minimax-h3-local",
|
|
30377
30377
|
contractVersion: 3,
|
|
30378
30378
|
developer: "minimax",
|
|
30379
|
-
displayName: "MiniMax H3
|
|
30379
|
+
displayName: "MiniMax H3 Local",
|
|
30380
30380
|
summary: "Generate a roughly five-second video with audio from a text prompt.",
|
|
30381
30381
|
kind: "video",
|
|
30382
30382
|
family: "H3 Local",
|
|
@@ -30543,7 +30543,7 @@ var video_generated_default = [
|
|
|
30543
30543
|
id: "minimax/minimax-h3-local-reference",
|
|
30544
30544
|
contractVersion: 1,
|
|
30545
30545
|
developer: "minimax",
|
|
30546
|
-
displayName: "MiniMax H3 Local
|
|
30546
|
+
displayName: "MiniMax H3 Local",
|
|
30547
30547
|
summary: "Generate video from a prompt with reference images, videos and audio.",
|
|
30548
30548
|
kind: "video",
|
|
30549
30549
|
family: "H3 Local",
|
|
@@ -30677,7 +30677,8 @@ var video_generated_default = [
|
|
|
30677
30677
|
oneOf: [
|
|
30678
30678
|
{
|
|
30679
30679
|
type: "string",
|
|
30680
|
-
minLength: 1
|
|
30680
|
+
minLength: 1,
|
|
30681
|
+
pattern: "^(?:https://|data:[^;,]+;base64,)"
|
|
30681
30682
|
},
|
|
30682
30683
|
{
|
|
30683
30684
|
type: "object",
|
|
@@ -30716,7 +30717,8 @@ var video_generated_default = [
|
|
|
30716
30717
|
oneOf: [
|
|
30717
30718
|
{
|
|
30718
30719
|
type: "string",
|
|
30719
|
-
minLength: 1
|
|
30720
|
+
minLength: 1,
|
|
30721
|
+
pattern: "^(?:https://|data:[^;,]+;base64,)"
|
|
30720
30722
|
},
|
|
30721
30723
|
{
|
|
30722
30724
|
type: "object",
|
|
@@ -30755,7 +30757,8 @@ var video_generated_default = [
|
|
|
30755
30757
|
oneOf: [
|
|
30756
30758
|
{
|
|
30757
30759
|
type: "string",
|
|
30758
|
-
minLength: 1
|
|
30760
|
+
minLength: 1,
|
|
30761
|
+
pattern: "^(?:https://|data:[^;,]+;base64,)"
|
|
30759
30762
|
},
|
|
30760
30763
|
{
|
|
30761
30764
|
type: "object",
|
|
@@ -35177,7 +35180,7 @@ var video_generated_default = [
|
|
|
35177
35180
|
id: "alibaba/happyhorse-1.0",
|
|
35178
35181
|
contractVersion: 2,
|
|
35179
35182
|
developer: "alibaba",
|
|
35180
|
-
displayName: "
|
|
35183
|
+
displayName: "Happyhorse",
|
|
35181
35184
|
summary: "HappyHorse 1.0 text, first-frame, and reference-image video generation at 480P, 720P, or 1080P.",
|
|
35182
35185
|
kind: "video",
|
|
35183
35186
|
family: "HappyHorse",
|
|
@@ -35610,7 +35613,7 @@ var video_generated_default = [
|
|
|
35610
35613
|
id: "alibaba/happyhorse-1.1",
|
|
35611
35614
|
contractVersion: 2,
|
|
35612
35615
|
developer: "alibaba",
|
|
35613
|
-
displayName: "
|
|
35616
|
+
displayName: "Happyhorse 1.1",
|
|
35614
35617
|
summary: "HappyHorse 1.1 text, first-frame, and reference-image video generation at 480P, 720P, or 1080P.",
|
|
35615
35618
|
kind: "video",
|
|
35616
35619
|
family: "HappyHorse",
|
|
@@ -36625,7 +36628,7 @@ var video_generated_default = [
|
|
|
36625
36628
|
id: "alibaba/wan2.7",
|
|
36626
36629
|
contractVersion: 2,
|
|
36627
36630
|
developer: "alibaba",
|
|
36628
|
-
displayName: "Wan 2.7
|
|
36631
|
+
displayName: "Wan 2.7",
|
|
36629
36632
|
summary: "Generate Wan 2.7 videos from text, first and last frames, reference images or reference videos with optional audio.",
|
|
36630
36633
|
kind: "video",
|
|
36631
36634
|
family: "Wan Video",
|
|
@@ -37572,7 +37575,7 @@ var video_generated_default = [
|
|
|
37572
37575
|
id: "bytedance/byteplus-seedance-2-0",
|
|
37573
37576
|
contractVersion: 4,
|
|
37574
37577
|
developer: "bytedance",
|
|
37575
|
-
displayName: "Seedance 2.0",
|
|
37578
|
+
displayName: "BytePlus Seedance 2.0",
|
|
37576
37579
|
summary: "\u901A\u8FC7 BytePlus Seedance 2.0\uFF0C\u4F7F\u7528\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\u751F\u6210 4\uFF5E15 \u79D2\u89C6\u9891\uFF0C\u652F\u6301\u6700\u9AD8 4K \u8F93\u51FA\u3002",
|
|
37577
37580
|
kind: "video",
|
|
37578
37581
|
family: "Seedance",
|
|
@@ -38181,7 +38184,7 @@ var video_generated_default = [
|
|
|
38181
38184
|
id: "bytedance/byteplus-seedance-2-0-fast",
|
|
38182
38185
|
contractVersion: 2,
|
|
38183
38186
|
developer: "bytedance",
|
|
38184
|
-
displayName: "Seedance 2.0 Fast",
|
|
38187
|
+
displayName: "BytePlus Seedance 2.0 Fast",
|
|
38185
38188
|
summary: "BytePlus Seedance 2.0 Fast\uFF0C\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\uFF0C\u751F\u6210 4\uFF5E15 \u79D2\u89C6\u9891\uFF0C\u6700\u9AD8 720p\u3002",
|
|
38186
38189
|
kind: "video",
|
|
38187
38190
|
family: "Seedance Fast",
|
|
@@ -38810,7 +38813,7 @@ var video_generated_default = [
|
|
|
38810
38813
|
id: "bytedance/byteplus-seedance-2-0-mini",
|
|
38811
38814
|
contractVersion: 2,
|
|
38812
38815
|
developer: "bytedance",
|
|
38813
|
-
displayName: "Seedance 2.0 Mini",
|
|
38816
|
+
displayName: "BytePlus Seedance 2.0 Mini",
|
|
38814
38817
|
summary: "BytePlus Seedance 2.0 Mini\uFF0C\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\uFF0C\u751F\u6210 4\uFF5E15 \u79D2\u89C6\u9891\uFF0C\u6700\u9AD8 720p\u3002",
|
|
38815
38818
|
kind: "video",
|
|
38816
38819
|
family: "Seedance Mini",
|
|
@@ -39439,7 +39442,7 @@ var video_generated_default = [
|
|
|
39439
39442
|
id: "bytedance/doubao-seedance-1-5-pro-251215",
|
|
39440
39443
|
contractVersion: 1,
|
|
39441
39444
|
developer: "bytedance",
|
|
39442
|
-
displayName: "
|
|
39445
|
+
displayName: "Seedance 1.5 Pro",
|
|
39443
39446
|
summary: "Generate 4\u201312 second video from text and optional first/last-frame images with native audio at up to 1080p.",
|
|
39444
39447
|
kind: "video",
|
|
39445
39448
|
family: "Seedance Pro",
|
|
@@ -39873,7 +39876,7 @@ var video_generated_default = [
|
|
|
39873
39876
|
id: "bytedance/doubao-seedance-2-0-260128",
|
|
39874
39877
|
contractVersion: 2,
|
|
39875
39878
|
developer: "bytedance",
|
|
39876
|
-
displayName: "
|
|
39879
|
+
displayName: "Seedance 2.0",
|
|
39877
39880
|
summary: "\u4F7F\u7528\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\u751F\u6210 4\uFF5E15 \u79D2\u89C6\u9891\uFF0C\u652F\u6301\u6700\u9AD8 4K \u8F93\u51FA\uFF1B\u97F3\u9891\u53C2\u8003\u9700\u642D\u914D\u56FE\u7247\u6216\u89C6\u9891\u3002",
|
|
39878
39881
|
kind: "video",
|
|
39879
39882
|
family: "Seedance",
|
|
@@ -40573,7 +40576,7 @@ var video_generated_default = [
|
|
|
40573
40576
|
id: "bytedance/doubao-seedance-2-0-fast-260128",
|
|
40574
40577
|
contractVersion: 2,
|
|
40575
40578
|
developer: "bytedance",
|
|
40576
|
-
displayName: "
|
|
40579
|
+
displayName: "Seedance 2.0 Fast",
|
|
40577
40580
|
summary: "Seedance 2.0 Fast\uFF0C\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\uFF0C\u751F\u6210 4\uFF5E15 \u79D2\u89C6\u9891\uFF0C\u6700\u9AD8 720p\u3002",
|
|
40578
40581
|
kind: "video",
|
|
40579
40582
|
family: "Seedance Fast",
|
|
@@ -41202,7 +41205,7 @@ var video_generated_default = [
|
|
|
41202
41205
|
id: "bytedance/doubao-seedance-2-0-mini-260615",
|
|
41203
41206
|
contractVersion: 2,
|
|
41204
41207
|
developer: "bytedance",
|
|
41205
|
-
displayName: "
|
|
41208
|
+
displayName: "Seedance 2.0 Mini",
|
|
41206
41209
|
summary: "Seedance 2.0 Mini\uFF0C\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\uFF0C\u751F\u6210 4\uFF5E15 \u79D2\u89C6\u9891\uFF0C\u6700\u9AD8 720p\u3002",
|
|
41207
41210
|
kind: "video",
|
|
41208
41211
|
family: "Seedance Mini",
|
|
@@ -41831,7 +41834,7 @@ var video_generated_default = [
|
|
|
41831
41834
|
id: "bytedance/doubao-seedance-2-5-260628",
|
|
41832
41835
|
contractVersion: 3,
|
|
41833
41836
|
developer: "bytedance",
|
|
41834
|
-
displayName: "
|
|
41837
|
+
displayName: "Seedance 2.5",
|
|
41835
41838
|
summary: "\u706B\u5C71\u65B9\u821F Seedance 2.5\uFF0C\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u53C2\u8003\uFF0C\u4E5F\u53EF\u5148\u751F\u6210 480p Draft \u6837\u7247\uFF0C\u518D\u72EC\u7ACB\u751F\u6210 1080p \u6B63\u5F0F\u7248\u3002",
|
|
41836
41839
|
kind: "video",
|
|
41837
41840
|
family: "Seedance",
|
|
@@ -42722,7 +42725,7 @@ var video_generated_default = [
|
|
|
42722
42725
|
id: "google/gemini-omni-flash-preview",
|
|
42723
42726
|
contractVersion: 2,
|
|
42724
42727
|
developer: "google",
|
|
42725
|
-
displayName: "Gemini Omni Flash
|
|
42728
|
+
displayName: "Gemini Omni Flash",
|
|
42726
42729
|
summary: "Generate one 720p video with native sound from a text prompt and a configurable 3\u201310 second duration.",
|
|
42727
42730
|
kind: "video",
|
|
42728
42731
|
family: "Gemini Omni Flash",
|
|
@@ -44854,7 +44857,7 @@ var video_generated_default = [
|
|
|
44854
44857
|
id: "heygen/heygen-avatar-video",
|
|
44855
44858
|
contractVersion: 1,
|
|
44856
44859
|
developer: "heygen",
|
|
44857
|
-
displayName: "HeyGen
|
|
44860
|
+
displayName: "HeyGen Avatar Video",
|
|
44858
44861
|
summary: "Generate a talking photo-avatar video from one portrait and either a voiced script or prerecorded speech.",
|
|
44859
44862
|
kind: "video",
|
|
44860
44863
|
family: "HeyGen Photo Avatar",
|
|
@@ -46238,7 +46241,7 @@ var video_generated_default = [
|
|
|
46238
46241
|
id: "minimax/baidu-vod-h23",
|
|
46239
46242
|
contractVersion: 2,
|
|
46240
46243
|
developer: "minimax",
|
|
46241
|
-
displayName: "MiniMax Hailuo 2.3",
|
|
46244
|
+
displayName: "MiniMax Hailuo 2.3 Fast",
|
|
46242
46245
|
summary: "Generate Hailuo 2.3 video from text or one first-frame image at 768p or 1080p, with 6- or 10-second output.",
|
|
46243
46246
|
kind: "video",
|
|
46244
46247
|
family: "MiniMax Hailuo",
|
|
@@ -48210,7 +48213,7 @@ var video_generated_default = [
|
|
|
48210
48213
|
id: "vidu/baidu-vod-vq3p",
|
|
48211
48214
|
contractVersion: 2,
|
|
48212
48215
|
developer: "vidu",
|
|
48213
|
-
displayName: "Vidu
|
|
48216
|
+
displayName: "Vidu q3 Pro",
|
|
48214
48217
|
summary: "Generate Vidu Q3 Pro video from text, first/last frames, or up to seven reference images with 1\u201316 second output.",
|
|
48215
48218
|
kind: "video",
|
|
48216
48219
|
family: "Vidu Q Pro",
|
|
@@ -49908,7 +49911,7 @@ var video_generated_default = [
|
|
|
49908
49911
|
id: "alibaba/wan3.0-video",
|
|
49909
49912
|
contractVersion: 2,
|
|
49910
49913
|
developer: "alibaba",
|
|
49911
|
-
displayName: "Wan 3.0
|
|
49914
|
+
displayName: "Wan 3.0",
|
|
49912
49915
|
summary: "Generate a 2\u201330 second Wan 3.0 video from text, first/last frames, or image, video, and audio references at 480P, 720P, or 1080P.",
|
|
49913
49916
|
kind: "video",
|
|
49914
49917
|
family: "Wan Video",
|
|
@@ -50894,7 +50897,7 @@ var NexraWaitTimeoutError = class extends Error {
|
|
|
50894
50897
|
};
|
|
50895
50898
|
|
|
50896
50899
|
// src/generated/version.generated.ts
|
|
50897
|
-
var SDK_VERSION = "0.1.0-alpha.
|
|
50900
|
+
var SDK_VERSION = "0.1.0-alpha.34";
|
|
50898
50901
|
|
|
50899
50902
|
// src/transport.ts
|
|
50900
50903
|
var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
|
|
@@ -51123,14 +51126,106 @@ var canonicalTokens = /* @__PURE__ */ new Map([
|
|
|
51123
51126
|
["pixverse", "PixVerse"],
|
|
51124
51127
|
["tts", "TTS"]
|
|
51125
51128
|
]);
|
|
51129
|
+
var productDisplayNames = /* @__PURE__ */ new Map([
|
|
51130
|
+
["agnes/agnes-video-2-5-flash", "Agnes Video 2.5 Flash"],
|
|
51131
|
+
["alibaba/happyhorse-1.0", "Happyhorse"],
|
|
51132
|
+
["alibaba/happyhorse-1.1", "Happyhorse 1.1"],
|
|
51133
|
+
["alibaba/qwen-image-edit-plus", "Qwen Image Edit Plus"],
|
|
51134
|
+
["alibaba/wan2.7", "Wan 2.7"],
|
|
51135
|
+
["alibaba/wan2.7-image-pro", "Wan 2.7 Image Pro"],
|
|
51136
|
+
["alibaba/wan3.0-video", "Wan 3.0"],
|
|
51137
|
+
["alibaba/z-image-turbo", "Z-Image Turbo"],
|
|
51138
|
+
["anthropic/claude-fable-5", "Claude Fable 5"],
|
|
51139
|
+
["anthropic/claude-fable-5-1", "Claude Fable 5.1"],
|
|
51140
|
+
["anthropic/claude-haiku-4-5-20251001", "Claude Haiku 4.5"],
|
|
51141
|
+
["anthropic/claude-opus-4-6", "Claude Opus 4.6"],
|
|
51142
|
+
["anthropic/claude-opus-4-8", "Claude Opus 4.8"],
|
|
51143
|
+
["anthropic/claude-opus-5", "Claude Opus 5"],
|
|
51144
|
+
["anthropic/claude-opus-5-5", "Claude Opus 5.5"],
|
|
51145
|
+
["anthropic/claude-sonnet-4-6", "Claude Sonnet 4.6"],
|
|
51146
|
+
["anthropic/claude-sonnet-5", "Claude Sonnet 5"],
|
|
51147
|
+
["bytedance/byteplus-seedance-2-0", "BytePlus Seedance 2.0"],
|
|
51148
|
+
["bytedance/byteplus-seedance-2-0-fast", "BytePlus Seedance 2.0 Fast"],
|
|
51149
|
+
["bytedance/byteplus-seedance-2-0-mini", "BytePlus Seedance 2.0 Mini"],
|
|
51150
|
+
["bytedance/doubao-seed-2-0-mini-260428", "Seed 2.0 Mini"],
|
|
51151
|
+
["bytedance/doubao-seed-2-0-pro-260215", "Seed 2.0 Pro"],
|
|
51152
|
+
["bytedance/doubao-seed-2-1-pro-260628", "Seed 2.1 Pro"],
|
|
51153
|
+
["bytedance/doubao-seed-2-1-turbo-260628", "Seed 2.1 Turbo"],
|
|
51154
|
+
["bytedance/doubao-seedance-1-5-pro-251215", "Seedance 1.5 Pro"],
|
|
51155
|
+
["bytedance/doubao-seedance-2-0-260128", "Seedance 2.0"],
|
|
51156
|
+
["bytedance/doubao-seedance-2-0-fast-260128", "Seedance 2.0 Fast"],
|
|
51157
|
+
["bytedance/doubao-seedance-2-0-mini-260615", "Seedance 2.0 Mini"],
|
|
51158
|
+
["bytedance/doubao-seedance-2-5-260628", "Seedance 2.5"],
|
|
51159
|
+
["bytedance/doubao-seedream-5-0-260128", "Seedream 5.0"],
|
|
51160
|
+
["bytedance/doubao-seedream-5-0-pro-260628", "Seedream 5.0 Pro"],
|
|
51161
|
+
["bytedance/doubao-tts-v1", "Doubao TTS v1"],
|
|
51162
|
+
["bytedance/doubao-tts-v2", "Doubao TTS v2"],
|
|
51163
|
+
["ctyun/deepseek-v4-1-flash", "DeepSeek V4.1 Flash"],
|
|
51164
|
+
["elevenlabs/eleven_flash_v2_5", "ElevenLabs Flash v2.5"],
|
|
51165
|
+
["elevenlabs/eleven_multilingual_v2", "ElevenLabs Multilingual v2"],
|
|
51166
|
+
["fish-audio/s1", "Fish Audio S1"],
|
|
51167
|
+
["fish-audio/s2-pro", "Fish Audio S2 Pro"],
|
|
51168
|
+
["google/gemini-2.5-flash-image", "Banana"],
|
|
51169
|
+
["google/gemini-3-8-flash", "Gemini 3.8 Flash"],
|
|
51170
|
+
["google/gemini-3-pro-image", "Banana Pro"],
|
|
51171
|
+
["google/gemini-3.1-flash-image", "Banana 2"],
|
|
51172
|
+
["google/gemini-3.1-flash-lite-image", "Banana 2 Lite"],
|
|
51173
|
+
["google/gemini-3.1-pro-preview", "Gemini 3.1 Pro"],
|
|
51174
|
+
["google/gemini-3.5-flash", "Gemini 3.5 Flash"],
|
|
51175
|
+
["google/gemini-3.6-flash", "Gemini 3.6 Flash"],
|
|
51176
|
+
["google/gemini-omni-flash-preview", "Gemini Omni Flash"],
|
|
51177
|
+
["google/veo-3.1-generate-001", "Veo 3.1"],
|
|
51178
|
+
["google/veo-3.1-lite-generate-001", "Veo 3.1 Lite"],
|
|
51179
|
+
["heygen/heygen-avatar-video", "HeyGen Avatar Video"],
|
|
51180
|
+
["kuaishou/baidu-vod-kling-omni-v3", "Kling 3.0 Omni"],
|
|
51181
|
+
["kuaishou/baidu-vod-kling-v3", "Kling V3"],
|
|
51182
|
+
["minimax/MiniMax-H3", "MiniMax H3"],
|
|
51183
|
+
["minimax/baidu-vod-h23", "MiniMax Hailuo 2.3 Fast"],
|
|
51184
|
+
["minimax/baidu-vod-h23f", "MiniMax Hailuo 2.3 Fast"],
|
|
51185
|
+
["minimax/minimax-h3-local-reference", "MiniMax H3 Local"],
|
|
51186
|
+
["minimax/music-2.6", "MiniMax Music 2.6"],
|
|
51187
|
+
["minimax/speech-2.8-hd", "Minimax HD"],
|
|
51188
|
+
["minimax/speech-2.8-turbo", "MiniMax Speech 2.8 Turbo"],
|
|
51189
|
+
["moonshot-ai/moonshotai.kimi-k2.5", "Kimi K2.5"],
|
|
51190
|
+
["openai/gpt-5.4", "GPT-5.4"],
|
|
51191
|
+
["openai/gpt-5.5", "GPT-5.5"],
|
|
51192
|
+
["openai/gpt-5.6-luna", "GPT-5.6 Luna"],
|
|
51193
|
+
["openai/gpt-5.6-sol", "GPT-5.6 Sol"],
|
|
51194
|
+
["openai/gpt-5.6-terra", "GPT-5.6 Terra"],
|
|
51195
|
+
["openai/gpt-6-astra", "GPT-6 Astra"],
|
|
51196
|
+
["openai/gpt-6-luna", "GPT-6 Luna"],
|
|
51197
|
+
["openai/gpt-6-sol", "GPT-6 Sol"],
|
|
51198
|
+
["openai/gpt-image-2", "GPT-Image-2"],
|
|
51199
|
+
["openai/gpt-image-2.5-flare", "GPT-Image-2.5 Flare"],
|
|
51200
|
+
["openai/gpt-image-2.5-sunburst", "GPT-Image-2.5 Sunburst"],
|
|
51201
|
+
["pixverse/baidu-vod-p60", "PixVerse V6"],
|
|
51202
|
+
["runninghub/runninghub-youchuan-text-to-image-v7", "Midjourney V7"],
|
|
51203
|
+
["runninghub/runninghub-youchuan-text-to-image-v81", "Midjourney V8.1"],
|
|
51204
|
+
["runninghub/runninghub-youchuan-text-to-image-v82", "Midjourney V8.2"],
|
|
51205
|
+
["vidu/baidu-vod-vq3p", "Vidu q3 Pro"],
|
|
51206
|
+
["xai/grok-4.3", "Grok 4.3"],
|
|
51207
|
+
["xai/grok-4.7", "Grok 4.7"],
|
|
51208
|
+
["xai/grok-imagine-image-quality", "Grok Imagine"],
|
|
51209
|
+
["xai/grok-imagine-video", "Grok Imagine Video"],
|
|
51210
|
+
["xai/grok-imagine-video-1.5", "Grok Imagine Video 1.5"],
|
|
51211
|
+
["yadan/minimax-h3-local", "MiniMax H3 Local"]
|
|
51212
|
+
]);
|
|
51213
|
+
var preferredLabels = new Map(
|
|
51214
|
+
[...productDisplayNames.values()].map((name) => [name.toLowerCase(), name])
|
|
51215
|
+
);
|
|
51126
51216
|
var displayNameOverrides = /* @__PURE__ */ new Map([
|
|
51127
51217
|
["wan-2-7-image-pro", "Wan 2.7 Image Pro"]
|
|
51128
51218
|
]);
|
|
51129
|
-
function formatModelDisplayName(displayName) {
|
|
51219
|
+
function formatModelDisplayName(displayName, identity) {
|
|
51220
|
+
const productName = identity && productDisplayNames.get(identity.modelId.trim());
|
|
51221
|
+
if (productName) return productName;
|
|
51130
51222
|
const name = displayName.trim();
|
|
51223
|
+
const preferredLabel = preferredLabels.get(name.toLowerCase());
|
|
51224
|
+
if (preferredLabel) return preferredLabel;
|
|
51131
51225
|
const override = displayNameOverrides.get(name.toLowerCase());
|
|
51132
51226
|
if (override) return override;
|
|
51133
|
-
|
|
51227
|
+
const formatted = name.replace(/[-_\u2010-\u2015\u2212]+/g, " ").split(/\s+/).filter(Boolean).map((token) => canonicalTokens.get(token.toLowerCase()) ?? token.charAt(0).toUpperCase() + token.slice(1)).join(" ");
|
|
51228
|
+
return preferredLabels.get(formatted.toLowerCase()) ?? formatted;
|
|
51134
51229
|
}
|
|
51135
51230
|
|
|
51136
51231
|
// src/catalog/index.ts
|
|
@@ -51155,7 +51250,7 @@ var CatalogClient = class {
|
|
|
51155
51250
|
`/catalog/models/${encodeURIComponent(modelId)}${queryString({ operation })}`,
|
|
51156
51251
|
{ signal }
|
|
51157
51252
|
);
|
|
51158
|
-
return state.displayName === void 0 ? state : { ...state, displayName: formatModelDisplayName(state.displayName) };
|
|
51253
|
+
return state.displayName === void 0 ? state : { ...state, displayName: formatModelDisplayName(state.displayName, { modelId: state.modelId }) };
|
|
51159
51254
|
}
|
|
51160
51255
|
async *events(options = {}) {
|
|
51161
51256
|
const response = await this.transport.response(`/catalog/events${queryString({ after: options.after })}`, {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { C as CursorPage, J as JsonValue } from './json-Cz0MkWQn.js';
|
|
|
5
5
|
export { a as JsonObject, b as JsonPrimitive } from './json-Cz0MkWQn.js';
|
|
6
6
|
import { N as NexraError, P as PublicErrorFields } from './errors-DZlSwyv8.js';
|
|
7
7
|
export { A as ApiErrorPayload, a as PublicError, b as PublicErrorContext } from './errors-DZlSwyv8.js';
|
|
8
|
-
import { V as Voice, C as CreateVoiceRequest, a as VoiceCreation, A as AssetsClient, T as TasksClient, R as RunTaskOptions, b as RunResult, c as TaskResult } from './voices-
|
|
9
|
-
export { d as CreateTaskOptions, e as CreateTaskRequest, f as RequestDetails, g as TASK_STATUSES, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, W as WaitTaskOptions, v as WatchTaskOptions, w as isTerminalTaskStatus, x as verifyWebhook } from './voices-
|
|
8
|
+
import { V as Voice, C as CreateVoiceRequest, a as VoiceCreation, A as AssetsClient, T as TasksClient, R as RunTaskOptions, b as RunResult, c as TaskResult } from './voices-bcGBcfH-.js';
|
|
9
|
+
export { d as CreateTaskOptions, e as CreateTaskRequest, f as RequestDetails, g as TASK_STATUSES, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, W as WaitTaskOptions, v as WatchTaskOptions, w as isTerminalTaskStatus, x as verifyWebhook } from './voices-bcGBcfH-.js';
|
|
10
10
|
import { CatalogClient } from './catalog.js';
|
|
11
11
|
export { formatModelDisplayName, getModelSpec, listModelSpecs } from './catalog.js';
|
|
12
12
|
export { ceilDecimal, multiplyDecimal } from './decimal.js';
|
package/dist/index.js
CHANGED
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
projectMediaGeometry,
|
|
21
21
|
queryString,
|
|
22
22
|
sleep
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZPOVSD7D.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_KINDS,
|
|
26
26
|
TASK_STATUSES,
|
|
27
27
|
createTaskRequest,
|
|
28
28
|
isTerminalTaskStatus
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-R4BEO26Q.js";
|
|
30
30
|
|
|
31
31
|
// src/assets.ts
|
|
32
32
|
var AssetsClient = class {
|
|
@@ -136,7 +136,7 @@ function isFile(value) {
|
|
|
136
136
|
|
|
137
137
|
// src/models.ts
|
|
138
138
|
function withModelDisplayName(model) {
|
|
139
|
-
return { ...model, displayName: formatModelDisplayName(model.displayName) };
|
|
139
|
+
return { ...model, displayName: formatModelDisplayName(model.displayName, model.slug ? { modelId: model.slug } : void 0) };
|
|
140
140
|
}
|
|
141
141
|
var ModelsClient = class {
|
|
142
142
|
constructor(transport) {
|
package/dist/language.js
CHANGED
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
jsonBody,
|
|
7
7
|
parseServerSentEvents,
|
|
8
8
|
resolveNexraLanguageReasoning
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZPOVSD7D.js";
|
|
10
10
|
import {
|
|
11
11
|
isPublicErrorCode,
|
|
12
12
|
publicErrorMessage,
|
|
13
13
|
resolvePublicErrorLocale
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R4BEO26Q.js";
|
|
15
15
|
|
|
16
16
|
// src/language/index.ts
|
|
17
17
|
import { createAnthropic } from "@ai-sdk/anthropic";
|
package/dist/media.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as Ass
|
|
|
2
2
|
export { C as CreateNexraDisplayQuoteBatchRequest, d as CreateNexraQuoteRequest, F as FetchLike, e as MediaGeometryField, f as MediaGeometryProjection, g as ModelCapabilitySummary, h as ModelDateVersion, i as ModelEndpointSummary, j as ModelModality, c as ModelResourceList, k as ModelResourceOption, b as ModelSchema, M as ModelSearchParams, l as NexraBillingCurrency, m as NexraCatalogRevision, N as NexraClientOptions, n as NexraDisplayQuoteBatch, o as NexraDisplayQuoteBatchEntry, p as NexraModelOperation, q as NexraModelSpec, r as NexraModelSpecFilter, s as NexraQuote, t as NexraSalePrice, u as NexraSalePriceList, v as NexraSettlement, a as TaskModel, T as TaskModelSummary, U as UnifiedMediaGeometry } from './media-geometry-DAVFGry1.js';
|
|
3
3
|
export { C as CursorPage, a as JsonObject, b as JsonPrimitive, J as JsonValue } from './json-Cz0MkWQn.js';
|
|
4
4
|
export { A as ApiErrorPayload, N as NexraError, a as PublicError, b as PublicErrorContext, P as PublicErrorFields } from './errors-DZlSwyv8.js';
|
|
5
|
-
export { d as CreateTaskOptions, e as CreateTaskRequest, C as CreateVoiceRequest, f as RequestDetails, b as RunResult, R as RunTaskOptions, c as Task, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, c as TaskResult, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, V as Voice, a as VoiceCreation, W as WaitTaskOptions, v as WatchTaskOptions } from './voices-
|
|
5
|
+
export { d as CreateTaskOptions, e as CreateTaskRequest, C as CreateVoiceRequest, f as RequestDetails, b as RunResult, R as RunTaskOptions, c as Task, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, c as TaskResult, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, V as Voice, a as VoiceCreation, W as WaitTaskOptions, v as WatchTaskOptions } from './voices-bcGBcfH-.js';
|
|
@@ -104,8 +104,6 @@ interface TaskTiming {
|
|
|
104
104
|
generationMs: number | null;
|
|
105
105
|
/** Background: elapsed persistence stage until assets are ready; terminal: measured transfer. Null when unfinished or unavailable. */
|
|
106
106
|
storageMs: number | null;
|
|
107
|
-
/** First-response time outside measured preparation/generation and any pre-response storage; not a separately instrumented stage. */
|
|
108
|
-
responseOverheadMs?: number | null;
|
|
109
107
|
/** Start of in-progress background persistence, when a worker has claimed the output. */
|
|
110
108
|
storageStartedAt?: string;
|
|
111
109
|
/** Background persistence elapsed time from first response to durable asset readiness. */
|
package/package.json
CHANGED
|
File without changes
|