@nodaro/sdk 2.69.0 → 2.71.0

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.
Files changed (101) hide show
  1. package/dist/{chunk-KG4R454Z.js → chunk-25IKUIM3.js} +4 -3
  2. package/dist/chunk-25IKUIM3.js.map +1 -0
  3. package/dist/{chunk-GGCIOKOC.cjs → chunk-6JAILT34.cjs} +3 -3
  4. package/dist/{chunk-GGCIOKOC.cjs.map → chunk-6JAILT34.cjs.map} +1 -1
  5. package/dist/{chunk-7FLTDTHR.cjs → chunk-BNJUMQQ3.cjs} +2 -2
  6. package/dist/chunk-BNJUMQQ3.cjs.map +1 -0
  7. package/dist/{chunk-QAVLYMGM.js → chunk-BY3XIXWC.js} +2 -2
  8. package/dist/chunk-BY3XIXWC.js.map +1 -0
  9. package/dist/{chunk-BPWUWUZ3.cjs → chunk-C4LXPSSF.cjs} +4 -3
  10. package/dist/chunk-C4LXPSSF.cjs.map +1 -0
  11. package/dist/{chunk-PGT4BXR2.cjs → chunk-CAM74LQ2.cjs} +15 -4
  12. package/dist/chunk-CAM74LQ2.cjs.map +1 -0
  13. package/dist/{chunk-F46BPB7K.js → chunk-HNUCPUIX.js} +19 -6
  14. package/dist/chunk-HNUCPUIX.js.map +1 -0
  15. package/dist/{chunk-LDS6YGHY.cjs → chunk-HRFLEHSS.cjs} +2 -2
  16. package/dist/chunk-HRFLEHSS.cjs.map +1 -0
  17. package/dist/{chunk-66N22RVB.js → chunk-HRW5IGJ2.js} +2 -2
  18. package/dist/chunk-HRW5IGJ2.js.map +1 -0
  19. package/dist/{chunk-OHC4JIUP.js → chunk-JAGTW35C.js} +15 -4
  20. package/dist/chunk-JAGTW35C.js.map +1 -0
  21. package/dist/{chunk-QB6DOL6N.js → chunk-MDTIPELE.js} +3 -3
  22. package/dist/{chunk-QB6DOL6N.js.map → chunk-MDTIPELE.js.map} +1 -1
  23. package/dist/{chunk-M2HDPTCU.js → chunk-N7RR23PV.js} +10 -10
  24. package/dist/{chunk-M2HDPTCU.js.map → chunk-N7RR23PV.js.map} +1 -1
  25. package/dist/{chunk-WVWSHU7C.cjs → chunk-NLCZFLLJ.cjs} +18 -18
  26. package/dist/{chunk-WVWSHU7C.cjs.map → chunk-NLCZFLLJ.cjs.map} +1 -1
  27. package/dist/{chunk-EP4J3TLQ.cjs → chunk-O4UXEIV6.cjs} +2 -2
  28. package/dist/chunk-O4UXEIV6.cjs.map +1 -0
  29. package/dist/{chunk-AHEDG45L.js → chunk-ROUCXQU3.js} +2 -2
  30. package/dist/chunk-ROUCXQU3.js.map +1 -0
  31. package/dist/{chunk-F3AV3TC7.js → chunk-UDRP64FX.js} +2 -2
  32. package/dist/chunk-UDRP64FX.js.map +1 -0
  33. package/dist/{chunk-2WVU3MPN.cjs → chunk-VTHHSO2K.cjs} +19 -6
  34. package/dist/chunk-VTHHSO2K.cjs.map +1 -0
  35. package/dist/{chunk-FMMONV6J.cjs → chunk-Z3RI7CSA.cjs} +2 -2
  36. package/dist/chunk-Z3RI7CSA.cjs.map +1 -0
  37. package/dist/entries/audio.cjs +2 -2
  38. package/dist/entries/audio.d.cts +16 -3
  39. package/dist/entries/audio.d.ts +16 -3
  40. package/dist/entries/audio.js +1 -1
  41. package/dist/entries/catalogs.cjs +2 -2
  42. package/dist/entries/catalogs.d.cts +15 -4
  43. package/dist/entries/catalogs.d.ts +15 -4
  44. package/dist/entries/catalogs.js +1 -1
  45. package/dist/entries/characters.d.cts +1 -1
  46. package/dist/entries/characters.d.ts +1 -1
  47. package/dist/entries/client.cjs +14 -14
  48. package/dist/entries/client.d.cts +1 -1
  49. package/dist/entries/client.d.ts +1 -1
  50. package/dist/entries/client.js +9 -9
  51. package/dist/entries/core.cjs +5 -5
  52. package/dist/entries/core.js +1 -1
  53. package/dist/entries/creatures.d.cts +1 -1
  54. package/dist/entries/creatures.d.ts +1 -1
  55. package/dist/entries/credits.cjs +2 -2
  56. package/dist/entries/credits.d.cts +1 -1
  57. package/dist/entries/credits.d.ts +1 -1
  58. package/dist/entries/credits.js +1 -1
  59. package/dist/entries/locations.d.cts +1 -1
  60. package/dist/entries/locations.d.ts +1 -1
  61. package/dist/entries/media.cjs +2 -2
  62. package/dist/entries/media.d.cts +48 -11
  63. package/dist/entries/media.d.ts +48 -11
  64. package/dist/entries/media.js +1 -1
  65. package/dist/entries/node-presets.cjs +2 -2
  66. package/dist/entries/node-presets.d.cts +8 -0
  67. package/dist/entries/node-presets.d.ts +8 -0
  68. package/dist/entries/node-presets.js +1 -1
  69. package/dist/entries/nodes.cjs +2 -2
  70. package/dist/entries/nodes.d.cts +1 -1
  71. package/dist/entries/nodes.d.ts +1 -1
  72. package/dist/entries/nodes.js +1 -1
  73. package/dist/entries/objects.d.cts +1 -1
  74. package/dist/entries/objects.d.ts +1 -1
  75. package/dist/entries/picker-catalogs.cjs +2 -2
  76. package/dist/entries/picker-catalogs.d.cts +8 -0
  77. package/dist/entries/picker-catalogs.d.ts +8 -0
  78. package/dist/entries/picker-catalogs.js +1 -1
  79. package/dist/entries/scene3d.d.cts +2 -2
  80. package/dist/entries/scene3d.d.ts +2 -2
  81. package/dist/index.cjs +22 -22
  82. package/dist/index.d.cts +3 -3
  83. package/dist/index.d.ts +3 -3
  84. package/dist/index.js +9 -9
  85. package/dist/{nodes-BpKzOOQ2.d.cts → nodes-BoYTazf4.d.cts} +44 -12
  86. package/dist/{nodes-DO4F6EkA.d.ts → nodes-sULkr8Ez.d.ts} +44 -12
  87. package/package.json +3 -3
  88. package/dist/chunk-2WVU3MPN.cjs.map +0 -1
  89. package/dist/chunk-66N22RVB.js.map +0 -1
  90. package/dist/chunk-7FLTDTHR.cjs.map +0 -1
  91. package/dist/chunk-AHEDG45L.js.map +0 -1
  92. package/dist/chunk-BPWUWUZ3.cjs.map +0 -1
  93. package/dist/chunk-EP4J3TLQ.cjs.map +0 -1
  94. package/dist/chunk-F3AV3TC7.js.map +0 -1
  95. package/dist/chunk-F46BPB7K.js.map +0 -1
  96. package/dist/chunk-FMMONV6J.cjs.map +0 -1
  97. package/dist/chunk-KG4R454Z.js.map +0 -1
  98. package/dist/chunk-LDS6YGHY.cjs.map +0 -1
  99. package/dist/chunk-OHC4JIUP.js.map +0 -1
  100. package/dist/chunk-PGT4BXR2.cjs.map +0 -1
  101. package/dist/chunk-QAVLYMGM.js.map +0 -1
