@nodaro/sdk 2.70.0 → 2.72.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 (95) hide show
  1. package/README.md +2 -1
  2. package/dist/chunk-CHZBONJJ.js +3 -0
  3. package/dist/{chunk-IWASCR2O.js.map → chunk-CHZBONJJ.js.map} +1 -1
  4. package/dist/chunk-D5X3NKSI.js +59 -0
  5. package/dist/chunk-D5X3NKSI.js.map +1 -0
  6. package/dist/{chunk-4RPUONS5.cjs → chunk-EO7XXEFN.cjs} +20 -16
  7. package/dist/chunk-EO7XXEFN.cjs.map +1 -0
  8. package/dist/{chunk-6SWRJJQE.js → chunk-HNUCPUIX.js} +2 -2
  9. package/dist/chunk-HNUCPUIX.js.map +1 -0
  10. package/dist/{chunk-MCXZV3CW.js → chunk-INRVOUKE.js} +2 -2
  11. package/dist/chunk-INRVOUKE.js.map +1 -0
  12. package/dist/{chunk-REXDUXL3.cjs → chunk-IOZXJPDA.cjs} +3 -3
  13. package/dist/{chunk-REXDUXL3.cjs.map → chunk-IOZXJPDA.cjs.map} +1 -1
  14. package/dist/chunk-JRQ5UV4U.js +3 -0
  15. package/dist/{chunk-7WS3VTUG.cjs.map → chunk-JRQ5UV4U.js.map} +1 -1
  16. package/dist/{chunk-HRW5IGJ2.js → chunk-K3ZRVB75.js} +2 -2
  17. package/dist/chunk-K3ZRVB75.js.map +1 -0
  18. package/dist/chunk-KKH7QQAR.cjs +61 -0
  19. package/dist/chunk-KKH7QQAR.cjs.map +1 -0
  20. package/dist/{chunk-GKETMNEM.js → chunk-PF2IDROE.js} +15 -11
  21. package/dist/chunk-PF2IDROE.js.map +1 -0
  22. package/dist/{chunk-7WS3VTUG.cjs → chunk-RKYZY6NA.cjs} +2 -2
  23. package/dist/chunk-RKYZY6NA.cjs.map +1 -0
  24. package/dist/chunk-RUE3DNLT.cjs +4 -0
  25. package/dist/chunk-RUE3DNLT.cjs.map +1 -0
  26. package/dist/{chunk-JZO5WWKX.js → chunk-S5V37WYY.js} +27 -6
  27. package/dist/chunk-S5V37WYY.js.map +1 -0
  28. package/dist/{chunk-HRFLEHSS.cjs → chunk-USOCZPFG.cjs} +2 -2
  29. package/dist/chunk-USOCZPFG.cjs.map +1 -0
  30. package/dist/{chunk-5W4OCRFX.cjs → chunk-VTHHSO2K.cjs} +2 -2
  31. package/dist/chunk-VTHHSO2K.cjs.map +1 -0
  32. package/dist/{chunk-S5VSDJAM.cjs → chunk-WKNWJDF6.cjs} +27 -6
  33. package/dist/chunk-WKNWJDF6.cjs.map +1 -0
  34. package/dist/{chunk-XSYNVD3X.cjs → chunk-YDRNPIUC.cjs} +2 -2
  35. package/dist/chunk-YDRNPIUC.cjs.map +1 -0
  36. package/dist/{chunk-CGRH5UFG.js → chunk-ZM2DT4ZA.js} +3 -3
  37. package/dist/{chunk-CGRH5UFG.js.map → chunk-ZM2DT4ZA.js.map} +1 -1
  38. package/dist/entries/audio.d.cts +1 -1
  39. package/dist/entries/audio.d.ts +1 -1
  40. package/dist/entries/billing.cjs +2 -2
  41. package/dist/entries/billing.d.cts +1 -1
  42. package/dist/entries/billing.d.ts +1 -1
  43. package/dist/entries/billing.js +1 -1
  44. package/dist/entries/characters.d.cts +2 -1
  45. package/dist/entries/characters.d.ts +2 -1
  46. package/dist/entries/client.cjs +16 -15
  47. package/dist/entries/client.d.cts +5 -1
  48. package/dist/entries/client.d.ts +5 -1
  49. package/dist/entries/client.js +11 -10
  50. package/dist/entries/core.cjs +5 -5
  51. package/dist/entries/core.js +1 -1
  52. package/dist/entries/creatures.d.cts +2 -1
  53. package/dist/entries/creatures.d.ts +2 -1
  54. package/dist/entries/dubbing.cjs +13 -0
  55. package/dist/entries/dubbing.cjs.map +1 -0
  56. package/dist/entries/dubbing.d.cts +89 -0
  57. package/dist/entries/dubbing.d.ts +89 -0
  58. package/dist/entries/dubbing.js +4 -0
  59. package/dist/entries/dubbing.js.map +1 -0
  60. package/dist/entries/locations.d.cts +2 -1
  61. package/dist/entries/locations.d.ts +2 -1
  62. package/dist/entries/media.cjs +2 -2
  63. package/dist/entries/media.d.cts +9 -2
  64. package/dist/entries/media.d.ts +9 -2
  65. package/dist/entries/media.js +1 -1
  66. package/dist/entries/nodes.cjs +5 -5
  67. package/dist/entries/nodes.d.cts +2 -1
  68. package/dist/entries/nodes.d.ts +2 -1
  69. package/dist/entries/nodes.js +2 -2
  70. package/dist/entries/objects.d.cts +2 -1
  71. package/dist/entries/objects.d.ts +2 -1
  72. package/dist/entries/scene3d.d.cts +3 -2
  73. package/dist/entries/scene3d.d.ts +3 -2
  74. package/dist/entries/voices.cjs +2 -2
  75. package/dist/entries/voices.d.cts +54 -5
  76. package/dist/entries/voices.d.ts +54 -5
  77. package/dist/entries/voices.js +1 -1
  78. package/dist/index.cjs +51 -45
  79. package/dist/index.d.cts +5 -3
  80. package/dist/index.d.ts +5 -3
  81. package/dist/index.js +18 -16
  82. package/dist/{nodes-BHl7gwUn.d.cts → nodes-CmVkNpe9.d.cts} +76 -7
  83. package/dist/{nodes-C1pqCwkS.d.ts → nodes-DPOUXQ5q.d.ts} +76 -7
  84. package/package.json +8 -3
  85. package/dist/chunk-4RPUONS5.cjs.map +0 -1
  86. package/dist/chunk-5W4OCRFX.cjs.map +0 -1
  87. package/dist/chunk-6SWRJJQE.js.map +0 -1
  88. package/dist/chunk-GKETMNEM.js.map +0 -1
  89. package/dist/chunk-HRFLEHSS.cjs.map +0 -1
  90. package/dist/chunk-HRW5IGJ2.js.map +0 -1
  91. package/dist/chunk-IWASCR2O.js +0 -3
  92. package/dist/chunk-JZO5WWKX.js.map +0 -1
  93. package/dist/chunk-MCXZV3CW.js.map +0 -1
  94. package/dist/chunk-S5VSDJAM.cjs.map +0 -1
  95. package/dist/chunk-XSYNVD3X.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
+ import './chunk-MEKI37WI.js';
1
2
  export { WebhookSignatureError, verifyWebhookSignature } from './chunk-VGTRKXF2.js';
2
3
  import './chunk-PGYQ754I.js';
3
4
  import './chunk-FHEYAW5H.js';
