@nodaro/sdk 2.68.1 → 2.69.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 (86) hide show
  1. package/dist/{chunk-3G65RIZS.cjs → chunk-2WVU3MPN.cjs} +53 -16
  2. package/dist/chunk-2WVU3MPN.cjs.map +1 -0
  3. package/dist/{chunk-5ZLGXVYV.js → chunk-66N22RVB.js} +2 -2
  4. package/dist/chunk-66N22RVB.js.map +1 -0
  5. package/dist/{chunk-7CK6I4CT.cjs → chunk-7WS3VTUG.cjs} +2 -2
  6. package/dist/{chunk-7CK6I4CT.cjs.map → chunk-7WS3VTUG.cjs.map} +1 -1
  7. package/dist/{chunk-AEUPH7EE.js → chunk-AHEDG45L.js} +17 -2
  8. package/dist/chunk-AHEDG45L.js.map +1 -0
  9. package/dist/{chunk-BERWJFXS.cjs → chunk-C5GFDCK2.cjs} +2 -2
  10. package/dist/chunk-C5GFDCK2.cjs.map +1 -0
  11. package/dist/{chunk-FFT2YPB4.js → chunk-F46BPB7K.js} +53 -16
  12. package/dist/chunk-F46BPB7K.js.map +1 -0
  13. package/dist/{chunk-Q45PC4YD.cjs → chunk-FMMONV6J.cjs} +17 -2
  14. package/dist/chunk-FMMONV6J.cjs.map +1 -0
  15. package/dist/{chunk-A7WF66S5.cjs → chunk-GGCIOKOC.cjs} +3 -3
  16. package/dist/{chunk-A7WF66S5.cjs.map → chunk-GGCIOKOC.cjs.map} +1 -1
  17. package/dist/chunk-IWASCR2O.js +3 -0
  18. package/dist/{chunk-ZYPH2FPT.js.map → chunk-IWASCR2O.js.map} +1 -1
  19. package/dist/{chunk-QXRV2IMW.cjs → chunk-LDS6YGHY.cjs} +2 -2
  20. package/dist/chunk-LDS6YGHY.cjs.map +1 -0
  21. package/dist/{chunk-NWSIWAPR.js → chunk-M2HDPTCU.js} +8 -8
  22. package/dist/{chunk-NWSIWAPR.js.map → chunk-M2HDPTCU.js.map} +1 -1
  23. package/dist/{chunk-76YMDYMT.cjs → chunk-P7UT2YH4.cjs} +2 -2
  24. package/dist/chunk-P7UT2YH4.cjs.map +1 -0
  25. package/dist/{chunk-YTERACRD.js → chunk-QB6DOL6N.js} +3 -3
  26. package/dist/{chunk-YTERACRD.js.map → chunk-QB6DOL6N.js.map} +1 -1
  27. package/dist/{chunk-ZK6OWTRR.js → chunk-R5DTFY73.js} +2 -2
  28. package/dist/chunk-R5DTFY73.js.map +1 -0
  29. package/dist/{chunk-ZXBKFJT5.cjs → chunk-WVWSHU7C.cjs} +14 -14
  30. package/dist/{chunk-ZXBKFJT5.cjs.map → chunk-WVWSHU7C.cjs.map} +1 -1
  31. package/dist/{chunk-VS5JTLWE.js → chunk-ZMSGJC7L.js} +2 -2
  32. package/dist/chunk-ZMSGJC7L.js.map +1 -0
  33. package/dist/entries/characters.d.cts +1 -1
  34. package/dist/entries/characters.d.ts +1 -1
  35. package/dist/entries/client.cjs +12 -12
  36. package/dist/entries/client.d.cts +1 -1
  37. package/dist/entries/client.d.ts +1 -1
  38. package/dist/entries/client.js +7 -7
  39. package/dist/entries/core.cjs +5 -5
  40. package/dist/entries/core.js +1 -1
  41. package/dist/entries/creatures.d.cts +1 -1
  42. package/dist/entries/creatures.d.ts +1 -1
  43. package/dist/entries/jobs.cjs +2 -2
  44. package/dist/entries/jobs.d.cts +4 -1
  45. package/dist/entries/jobs.d.ts +4 -1
  46. package/dist/entries/jobs.js +1 -1
  47. package/dist/entries/locations.d.cts +1 -1
  48. package/dist/entries/locations.d.ts +1 -1
  49. package/dist/entries/media.cjs +2 -2
  50. package/dist/entries/media.d.cts +113 -15
  51. package/dist/entries/media.d.ts +113 -15
  52. package/dist/entries/media.js +1 -1
  53. package/dist/entries/models.cjs +2 -2
  54. package/dist/entries/models.d.cts +13 -4
  55. package/dist/entries/models.d.ts +13 -4
  56. package/dist/entries/models.js +1 -1
  57. package/dist/entries/node-presets.cjs +2 -2
  58. package/dist/entries/node-presets.d.cts +30 -1
  59. package/dist/entries/node-presets.d.ts +30 -1
  60. package/dist/entries/node-presets.js +1 -1
  61. package/dist/entries/nodes.cjs +5 -5
  62. package/dist/entries/nodes.d.cts +2 -2
  63. package/dist/entries/nodes.d.ts +2 -2
  64. package/dist/entries/nodes.js +2 -2
  65. package/dist/entries/objects.d.cts +1 -1
  66. package/dist/entries/objects.d.ts +1 -1
  67. package/dist/entries/scene3d.d.cts +2 -2
  68. package/dist/entries/scene3d.d.ts +2 -2
  69. package/dist/index.cjs +21 -21
  70. package/dist/index.d.cts +4 -4
  71. package/dist/index.d.ts +4 -4
  72. package/dist/index.js +8 -8
  73. package/dist/{nodes-jZXX1czC.d.cts → nodes-BpKzOOQ2.d.cts} +65 -15
  74. package/dist/{nodes-CIpUs2HP.d.ts → nodes-DO4F6EkA.d.ts} +65 -15
  75. package/package.json +3 -3
  76. package/dist/chunk-3G65RIZS.cjs.map +0 -1
  77. package/dist/chunk-5ZLGXVYV.js.map +0 -1
  78. package/dist/chunk-76YMDYMT.cjs.map +0 -1
  79. package/dist/chunk-AEUPH7EE.js.map +0 -1
  80. package/dist/chunk-BERWJFXS.cjs.map +0 -1
  81. package/dist/chunk-FFT2YPB4.js.map +0 -1
  82. package/dist/chunk-Q45PC4YD.cjs.map +0 -1
  83. package/dist/chunk-QXRV2IMW.cjs.map +0 -1
  84. package/dist/chunk-VS5JTLWE.js.map +0 -1
  85. package/dist/chunk-ZK6OWTRR.js.map +0 -1
  86. package/dist/chunk-ZYPH2FPT.js +0 -3