@@ -2,7 +2,7 @@ import { CreatureAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities
2
2
  export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn } from '@nodaro/shared/entities';
3
3
  import { TtsProvider } from '@nodaro/shared/models';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
5
- import { l as GenerationSessionParams, a3 as Subject } from '../nodes-DO4F6EkA.js';
5
+ import { l as GenerationSessionParams, a3 as Subject } from '../nodes-sULkr8Ez.js';
6
6
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
7
7
  import '@nodaro/shared/apps';
8
8
  import '@nodaro/shared/organizations';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ALUUBPDG.cjs');
4
- var chunk7FLTDTHR_cjs = require('../chunk-7FLTDTHR.cjs');
4
+ var chunkBNJUMQQ3_cjs = require('../chunk-BNJUMQQ3.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "CreditsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk7FLTDTHR_cjs.CreditsResource; }
10
+ get: function () { return chunkBNJUMQQ3_cjs.CreditsResource; }
11
11
  });
12
12
  //# sourceMappingURL=credits.cjs.map
13
13
  //# sourceMappingURL=credits.cjs.map
@@ -198,7 +198,7 @@ interface ModelCostsResult {
198
198
  /**
199
199
  * The identifiers in `data` whose figure is an ESTIMATE, not a fixed price:
200
200
  * metered LLM price keys (`llmPriceKey` from `@nodaro/shared/llm-models`,
201
- * `<feature>:<model>[:direct]`), charged on what the call actually uses.
201
+ * `<feature>:<model>[:direct | :effort-<level>]`), charged on what the call actually uses.
202
202
  * Show these as `≈N`. Omitted when there are none, so a batch of fixed ids
203
203
  * answers exactly as it always has. A metered key that lands in `missing`
204
204
  * instead means the server is not pricing LLM calls per model — show no
@@ -198,7 +198,7 @@ interface ModelCostsResult {
198
198
  /**
199
199
  * The identifiers in `data` whose figure is an ESTIMATE, not a fixed price:
200
200
  * metered LLM price keys (`llmPriceKey` from `@nodaro/shared/llm-models`,
201
- * `<feature>:<model>[:direct]`), charged on what the call actually uses.
201
+ * `<feature>:<model>[:direct | :effort-<level>]`), charged on what the call actually uses.
202
202
  * Show these as `≈N`. Omitted when there are none, so a batch of fixed ids
203
203
  * answers exactly as it always has. A metered key that lands in `missing`
204
204
  * instead means the server is not pricing LLM calls per model — show no
@@ -1,4 +1,4 @@
1
1
  import '../chunk-V4GPQ6Y2.js';
2
- export { CreditsResource } from '../chunk-F3AV3TC7.js';
2
+ export { CreditsResource } from '../chunk-UDRP64FX.js';
3
3
  //# sourceMappingURL=credits.js.map
4
4
  //# sourceMappingURL=credits.js.map
@@ -2,7 +2,7 @@ import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, Surround
2
2
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
5
- import { l as GenerationSessionParams } from '../nodes-BpKzOOQ2.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-BoYTazf4.cjs';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -2,7 +2,7 @@ import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, Surround
2
2
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
5
- import { l as GenerationSessionParams } from '../nodes-DO4F6EkA.js';
5
+ import { l as GenerationSessionParams } from '../nodes-sULkr8Ez.js';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-RHETJOUM.cjs');
4
- var chunk2WVU3MPN_cjs = require('../chunk-2WVU3MPN.cjs');
4
+ var chunkVTHHSO2K_cjs = require('../chunk-VTHHSO2K.cjs');
5
5
  require('../chunk-EJJIA765.cjs');
6
6
  require('../chunk-4AD3CBDK.cjs');
7
7
 
@@ -9,7 +9,7 @@ require('../chunk-4AD3CBDK.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "MediaResource", {
11
11
  enumerable: true,
12
- get: function () { return chunk2WVU3MPN_cjs.MediaResource; }
12
+ get: function () { return chunkVTHHSO2K_cjs.MediaResource; }
13
13
  });
14
14
  //# sourceMappingURL=media.cjs.map
15
15
  //# sourceMappingURL=media.cjs.map
@@ -1,11 +1,23 @@
1
1
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
2
2
  import { OverlayAnchor, VideoMaskRequest, MaskCompositeRequest } from '@nodaro/shared/media';
3
3
  import { CaptionLookId, SupportedFontName, CaptionStyle } from '@nodaro/shared/captions';
4
- import { TranscribeLane } from '@nodaro/shared/models';
5
- export { TranscribeLane } from '@nodaro/shared/models';
4
+ import { CaptionTranscribeLane } from '@nodaro/shared/models';
5
+ export { CaptionTranscribeLane, TranscribeLane } from '@nodaro/shared/models';
6
6
  import { VideoOverlayRequest } from '@nodaro/shared/video';
7
+ import { l as GenerationSessionParams, L as RunNodeOptions } from '../nodes-BoYTazf4.cjs';
7
8
  import '@nodaro/shared/apps';
8
9
  import '@nodaro/shared/organizations';
10
+ import '@nodaro/shared/types';
11
+ import '@nodaro/shared/nodes';
12
+ import '@nodaro/shared/social';
13
+ import '@nodaro/shared/scene3d';
14
+ import '@nodaro/shared/credits';
15
+ import '@nodaro/shared/entities';
16
+ import './jobs.cjs';
17
+ import './errors.cjs';
18
+ import '../studio-productions-CMiS827q.cjs';
19
+ import '@nodaro/shared/model-catalog';
20
+ import '@nodaro/prompts/prompt-builder';
9
21
 
10
22
  /** One word-timed caption entry (one per WORD for the kinetic styles). */
11
23
  interface CaptionEntry {
@@ -65,7 +77,14 @@ interface AddCaptionsInput extends CaptionLookInput {
65
77
  captions?: CaptionEntry[];
66
78
  /** Transcribe the video's audio when no text/captions are given (default true). */
67
79
  autoTranscribe?: boolean;
68
- transcribeProvider?: TranscribeLane;
80
+ /**
81
+ * The engine the render transcribes on — Add Captions' own lanes. On
82
+ * `nemotron-3-5-transcribe` the run is one charge, the render plus the video's
83
+ * started minutes: the video (an https link, up to 60 minutes) is measured
84
+ * before anything is held, and the run is charged for the length the model
85
+ * decoded.
86
+ */
87
+ transcribeProvider?: CaptionTranscribeLane;
69
88
  style?: CaptionStyle;
70
89
  position?: "bottom" | "top" | "center";
71
90
  fontSize?: number;
@@ -389,12 +408,18 @@ declare class MediaResource {
389
408
  * pixel budget (`1K` default, `auto` keeps the picture's own size between 1K
390
409
  * and 2K); `prompt` names what to separate. A run holds the price of the
391
410
  * most images it may return (`maxLayers` + 1, the base included) and is
392
- * charged only for the images it returns. Poll `jobs.get(jobId)`; the
393
- * completed job's `output_data` is a {@link SplitIntoLayersOutput}.
411
+ * charged only for the images it returns: ask that price first with
412
+ * `client.nodes.quote("split-into-layers", input)` (nothing is started).
413
+ * Poll `jobs.get(jobId)`; the completed job's `output_data` is a
414
+ * {@link SplitIntoLayersOutput}. `sessionId` files the job in one of your
415
+ * sessions; `origin` tags it with your app's slug.
416
+ *
417
+ * With `options.idempotencyKey` (sent as the `Idempotency-Key` header, at
418
+ * least 8 characters) a retry of the same request answers the job it
419
+ * already started (`deduped: true`) instead of starting and charging a
420
+ * second one.
394
421
  */
395
- splitIntoLayers(input: SplitIntoLayersInput): Promise<{
396
- jobId: string;
397
- }>;
422
+ splitIntoLayers(input: SplitIntoLayersInput, options?: MediaRunOptions): Promise<MediaJobStarted>;
398
423
  /**
399
424
  * Turn one still image + one audio track into an MP4
400
425
  * (`POST /v1/still-to-video`) — locally rendered (FFmpeg), no AI model,
@@ -705,8 +730,20 @@ interface ShotCutsOutput {
705
730
  }
706
731
  /** A layer split's pixel budget per image: about one megapixel at `1K`; `auto` keeps the picture's own size (between 1K and 2K). */
707
732
  type SplitIntoLayersSize = "1K" | "1.5K" | "2K" | "auto";
708
- /** Body of {@link MediaResource.splitIntoLayers} (`POST /v1/split-into-layers`). */
709
- interface SplitIntoLayersInput {
733
+ /** Per-call options of a media request that starts a job ({@link MediaResource.splitIntoLayers}). */
734
+ interface MediaRunOptions extends RunNodeOptions {
735
+ /** Abort the request. */
736
+ readonly signal?: AbortSignal;
737
+ /** This request's timeout in ms, in place of the client's `timeoutMs`. */
738
+ readonly timeoutMs?: number;
739
+ }
740
+ /** A media job started: its id, and `deduped: true` when an `Idempotency-Key` retry found the job already started. */
741
+ interface MediaJobStarted {
742
+ jobId: string;
743
+ deduped?: true;
744
+ }
745
+ /** Body of {@link MediaResource.splitIntoLayers} (`POST /v1/split-into-layers`), and of its quote (`nodes.quote("split-into-layers", …)`). */
746
+ interface SplitIntoLayersInput extends GenerationSessionParams {
710
747
  /** The picture to split (an http or https URL). */
711
748
  imageUrl: string;
712
749
  /** "Max layers", 1–99 (default 9): more elements than this merge into fewer layers; none is dropped. */
@@ -794,4 +831,4 @@ interface MediaProcessResult {
794
831
  metadata: Record<string, unknown>;
795
832
  }
796
833
 
797
- export { type AddCaptionsInput, type CaptionEntry, type CaptionLookInput, type CaptionSegmentInput, type DownloadVideoProgress, type MediaDiscardResult, type MediaProcessInput, type MediaProcessResult, MediaResource, type OverlayPlacement, type ShotCutsInput, type ShotCutsOutput, type ShotCutsResult, type ShotCutsShot, type SplitIntoLayersInput, type SplitIntoLayersOutput, type SplitIntoLayersSize, type SplitLayer, type SplitLayerBox, type SplitMediaByDurationInput, type SplitMediaByShotsInput, type SplitMediaInput, type SplitMediaOutput, type SplitMediaShot, type VideoMetadata };
834
+ export { type AddCaptionsInput, type CaptionEntry, type CaptionLookInput, type CaptionSegmentInput, type DownloadVideoProgress, type MediaDiscardResult, type MediaJobStarted, type MediaProcessInput, type MediaProcessResult, MediaResource, type MediaRunOptions, type OverlayPlacement, type ShotCutsInput, type ShotCutsOutput, type ShotCutsResult, type ShotCutsShot, type SplitIntoLayersInput, type SplitIntoLayersOutput, type SplitIntoLayersSize, type SplitLayer, type SplitLayerBox, type SplitMediaByDurationInput, type SplitMediaByShotsInput, type SplitMediaInput, type SplitMediaOutput, type SplitMediaShot, type VideoMetadata };
@@ -1,11 +1,23 @@
1
1
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
2
2
  import { OverlayAnchor, VideoMaskRequest, MaskCompositeRequest } from '@nodaro/shared/media';
3
3
  import { CaptionLookId, SupportedFontName, CaptionStyle } from '@nodaro/shared/captions';
4
- import { TranscribeLane } from '@nodaro/shared/models';
5
- export { TranscribeLane } from '@nodaro/shared/models';
4
+ import { CaptionTranscribeLane } from '@nodaro/shared/models';
5
+ export { CaptionTranscribeLane, TranscribeLane } from '@nodaro/shared/models';
6
6
  import { VideoOverlayRequest } from '@nodaro/shared/video';
7
+ import { l as GenerationSessionParams, L as RunNodeOptions } from '../nodes-sULkr8Ez.js';
7
8
  import '@nodaro/shared/apps';
8
9
  import '@nodaro/shared/organizations';
10
+ import '@nodaro/shared/types';
11
+ import '@nodaro/shared/nodes';
12
+ import '@nodaro/shared/social';
13
+ import '@nodaro/shared/scene3d';
14
+ import '@nodaro/shared/credits';
15
+ import '@nodaro/shared/entities';
16
+ import './jobs.js';
17
+ import './errors.js';
18
+ import '../studio-productions-DkI51Z9M.js';
19
+ import '@nodaro/shared/model-catalog';
20
+ import '@nodaro/prompts/prompt-builder';
9
21
 
10
22
  /** One word-timed caption entry (one per WORD for the kinetic styles). */
11
23
  interface CaptionEntry {
@@ -65,7 +77,14 @@ interface AddCaptionsInput extends CaptionLookInput {
65
77
  captions?: CaptionEntry[];
66
78
  /** Transcribe the video's audio when no text/captions are given (default true). */
67
79
  autoTranscribe?: boolean;
68
- transcribeProvider?: TranscribeLane;
80
+ /**
81
+ * The engine the render transcribes on — Add Captions' own lanes. On
82
+ * `nemotron-3-5-transcribe` the run is one charge, the render plus the video's
83
+ * started minutes: the video (an https link, up to 60 minutes) is measured
84
+ * before anything is held, and the run is charged for the length the model
85
+ * decoded.
86
+ */
87
+ transcribeProvider?: CaptionTranscribeLane;
69
88
  style?: CaptionStyle;
70
89
  position?: "bottom" | "top" | "center";
71
90
  fontSize?: number;
@@ -389,12 +408,18 @@ declare class MediaResource {
389
408
  * pixel budget (`1K` default, `auto` keeps the picture's own size between 1K
390
409
  * and 2K); `prompt` names what to separate. A run holds the price of the
391
410
  * most images it may return (`maxLayers` + 1, the base included) and is
392
- * charged only for the images it returns. Poll `jobs.get(jobId)`; the
393
- * completed job's `output_data` is a {@link SplitIntoLayersOutput}.
411
+ * charged only for the images it returns: ask that price first with
412
+ * `client.nodes.quote("split-into-layers", input)` (nothing is started).
413
+ * Poll `jobs.get(jobId)`; the completed job's `output_data` is a
414
+ * {@link SplitIntoLayersOutput}. `sessionId` files the job in one of your
415
+ * sessions; `origin` tags it with your app's slug.
416
+ *
417
+ * With `options.idempotencyKey` (sent as the `Idempotency-Key` header, at
418
+ * least 8 characters) a retry of the same request answers the job it
419
+ * already started (`deduped: true`) instead of starting and charging a
420
+ * second one.
394
421
  */
395
- splitIntoLayers(input: SplitIntoLayersInput): Promise<{
396
- jobId: string;
397
- }>;
422
+ splitIntoLayers(input: SplitIntoLayersInput, options?: MediaRunOptions): Promise<MediaJobStarted>;
398
423
  /**
399
424
  * Turn one still image + one audio track into an MP4
400
425
  * (`POST /v1/still-to-video`) — locally rendered (FFmpeg), no AI model,
@@ -705,8 +730,20 @@ interface ShotCutsOutput {
705
730
  }
706
731
  /** A layer split's pixel budget per image: about one megapixel at `1K`; `auto` keeps the picture's own size (between 1K and 2K). */
707
732
  type SplitIntoLayersSize = "1K" | "1.5K" | "2K" | "auto";
708
- /** Body of {@link MediaResource.splitIntoLayers} (`POST /v1/split-into-layers`). */
709
- interface SplitIntoLayersInput {
733
+ /** Per-call options of a media request that starts a job ({@link MediaResource.splitIntoLayers}). */
734
+ interface MediaRunOptions extends RunNodeOptions {
735
+ /** Abort the request. */
736
+ readonly signal?: AbortSignal;
737
+ /** This request's timeout in ms, in place of the client's `timeoutMs`. */
738
+ readonly timeoutMs?: number;
739
+ }
740
+ /** A media job started: its id, and `deduped: true` when an `Idempotency-Key` retry found the job already started. */
741
+ interface MediaJobStarted {
742
+ jobId: string;
743
+ deduped?: true;
744
+ }
745
+ /** Body of {@link MediaResource.splitIntoLayers} (`POST /v1/split-into-layers`), and of its quote (`nodes.quote("split-into-layers", …)`). */
746
+ interface SplitIntoLayersInput extends GenerationSessionParams {
710
747
  /** The picture to split (an http or https URL). */
711
748
  imageUrl: string;
712
749
  /** "Max layers", 1–99 (default 9): more elements than this merge into fewer layers; none is dropped. */
@@ -794,4 +831,4 @@ interface MediaProcessResult {
794
831
  metadata: Record<string, unknown>;
795
832
  }
796
833
 
797
- export { type AddCaptionsInput, type CaptionEntry, type CaptionLookInput, type CaptionSegmentInput, type DownloadVideoProgress, type MediaDiscardResult, type MediaProcessInput, type MediaProcessResult, MediaResource, type OverlayPlacement, type ShotCutsInput, type ShotCutsOutput, type ShotCutsResult, type ShotCutsShot, type SplitIntoLayersInput, type SplitIntoLayersOutput, type SplitIntoLayersSize, type SplitLayer, type SplitLayerBox, type SplitMediaByDurationInput, type SplitMediaByShotsInput, type SplitMediaInput, type SplitMediaOutput, type SplitMediaShot, type VideoMetadata };
834
+ export { type AddCaptionsInput, type CaptionEntry, type CaptionLookInput, type CaptionSegmentInput, type DownloadVideoProgress, type MediaDiscardResult, type MediaJobStarted, type MediaProcessInput, type MediaProcessResult, MediaResource, type MediaRunOptions, type OverlayPlacement, type ShotCutsInput, type ShotCutsOutput, type ShotCutsResult, type ShotCutsShot, type SplitIntoLayersInput, type SplitIntoLayersOutput, type SplitIntoLayersSize, type SplitLayer, type SplitLayerBox, type SplitMediaByDurationInput, type SplitMediaByShotsInput, type SplitMediaInput, type SplitMediaOutput, type SplitMediaShot, type VideoMetadata };
@@ -1,5 +1,5 @@
1
1
  import '../chunk-ES2E65HT.js';
2
- export { MediaResource } from '../chunk-F46BPB7K.js';
2
+ export { MediaResource } from '../chunk-HNUCPUIX.js';
3
3
  import '../chunk-SZ67PDKE.js';
4
4
  import '../chunk-IJAJTVEW.js';
5
5
  //# sourceMappingURL=media.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-RA42NMWV.cjs');
4
- var chunkFMMONV6J_cjs = require('../chunk-FMMONV6J.cjs');
4
+ var chunkZ3RI7CSA_cjs = require('../chunk-Z3RI7CSA.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "PresetsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkFMMONV6J_cjs.PresetsResource; }
10
+ get: function () { return chunkZ3RI7CSA_cjs.PresetsResource; }
11
11
  });
12
12
  //# sourceMappingURL=node-presets.cjs.map
13
13
  //# sourceMappingURL=node-presets.cjs.map
@@ -64,6 +64,14 @@ interface FactoryPresetEntry extends FactoryPreset {
64
64
  * preset has both; absent from servers that predate it.
65
65
  */
66
66
  previewSrcSet?: string;
67
+ /**
68
+ * The tile picture's real width and height (`previewUrl`'s), so a client
69
+ * draws it in a box of its own shape before it loads — a preset's
70
+ * `data.aspectRatio` is what it generates, not always its picture's shape.
71
+ * Present for a built-in picture; absent from servers that predate it.
72
+ */
73
+ previewWidth?: number;
74
+ previewHeight?: number;
67
75
  }
68
76
  /**
69
77
  * Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for
@@ -64,6 +64,14 @@ interface FactoryPresetEntry extends FactoryPreset {
64
64
  * preset has both; absent from servers that predate it.
65
65
  */
66
66
  previewSrcSet?: string;
67
+ /**
68
+ * The tile picture's real width and height (`previewUrl`'s), so a client
69
+ * draws it in a box of its own shape before it loads — a preset's
70
+ * `data.aspectRatio` is what it generates, not always its picture's shape.
71
+ * Present for a built-in picture; absent from servers that predate it.
72
+ */
73
+ previewWidth?: number;
74
+ previewHeight?: number;
67
75
  }
68
76
  /**
69
77
  * Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for
@@ -1,4 +1,4 @@
1
1
  import '../chunk-NX67YIF3.js';
2
- export { PresetsResource } from '../chunk-AHEDG45L.js';
2
+ export { PresetsResource } from '../chunk-ROUCXQU3.js';
3
3
  //# sourceMappingURL=node-presets.js.map
4
4
  //# sourceMappingURL=node-presets.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk7WS3VTUG_cjs = require('../chunk-7WS3VTUG.cjs');
4
- var chunkLDS6YGHY_cjs = require('../chunk-LDS6YGHY.cjs');
4
+ var chunkHRFLEHSS_cjs = require('../chunk-HRFLEHSS.cjs');
5
5
  require('../chunk-4AD3CBDK.cjs');
6
6
 
7
7
 
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
16
16
  });
17
17
  Object.defineProperty(exports, "NodesResource", {
18
18
  enumerable: true,
19
- get: function () { return chunkLDS6YGHY_cjs.NodesResource; }
19
+ get: function () { return chunkHRFLEHSS_cjs.NodesResource; }
20
20
  });
21
21
  //# sourceMappingURL=nodes.cjs.map
22
22
  //# sourceMappingURL=nodes.cjs.map
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
4
4
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
5
5
  export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
6
6
  export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
7
- export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-BpKzOOQ2.cjs';
7
+ export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-BoYTazf4.cjs';
8
8
  export { TopazUpscaleFactor, UpscaleFactor } from '@nodaro/shared/credits';
9
9
  export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
10
10
  import '@nodaro/shared/scene3d';
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
4
4
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
5
5
  export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
6
6
  export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
7
- export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-DO4F6EkA.js';
7
+ export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-sULkr8Ez.js';
8
8
  export { TopazUpscaleFactor, UpscaleFactor } from '@nodaro/shared/credits';
9
9
  export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
10
10
  import '@nodaro/shared/scene3d';
@@ -1,5 +1,5 @@
1
1
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-IWASCR2O.js';
2
- export { NodesResource } from '../chunk-66N22RVB.js';
2
+ export { NodesResource } from '../chunk-HRW5IGJ2.js';
3
3
  import '../chunk-IJAJTVEW.js';
4
4
  //# sourceMappingURL=nodes.js.map
5
5
  //# sourceMappingURL=nodes.js.map
@@ -2,7 +2,7 @@ import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/
2
2
  export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
5
- import { l as GenerationSessionParams } from '../nodes-BpKzOOQ2.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-BoYTazf4.cjs';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -2,7 +2,7 @@ import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/
2
2
  export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
5
- import { l as GenerationSessionParams } from '../nodes-DO4F6EkA.js';
5
+ import { l as GenerationSessionParams } from '../nodes-sULkr8Ez.js';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-7MYKT2L4.cjs');
4
- var chunkEP4J3TLQ_cjs = require('../chunk-EP4J3TLQ.cjs');
4
+ var chunkO4UXEIV6_cjs = require('../chunk-O4UXEIV6.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "PickerCatalogsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkEP4J3TLQ_cjs.PickerCatalogsResource; }
10
+ get: function () { return chunkO4UXEIV6_cjs.PickerCatalogsResource; }
11
11
  });
12
12
  //# sourceMappingURL=picker-catalogs.cjs.map
13
13
  //# sourceMappingURL=picker-catalogs.cjs.map
@@ -60,6 +60,14 @@ interface PickerOption {
60
60
  * large tile stays sharp; `imageUrl` is its 480px member.
61
61
  */
62
62
  imageSrcSet?: string;
63
+ /**
64
+ * Absolute URL of the option's enlarged picture: the larger version to show
65
+ * where your picker shows the option big (hover, zoom, a detail view).
66
+ * Present only on a deployment that shows its own pictures (its surface
67
+ * profile's `catalogs.images: "own"`) and gave one for this option; absent
68
+ * everywhere else, so draw `imageUrl` there instead.
69
+ */
70
+ imageLargeUrl?: string;
63
71
  }
64
72
  interface PickerDimension {
65
73
  field: string;
@@ -60,6 +60,14 @@ interface PickerOption {
60
60
  * large tile stays sharp; `imageUrl` is its 480px member.
61
61
  */
62
62
  imageSrcSet?: string;
63
+ /**
64
+ * Absolute URL of the option's enlarged picture: the larger version to show
65
+ * where your picker shows the option big (hover, zoom, a detail view).
66
+ * Present only on a deployment that shows its own pictures (its surface
67
+ * profile's `catalogs.images: "own"`) and gave one for this option; absent
68
+ * everywhere else, so draw `imageUrl` there instead.
69
+ */
70
+ imageLargeUrl?: string;
63
71
  }
64
72
  interface PickerDimension {
65
73
  field: string;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-QVQCKOBM.js';
2
- export { PickerCatalogsResource } from '../chunk-QAVLYMGM.js';
2
+ export { PickerCatalogsResource } from '../chunk-BY3XIXWC.js';
3
3
  //# sourceMappingURL=picker-catalogs.js.map
4
4
  //# sourceMappingURL=picker-catalogs.js.map
@@ -1,5 +1,5 @@
1
- import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-BpKzOOQ2.cjs';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-BpKzOOQ2.cjs';
1
+ import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-BoYTazf4.cjs';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-BoYTazf4.cjs';
3
3
  import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
5
5
  import '@nodaro/shared/types';
@@ -1,5 +1,5 @@
1
- import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-DO4F6EkA.js';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-DO4F6EkA.js';
1
+ import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-sULkr8Ez.js';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-sULkr8Ez.js';
3
3
  import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
5
5
  import '@nodaro/shared/types';