5
+ import './chunk-LHRQXWI5.js';
4
6
  import './chunk-6NTKEXT5.js';
5
7
  import './chunk-XV4MDWHF.js';
6
8
  import './chunk-YCVRQZT3.js';
@@ -8,7 +10,7 @@ import './chunk-VT237QF2.js';
8
10
  import './chunk-CGNVHN4V.js';
9
11
  import './chunk-K6BWJ7ZY.js';
10
12
  import './chunk-VPAUN75Q.js';
11
- import './chunk-MEKI37WI.js';
13
+ export { RECAST_SEGMENT_PACKS } from './chunk-RJIJVVXS.js';
12
14
  import './chunk-6JFNBAKV.js';
13
15
  import './chunk-OJDBSKC2.js';
14
16
  import './chunk-CRCPRZFN.js';
@@ -16,7 +18,7 @@ import './chunk-D3PW7AHZ.js';
16
18
  import './chunk-BKP6F2IX.js';
17
19
  import './chunk-PMTM26LL.js';
18
20
  import './chunk-RQ6GE7KG.js';
19
- import './chunk-LHRQXWI5.js';
21
+ import './chunk-X7RDNMN7.js';
20
22
  import './chunk-OLPA44QJ.js';
21
23
  export { USAGE_GROUP_BYS, WORKSPACE_HEADER } from './chunk-RKVRCNMB.js';
22
24
  import './chunk-HLHR3R4P.js';
@@ -24,23 +26,22 @@ import './chunk-QVQCKOBM.js';
24
26
  import './chunk-IQ6KWSXP.js';
25
27
  import './chunk-KZQKFBRN.js';
26
28
  import './chunk-7A7HYFGM.js';
27
- export { RECAST_SEGMENT_PACKS } from './chunk-RJIJVVXS.js';
29
+ import './chunk-A3THLBFG.js';
28
30
  import './chunk-UIFFNTUX.js';
29
31
  import './chunk-HFBR6G36.js';
30
32
  import './chunk-ES2E65HT.js';
31
33
  import './chunk-OMH7ATOQ.js';
32
34
  import './chunk-37Y5QAVA.js';
33
35
  import './chunk-NX67YIF3.js';
34
- export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from './chunk-IWASCR2O.js';
35
- import './chunk-X7RDNMN7.js';
36
+ export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from './chunk-CHZBONJJ.js';
36
37
  import './chunk-YOOZB4RL.js';
38
+ import './chunk-JRQ5UV4U.js';
37
39
  export { unwrapEditPlanOutput } from './chunk-WFFVCGNU.js';
38
40
  import './chunk-CJFIOVBA.js';
39
41
  import './chunk-OPR4TULG.js';
40
42
  import './chunk-C22RJDW3.js';
41
43
  import './chunk-I3TYBAOX.js';
42
44
  import './chunk-BEQCU7YJ.js';
43
- import './chunk-A3THLBFG.js';
44
45
  import './chunk-Z5OMWAQX.js';
45
46
  import './chunk-GAZJ2PA3.js';
46
47
  import './chunk-GD24ZRFD.js';
@@ -55,10 +56,12 @@ import './chunk-M6Y5TOYE.js';
55
56
  import './chunk-KARJ7P7Y.js';
56
57
  import './chunk-SUCHGNYT.js';
57
58
  import './chunk-SLPD47SR.js';
58
- export { NodaroClient, createClient } from './chunk-GKETMNEM.js';
59
+ export { NodaroClient, createClient } from './chunk-PF2IDROE.js';
60
+ export { VoicesResource } from './chunk-S5V37WYY.js';
59
61
  export { WebhooksResource } from './chunk-YN6CBIIB.js';
60
62
  export { WorkflowsResource } from './chunk-33HT46A3.js';
61
63
  export { WorkspacesResource } from './chunk-Z5GLY4R3.js';
64
+ export { TemplatesResource } from './chunk-M7VSFZMV.js';
62
65
  export { TrashResource } from './chunk-2SQ7V6EX.js';
63
66
  export { TrendRadarResource } from './chunk-TLTPIS2A.js';
64
67
  export { TrendsResource } from './chunk-TKSQCF2X.js';
@@ -66,7 +69,7 @@ export { TutorialsResource } from './chunk-HPXE3NZW.js';
66
69
  export { UploadsResource } from './chunk-YEOK5A5H.js';
67
70
  export { UserSettingsResource } from './chunk-J3Y56MYU.js';
68
71
  export { VideoProResource } from './chunk-ERLXU47J.js';
69
- export { VoicesResource } from './chunk-JZO5WWKX.js';
72
+ export { RecastResource } from './chunk-AJVSMNPZ.js';
70
73
  export { ReduceResource } from './chunk-IHKIYVZQ.js';
71
74
  export { SavedPostsResource } from './chunk-NCCBS6GU.js';
72
75
  export { SCENE3D_DELIVERY_ASSET_USAGE, Scene3DResource } from './chunk-NNHWH7ER.js';
@@ -74,7 +77,7 @@ export { SessionsResource } from './chunk-WS4ZQ4AA.js';
74
77
  export { ShotsResource } from './chunk-WVFAQBS7.js';
75
78
  export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from './chunk-YE6X5BQ2.js';
76
79
  export { SurfaceResource } from './chunk-T6CKK47P.js';
77
- export { TemplatesResource } from './chunk-M7VSFZMV.js';
80
+ export { OAuthResource } from './chunk-Z7LGWNI7.js';
78
81
  export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectsResource } from './chunk-GIQDM2MH.js';
79
82
  export { OrganizationsResource } from './chunk-ALSLZG3U.js';
80
83
  export { PALETTE_DIRECTION_PREFIX, PalettesResource, paletteDirectionId } from './chunk-WEQWU2IC.js';
@@ -82,35 +85,34 @@ export { PickerCatalogsResource } from './chunk-BY3XIXWC.js';
82
85
  export { PipelinesResource } from './chunk-J2DBYYXC.js';
83
86
  export { ProjectsResource } from './chunk-H7VQTG4M.js';
84
87
  export { PromptHelperResource } from './chunk-OIPPTBW4.js';
85
- export { RecastResource } from './chunk-AJVSMNPZ.js';
88
+ export { LibraryResource } from './chunk-GG7DOKTH.js';
86
89
  export { LlmResource } from './chunk-CNST37UF.js';
87
90
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationsResource, SURROUND_DIRECTIONS } from './chunk-XZPSJG2X.js';
88
- export { MediaResource } from './chunk-6SWRJJQE.js';
91
+ export { MediaResource } from './chunk-HNUCPUIX.js';
89
92
  export { ModelsResource } from './chunk-ZMSGJC7L.js';
90
93
  export { MOODBOARD_DIRECTION_PREFIX, MoodboardsResource, moodboardDirectionId } from './chunk-YVU2M7MI.js';
91
94
  export { PresetsResource } from './chunk-ROUCXQU3.js';
92
- export { NodesResource } from './chunk-HRW5IGJ2.js';
93
- export { OAuthResource } from './chunk-Z7LGWNI7.js';
95
+ export { NodesResource } from './chunk-K3ZRVB75.js';
94
96
  export { DeveloperAppsResource } from './chunk-65E3JBFZ.js';
97
+ export { DubbingResource } from './chunk-D5X3NKSI.js';
95
98
  export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from './chunk-VGY3WBNY.js';