@@ -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-jZXX1czC.cjs';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-jZXX1czC.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-BpKzOOQ2.cjs';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-BpKzOOQ2.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-CIpUs2HP.js';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-CIpUs2HP.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-DO4F6EkA.js';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-DO4F6EkA.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';
package/dist/index.cjs CHANGED
@@ -33,7 +33,7 @@ require('./chunk-RHETJOUM.cjs');
33
33
  require('./chunk-QUFU5RJ7.cjs');
34
34
  require('./chunk-ZKBHD27K.cjs');
35
35
  require('./chunk-RA42NMWV.cjs');
36
- var chunk7CK6I4CT_cjs = require('./chunk-7CK6I4CT.cjs');
36
+ var chunk7WS3VTUG_cjs = require('./chunk-7WS3VTUG.cjs');
37
37
  require('./chunk-6OC6OKLY.cjs');
38
38
  require('./chunk-3BELHJBN.cjs');
39
39
  var chunkD3F2BWD6_cjs = require('./chunk-D3F2BWD6.cjs');
@@ -57,7 +57,7 @@ require('./chunk-IS26FJO7.cjs');
57
57
  require('./chunk-RQSGS7ZK.cjs');
58
58
  require('./chunk-43NO4SGC.cjs');
59
59
  require('./chunk-JOX5BJ6K.cjs');
60
- var chunkZXBKFJT5_cjs = require('./chunk-ZXBKFJT5.cjs');
60
+ var chunkWVWSHU7C_cjs = require('./chunk-WVWSHU7C.cjs');
61
61
  var chunk3B47IHB3_cjs = require('./chunk-3B47IHB3.cjs');
62
62
  var chunkWUM6CWTE_cjs = require('./chunk-WUM6CWTE.cjs');
63
63
  var chunkLKH5M44B_cjs = require('./chunk-LKH5M44B.cjs');
@@ -87,17 +87,17 @@ var chunkTCLNSVYA_cjs = require('./chunk-TCLNSVYA.cjs');
87
87
  var chunkKXEWTYS4_cjs = require('./chunk-KXEWTYS4.cjs');
88
88
  var chunkITQB5ADE_cjs = require('./chunk-ITQB5ADE.cjs');
89
89
  var chunkMIXRL6I2_cjs = require('./chunk-MIXRL6I2.cjs');
90
- var chunk3G65RIZS_cjs = require('./chunk-3G65RIZS.cjs');
91
- var chunk76YMDYMT_cjs = require('./chunk-76YMDYMT.cjs');
90
+ var chunk2WVU3MPN_cjs = require('./chunk-2WVU3MPN.cjs');
91
+ var chunkP7UT2YH4_cjs = require('./chunk-P7UT2YH4.cjs');
92
92
  var chunkZCWKX4V6_cjs = require('./chunk-ZCWKX4V6.cjs');
93
- var chunkQ45PC4YD_cjs = require('./chunk-Q45PC4YD.cjs');
94
- var chunkQXRV2IMW_cjs = require('./chunk-QXRV2IMW.cjs');
93
+ var chunkFMMONV6J_cjs = require('./chunk-FMMONV6J.cjs');
94
+ var chunkLDS6YGHY_cjs = require('./chunk-LDS6YGHY.cjs');
95
95
  var chunkGVIFLUYZ_cjs = require('./chunk-GVIFLUYZ.cjs');
96
96
  var chunkA3S55XGF_cjs = require('./chunk-A3S55XGF.cjs');
97
97
  var chunkCLBLAWH3_cjs = require('./chunk-CLBLAWH3.cjs');
98
98
  var chunkVUTNNRDW_cjs = require('./chunk-VUTNNRDW.cjs');
99
99
  var chunkW63ZKKYT_cjs = require('./chunk-W63ZKKYT.cjs');
100
- var chunkBERWJFXS_cjs = require('./chunk-BERWJFXS.cjs');
100
+ var chunkC5GFDCK2_cjs = require('./chunk-C5GFDCK2.cjs');
101
101
  var chunkRR45WBME_cjs = require('./chunk-RR45WBME.cjs');
102
102
  var chunkOI4RCW2J_cjs = require('./chunk-OI4RCW2J.cjs');
103
103
  var chunkWK4VXPPZ_cjs = require('./chunk-WK4VXPPZ.cjs');
@@ -106,7 +106,7 @@ var chunkYFS2LMG4_cjs = require('./chunk-YFS2LMG4.cjs');
106
106
  var chunk4DCXJ77J_cjs = require('./chunk-4DCXJ77J.cjs');
107
107
  var chunkTQLOD7OL_cjs = require('./chunk-TQLOD7OL.cjs');
108
108
  require('./chunk-EJJIA765.cjs');
109
- var chunkA7WF66S5_cjs = require('./chunk-A7WF66S5.cjs');
109
+ var chunkGGCIOKOC_cjs = require('./chunk-GGCIOKOC.cjs');
110
110
  var chunk4AD3CBDK_cjs = require('./chunk-4AD3CBDK.cjs');
111
111
  var chunkA3XA6UNM_cjs = require('./chunk-A3XA6UNM.cjs');
112
112
  var chunk7FLTDTHR_cjs = require('./chunk-7FLTDTHR.cjs');
@@ -141,11 +141,11 @@ Object.defineProperty(exports, "RECAST_SEGMENT_PACKS", {
141
141
  });
142
142
  Object.defineProperty(exports, "PROMPT_PREFIX_KEY", {
143
143
  enumerable: true,
144
- get: function () { return chunk7CK6I4CT_cjs.PROMPT_PREFIX_KEY; }
144
+ get: function () { return chunk7WS3VTUG_cjs.PROMPT_PREFIX_KEY; }
145
145
  });
146
146
  Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
147
147
  enumerable: true,
148
- get: function () { return chunk7CK6I4CT_cjs.PROMPT_SUFFIX_KEY; }
148
+ get: function () { return chunk7WS3VTUG_cjs.PROMPT_SUFFIX_KEY; }
149
149
  });
150
150
  Object.defineProperty(exports, "unwrapEditPlanOutput", {
151
151
  enumerable: true,
@@ -153,11 +153,11 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
153
153
  });
154
154
  Object.defineProperty(exports, "NodaroClient", {
155
155
  enumerable: true,
156
- get: function () { return chunkZXBKFJT5_cjs.NodaroClient; }
156
+ get: function () { return chunkWVWSHU7C_cjs.NodaroClient; }
157
157
  });
158
158
  Object.defineProperty(exports, "createClient", {
159
159
  enumerable: true,
160
- get: function () { return chunkZXBKFJT5_cjs.createClient; }
160
+ get: function () { return chunkWVWSHU7C_cjs.createClient; }
161
161
  });
