@byte_fluffy/nexra-sdk 0.1.0-alpha.40 → 0.1.0-alpha.42

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/dist/index.js CHANGED
@@ -20,14 +20,14 @@ import {
20
20
  projectMediaGeometry,
21
21
  queryString,
22
22
  sleep
23
- } from "./chunk-Q4A3HJBX.js";
23
+ } from "./chunk-QPUI7EN7.js";
24
24
  import {
25
25
  MEDIA_KINDS,
26
26
  TASK_STATUSES,
27
27
  createTaskRequest,
28
28
  extractUpstreamErrorMessage,
29
29
  isTerminalTaskStatus
30
- } from "./chunk-SIBYK5IX.js";
30
+ } from "./chunk-ESPUF2D4.js";
31
31
 
32
32
  // src/assets.ts
33
33
  var AssetsClient = class {
package/dist/language.js CHANGED
@@ -6,12 +6,12 @@ import {
6
6
  jsonBody,
7
7
  parseServerSentEvents,
8
8
  resolveNexraLanguageReasoning
9
- } from "./chunk-Q4A3HJBX.js";
9
+ } from "./chunk-QPUI7EN7.js";
10
10
  import {
11
11
  isPublicErrorCode,
12
12
  publicErrorMessage,
13
13
  resolvePublicErrorLocale
14
- } from "./chunk-SIBYK5IX.js";
14
+ } from "./chunk-ESPUF2D4.js";
15
15
 
16
16
  // src/language/index.ts
17
17
  import { createAnthropic } from "@ai-sdk/anthropic";
package/dist/media.d.ts CHANGED
@@ -7,7 +7,7 @@ declare const NEXRA_GENERATION_OPERATIONS: readonly ["text.generate", "image.gen
7
7
  type NexraGenerationOperation = (typeof NEXRA_GENERATION_OPERATIONS)[number];
8
8
  declare const NEXRA_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale"];
9
9
  type NexraMediaOperation = (typeof NEXRA_MEDIA_OPERATIONS)[number];
10
- declare const NEXRA_PUBLISHED_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale"];
10
+ declare const NEXRA_PUBLISHED_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale"];
11
11
  type NexraPublishedMediaOperation = (typeof NEXRA_PUBLISHED_MEDIA_OPERATIONS)[number];
12
12
  declare const NEXRA_MEDIA_FEATURES: readonly ["text-to-image", "image-to-image", "image-reference", "image-edit", "image-inpaint", "image-control", "text-to-video", "first-frame", "first-last-frame", "image-to-video", "video-to-video", "audio-to-video", "avatar-video", "reference-image", "reference-video", "reference-audio", "omni-reference", "tts", "music", "sfx", "voice-reference", "voice-design", "scale-factor", "target-resolution"];
13
13
  type NexraMediaFeature = (typeof NEXRA_MEDIA_FEATURES)[number];
@@ -105,6 +105,7 @@ type NexraImageUpscaleInput = Readonly<{
105
105
  preserve_details?: boolean;
106
106
  }>;
107
107
  type NexraVideoUpscaleInput = Readonly<{
108
+ source_duration: number;
108
109
  content: readonly [NexraVideoContentPart];
109
110
  scale?: number;
110
111
  resolution?: string;
@@ -198,7 +199,7 @@ declare const NEXRA_MEDIA_OPERATION_DEFINITIONS: readonly [{
198
199
  readonly parameterKeys: readonly ["scale", "resolution", "output_format", "preserve_details"];
199
200
  }, {
200
201
  readonly operation: "video.upscale";
201
- readonly status: "hold";
202
+ readonly status: "active";
202
203
  readonly outputKind: "video";
203
204
  readonly features: readonly ["scale-factor", "target-resolution"];
204
205
  readonly parameterKeys: readonly ["scale", "resolution", "output_format", "preserve_details"];
package/dist/media.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  nexraMediaInputSchema,
11
11
  nexraMediaInputSchemaForMode,
12
12
  nexraMediaOperationForMode
13
- } from "./chunk-SIBYK5IX.js";
13
+ } from "./chunk-ESPUF2D4.js";
14
14
  export {
15
15
  NEXRA_GENERATION_OPERATIONS,
16
16
  NEXRA_MEDIA_API_VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byte_fluffy/nexra-sdk",
3
- "version": "0.1.0-alpha.40",
3
+ "version": "0.1.0-alpha.42",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "sideEffects": false,