96
99
  export { ExecutionsResource, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from './chunk-22XXTB2R.js';
97
100
  export { GalleryResource } from './chunk-MC77SD42.js';
98
101
  export { JobsResource } from './chunk-R5DTFY73.js';
99
102
  export { KEEPER_KINDS, KeepersResource } from './chunk-MQWZFWHE.js';
100
- export { LibraryResource } from './chunk-GG7DOKTH.js';
101
103
  export { CollectionsResource } from './chunk-4WRDR4GN.js';
102
104
  export { CommunityResource } from './chunk-SFB4YLCS.js';
103
105
  export { CompetitorsResource } from './chunk-BU5A6K4C.js';
104
106
  export { ContentRightsResource } from './chunk-HAS6PMQN.js';
105
107
  export { CopilotResource } from './chunk-CCXY4ZJM.js';
106
108
  import './chunk-SZ67PDKE.js';
107
- export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-CGRH5UFG.js';
109
+ export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-ZM2DT4ZA.js';
108
110
  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
111
  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
112
  export { CreditsResource } from './chunk-UDRP64FX.js';
111
113
  export { AppsResource } from './chunk-OJHJBNJZ.js';
112
114
  export { AudioResource } from './chunk-JAGTW35C.js';
113
- export { BillingResource } from './chunk-MCXZV3CW.js';
115
+ export { BillingResource } from './chunk-INRVOUKE.js';
114
116
  export { CastSwapResource } from './chunk-YUY56PT7.js';
115
117
  export { CatalogsResource } from './chunk-25IKUIM3.js';
116
118
  export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, CharactersResource, PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, buildPersonHints, buildPersonSeedPrompt } from './chunk-CBDUHYTR.js';
@@ -1,6 +1,6 @@
1
1
  import { ConnectedReference, DescribedReference } from '@nodaro/shared/types';
2
2
  import { VideoCharacterReference } from '@nodaro/shared/video';
3
- import { ImageEditTargetResolution, ImageAspectRatio, TaskChainedEditProvider, ImageEditProvider, ModifyImageProvider, ImageResolution, ImageQuality, ImageBackground, ImageOutputFormat, ImageSvgLevel, ImageRenderingSpeed, VideoToVideoNodeProvider, TtsOutputFormat } from '@nodaro/shared/models';
3
+ import { ImageEditTargetResolution, ImageAspectRatio, TaskChainedEditProvider, ImageEditProvider, ModifyImageProvider, ImageResolution, ImageQuality, ImageBackground, ImageOutputFormat, ImageSvgLevel, ImageRenderingSpeed, VideoToVideoNodeProvider, TtsOutputFormat, TtsReplicaRequest } from '@nodaro/shared/models';
4
4
  import '@nodaro/shared/nodes';
5
5
  import { SocialSearchParams, SocialPost, SocialPlatform, SocialSearchMode } from '@nodaro/shared/social';
6
6
  import { GenerateMaskOutput, GenerateMaskRequest, VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution } from '@nodaro/shared/media';
@@ -8,6 +8,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
9
  import { UpscaleFactor } from '@nodaro/shared/credits';
10
10
  import { ImageToImageAttachColumn } from '@nodaro/shared/entities';
11
+ import { LlmReasoningEffort } from '@nodaro/shared/llm-models';
11
12
  import { N as NodaroClientCore } from './developer-apps-CMUzKpE9.cjs';
12
13
  import { JobsResource, JobStatusResult } from './entries/jobs.cjs';
13
14
  import { NodaroError } from './entries/errors.cjs';