162
162
  Object.defineProperty(exports, "WebhooksResource", {
163
163
  enumerable: true,
@@ -325,11 +325,11 @@ Object.defineProperty(exports, "SURROUND_DIRECTIONS", {
325
325
  });
326
326
  Object.defineProperty(exports, "MediaResource", {
327
327
  enumerable: true,
328
- get: function () { return chunk3G65RIZS_cjs.MediaResource; }
328
+ get: function () { return chunk2WVU3MPN_cjs.MediaResource; }
329
329
  });
330
330
  Object.defineProperty(exports, "ModelsResource", {
331
331
  enumerable: true,
332
- get: function () { return chunk76YMDYMT_cjs.ModelsResource; }
332
+ get: function () { return chunkP7UT2YH4_cjs.ModelsResource; }
333
333
  });
334
334
  Object.defineProperty(exports, "MOODBOARD_DIRECTION_PREFIX", {
335
335
  enumerable: true,
@@ -345,11 +345,11 @@ Object.defineProperty(exports, "moodboardDirectionId", {
345
345
  });
346
346
  Object.defineProperty(exports, "PresetsResource", {
347
347
  enumerable: true,
348
- get: function () { return chunkQ45PC4YD_cjs.PresetsResource; }
348
+ get: function () { return chunkFMMONV6J_cjs.PresetsResource; }
349
349
  });
350
350
  Object.defineProperty(exports, "NodesResource", {
351
351
  enumerable: true,
352
- get: function () { return chunkQXRV2IMW_cjs.NodesResource; }
352
+ get: function () { return chunkLDS6YGHY_cjs.NodesResource; }
353
353
  });
354
354
  Object.defineProperty(exports, "OAuthResource", {
355
355
  enumerable: true,
@@ -397,7 +397,7 @@ Object.defineProperty(exports, "GalleryResource", {
397
397
  });
398
398
  Object.defineProperty(exports, "JobsResource", {
399
399
  enumerable: true,
400
- get: function () { return chunkBERWJFXS_cjs.JobsResource; }
400
+ get: function () { return chunkC5GFDCK2_cjs.JobsResource; }
401
401
  });
402
402
  Object.defineProperty(exports, "KEEPER_KINDS", {
403
403
  enumerable: true,
@@ -433,19 +433,19 @@ Object.defineProperty(exports, "CopilotResource", {
433
433
  });
434
434
  Object.defineProperty(exports, "CallbackAuth", {
435
435
  enumerable: true,
436
- get: function () { return chunkA7WF66S5_cjs.CallbackAuth; }
436
+ get: function () { return chunkGGCIOKOC_cjs.CallbackAuth; }
437
437
  });
438
438
  Object.defineProperty(exports, "NodaroClientCore", {
439
439
  enumerable: true,
440
- get: function () { return chunkA7WF66S5_cjs.NodaroClientCore; }
440
+ get: function () { return chunkGGCIOKOC_cjs.NodaroClientCore; }
441
441
  });
442
442
  Object.defineProperty(exports, "StaticTokenAuth", {
443
443
  enumerable: true,
444
- get: function () { return chunkA7WF66S5_cjs.StaticTokenAuth; }
444
+ get: function () { return chunkGGCIOKOC_cjs.StaticTokenAuth; }
445
445
  });
446
446
  Object.defineProperty(exports, "supabaseAuth", {
447
447
  enumerable: true,
448
- get: function () { return chunkA7WF66S5_cjs.supabaseAuth; }
448
+ get: function () { return chunkGGCIOKOC_cjs.supabaseAuth; }
449
449
  });
450
450
  Object.defineProperty(exports, "AlreadyRunningError", {
451
451
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -25,16 +25,16 @@ export { CopyKeeperResult, KEEPER_KINDS, KeeperCatalogItem, KeeperCatalogPage, K
25
25
  export { LibraryAsset, LibraryResource, ListLibraryParams, ListLibraryResult } from './entries/library.cjs';
26
26
  export { LlmResource, LlmStructuredInput, LlmStructuredJobInput, LlmStructuredJobOutput, LlmStructuredResult } from './entries/llm.cjs';
27
27
  export { ApproveMainImageResult, CreateLocationInput, GenerateLocationAssetInput, GenerateLocationInput, GenerateLocationMotionInput, GenerateLocationResult, GenerateSurroundContinuationInput, ListLocationsParams, Location, LocationDetail, LocationReferencePhoto, LocationReferencePhotoKind, LocationsResource, RecaptionLocationResult, UpdateLocationInput, UpdateLocationResult } from './entries/locations.cjs';
28
- export { AddCaptionsInput, CaptionEntry, CaptionLookInput, CaptionSegmentInput, DownloadVideoProgress, MediaDiscardResult, MediaProcessInput, MediaProcessResult, MediaResource, OverlayPlacement, ShotCutsInput, ShotCutsOutput, ShotCutsResult, ShotCutsShot, SplitMediaByDurationInput, SplitMediaByShotsInput, SplitMediaInput, SplitMediaOutput, SplitMediaShot, VideoMetadata } from './entries/media.cjs';
28
+ export { AddCaptionsInput, CaptionEntry, CaptionLookInput, CaptionSegmentInput, DownloadVideoProgress, MediaDiscardResult, MediaProcessInput, MediaProcessResult, MediaResource, OverlayPlacement, ShotCutsInput, ShotCutsOutput, ShotCutsResult, ShotCutsShot, SplitIntoLayersInput, SplitIntoLayersOutput, SplitIntoLayersSize, SplitLayer, SplitLayerBox, SplitMediaByDurationInput, SplitMediaByShotsInput, SplitMediaInput, SplitMediaOutput, SplitMediaShot, VideoMetadata } from './entries/media.cjs';
29
29
  export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEditTargetResolution, ImageQuality, ImageRenderingSpeed, ImageResolution, ModifyImageProvider, TaskChainedEditProvider, TranscribeLane, TranscribeProvider } from '@nodaro/shared/models';
30
30
  export { ListModelsOptions, ModelFamilyGroup, ModelMaker, ModelSummary, ModelsListResult, ModelsResource } from './entries/models.cjs';
31
31
  export { CreateMoodboardInput, ListMoodboardsParams, MOODBOARD_DIRECTION_PREFIX, Moodboard, MoodboardImage, MoodboardPage, MoodboardsResource, UpdateMoodboardInput, moodboardDirectionId } from './entries/moodboards.cjs';
32
- export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry, FactoryPresetsResult, ImportNodePresetInput, NodePreset, NodePresetFavoriteInput, NodePresetGroup, PresetsResource, ReorderNodePresetsInput, UpdateNodePresetGroupInput, UpdateNodePresetInput } from './entries/node-presets.cjs';
32
+ export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry, FactoryPresetGroupSummary, FactoryPresetsResult, ImportNodePresetInput, NodePreset, NodePresetFavoriteInput, NodePresetGroup, PresetsResource, ReorderNodePresetsInput, UpdateNodePresetGroupInput, UpdateNodePresetInput } from './entries/node-presets.cjs';
33
33
  export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
34
34
  export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
35
35
  export { AudioFxPreset, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
36
- export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-jZXX1czC.cjs';
37
- export { TopazUpscaleFactor } from '@nodaro/shared/credits';
36
+ export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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';
37
+ export { TopazUpscaleFactor, UpscaleFactor } from '@nodaro/shared/credits';
38
38
  export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, ImageToImageAttachColumn, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
39
39
  export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.cjs';
40
40
  export { ApproveObjectMainImageResult, CreateObjectInput, GenerateObjectAssetInput, GenerateObjectAssetResult, GenerateObjectInput, GenerateObjectMotionInput, GenerateObjectMotionResult, GenerateObjectResult, ListObjectsParams, Object, ObjectCategory, ObjectDetail, ObjectReferencePhoto, ObjectReferencePhotoKind, ObjectsResource, RecaptionObjectResult, UpdateObjectInput, UpdateObjectResult, UpsertObjectInput, UpsertObjectResult } from './entries/objects.cjs';
package/dist/index.d.ts CHANGED
@@ -25,16 +25,16 @@ export { CopyKeeperResult, KEEPER_KINDS, KeeperCatalogItem, KeeperCatalogPage, K
25
25
  export { LibraryAsset, LibraryResource, ListLibraryParams, ListLibraryResult } from './entries/library.js';
26
26
  export { LlmResource, LlmStructuredInput, LlmStructuredJobInput, LlmStructuredJobOutput, LlmStructuredResult } from './entries/llm.js';
27
27
  export { ApproveMainImageResult, CreateLocationInput, GenerateLocationAssetInput, GenerateLocationInput, GenerateLocationMotionInput, GenerateLocationResult, GenerateSurroundContinuationInput, ListLocationsParams, Location, LocationDetail, LocationReferencePhoto, LocationReferencePhotoKind, LocationsResource, RecaptionLocationResult, UpdateLocationInput, UpdateLocationResult } from './entries/locations.js';
28
- export { AddCaptionsInput, CaptionEntry, CaptionLookInput, CaptionSegmentInput, DownloadVideoProgress, MediaDiscardResult, MediaProcessInput, MediaProcessResult, MediaResource, OverlayPlacement, ShotCutsInput, ShotCutsOutput, ShotCutsResult, ShotCutsShot, SplitMediaByDurationInput, SplitMediaByShotsInput, SplitMediaInput, SplitMediaOutput, SplitMediaShot, VideoMetadata } from './entries/media.js';
28
+ export { AddCaptionsInput, CaptionEntry, CaptionLookInput, CaptionSegmentInput, DownloadVideoProgress, MediaDiscardResult, MediaProcessInput, MediaProcessResult, MediaResource, OverlayPlacement, ShotCutsInput, ShotCutsOutput, ShotCutsResult, ShotCutsShot, SplitIntoLayersInput, SplitIntoLayersOutput, SplitIntoLayersSize, SplitLayer, SplitLayerBox, SplitMediaByDurationInput, SplitMediaByShotsInput, SplitMediaInput, SplitMediaOutput, SplitMediaShot, VideoMetadata } from './entries/media.js';
29
29
  export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEditTargetResolution, ImageQuality, ImageRenderingSpeed, ImageResolution, ModifyImageProvider, TaskChainedEditProvider, TranscribeLane, TranscribeProvider } from '@nodaro/shared/models';
30
30
  export { ListModelsOptions, ModelFamilyGroup, ModelMaker, ModelSummary, ModelsListResult, ModelsResource } from './entries/models.js';
31
31
  export { CreateMoodboardInput, ListMoodboardsParams, MOODBOARD_DIRECTION_PREFIX, Moodboard, MoodboardImage, MoodboardPage, MoodboardsResource, UpdateMoodboardInput, moodboardDirectionId } from './entries/moodboards.js';
32
- export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry, FactoryPresetsResult, ImportNodePresetInput, NodePreset, NodePresetFavoriteInput, NodePresetGroup, PresetsResource, ReorderNodePresetsInput, UpdateNodePresetGroupInput, UpdateNodePresetInput } from './entries/node-presets.js';
32
+ export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry, FactoryPresetGroupSummary, FactoryPresetsResult, ImportNodePresetInput, NodePreset, NodePresetFavoriteInput, NodePresetGroup, PresetsResource, ReorderNodePresetsInput, UpdateNodePresetGroupInput, UpdateNodePresetInput } from './entries/node-presets.js';
33
33
  export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
34
34
  export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
35
35
  export { AudioFxPreset, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
36
- export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-CIpUs2HP.js';
37
- export { TopazUpscaleFactor } from '@nodaro/shared/credits';
36
+ export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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';
37
+ export { TopazUpscaleFactor, UpscaleFactor } from '@nodaro/shared/credits';
38
38
  export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, ImageToImageAttachColumn, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
39
39
  export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.js';
40
40
  export { ApproveObjectMainImageResult, CreateObjectInput, GenerateObjectAssetInput, GenerateObjectAssetResult, GenerateObjectInput, GenerateObjectMotionInput, GenerateObjectMotionResult, GenerateObjectResult, ListObjectsParams, Object, ObjectCategory, ObjectDetail, ObjectReferencePhoto, ObjectReferencePhotoKind, ObjectsResource, RecaptionObjectResult, UpdateObjectInput, UpdateObjectResult, UpsertObjectInput, UpsertObjectResult } from './entries/objects.js';
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ import './chunk-ES2E65HT.js';
31
31
  import './chunk-OMH7ATOQ.js';
32
32
  import './chunk-37Y5QAVA.js';
33
33
  import './chunk-NX67YIF3.js';
34
- export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from './chunk-ZYPH2FPT.js';
34
+ export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from './chunk-IWASCR2O.js';
35
35
  import './chunk-X7RDNMN7.js';
36
36
  import './chunk-YOOZB4RL.js';
37
37
  export { unwrapEditPlanOutput } from './chunk-WFFVCGNU.js';
@@ -55,7 +55,7 @@ import './chunk-M6Y5TOYE.js';
55
55
  import './chunk-KARJ7P7Y.js';
56
56
  import './chunk-SUCHGNYT.js';
57
57
  import './chunk-SLPD47SR.js';
58
- export { NodaroClient, createClient } from './chunk-NWSIWAPR.js';
58
+ export { NodaroClient, createClient } from './chunk-M2HDPTCU.js';
59
59
  export { WebhooksResource } from './chunk-YN6CBIIB.js';
60
60
  export { WorkflowsResource } from './chunk-33HT46A3.js';
61
61
  export { WorkspacesResource } from './chunk-Z5GLY4R3.js';
@@ -85,17 +85,17 @@ export { PromptHelperResource } from './chunk-OIPPTBW4.js';
85
85
  export { RecastResource } from './chunk-AJVSMNPZ.js';
86
86
  export { LlmResource } from './chunk-CNST37UF.js';
87
87
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationsResource, SURROUND_DIRECTIONS } from './chunk-XZPSJG2X.js';
88
- export { MediaResource } from './chunk-FFT2YPB4.js';
89
- export { ModelsResource } from './chunk-VS5JTLWE.js';
88
+ export { MediaResource } from './chunk-F46BPB7K.js';
89
+ export { ModelsResource } from './chunk-ZMSGJC7L.js';
90
90
  export { MOODBOARD_DIRECTION_PREFIX, MoodboardsResource, moodboardDirectionId } from './chunk-YVU2M7MI.js';
91
- export { PresetsResource } from './chunk-AEUPH7EE.js';
92
- export { NodesResource } from './chunk-5ZLGXVYV.js';
91
+ export { PresetsResource } from './chunk-AHEDG45L.js';
92
+ export { NodesResource } from './chunk-66N22RVB.js';
93
93
  export { OAuthResource } from './chunk-Z7LGWNI7.js';
94
94
  export { DeveloperAppsResource } from './chunk-65E3JBFZ.js';
95
95
  export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from './chunk-VGY3WBNY.js';
96
96
  export { ExecutionsResource, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from './chunk-22XXTB2R.js';
97
97
  export { GalleryResource } from './chunk-MC77SD42.js';
98
- export { JobsResource } from './chunk-ZK6OWTRR.js';
98
+ export { JobsResource } from './chunk-R5DTFY73.js';
99
99
  export { KEEPER_KINDS, KeepersResource } from './chunk-MQWZFWHE.js';
100
100
  export { LibraryResource } from './chunk-GG7DOKTH.js';
101
101
  export { CollectionsResource } from './chunk-4WRDR4GN.js';
@@ -104,7 +104,7 @@ export { CompetitorsResource } from './chunk-BU5A6K4C.js';
104
104
  export { ContentRightsResource } from './chunk-HAS6PMQN.js';
105
105
  export { CopilotResource } from './chunk-CCXY4ZJM.js';
106
106
  import './chunk-SZ67PDKE.js';
107
- export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-YTERACRD.js';
107
+ export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-QB6DOL6N.js';
108
108
  export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, IMPORT_REFUSAL_CODES, ImportRefusedError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from './chunk-IJAJTVEW.js';
109
109
  export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ASSET_TYPES, CREATURE_ATTACH_COLUMNS, CreaturesResource } from './chunk-HUYI5G3D.js';
110
110
  export { CreditsResource } from './chunk-F3AV3TC7.js';
@@ -6,7 +6,7 @@ import { SocialSearchParams, SocialPost, SocialPlatform, SocialSearchMode } from
6
6
  import { GenerateMaskOutput, GenerateMaskRequest, VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution } from '@nodaro/shared/media';
7
7
  import * as _nodaro_shared_scene3d from '@nodaro/shared/scene3d';
8
8
  import { Scene3DPlan, Scene3DEditOperation, Scene3DV2EditOperation, Scene3DReference, Pro3DRenderSource, Pro3DRenderEngine, Pro3DRenderQuality, Pro3DRenderStyle, Scene3DJobOutputAny, Pro3DRenderJobOutput as Pro3DRenderJobOutput$1, Pro3DRenderCapabilities, Scene3DPlanV2, Pro3DRenderQuote as Pro3DRenderQuote$1 } from '@nodaro/shared/scene3d';
9
- import { TopazUpscaleFactor } from '@nodaro/shared/credits';
9
+ import { UpscaleFactor } from '@nodaro/shared/credits';
10
10
  import { ImageToImageAttachColumn } from '@nodaro/shared/entities';
11
11
  import { N as NodaroClientCore } from './developer-apps-CMUzKpE9.cjs';
12
12
  import { JobsResource, JobStatusResult } from './entries/jobs.cjs';
@@ -324,11 +324,11 @@ interface ImageToImageParams extends GenerationSessionParams {
324
324
  userPrompt?: string;
325
325
  /** Omitted: the platform's default edit model for the requested `aspectRatio`. */
326
326
  provider?: ModifyImageProvider;
327
- /** Extra reference images, up to 13. On models priced per reference, `imageUrl` counts as one. */
327
+ /** Extra reference images, up to 13 (15 on GPT Image 2.6, 9 on Seedream 5.5). On models priced per reference, `imageUrl` counts as one. */
328
328
  referenceImageUrls?: string[];
329
329
  resolution?: ImageResolution;
330
330
  quality?: ImageQuality;
331
- /** Image background, on the models that take one. `transparent` renders at 1K. */
331
+ /** Image background, on the models that take one. On GPT Image `transparent` renders at 1K; Seedream 5.5 renders it at any size, as a PNG. */
332
332
  background?: ImageBackground;
333
333
  /**
334
334
  * The file the run writes, on the models that list `outputFormats`:
@@ -357,9 +357,16 @@ interface ImageToImageParams extends GenerationSessionParams {
357
357
  /** 0–30: prompt adherence (taken by the models in `GUIDANCE_SCALE_SUPPORT`). */
358
358
  guidanceScale?: number;
359
359
  /**
360
- * Inpainting mask — white = the area to change, black = keep. Sent to the
361
- * model as its own mask, so only the mask-capable image-to-image models use
362
- * it (`I2I_MASK_SUPPORT`: `ideogram-edit`, `flux-fill`); others ignore it.
360
+ * Inpainting mask — white = the area to change, black = keep, aligned to
361
+ * `imageUrl`. Sent to the model as its own mask (in the form that model
362
+ * reads), so only the mask-capable image-to-image models use it (`I2I_MASK_SUPPORT`:
363
+ * `ideogram-edit`, `flux-fill`, `gpt-image-2-6-flare-i2i`,
364
+ * `gpt-image-2-6-sunburst-i2i`); others ignore it. On GPT Image 2.6 the rest
365
+ * of the picture is kept as it was: the source is pasted back outside the
366
+ * mask, and the result is the source's size: the run keeps the photo's
367
+ * shape and is rendered, and priced, at the size nearest the photo (both
368
+ * reported in `adjustments`). Not with a GIF or an SVG
369
+ * `outputFormat` (`400`). It costs nothing extra and is not an input image.
363
370
  * For a mask on any image model, see `GenerateImageParams.maskUrl`.
364
371
  */
365
372
  maskUrl?: string;
@@ -389,9 +396,13 @@ interface EditImageCommonParams extends GenerationSessionParams {
389
396
  prompt?: string;
390
397
  /** The prompt as your user typed it. Stored on the job; never sent to the model. */
391
398
  userPrompt?: string;
392
- /** `topaz-image-upscale`: the factor. Wins over `targetResolution`. */
393
- upscaleFactor?: TopazUpscaleFactor;
394
- /** The upscalers' output tier. On `topaz-image-upscale` it maps to a factor (2K → 2, 4K and 8K → 4) when `upscaleFactor` is absent. */
399
+ /**
400
+ * The upscale factor. `topaz-image-upscale`: 1, 2 or 4, and it wins over
401
+ * `targetResolution`. `nodaro-image-upscale`: 1, 2, 4 or 8 (default 2; 1 enhances
402
+ * at the same size) — a factor the model does not take is a `400 validation_error`.
403
+ */
404
+ upscaleFactor?: UpscaleFactor;
405
+ /** The upscalers' output tier. On `topaz-image-upscale` it maps to a factor (2K → 2, 4K and 8K → 4) when `upscaleFactor` is absent. `nodaro-image-upscale` ignores it: its price follows the output's size. */
395
406
  targetResolution?: ImageEditTargetResolution;
396
407
  /** Corrected per model; dropped for the models that take none (the upscalers, background removal, the Grok task ops). */
397
408
  aspectRatio?: ImageAspectRatio;
@@ -513,7 +524,9 @@ interface VideoToVideoParams extends GenerationSessionParams {
513
524
  /** The person's own words, kept for the record when `prompt` was rewritten. */
514
525
  userPrompt?: string;
515
526
  /** Default `"wan"`. `seedance-2-5` edits the whole clip and is priced by the
516
- * clip's length (see `nodes.quote`). */
527
+ * clip's length (see `nodes.quote`). The platform tells Seedance the run is
528
+ * an edit when every clip (`videoUrl` and `referenceVideoUrls`) is 4–30 s
529
+ * long (not on a draft), so this lane takes no `referenceTaskType` of its own. */
517
530
  provider?: VideoToVideoNodeProvider;
518
531
  /** Wan / Wan Flash. A Seedance edit ignores it: the result keeps the source
519
532
  * clip's own length. */
@@ -865,7 +878,7 @@ interface GenerateImageParams extends StructuredReferenceParams, GenerationSessi
865
878
  * `provider`. models × count is at most 8. With `presetId`, the preset is
866
879
  * applied once per model. */
867
880
  models?: string[];
868
- /** Image background, on the models that take one. `transparent` renders at 1K. */
881
+ /** Image background, on the models that take one. On GPT Image `transparent` renders at 1K; Seedream 5.5 renders it at any size, as a PNG. */
869
882
  background?: ImageBackground;
870
883
  /**
871
884
  * The file the run writes, on the models that list `outputFormats`:
@@ -1016,11 +1029,15 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1016
1029
  * `extraImageUrls`; one with a single image is sent as a reference image.
1017
1030
  * Counts toward the model's 15 materials. No `voice` (send a recorded
1018
1031
  * voice as `referenceAudioUrls`).
1032
+ * - Kling 4.0 Flash (`kling-4-flash`): the same named subjects, and
1033
+ * `referenceAudioUrls` clip N becomes the voice of entry N. An entry needs
1034
+ * 2–4 images to carry a voice; otherwise its clip is dropped, as is any
1035
+ * clip past the last entry.
1019
1036
  */
1020
1037
  characterReferences?: VideoCharacterReference[];
1021
- /** Kling 4.0 (`kling-4`): keep the reference videos' own sound instead of
1022
- * generating new sound. Ignored without a reference video and by every
1023
- * other model. */
1038
+ /** Kling 4.0 (`kling-4`, `kling-4-flash`): keep the reference videos' own
1039
+ * sound instead of generating new sound. Ignored without a reference video
1040
+ * and by every other model. */
1024
1041
  keepOriginalSound?: boolean;
1025
1042
  /** Kling 4.0 (`kling-4`): play the first `referenceAudioUrls` clip as the
1026
1043
  * result's soundtrack — it is sent as one more reference video (a still
@@ -1043,6 +1060,33 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1043
1060
  * { provider: "seedance-2-5-hd", sourceJobId })`: the same take, frame for
1044
1061
  * frame, at 1080p. Drafts are kept about 7 days. */
1045
1062
  draft?: boolean;
1063
+ /**
1064
+ * Seedance 2.5 (`seedance-2-5` only; every other model ignores it): what the
1065
+ * reference media (`referenceImageUrls` / `referenceVideoUrls` /
1066
+ * `referenceAudioUrls`) is for, so the model does not have to guess it from
1067
+ * the prompt.
1068
+ *
1069
+ * - `"auto"` (or absent): nothing is declared; the model decides from the prompt.
1070
+ * - `"reference"`: the media only guides a new clip; your `aspectRatio` and
1071
+ * `duration` are kept.
1072
+ * - `"edit"`: an edit of the reference video. The run takes the video's own
1073
+ * shape and length (`aspectRatio` becomes `"adaptive"`, `duration` Auto).
1074
+ * Needs a reference video, and every reference video 4–30 s long as the
1075
+ * platform measures it; otherwise nothing is declared and the run goes out
1076
+ * with the ratio and length you sent.
1077
+ * - `"extend"`: continues the reference video, in its own shape
1078
+ * (`"adaptive"`), at a set length (Auto or no `duration` becomes the
1079
+ * model's default). The platform returns the model's clip as delivered,
1080
+ * without joining the source to it, so expect the continuation only; for
1081
+ * both as one video, run `extend-video`. Needs a reference video.
1082
+ *
1083
+ * Ignored on a draft and on a run with no reference media (a start or end
1084
+ * frame is not reference media). Every ratio or length it changes is
1085
+ * reported in the response's `adjustments`, and the run is priced, reserved
1086
+ * and sent at the ratio and length it runs at. A dropped declaration is not
1087
+ * reported.
1088
+ */
1089
+ referenceTaskType?: "auto" | "reference" | "edit" | "extend";
1046
1090
  [k: string]: unknown;
1047
1091
  }
1048
1092
  /**
@@ -1072,7 +1116,7 @@ interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionP
1072
1116
  referenceAudioUrls?: string[];
1073
1117
  /** Identity inputs that keep a real person's face — see {@link GenerateVideoParams.characterReferences}. */
1074
1118
  characterReferences?: VideoCharacterReference[];
1075
- /** Kling 4.0 (`kling-4`): keep the reference videos' own sound — see {@link GenerateVideoParams.keepOriginalSound}. */
1119
+ /** Kling 4.0 (`kling-4`, `kling-4-flash`): keep the reference videos' own sound — see {@link GenerateVideoParams.keepOriginalSound}. */
1076
1120
  keepOriginalSound?: boolean;
1077
1121
  /** Kling 4.0 (`kling-4`): play the first audio clip as the soundtrack — see {@link GenerateVideoParams.audioSoundtrack}. */
1078
1122
  audioSoundtrack?: boolean;
@@ -1086,6 +1130,12 @@ interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionP
1086
1130
  * { provider: "seedance-2-5-hd", sourceJobId })`: the same take, frame for
1087
1131
  * frame, at 1080p. Drafts are kept about 7 days. */
1088
1132
  draft?: boolean;
1133
+ /** Seedance 2.5 (`seedance-2-5` only; ignored elsewhere): what the reference
1134
+ * media is for — `"auto"` (default: the model decides from the prompt),
1135
+ * `"reference"`, `"edit"` (takes the reference video's own shape and
1136
+ * length; every reference video 4–30 s) or `"extend"` (continues it; the
1137
+ * source is not joined to the result). See {@link GenerateVideoParams.referenceTaskType}. */
1138
+ referenceTaskType?: "auto" | "reference" | "edit" | "extend";
1089
1139
  /** Absent / `true`: a copyright refusal is retried once with a reworded
1090
1140
  * prompt. `false` = a copyright refusal fails the job instead of retrying
1091
1141
  * once with a reworded prompt. */
@@ -6,7 +6,7 @@ import { SocialSearchParams, SocialPost, SocialPlatform, SocialSearchMode } from
6
6
  import { GenerateMaskOutput, GenerateMaskRequest, VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution } from '@nodaro/shared/media';
7
7
  import * as _nodaro_shared_scene3d from '@nodaro/shared/scene3d';
8
8
  import { Scene3DPlan, Scene3DEditOperation, Scene3DV2EditOperation, Scene3DReference, Pro3DRenderSource, Pro3DRenderEngine, Pro3DRenderQuality, Pro3DRenderStyle, Scene3DJobOutputAny, Pro3DRenderJobOutput as Pro3DRenderJobOutput$1, Pro3DRenderCapabilities, Scene3DPlanV2, Pro3DRenderQuote as Pro3DRenderQuote$1 } from '@nodaro/shared/scene3d';
9
- import { TopazUpscaleFactor } from '@nodaro/shared/credits';
9
+ import { UpscaleFactor } from '@nodaro/shared/credits';
10
10
  import { ImageToImageAttachColumn } from '@nodaro/shared/entities';
11
11
  import { N as NodaroClientCore } from './developer-apps-CMUzKpE9.js';
12
12
  import { JobsResource, JobStatusResult } from './entries/jobs.js';
@@ -324,11 +324,11 @@ interface ImageToImageParams extends GenerationSessionParams {
324
324
  userPrompt?: string;
325
325
  /** Omitted: the platform's default edit model for the requested `aspectRatio`. */
326
326
  provider?: ModifyImageProvider;
327
- /** Extra reference images, up to 13. On models priced per reference, `imageUrl` counts as one. */
327
+ /** Extra reference images, up to 13 (15 on GPT Image 2.6, 9 on Seedream 5.5). On models priced per reference, `imageUrl` counts as one. */
328
328
  referenceImageUrls?: string[];
329
329
  resolution?: ImageResolution;
330
330
  quality?: ImageQuality;
331
- /** Image background, on the models that take one. `transparent` renders at 1K. */
331
+ /** Image background, on the models that take one. On GPT Image `transparent` renders at 1K; Seedream 5.5 renders it at any size, as a PNG. */
332
332
  background?: ImageBackground;
333
333
  /**
334
334
  * The file the run writes, on the models that list `outputFormats`:
@@ -357,9 +357,16 @@ interface ImageToImageParams extends GenerationSessionParams {
357
357
  /** 0–30: prompt adherence (taken by the models in `GUIDANCE_SCALE_SUPPORT`). */
358
358
  guidanceScale?: number;
359
359
  /**
360
- * Inpainting mask — white = the area to change, black = keep. Sent to the
361
- * model as its own mask, so only the mask-capable image-to-image models use
362
- * it (`I2I_MASK_SUPPORT`: `ideogram-edit`, `flux-fill`); others ignore it.
360
+ * Inpainting mask — white = the area to change, black = keep, aligned to
361
+ * `imageUrl`. Sent to the model as its own mask (in the form that model
362
+ * reads), so only the mask-capable image-to-image models use it (`I2I_MASK_SUPPORT`:
363
+ * `ideogram-edit`, `flux-fill`, `gpt-image-2-6-flare-i2i`,
364
+ * `gpt-image-2-6-sunburst-i2i`); others ignore it. On GPT Image 2.6 the rest
365
+ * of the picture is kept as it was: the source is pasted back outside the
366
+ * mask, and the result is the source's size: the run keeps the photo's
367
+ * shape and is rendered, and priced, at the size nearest the photo (both
368
+ * reported in `adjustments`). Not with a GIF or an SVG
369
+ * `outputFormat` (`400`). It costs nothing extra and is not an input image.
363
370
  * For a mask on any image model, see `GenerateImageParams.maskUrl`.
364
371
  */
365
372
  maskUrl?: string;
@@ -389,9 +396,13 @@ interface EditImageCommonParams extends GenerationSessionParams {
389
396
  prompt?: string;
390
397
  /** The prompt as your user typed it. Stored on the job; never sent to the model. */
391
398
  userPrompt?: string;
392
- /** `topaz-image-upscale`: the factor. Wins over `targetResolution`. */
393
- upscaleFactor?: TopazUpscaleFactor;
394
- /** The upscalers' output tier. On `topaz-image-upscale` it maps to a factor (2K → 2, 4K and 8K → 4) when `upscaleFactor` is absent. */
399
+ /**
400
+ * The upscale factor. `topaz-image-upscale`: 1, 2 or 4, and it wins over
401
+ * `targetResolution`. `nodaro-image-upscale`: 1, 2, 4 or 8 (default 2; 1 enhances
402
+ * at the same size) — a factor the model does not take is a `400 validation_error`.
403
+ */
404
+ upscaleFactor?: UpscaleFactor;
405
+ /** The upscalers' output tier. On `topaz-image-upscale` it maps to a factor (2K → 2, 4K and 8K → 4) when `upscaleFactor` is absent. `nodaro-image-upscale` ignores it: its price follows the output's size. */
395
406
  targetResolution?: ImageEditTargetResolution;
396
407
  /** Corrected per model; dropped for the models that take none (the upscalers, background removal, the Grok task ops). */
397
408
  aspectRatio?: ImageAspectRatio;
@@ -513,7 +524,9 @@ interface VideoToVideoParams extends GenerationSessionParams {
513
524
  /** The person's own words, kept for the record when `prompt` was rewritten. */
514
525
  userPrompt?: string;
515
526
  /** Default `"wan"`. `seedance-2-5` edits the whole clip and is priced by the
516
- * clip's length (see `nodes.quote`). */
527
+ * clip's length (see `nodes.quote`). The platform tells Seedance the run is
528
+ * an edit when every clip (`videoUrl` and `referenceVideoUrls`) is 4–30 s
529
+ * long (not on a draft), so this lane takes no `referenceTaskType` of its own. */
517
530
  provider?: VideoToVideoNodeProvider;
518
531
  /** Wan / Wan Flash. A Seedance edit ignores it: the result keeps the source
519
532
  * clip's own length. */
@@ -865,7 +878,7 @@ interface GenerateImageParams extends StructuredReferenceParams, GenerationSessi
865
878
  * `provider`. models × count is at most 8. With `presetId`, the preset is
866
879
  * applied once per model. */
867
880
  models?: string[];
868
- /** Image background, on the models that take one. `transparent` renders at 1K. */
881
+ /** Image background, on the models that take one. On GPT Image `transparent` renders at 1K; Seedream 5.5 renders it at any size, as a PNG. */
869
882
  background?: ImageBackground;
870
883
  /**
871
884
  * The file the run writes, on the models that list `outputFormats`:
@@ -1016,11 +1029,15 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1016
1029
  * `extraImageUrls`; one with a single image is sent as a reference image.
1017
1030
  * Counts toward the model's 15 materials. No `voice` (send a recorded
1018
1031
  * voice as `referenceAudioUrls`).
1032
+ * - Kling 4.0 Flash (`kling-4-flash`): the same named subjects, and
1033
+ * `referenceAudioUrls` clip N becomes the voice of entry N. An entry needs
1034
+ * 2–4 images to carry a voice; otherwise its clip is dropped, as is any
1035
+ * clip past the last entry.
1019
1036
  */
1020
1037
  characterReferences?: VideoCharacterReference[];
1021
- /** Kling 4.0 (`kling-4`): keep the reference videos' own sound instead of
1022
- * generating new sound. Ignored without a reference video and by every
1023
- * other model. */
1038
+ /** Kling 4.0 (`kling-4`, `kling-4-flash`): keep the reference videos' own
1039
+ * sound instead of generating new sound. Ignored without a reference video
1040
+ * and by every other model. */
1024
1041
  keepOriginalSound?: boolean;
1025
1042
  /** Kling 4.0 (`kling-4`): play the first `referenceAudioUrls` clip as the
1026
1043
  * result's soundtrack — it is sent as one more reference video (a still
@@ -1043,6 +1060,33 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1043
1060
  * { provider: "seedance-2-5-hd", sourceJobId })`: the same take, frame for
1044
1061
  * frame, at 1080p. Drafts are kept about 7 days. */
1045
1062
  draft?: boolean;
1063
+ /**
1064
+ * Seedance 2.5 (`seedance-2-5` only; every other model ignores it): what the
1065
+ * reference media (`referenceImageUrls` / `referenceVideoUrls` /
1066
+ * `referenceAudioUrls`) is for, so the model does not have to guess it from
1067
+ * the prompt.
1068
+ *
1069
+ * - `"auto"` (or absent): nothing is declared; the model decides from the prompt.
1070
+ * - `"reference"`: the media only guides a new clip; your `aspectRatio` and
1071
+ * `duration` are kept.
1072
+ * - `"edit"`: an edit of the reference video. The run takes the video's own
1073
+ * shape and length (`aspectRatio` becomes `"adaptive"`, `duration` Auto).
1074
+ * Needs a reference video, and every reference video 4–30 s long as the
1075
+ * platform measures it; otherwise nothing is declared and the run goes out
1076
+ * with the ratio and length you sent.
1077
+ * - `"extend"`: continues the reference video, in its own shape
1078
+ * (`"adaptive"`), at a set length (Auto or no `duration` becomes the
1079
+ * model's default). The platform returns the model's clip as delivered,
1080
+ * without joining the source to it, so expect the continuation only; for
1081
+ * both as one video, run `extend-video`. Needs a reference video.
1082
+ *
1083
+ * Ignored on a draft and on a run with no reference media (a start or end
1084
+ * frame is not reference media). Every ratio or length it changes is
1085
+ * reported in the response's `adjustments`, and the run is priced, reserved
1086
+ * and sent at the ratio and length it runs at. A dropped declaration is not
1087
+ * reported.
1088
+ */
1089
+ referenceTaskType?: "auto" | "reference" | "edit" | "extend";
1046
1090
  [k: string]: unknown;
1047
1091
  }
1048
1092
  /**
@@ -1072,7 +1116,7 @@ interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionP
1072
1116
  referenceAudioUrls?: string[];
1073
1117
  /** Identity inputs that keep a real person's face — see {@link GenerateVideoParams.characterReferences}. */
1074
1118
  characterReferences?: VideoCharacterReference[];
1075
- /** Kling 4.0 (`kling-4`): keep the reference videos' own sound — see {@link GenerateVideoParams.keepOriginalSound}. */
1119
+ /** Kling 4.0 (`kling-4`, `kling-4-flash`): keep the reference videos' own sound — see {@link GenerateVideoParams.keepOriginalSound}. */
1076
1120
  keepOriginalSound?: boolean;
1077
1121
  /** Kling 4.0 (`kling-4`): play the first audio clip as the soundtrack — see {@link GenerateVideoParams.audioSoundtrack}. */
1078
1122
  audioSoundtrack?: boolean;
@@ -1086,6 +1130,12 @@ interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionP
1086
1130
  * { provider: "seedance-2-5-hd", sourceJobId })`: the same take, frame for
1087
1131
  * frame, at 1080p. Drafts are kept about 7 days. */
1088
1132
  draft?: boolean;
1133
+ /** Seedance 2.5 (`seedance-2-5` only; ignored elsewhere): what the reference
1134
+ * media is for — `"auto"` (default: the model decides from the prompt),
1135
+ * `"reference"`, `"edit"` (takes the reference video's own shape and
1136
+ * length; every reference video 4–30 s) or `"extend"` (continues it; the
1137
+ * source is not joined to the result). See {@link GenerateVideoParams.referenceTaskType}. */
1138
+ referenceTaskType?: "auto" | "reference" | "edit" | "extend";
1089
1139
  /** Absent / `true`: a copyright refusal is retried once with a reworded
1090
1140
  * prompt. `false` = a copyright refusal fails the job instead of retrying
1091
1141
  * once with a reworded prompt. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodaro/sdk",
3
- "version": "2.68.1",
3
+ "version": "2.69.0",
4
4
  "description": "Typed REST client for the Nodaro API — workflows, jobs, executions, apps, characters, and more.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -337,8 +337,8 @@
337
337
  "test:watch": "vitest"
338
338
  },
339
339
  "dependencies": {
340
- "@nodaro/shared": "^3.60.1",
341
- "@nodaro/prompts": "^1.53.2"
340
+ "@nodaro/shared": "^3.62.0",
341
+ "@nodaro/prompts": "^1.54.0"
342
342
  },
343
343
  "peerDependencies": {
344
344
  "@fingerprintjs/fingerprintjs": "^5.2.0",