@@ -324,7 +325,7 @@ interface ImageToImageParams extends GenerationSessionParams {
324
325
  userPrompt?: string;
325
326
  /** Omitted: the platform's default edit model for the requested `aspectRatio`. */
326
327
  provider?: ModifyImageProvider;
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
+ /** Extra reference images, up to 13 (15 on GPT Image 2.6, 9 on Seedream 5.5 or FLUX 3 Klein). On models priced per reference, `imageUrl` counts as one. */
328
329
  referenceImageUrls?: string[];
329
330
  resolution?: ImageResolution;
330
331
  quality?: ImageQuality;
@@ -611,6 +612,38 @@ interface NodeQuote {
611
612
  readonly warnings: readonly QuoteWarning[];
612
613
  }
613
614
 
615
+ /**
616
+ * Typed request body for `nodes.run("llm-chat", …)` — `POST
617
+ * /v1/llm-chat/generate`: Generate Text, on any LLM. Answers `{ jobId,
618
+ * generatedText }`; the call is charged the tokens it used.
619
+ */
620
+ type LlmChatParams = {
621
+ /** Instructions for the model. May be empty. */
622
+ systemPrompt: string;
623
+ /** The prompt. */
624
+ userInput: string;
625
+ /** A model id (`@nodaro/shared/llm-models`); the feature's default when left out. */
626
+ llmModel?: string;
627
+ reasoningEffort?: LlmReasoningEffort;
628
+ /** Up to 5 image links. */
629
+ referenceImageUrls?: string[];
630
+ /** Up to 3 video links, on a model that reads video. */
631
+ referenceVideoUrls?: string[];
632
+ /** Up to 3 audio links, on a model that reads audio. */
633
+ referenceAudioUrls?: string[];
634
+ /**
635
+ * Up to 5 public links to PDF documents (`LLM_REFERENCE_FILES_MAX`), on a
636
+ * model that reads files (`llmAcceptsFiles`: GPT-6.1 Terra). Up to 6 MB and
637
+ * 100 pages in all. Each file is read and checked before anything is
638
+ * held; a file that is not a PDF, cannot be read, or is past a limit, and
639
+ * any file on another model, answers `400` before any credits are held.
640
+ */
641
+ referenceFileUrls?: string[];
642
+ temperature?: number;
643
+ maxTokens?: number;
644
+ advancedMode?: boolean;
645
+ };
646
+
614
647
  type NodeCategory = "input" | "parameter" | "ai-image" | "ai-video" | "ai-audio" | "ai-text" | "processing" | "composition" | "trigger" | "output" | "control" | "entity" | "utility";
615
648
  type OutputType = "text" | "image" | "video" | "audio" | "data" | "none";
616
649
  /**
@@ -799,10 +832,17 @@ interface ReferenceCaptionParams {
799
832
  */
800
833
  interface TextToSpeechParams extends GenerationSessionParams {
801
834
  text: string;
802
- /** A premade voice NAME (Rachel, George, …) or a library / custom voice id. */
835
+ /**
836
+ * A premade voice NAME (Rachel, George, …) or a library / custom voice id. On a Gemini
837
+ * model, one of that model's own voices (`getTtsCapabilities(provider).voices`, or
838
+ * `voices.list({ model })`); any other is refused with a 400. None: the model's default.
839
+ */
803
840
  voice?: string;
804
841
  voiceType?: "premade" | "custom" | "library";
805
- /** `elevenlabs-v4` (the default), `elevenlabs-v3`, `elevenlabs-v4-turbo`, `elevenlabs-turbo`, `elevenlabs-multilingual`. */
842
+ /**
843
+ * `elevenlabs-v4` (the default), `elevenlabs-v3`, `elevenlabs-v4-turbo`, `elevenlabs-turbo`, `elevenlabs-multilingual`,
844
+ * or Google's `gemini-3-8-flash-lite-tts`, `gemini-3-8-flash-tts`, `gemini-3-1-flash-tts`, `gemini-2-5-pro-tts`.
845
+ */
806
846
  provider?: string;
807
847
  stability?: number;
808
848
  similarityBoost?: number;
@@ -829,6 +869,28 @@ interface TextToSpeechParams extends GenerationSessionParams {
829
869
  * WAV). Same credits; the job's `audioUrl` ends in `.mp3` or `.wav` accordingly.
830
870
  */
831
871
  outputFormat?: TtsOutputFormat;
872
+ /**
873
+ * Style direction, on a model whose capability sheet takes it (`getTtsCapabilities(provider).direction`):
874
+ * free text on Gemini 3.8 (tone, emotion, pace — "slow and dry, like a night-shift radio host"), one of the
875
+ * model's styles on Gemini 3.1 / 2.5. Not spoken, not billed; ignored by a model that takes none.
876
+ */
877
+ styleDirection?: string;
878
+ /** Gemini 3.1 / 2.5: one of the model's paces (`direction.paces`). */
879
+ pace?: string;
880
+ /** Gemini 3.1 / 2.5: one of the model's accents (`direction.accents`). */
881
+ accent?: string;
882
+ /** Gemini 3.1 / 2.5: who is speaking, in words ("a warm, unhurried narrator"). */
883
+ audioProfile?: string;
884
+ /**
885
+ * `gemini-3-8-flash-tts` only: speak in a person's own voice, cloned for this request alone and not
886
+ * saved, from two real recordings of the same adult (never AI-generated), each an https link to a WAV
887
+ * of at most 10 MB — `sourceAudioUrl`, 10–30 s of natural speech, and `consentAudioUrl`, the same person
888
+ * reading `REPLICA_CONSENT_SENTENCE` (`@nodaro/shared/models`) — and `consent: true`, your user's
889
+ * confirmation of `REPLICA_CONSENT_ATTESTATION` (ask them; never assume it). Replaces `voice`. No extra
890
+ * charge. A clone without that consent, a recording the platform cannot take, or a model that does not
891
+ * clone is a `400` before anything is charged.
892
+ */
893
+ replica?: TtsReplicaRequest;
832
894
  [k: string]: unknown;
833
895
  }
834
896
  /**
@@ -1035,8 +1097,13 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1035
1097
  * voice as `referenceAudioUrls`).
1036
1098
  * - Kling 4.0 Flash (`kling-4-flash`): the same named subjects, and
1037
1099
  * `referenceAudioUrls` clip N becomes the voice of entry N. An entry needs
1038
- * 2–4 images to carry a voice; otherwise its clip is dropped, as is any
1039
- * clip past the last entry.
1100
+ * 2–4 images, or a `videoUrl`, to carry a voice; otherwise its clip is
1101
+ * dropped, as is any clip past the last entry.
1102
+ * - Both Kling 4.0 ids: an entry's `videoUrl` (a 3–8 s single-shot clip of
1103
+ * the character) makes it a subject built from that video — at most 3 per
1104
+ * request. The clip rides as one of the 5 reference videos. Kling 4.0
1105
+ * bills it as a reference video; Kling 4.0 Flash prices it like an image
1106
+ * subject (it adds nothing). Any other model answers `400`.
1040
1107
  */
1041
1108
  characterReferences?: VideoCharacterReference[];
1042
1109
  /** Kling 4.0 (`kling-4`, `kling-4-flash`): keep the reference videos' own
@@ -1433,6 +1500,8 @@ declare class NodesResource {
1433
1500
  run(type: "generate-video", params?: GenerateVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1434
1501
  run(type: "text-to-video", params: TextToVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1435
1502
  run(type: "video-to-video", params: VideoToVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1503
+ /** Synchronous: answers `{ jobId, generatedText }`. */
1504
+ run(type: "llm-chat", params: LlmChatParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1436
1505
  run(type: "video-upscale", params: VideoUpscaleParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1437
1506
  run(type: "assemble-narrated-video", params?: AssembleNarratedVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1438
1507
  run(type: "social-search", params: SocialSearchParams, options?: RunNodeOptions): Promise<RunNodeResult>;
@@ -1569,4 +1638,4 @@ declare class NodesResource {
1569
1638
  private pollUntilSettled;
1570
1639
  }
1571
1640
 
1572
- export { type SplitImageParams as $, type AssembleNarratedVideoParams as A, type BatchJobOutcome as B, type RetainedScene3DEditParams as C, type RetainedScene3DEditResult as D, type EditImageCommonParams as E, type RunAndWaitOptions as F, type GenerateImageBatchGroup as G, type RunManyResult as H, type ImageJobStarted as I, type JobOutputImage as J, type RunNodeAdjustment as K, type RunNodeOptions as L, type RunNodeResult as M, type NodeCategory as N, type OutputType as O, type Pro3DRenderJobOutput as P, type QuoteAdjustment as Q, type ReferenceCaptionParams as R, type RunNodeWarning as S, SCENE3D_DELIVERY_ASSET_USAGE as T, type Scene3DAuthoringEngine as U, type Scene3DCapabilities as V, type Scene3DDelivery as W, type Scene3DDeliveryAsset as X, type Scene3DDeliveryAssetKind as Y, type Scene3DJobOutput as Z, type SocialSearchJobOutput as _, type EditImageFromTaskParams as a, type SplitImageResult as a0, type SplitImageTile as a1, type StructuredReferenceParams as a2, type Subject as a3, type TextToSpeechParams as a4, type TextToVideoParams as a5, type VideoDepthParams as a6, type VideoToVideoParams as a7, type VideoUpscaleParams as a8, type EditImageFromUrlParams as b, type EditImageParams as c, type EditScene3DParams as d, type GenerateImageBatchOutput as e, type GenerateImageBatchResult as f, type GenerateImageParams as g, type GenerateMaskJobOutput as h, type GenerateMaskParams as i, type GenerateScene3DParams as j, type GenerateVideoParams as k, type GenerationSessionParams as l, type ImageToImageParams as m, type NodeCreditRate as n, type NodeDescriptor as o, type NodeInputField as p, type NodeInputSchema as q, type NodeJobOutput as r, type NodeQuote as s, NodesResource as t, type Pro3DRenderParams as u, type Pro3DRenderQuote as v, type Pro3DRenderRunOptions as w, type Pro3DRenderRunParams as x, type QuoteWarning as y, type RenderScene3DParams as z };
1641
+ export { type SocialSearchJobOutput as $, type AssembleNarratedVideoParams as A, type BatchJobOutcome as B, type RetainedScene3DEditParams as C, type RetainedScene3DEditResult as D, type EditImageCommonParams as E, type RunAndWaitOptions as F, type GenerateImageBatchGroup as G, type RunManyResult as H, type ImageJobStarted as I, type JobOutputImage as J, type RunNodeAdjustment as K, type LlmChatParams as L, type RunNodeOptions as M, type NodeCategory as N, type OutputType as O, type Pro3DRenderJobOutput as P, type QuoteAdjustment as Q, type ReferenceCaptionParams as R, type RunNodeResult as S, type RunNodeWarning as T, SCENE3D_DELIVERY_ASSET_USAGE as U, type Scene3DAuthoringEngine as V, type Scene3DCapabilities as W, type Scene3DDelivery as X, type Scene3DDeliveryAsset as Y, type Scene3DDeliveryAssetKind as Z, type Scene3DJobOutput as _, type EditImageFromTaskParams as a, type SplitImageParams as a0, type SplitImageResult as a1, type SplitImageTile as a2, type StructuredReferenceParams as a3, type Subject as a4, type TextToSpeechParams as a5, type TextToVideoParams as a6, type VideoDepthParams as a7, type VideoToVideoParams as a8, type VideoUpscaleParams as a9, type EditImageFromUrlParams as b, type EditImageParams as c, type EditScene3DParams as d, type GenerateImageBatchOutput as e, type GenerateImageBatchResult as f, type GenerateImageParams as g, type GenerateMaskJobOutput as h, type GenerateMaskParams as i, type GenerateScene3DParams as j, type GenerateVideoParams as k, type GenerationSessionParams as l, type ImageToImageParams as m, type NodeCreditRate as n, type NodeDescriptor as o, type NodeInputField as p, type NodeInputSchema as q, type NodeJobOutput as r, type NodeQuote as s, NodesResource as t, type Pro3DRenderParams as u, type Pro3DRenderQuote as v, type Pro3DRenderRunOptions as w, type Pro3DRenderRunParams as x, type QuoteWarning as y, type RenderScene3DParams as z };
@@ -1,6 +1,6 @@
1
1
  import { ConnectedReference, DescribedReference } from '@nodaro/shared/types';
2
2
  import { VideoCharacterReference } from '@nodaro/shared/video';
3
- import { ImageEditTargetResolution, ImageAspectRatio, TaskChainedEditProvider, ImageEditProvider, ModifyImageProvider, ImageResolution, ImageQuality, ImageBackground, ImageOutputFormat, ImageSvgLevel, ImageRenderingSpeed, VideoToVideoNodeProvider, TtsOutputFormat } from '@nodaro/shared/models';
3
+ import { ImageEditTargetResolution, ImageAspectRatio, TaskChainedEditProvider, ImageEditProvider, ModifyImageProvider, ImageResolution, ImageQuality, ImageBackground, ImageOutputFormat, ImageSvgLevel, ImageRenderingSpeed, VideoToVideoNodeProvider, TtsOutputFormat, TtsReplicaRequest } from '@nodaro/shared/models';
4
4
  import '@nodaro/shared/nodes';
5
5
  import { SocialSearchParams, SocialPost, SocialPlatform, SocialSearchMode } from '@nodaro/shared/social';
6
6
  import { GenerateMaskOutput, GenerateMaskRequest, VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution } from '@nodaro/shared/media';
@@ -8,6 +8,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
9
  import { UpscaleFactor } from '@nodaro/shared/credits';
10
10
  import { ImageToImageAttachColumn } from '@nodaro/shared/entities';
11
+ import { LlmReasoningEffort } from '@nodaro/shared/llm-models';
11
12
  import { N as NodaroClientCore } from './developer-apps-CMUzKpE9.js';
12
13
  import { JobsResource, JobStatusResult } from './entries/jobs.js';
13
14
  import { NodaroError } from './entries/errors.js';
@@ -324,7 +325,7 @@ interface ImageToImageParams extends GenerationSessionParams {
324
325
  userPrompt?: string;
325
326
  /** Omitted: the platform's default edit model for the requested `aspectRatio`. */
326
327
  provider?: ModifyImageProvider;
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
+ /** Extra reference images, up to 13 (15 on GPT Image 2.6, 9 on Seedream 5.5 or FLUX 3 Klein). On models priced per reference, `imageUrl` counts as one. */
328
329
  referenceImageUrls?: string[];
329
330
  resolution?: ImageResolution;
330
331
  quality?: ImageQuality;
@@ -611,6 +612,38 @@ interface NodeQuote {
611
612
  readonly warnings: readonly QuoteWarning[];
612
613
  }
613
614
 
615
+ /**
616
+ * Typed request body for `nodes.run("llm-chat", …)` — `POST
617
+ * /v1/llm-chat/generate`: Generate Text, on any LLM. Answers `{ jobId,
618
+ * generatedText }`; the call is charged the tokens it used.
619
+ */
620
+ type LlmChatParams = {
621
+ /** Instructions for the model. May be empty. */
622
+ systemPrompt: string;
623
+ /** The prompt. */
624
+ userInput: string;
625
+ /** A model id (`@nodaro/shared/llm-models`); the feature's default when left out. */
626
+ llmModel?: string;
627
+ reasoningEffort?: LlmReasoningEffort;
628
+ /** Up to 5 image links. */
629
+ referenceImageUrls?: string[];
630
+ /** Up to 3 video links, on a model that reads video. */
631
+ referenceVideoUrls?: string[];
632
+ /** Up to 3 audio links, on a model that reads audio. */
633
+ referenceAudioUrls?: string[];
634
+ /**
635
+ * Up to 5 public links to PDF documents (`LLM_REFERENCE_FILES_MAX`), on a
636
+ * model that reads files (`llmAcceptsFiles`: GPT-6.1 Terra). Up to 6 MB and
637
+ * 100 pages in all. Each file is read and checked before anything is
638
+ * held; a file that is not a PDF, cannot be read, or is past a limit, and
639
+ * any file on another model, answers `400` before any credits are held.
640
+ */
641
+ referenceFileUrls?: string[];
642
+ temperature?: number;
643
+ maxTokens?: number;
644
+ advancedMode?: boolean;
645
+ };
646
+
614
647
  type NodeCategory = "input" | "parameter" | "ai-image" | "ai-video" | "ai-audio" | "ai-text" | "processing" | "composition" | "trigger" | "output" | "control" | "entity" | "utility";
615
648
  type OutputType = "text" | "image" | "video" | "audio" | "data" | "none";
616
649
  /**
@@ -799,10 +832,17 @@ interface ReferenceCaptionParams {
799
832
  */
800
833
  interface TextToSpeechParams extends GenerationSessionParams {
801
834
  text: string;
802
- /** A premade voice NAME (Rachel, George, …) or a library / custom voice id. */
835
+ /**
836
+ * A premade voice NAME (Rachel, George, …) or a library / custom voice id. On a Gemini
837
+ * model, one of that model's own voices (`getTtsCapabilities(provider).voices`, or
838
+ * `voices.list({ model })`); any other is refused with a 400. None: the model's default.
839
+ */
803
840
  voice?: string;
804
841
  voiceType?: "premade" | "custom" | "library";
805
- /** `elevenlabs-v4` (the default), `elevenlabs-v3`, `elevenlabs-v4-turbo`, `elevenlabs-turbo`, `elevenlabs-multilingual`. */
842
+ /**
843
+ * `elevenlabs-v4` (the default), `elevenlabs-v3`, `elevenlabs-v4-turbo`, `elevenlabs-turbo`, `elevenlabs-multilingual`,
844
+ * or Google's `gemini-3-8-flash-lite-tts`, `gemini-3-8-flash-tts`, `gemini-3-1-flash-tts`, `gemini-2-5-pro-tts`.
845
+ */
806
846
  provider?: string;
807
847
  stability?: number;
808
848
  similarityBoost?: number;
@@ -829,6 +869,28 @@ interface TextToSpeechParams extends GenerationSessionParams {
829
869
  * WAV). Same credits; the job's `audioUrl` ends in `.mp3` or `.wav` accordingly.
830
870
  */
831
871
  outputFormat?: TtsOutputFormat;
872
+ /**
873
+ * Style direction, on a model whose capability sheet takes it (`getTtsCapabilities(provider).direction`):
874
+ * free text on Gemini 3.8 (tone, emotion, pace — "slow and dry, like a night-shift radio host"), one of the
875
+ * model's styles on Gemini 3.1 / 2.5. Not spoken, not billed; ignored by a model that takes none.
876
+ */
877
+ styleDirection?: string;
878
+ /** Gemini 3.1 / 2.5: one of the model's paces (`direction.paces`). */
879
+ pace?: string;
880
+ /** Gemini 3.1 / 2.5: one of the model's accents (`direction.accents`). */
881
+ accent?: string;
882
+ /** Gemini 3.1 / 2.5: who is speaking, in words ("a warm, unhurried narrator"). */
883
+ audioProfile?: string;
884
+ /**
885
+ * `gemini-3-8-flash-tts` only: speak in a person's own voice, cloned for this request alone and not
886
+ * saved, from two real recordings of the same adult (never AI-generated), each an https link to a WAV
887
+ * of at most 10 MB — `sourceAudioUrl`, 10–30 s of natural speech, and `consentAudioUrl`, the same person
888
+ * reading `REPLICA_CONSENT_SENTENCE` (`@nodaro/shared/models`) — and `consent: true`, your user's
889
+ * confirmation of `REPLICA_CONSENT_ATTESTATION` (ask them; never assume it). Replaces `voice`. No extra
890
+ * charge. A clone without that consent, a recording the platform cannot take, or a model that does not
891
+ * clone is a `400` before anything is charged.
892
+ */
893
+ replica?: TtsReplicaRequest;
832
894
  [k: string]: unknown;
833
895
  }
834
896
  /**
@@ -1035,8 +1097,13 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1035
1097
  * voice as `referenceAudioUrls`).
1036
1098
  * - Kling 4.0 Flash (`kling-4-flash`): the same named subjects, and
1037
1099
  * `referenceAudioUrls` clip N becomes the voice of entry N. An entry needs
1038
- * 2–4 images to carry a voice; otherwise its clip is dropped, as is any
1039
- * clip past the last entry.
1100
+ * 2–4 images, or a `videoUrl`, to carry a voice; otherwise its clip is
1101
+ * dropped, as is any clip past the last entry.
1102
+ * - Both Kling 4.0 ids: an entry's `videoUrl` (a 3–8 s single-shot clip of
1103
+ * the character) makes it a subject built from that video — at most 3 per
1104
+ * request. The clip rides as one of the 5 reference videos. Kling 4.0
1105
+ * bills it as a reference video; Kling 4.0 Flash prices it like an image
1106
+ * subject (it adds nothing). Any other model answers `400`.
1040
1107
  */
1041
1108
  characterReferences?: VideoCharacterReference[];
1042
1109
  /** Kling 4.0 (`kling-4`, `kling-4-flash`): keep the reference videos' own
@@ -1433,6 +1500,8 @@ declare class NodesResource {
1433
1500
  run(type: "generate-video", params?: GenerateVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1434
1501
  run(type: "text-to-video", params: TextToVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1435
1502
  run(type: "video-to-video", params: VideoToVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1503
+ /** Synchronous: answers `{ jobId, generatedText }`. */
1504
+ run(type: "llm-chat", params: LlmChatParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1436
1505
  run(type: "video-upscale", params: VideoUpscaleParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1437
1506
  run(type: "assemble-narrated-video", params?: AssembleNarratedVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
1438
1507
  run(type: "social-search", params: SocialSearchParams, options?: RunNodeOptions): Promise<RunNodeResult>;
@@ -1569,4 +1638,4 @@ declare class NodesResource {
1569
1638
  private pollUntilSettled;
1570
1639
  }
1571
1640
 
1572
- export { type SplitImageParams as $, type AssembleNarratedVideoParams as A, type BatchJobOutcome as B, type RetainedScene3DEditParams as C, type RetainedScene3DEditResult as D, type EditImageCommonParams as E, type RunAndWaitOptions as F, type GenerateImageBatchGroup as G, type RunManyResult as H, type ImageJobStarted as I, type JobOutputImage as J, type RunNodeAdjustment as K, type RunNodeOptions as L, type RunNodeResult as M, type NodeCategory as N, type OutputType as O, type Pro3DRenderJobOutput as P, type QuoteAdjustment as Q, type ReferenceCaptionParams as R, type RunNodeWarning as S, SCENE3D_DELIVERY_ASSET_USAGE as T, type Scene3DAuthoringEngine as U, type Scene3DCapabilities as V, type Scene3DDelivery as W, type Scene3DDeliveryAsset as X, type Scene3DDeliveryAssetKind as Y, type Scene3DJobOutput as Z, type SocialSearchJobOutput as _, type EditImageFromTaskParams as a, type SplitImageResult as a0, type SplitImageTile as a1, type StructuredReferenceParams as a2, type Subject as a3, type TextToSpeechParams as a4, type TextToVideoParams as a5, type VideoDepthParams as a6, type VideoToVideoParams as a7, type VideoUpscaleParams as a8, type EditImageFromUrlParams as b, type EditImageParams as c, type EditScene3DParams as d, type GenerateImageBatchOutput as e, type GenerateImageBatchResult as f, type GenerateImageParams as g, type GenerateMaskJobOutput as h, type GenerateMaskParams as i, type GenerateScene3DParams as j, type GenerateVideoParams as k, type GenerationSessionParams as l, type ImageToImageParams as m, type NodeCreditRate as n, type NodeDescriptor as o, type NodeInputField as p, type NodeInputSchema as q, type NodeJobOutput as r, type NodeQuote as s, NodesResource as t, type Pro3DRenderParams as u, type Pro3DRenderQuote as v, type Pro3DRenderRunOptions as w, type Pro3DRenderRunParams as x, type QuoteWarning as y, type RenderScene3DParams as z };
1641
+ export { type SocialSearchJobOutput as $, type AssembleNarratedVideoParams as A, type BatchJobOutcome as B, type RetainedScene3DEditParams as C, type RetainedScene3DEditResult as D, type EditImageCommonParams as E, type RunAndWaitOptions as F, type GenerateImageBatchGroup as G, type RunManyResult as H, type ImageJobStarted as I, type JobOutputImage as J, type RunNodeAdjustment as K, type LlmChatParams as L, type RunNodeOptions as M, type NodeCategory as N, type OutputType as O, type Pro3DRenderJobOutput as P, type QuoteAdjustment as Q, type ReferenceCaptionParams as R, type RunNodeResult as S, type RunNodeWarning as T, SCENE3D_DELIVERY_ASSET_USAGE as U, type Scene3DAuthoringEngine as V, type Scene3DCapabilities as W, type Scene3DDelivery as X, type Scene3DDeliveryAsset as Y, type Scene3DDeliveryAssetKind as Z, type Scene3DJobOutput as _, type EditImageFromTaskParams as a, type SplitImageParams as a0, type SplitImageResult as a1, type SplitImageTile as a2, type StructuredReferenceParams as a3, type Subject as a4, type TextToSpeechParams as a5, type TextToVideoParams as a6, type VideoDepthParams as a7, type VideoToVideoParams as a8, type VideoUpscaleParams as a9, type EditImageFromUrlParams as b, type EditImageParams as c, type EditScene3DParams as d, type GenerateImageBatchOutput as e, type GenerateImageBatchResult as f, type GenerateImageParams as g, type GenerateMaskJobOutput as h, type GenerateMaskParams as i, type GenerateScene3DParams as j, type GenerateVideoParams as k, type GenerationSessionParams as l, type ImageToImageParams as m, type NodeCreditRate as n, type NodeDescriptor as o, type NodeInputField as p, type NodeInputSchema as q, type NodeJobOutput as r, type NodeQuote as s, NodesResource as t, type Pro3DRenderParams as u, type Pro3DRenderQuote as v, type Pro3DRenderRunOptions as w, type Pro3DRenderRunParams as x, type QuoteWarning as y, type RenderScene3DParams as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodaro/sdk",
3
- "version": "2.70.0",
3
+ "version": "2.72.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",
@@ -100,6 +100,11 @@
100
100
  "import": "./dist/entries/developer-apps.js",
101
101
  "require": "./dist/entries/developer-apps.cjs"
102
102
  },
103
+ "./dubbing": {
104
+ "types": "./dist/entries/dubbing.d.ts",
105
+ "import": "./dist/entries/dubbing.js",
106
+ "require": "./dist/entries/dubbing.cjs"
107
+ },
103
108
  "./edit": {
104
109
  "types": "./dist/entries/edit.d.ts",
105
110
  "import": "./dist/entries/edit.js",
@@ -337,8 +342,8 @@
337
342
  "test:watch": "vitest"
338
343
  },
339
344
  "dependencies": {
340
- "@nodaro/shared": "^3.63.0",
341
- "@nodaro/prompts": "^1.55.0"
345
+ "@nodaro/shared": "^3.65.0",
346
+ "@nodaro/prompts": "^1.57.0"
342
347
  },
343
348
  "peerDependencies": {
344
349
  "@fingerprintjs/fingerprintjs": "^5.2.0",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/client.ts"],"names":["NodaroClientCore","WorkflowsResource","ProjectsResource","SessionsResource","TrashResource","JobsResource","VideoProResource","ExecutionsResource","NodesResource","Scene3DResource","DeveloperAppsResource","OAuthResource","WebhooksResource","AppsResource","CharactersResource","LocationsResource","ObjectsResource","CreaturesResource","KeepersResource","PipelinesResource","ReduceResource","PromptHelperResource","VoicesResource","LlmResource","MediaResource","ContentRightsResource","AudioResource","CreditsResource","UserSettingsResource","BillingResource","SurfaceResource","UploadsResource","LibraryResource","GalleryResource","PresetsResource","SavedPostsResource","CollectionsResource","PalettesResource","MoodboardsResource","CompetitorsResource","PickerCatalogsResource","CatalogsResource","ModelsResource","ShotsResource","RecastResource","CastSwapResource","TrendsResource","TrendRadarResource","StudioResource","CopilotResource","CommunityResource","TemplatesResource","TutorialsResource","OrganizationsResource","WorkspacesResource","EditResource"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEO,IAAM,YAAA,GAAN,MAAM,aAAA,SAAqBA,kCAAA,CAAiB;AAAA,EACxC,SAAA;AAAA,EACA,QAAA;AAAA;AAAA,EAEA,QAAA;AAAA;AAAA,EAEA,KAAA;AAAA,EACA,IAAA;AAAA,EACA,QAAA;AAAA,EACA,UAAA;AAAA,EACA,KAA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AAA,GAAgB,KAAK,eAAe,CAAA;AAC1C,IAAA,OAAO,IAAI,aAAA,CAAa;AAAA,MACtB,SAAS,IAAA,CAAK,OAAA;AAAA,MACd,MAAM,IAAA,CAAK,IAAA;AAAA,MACX,WAAW,IAAA,CAAK,SAAA;AAAA,MAChB,GAAI,aAAA,GAAgB,EAAE,KAAA,EAAO,aAAA,KAAkB,EAAC;AAAA,MAChD,GAAI,KAAK,kBAAkB,CAAA,GAAI,EAAE,WAAA,EAAa,IAAA,CAAK,WAAA,EAAY,GAAI,EAAC;AAAA,MACpE,GAAI,WAAA,GAAc,EAAE,WAAA,KAAgB;AAAC,KACtC,CAAA;AAAA,EACH;AACF;AAGO,SAAS,aAAa,IAAA,EAAmC;AAC9D,EAAA,OAAO,IAAI,aAAa,IAAI,CAAA;AAC9B","file":"chunk-4RPUONS5.cjs","sourcesContent":["import { WorkflowsResource } from \"./resources/workflows.js\"\nimport { ProjectsResource } from \"./resources/projects.js\"\nimport { SessionsResource } from \"./resources/sessions.js\"\nimport { TrashResource } from \"./resources/trash.js\"\nimport { JobsResource } from \"./resources/jobs.js\"\nimport { VideoProResource } from \"./resources/video-pro.js\"\nimport { ExecutionsResource } from \"./resources/executions.js\"\nimport { NodesResource } from \"./resources/nodes.js\"\nimport { Scene3DResource } from \"./resources/scene3d.js\"\nimport { DeveloperAppsResource } from \"./resources/developer-apps.js\"\nimport { OAuthResource } from \"./resources/oauth.js\"\nimport { WebhooksResource } from \"./resources/webhooks.js\"\nimport { AppsResource } from \"./resources/apps.js\"\nimport { CharactersResource } from \"./resources/characters.js\"\nimport { LocationsResource } from \"./resources/locations.js\"\nimport { ObjectsResource } from \"./resources/objects.js\"\nimport { CreaturesResource } from \"./resources/creatures.js\"\nimport { KeepersResource } from \"./resources/keepers.js\"\nimport { PipelinesResource } from \"./resources/pipelines.js\"\nimport { ReduceResource } from \"./resources/reduce.js\"\nimport { PromptHelperResource } from \"./resources/prompt-helper.js\"\nimport { VoicesResource } from \"./resources/voices.js\"\nimport { LlmResource } from \"./resources/llm.js\"\nimport { MediaResource } from \"./resources/media.js\"\nimport { ContentRightsResource } from \"./resources/content-rights.js\"\nimport { AudioResource } from \"./resources/audio.js\"\nimport { CreditsResource } from \"./resources/credits.js\"\nimport { BillingResource } from \"./resources/billing.js\"\nimport { UserSettingsResource } from \"./resources/user-settings.js\"\nimport { SurfaceResource } from \"./resources/surface.js\"\nimport { UploadsResource } from \"./resources/uploads.js\"\nimport { LibraryResource } from \"./resources/library.js\"\nimport { GalleryResource } from \"./resources/gallery.js\"\nimport { PresetsResource } from \"./resources/node-presets.js\"\nimport { SavedPostsResource } from \"./resources/saved-posts.js\"\nimport { CollectionsResource } from \"./resources/collections.js\"\nimport { PalettesResource } from \"./resources/palettes.js\"\nimport { MoodboardsResource } from \"./resources/moodboards.js\"\nimport { CompetitorsResource } from \"./resources/competitors.js\"\nimport { PickerCatalogsResource } from \"./resources/picker-catalogs.js\"\nimport { CatalogsResource } from \"./resources/catalogs.js\"\nimport { ModelsResource } from \"./resources/models.js\"\nimport { ShotsResource } from \"./resources/shots.js\"\nimport { RecastResource } from \"./resources/recast.js\"\nimport { CastSwapResource } from \"./resources/cast-swap.js\"\nimport { TrendsResource } from \"./resources/trends.js\"\nimport { TrendRadarResource } from \"./resources/trend-radar.js\"\nimport { StudioResource } from \"./resources/studio.js\"\nimport { CopilotResource } from \"./resources/copilot.js\"\nimport { CommunityResource } from \"./resources/community.js\"\nimport { TemplatesResource } from \"./resources/templates.js\"\nimport { TutorialsResource } from \"./resources/tutorials.js\"\nimport { OrganizationsResource } from \"./resources/organizations.js\"\nimport { WorkspacesResource } from \"./resources/workspaces.js\"\nimport { EditResource } from \"./resources/edit.js\"\nimport { NodaroClientCore, type ClientOptions } from \"./core.js\"\n\nexport { CLIENT_HEADER } from \"./core.js\"\nexport type { ClientOptions, UserIdentity, ConnectedApp } from \"./core.js\"\n\n/**\n * The full client: the core (`./core.ts` — config, transport, identity) and\n * every resource.\n */\nexport class NodaroClient extends NodaroClientCore {\n readonly workflows: WorkflowsResource\n readonly projects: ProjectsResource\n /** Generation sessions inside projects (Create Image / Video / Music). */\n readonly sessions: SessionsResource\n /** Your Trash: items removed from sessions and deleted jobs. */\n readonly trash: TrashResource\n readonly jobs: JobsResource\n readonly videoPro: VideoProResource\n readonly executions: ExecutionsResource\n readonly nodes: NodesResource\n readonly scene3d: Scene3DResource\n readonly developerApps: DeveloperAppsResource\n readonly oauth: OAuthResource\n /** Outbound webhooks: endpoints that receive your job.completed / job.failed. */\n readonly webhooks: WebhooksResource\n readonly apps: AppsResource\n readonly characters: CharactersResource\n readonly locations: LocationsResource\n readonly objects: ObjectsResource\n readonly creatures: CreaturesResource\n /** The shared Nodaro Keepers catalog of characters, creatures, locations and objects. */\n readonly keepers: KeepersResource\n readonly pipelines: PipelinesResource\n readonly reduce: ReduceResource\n readonly promptHelper: PromptHelperResource\n readonly voices: VoicesResource\n readonly llm: LlmResource\n readonly media: MediaResource\n /** Content rights: the declaration confirmed before a link is imported, and the confirmation a download carries. */\n readonly contentRights: ContentRightsResource\n readonly audio: AudioResource\n readonly credits: CreditsResource\n /** The signed-in person's own settings (the interface language, the monthly statement opt-in, …). */\n readonly userSettings: UserSettingsResource\n /** Plans and prices, the subscription, and how this deployment bills. */\n readonly billing: BillingResource\n /** What this deployment offers the caller: node types, models and the worlds of the shared header. */\n readonly surface: SurfaceResource\n readonly uploads: UploadsResource\n readonly library: LibraryResource\n /** The public gallery and your favorites. */\n readonly gallery: GalleryResource\n readonly presets: PresetsResource\n readonly savedPosts: SavedPostsResource\n readonly collections: CollectionsResource\n /** Your colour palettes — a generate-image direction (`direction.colorLook: paletteDirectionId(id)`). */\n readonly palettes: PalettesResource\n /** Your moodboards — a generate-image direction (`direction.style: moodboardDirectionId(id)`). */\n readonly moodboards: MoodboardsResource\n readonly competitors: CompetitorsResource\n readonly pickerCatalogs: PickerCatalogsResource\n readonly catalogs: CatalogsResource\n readonly models: ModelsResource\n readonly shots: ShotsResource\n readonly recast: RecastResource\n /** Cast Swap: replace the people and/or location in a short video (Cloud). */\n readonly castSwap: CastSwapResource\n /** Trends: ready-made Cast Swap recipes you fill with your own pictures (Cloud). */\n readonly trends: TrendsResource\n /** Trend Radar: the daily run's candidate trends and the admin's decisions (Cloud, admin session only). */\n readonly trendRadar: TrendRadarResource\n readonly studio: StudioResource\n readonly copilot: CopilotResource\n readonly community: CommunityResource\n readonly templates: TemplatesResource\n readonly tutorials: TutorialsResource\n readonly organizations: OrganizationsResource\n readonly workspaces: WorkspacesResource\n readonly edit: EditResource\n\n constructor(opts: ClientOptions) {\n super(opts)\n\n this.workflows = new WorkflowsResource(this)\n this.projects = new ProjectsResource(this)\n this.sessions = new SessionsResource(this)\n this.trash = new TrashResource(this)\n this.jobs = new JobsResource(this)\n this.videoPro = new VideoProResource(this)\n this.executions = new ExecutionsResource(this)\n this.nodes = new NodesResource(this)\n this.scene3d = new Scene3DResource(this)\n this.developerApps = new DeveloperAppsResource(this)\n this.oauth = new OAuthResource(this)\n this.webhooks = new WebhooksResource(this)\n this.apps = new AppsResource(this)\n this.characters = new CharactersResource(this)\n this.locations = new LocationsResource(this)\n this.objects = new ObjectsResource(this)\n this.creatures = new CreaturesResource(this)\n this.keepers = new KeepersResource(this)\n this.pipelines = new PipelinesResource(this)\n this.reduce = new ReduceResource(this)\n this.promptHelper = new PromptHelperResource(this)\n this.voices = new VoicesResource(this)\n this.llm = new LlmResource(this)\n this.media = new MediaResource(this)\n this.contentRights = new ContentRightsResource(this)\n this.audio = new AudioResource(this)\n this.credits = new CreditsResource(this)\n this.userSettings = new UserSettingsResource(this)\n this.billing = new BillingResource(this)\n this.surface = new SurfaceResource(this)\n this.uploads = new UploadsResource(this)\n this.library = new LibraryResource(this)\n this.gallery = new GalleryResource(this)\n this.presets = new PresetsResource(this)\n this.savedPosts = new SavedPostsResource(this)\n this.collections = new CollectionsResource(this)\n this.palettes = new PalettesResource(this)\n this.moodboards = new MoodboardsResource(this)\n this.competitors = new CompetitorsResource(this)\n this.pickerCatalogs = new PickerCatalogsResource(this)\n this.catalogs = new CatalogsResource(this)\n this.models = new ModelsResource(this)\n this.shots = new ShotsResource(this)\n this.recast = new RecastResource(this)\n this.castSwap = new CastSwapResource(this)\n this.trends = new TrendsResource(this)\n this.trendRadar = new TrendRadarResource(this)\n this.studio = new StudioResource(this)\n this.copilot = new CopilotResource(this)\n this.community = new CommunityResource(this)\n this.templates = new TemplatesResource(this)\n this.tutorials = new TutorialsResource(this)\n this.organizations = new OrganizationsResource(this)\n this.workspaces = new WorkspacesResource(this)\n this.edit = new EditResource(this)\n }\n\n /**\n * A client that acts in `workspaceId`, sharing this one's auth and config.\n *\n * A NEW client rather than a setter, deliberately. A mutable selection is\n * the bug this whole axis exists to prevent: two concurrent operations\n * against one client would race over which workspace they were in, and the\n * loser would create work in the wrong place with nothing failing. A\n * per-workspace client cannot be raced.\n *\n * Pass `null` for the personal space.\n */\n withWorkspace(workspaceId: string | null): NodaroClient {\n // The two private settings are read by bracket access, which TypeScript\n // allows on a subclass and which adds no member to the declarations. Read\n // through `this` (not a side table keyed by the instance), so a client\n // wrapped in a Proxy (Vue/Pinia `reactive()`) or reached through\n // `Object.create(client)` still works.\n const fetchOverride = this[\"fetchOverride\"]\n return new NodaroClient({\n baseUrl: this.baseUrl,\n auth: this.auth,\n timeoutMs: this.timeoutMs,\n ...(fetchOverride ? { fetch: fetchOverride } : {}),\n ...(this[\"sendClientHeader\"] ? { clientLabel: this.clientLabel } : {}),\n ...(workspaceId ? { workspaceId } : {}),\n })\n }\n}\n\n/** Factory function — preferred entry point. */\nexport function createClient(opts: ClientOptions): NodaroClient {\n return new NodaroClient(opts)\n}\n"]}